OpenAI
OpenAI Python SDK
Use OpenAI’s Python SDK to integrate with Helicone to log your OpenAI usage.
1
Create an account and generate an API key
Log into Helicone or create an account. Once you have an account, you can generate an API key here.
2
Set up your Helicone API key in your .env file
3
Modify the base URL path and set up authentication
4
Use the OpenAI SDK
5
Verify your requests in Helicone
With the above setup, any calls to OpenAI will automatically be logged and monitored by Helicone. Review them in your Helicone dashboard.