Back to Baml

Unify AI

fern/03-reference/baml/clients/providers/unify.mdx

0.222.0509 B
Original Source

Unify AI supports the OpenAI client, allowing you to use the openai-generic provider with an overridden base_url.

See https://docs.unify.ai/universal_api/making_queries#openai-python-package for more information.

baml
client<llm> UnifyClient {
    provider "openai-generic"
    options {
        base_url "https://api.unify.ai/v0"
        api_key env.MY_UNIFY_API_KEY
        model "llama-3.1-405b-chat@together-ai"
    }
}