Quickstart
The easiest way to get started is with our OpenAI wrappers! We've wrapped OpenAI's SDKs with ours to make getting literally just changing an import statement. All your OpenAI code can be left untouched!
Get API key
Sign up for an account and get your API key at https://accounts.usespryngtime.com/sign-in
Set your OpenAI and Spryngtime API keys in your environment/.env file
For example:
Install package
If Python, install our Python package
If Node.js, install our Node.js package
Track with one line of code!
Track with one line of code using one of our OpenAI wrapper helpers!
Javascript/Typescript:
Python:
(Optional but highly recommended) Add a `user` field
Adding a user
field to your OpenAI request helps you both track/rate limit in OpenAI and in Spryngtime! When you add a user
field, we associate all responses/usage to that user.
This is helpful if you want to track usage for billing or analytics purposes for customers.
Here's an example in node:
That's it!
Login to the dashboard
Last updated