diff options
| author | sigoden <sigoden@gmail.com> | 2024-02-15 08:10:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-15 08:10:30 +0800 |
| commit | 5e4210980d6ed92c3850042c7b57ca7eef028be0 (patch) | |
| tree | 8bb2cbb6e1a4b8dcd22d062fe0dbd17724c5dd3b /config.example.yaml | |
| parent | 3bf0c371e407c8c6d03840cac6662ddfbbea484c (diff) | |
| download | aichat-5e4210980d6ed92c3850042c7b57ca7eef028be0.tar.gz | |
feat: support vertexai (#308)
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config.example.yaml b/config.example.yaml index 08fb529..77ee50b 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -56,7 +56,7 @@ clients: # See https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart - type: azure-openai - api_base: https://RESOURCE.openai.azure.com + api_base: https://{RESOURCE}.openai.azure.com api_key: xxx models: - name: MyGPT4 # Model deployment name @@ -69,4 +69,9 @@ clients: # See https://help.aliyun.com/zh/dashscope/ - type: qianwen - api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
\ No newline at end of file + api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + + # See https://cloud.google.com/vertex-ai + - type: vertexai + api_base: https://{REGION}-aiplatform.googleapis.com/v1/projects/{PROJECT_ID}/locations/{REGION}/publishers/google/models + api_key: xxx
\ No newline at end of file |
