Skip to content

Spryngtime/spryngtime-openai-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  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-openai-node

  4. Replace
    const {OpenAI} = require('openai')
    with
    const OpenAI = require("spryngtime-openai-node").SpryngtimeOpenAI;

  5. Go live!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors