In just a few lines of code, monitor your AI operations seamlessly.
baseURL
which tells the OpenAI client to proxy the request through Pezzo.
Then, we set a few default headers that will be present at any request made to OpenAI. These are:
X-Pezzo-Api-Key
- Your Pezzo API key. You can find it in your Organization page in Pezzo Cloud.X-Pezzo-Project-Id
- The ID of the project you want to use. You can find it anywhere Pezzo Cloud.X-Pezzo-Environment
- The name of the environment to use. By default, any Pezzo project is automatically created with a Production
environment.Pezzo Project Requests View