Skip to content

Commit

Permalink
add Azure model docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Xiong committed Feb 7, 2024
1 parent a496f45 commit acab346
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vizro-ai/docs/pages/user_guides/model_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ and [pricing](https://openai.com/pricing) for more information.
### Azure OpenAI models

The setup below allows you to integrate Azure's OpenAI models with VizroAI, by simply updating the `llm_to_use` attribute in `VizroAI`.
To set up Azure OpenAI with Langchain, you'll configure the AzureOpenAI instance by specifying your deployment name and model name.
Environment variables for API configuration, such as `OPENAI_API_BASE`, `AZURE_OPENAI_API_KEY`, and optionally `AZURE_OPENAI_LOCATION` for regional endpoints, must be set.
Authentication can be done via an API key directly or through Azure Active Directory (AAD) for enhanced security.
To set up Azure OpenAI with Langchain, you'll configure the AzureOpenAI instance by specifying your deployment name and model name.
Environment variables for API configuration, such as `OPENAI_API_BASE`, `AZURE_OPENAI_API_KEY`, and optionally `AZURE_OPENAI_LOCATION` for regional endpoints, must be set.
Authentication can be done via an API key directly or through Azure Active Directory (AAD) for enhanced security.
For a detailed walkthrough, refer to the Langchain documentation directly.
https://python.langchain.com/docs/integrations/llms/azure_openai

Expand Down

0 comments on commit acab346

Please sign in to comment.