Azure AI Foundary

To use the Azure AI Foundary (https://ai.azure.com), you can leverage the openai-generic provider.

Example:

BAML
1client<llm> MyClient {
2 provider "openai-generic"
3 options {
4 base_url "https://RESOURCE_NAME.REGION.models.ai.azure.com"
5 api_key env.MY_API_KEY
6 }
7}

See here to see how to get your API key and base url:

Azure AI Foundary
Built with