spryngtime-openai-node
v1.0.2
Published
Spryngtime wrapper over OpenAI for analytics purposes
Downloads
2
Readme
Spryngtime OpenAI Node wrapper
Easily track LLM analytics, debug prompts, and bill for usage. This is an OpenAI wrapper for you to easily drop and replace 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-openai-node
Replace
const {OpenAI} = require('openai')
withconst OpenAI = require("spryngtime-openai-node").SpryngtimeOpenAI;
Go live!