mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-09 14:14:59 +00:00
Broke apart llms
This commit is contained in:
parent
65f80e965f
commit
c5e127d6fa
15 changed files with 444 additions and 384 deletions
27
website/docs/llms/azure.md
Normal file
27
website/docs/llms/azure.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
parent: Connecting to LLMs
|
||||
nav_order: 500
|
||||
---
|
||||
|
||||
# Azure
|
||||
|
||||
Aider can connect to the OpenAI models on Azure.
|
||||
|
||||
```
|
||||
pip install aider-chat
|
||||
|
||||
# Mac/Linux:
|
||||
export AZURE_API_KEY=<key>
|
||||
export AZURE_API_VERSION=2023-05-15
|
||||
export AZURE_API_BASE=https://myendpt.openai.azure.com
|
||||
|
||||
# Windows:
|
||||
setx AZURE_API_KEY <key>
|
||||
setx AZURE_API_VERSION 2023-05-15
|
||||
setx AZURE_API_BASE https://myendpt.openai.azure.com
|
||||
|
||||
aider --model azure/<your_deployment_name>
|
||||
|
||||
# List models available from Azure
|
||||
aider --models azure/
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue