Use LangChain to integrate OpenAI with Helicone to log your OpenAI usage.
Create an account + Generate an API Key
Log into helicone or create an account. Once you have an account, you can generate an API key.
Set HELICONE_API_KEY as an environment variable
export HELICONE_API_KEY=<your API key>
Modify the API base and add the `Helicone-Auth` header
Was this page helpful?