Back to Baml

Client Response Type

fern/snippets/client-response-type.mdx

0.222.0598 B
Original Source
<ParamField path="client_response_type" type="openai | anthropic | google | vertex" default="openai"> <Warning> Please let [us know on Discord](https://www.boundaryml.com/discord) if you have this use case! This is in alpha and we'd like to make sure we continue to cover your use cases. </Warning>

The type of response to return from the client.

Sometimes you may expect a different response format than the provider default. For example, using Azure you may be proxying to an endpoint that returns a different format than the OpenAI default.

Default: openai </ParamField>