spryngtime-azure-openai-node
v1.0.1
Published
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!
Downloads
5
Readme
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:
Sign up for an account and get an API key at https://www.usespryngtime.com/
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
npm install spryngtime-azure-openai-node
Replace
const { OpenAIClient, AzureKeyCredential } = require("@azure/openai");
withconst {AzureKeyCredential} = require("@azure/openai"); const OpenAIClient = require("spryngtime-azure-openai-node").SpryngtimeOpenAI;
Go live!