Spaces:
Running
Running
韩宇
commited on
Commit
·
50b5d1d
1
Parent(s):
4d58c86
opt
Browse files
webpage_configs/llms/gpt4o.yml
CHANGED
@@ -7,8 +7,8 @@
|
|
7 |
#response_format: json_object
|
8 |
name: AzureGPTLLM
|
9 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
10 |
-
api_key: ${env|
|
11 |
-
endpoint: ${env|
|
12 |
api_version: ${env| custom_openai_api_version, 2024-02-15-preview} # this is mandatory
|
13 |
temperature: 0
|
14 |
vision: true
|
|
|
7 |
#response_format: json_object
|
8 |
name: AzureGPTLLM
|
9 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
10 |
+
api_key: ${env| custom_chat_openai_key, openai_api_key}
|
11 |
+
endpoint: ${env| custom_chat_openai_endpoint, https://api.openai.com/v1} # should be same as deployment endpoint in Azure dashboard
|
12 |
api_version: ${env| custom_openai_api_version, 2024-02-15-preview} # this is mandatory
|
13 |
temperature: 0
|
14 |
vision: true
|
webpage_configs/llms/json_res.yml
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
#response_format: json_object
|
7 |
name: AzureGPTLLM
|
8 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
9 |
-
api_key: ${env|
|
10 |
-
endpoint: ${env|
|
11 |
api_version: ${env| custom_openai_api_version, 2024-02-01} # this is mandatory
|
12 |
temperature: 0
|
13 |
vision: true
|
|
|
6 |
#response_format: json_object
|
7 |
name: AzureGPTLLM
|
8 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
9 |
+
api_key: ${env| custom_chat_openai_key, openai_api_key}
|
10 |
+
endpoint: ${env| custom_chat_openai_endpoint, https://api.openai.com/v1} # should be same as deployment endpoint in Azure dashboard
|
11 |
api_version: ${env| custom_openai_api_version, 2024-02-01} # this is mandatory
|
12 |
temperature: 0
|
13 |
vision: true
|
webpage_configs/llms/text_res.yml
CHANGED
@@ -6,8 +6,8 @@
|
|
6 |
#response_format: text
|
7 |
name: AzureGPTLLM
|
8 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
9 |
-
api_key: ${env|
|
10 |
-
endpoint: ${env|
|
11 |
api_version: ${env| custom_openai_api_version, 2024-02-01} # this is mandatory
|
12 |
temperature: 0
|
13 |
vision: true
|
|
|
6 |
#response_format: text
|
7 |
name: AzureGPTLLM
|
8 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
9 |
+
api_key: ${env| custom_chat_openai_key, openai_api_key}
|
10 |
+
endpoint: ${env| custom_chat_openai_endpoint, https://api.openai.com/v1} # should be same as deployment endpoint in Azure dashboard
|
11 |
api_version: ${env| custom_openai_api_version, 2024-02-01} # this is mandatory
|
12 |
temperature: 0
|
13 |
vision: true
|
webpage_configs/llms/text_res_stream.yml
CHANGED
@@ -8,8 +8,8 @@
|
|
8 |
|
9 |
name: AzureGPTLLM
|
10 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
11 |
-
api_key: ${env|
|
12 |
-
endpoint: ${env|
|
13 |
api_version: ${env| custom_openai_api_version, 2024-02-01} # this is mandatory
|
14 |
temperature: 0
|
15 |
vision: true
|
|
|
8 |
|
9 |
name: AzureGPTLLM
|
10 |
model_id: gpt-4o # the model id should be same as deployment id in Azure dashboard
|
11 |
+
api_key: ${env| custom_chat_openai_key, openai_api_key}
|
12 |
+
endpoint: ${env| custom_chat_openai_endpoint, https://api.openai.com/v1} # should be same as deployment endpoint in Azure dashboard
|
13 |
api_version: ${env| custom_openai_api_version, 2024-02-01} # this is mandatory
|
14 |
temperature: 0
|
15 |
vision: true
|