Proxy a request to either chat/completions or completions automatically based on the model. Will cache if temperature=0 or seed is set.
Most Braintrust endpoints are authenticated by providing your API key as a header Authorization: Bearer [api_key] to your HTTP request. You can create an API key in the Braintrust organization settings page.
The chat/completions or completions payload (depending on the model)
The body is of type unknown.
Proxy response (supports both streaming and non-streaming formats)
The response is of type unknown.