1.0.1 • Published 4 months ago

spryngtime-azure-openai-node v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 months ago

Spryngtime OpenAI Node wrapper

Easily track LLM analytics, debug prompts, and bill for usage. This is an Azure OpenAI wrapper for you to easily drop and replace Azure OpenAI with Spryngtime's wrapper for out of the box analytics & LLM observability!

How to get started:

  1. Sign up for an account and get an API key at https://www.usespryngtime.com/
  2. Set your OpenAI and Spryngtime API keys in your environment/.env file For example: OPENAI_API_KEY=sk-openaiapikey SPRYNGTIME_API_KEY=spryngtime_api_key

  3. npm install spryngtime-azure-openai-node

  4. Replace const { OpenAIClient, AzureKeyCredential } = require("@azure/openai"); with const {AzureKeyCredential} = require("@azure/openai"); const OpenAIClient = require("spryngtime-azure-openai-node").SpryngtimeOpenAI;
  5. Go live!
1.0.1

4 months ago

1.0.0

4 months ago