summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6ba37c8..882ced4 100644
--- a/README.md
+++ b/README.md
@@ -70,13 +70,21 @@ clients: # Setup AIs
api_key: sk-xxx # OpenAI api key, alternative to OPENAI_API_KEY
organization_id: org-xxx # Organization ID. Optional
+ # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart
+ - type: azure-openai # Azure openai configuration
+ api_base: https://RESOURCE.openai.azure.com # Azure openai base URL
+ api_key: xxx # Azure openai api key, alternative to AZURE_OPENAI_KEY
+ models: # Support models
+ - name: MyGPT4 # Model deployment name
+ max_tokens: 8192
+
# See https://github.com/go-skynet/LocalAI
- type: localai # LocalAI configuration
url: http://localhost:8080/v1/chat/completions # LocalAI api server
api_key: xxx # Api key. alternative to LOCALAI_API_KEY
models: # Support models
- name: gpt4all-j
- max_tokens: 4096
+ max_tokens: 8192
```
> You can use `.info` to view the current configuration file path and roles file path.