Skip to content

Commit

Permalink
fix azure client (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronvg authored May 3, 2024
1 parent 2ba6e37 commit b15ccba
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions docs/docs/syntax/client/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,15 @@ client<llm> MyAzureClient {
provider baml-azure-chat
options {
api_key env.AZURE_OPENAI_KEY
api_base env.AZURE_OPENAI_ENDPOINT
// This may change in the future
api_version '2023-05-15'
api_version "2023-05-15"
api_type azure
engine REPLACE_WITH_YOUR_DEPLOYMENT_NAME
azure_endpoint env.AZURE_OPENAI_ENDPOINT
model "gpt-35-turbo-default"
}
}
```

<Warning>
BAML uses `openai <= 0.28.1`! We're working on migrating our providers over
and ensuring you can use the latest version of openai regardless. The benefit
of BAML is that even if openai's SDK changes, you can still use the same BAML
code.
</Warning>

### Anthropic

Expand Down

0 comments on commit b15ccba

Please sign in to comment.