From 5e4210980d6ed92c3850042c7b57ca7eef028be0 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 15 Feb 2024 08:10:30 +0800 Subject: feat: support vertexai (#308) --- config.example.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3