韩宇 commited on
Commit
2841423
·
1 Parent(s): c95e297
configs/llms/gpt4o.yml CHANGED
@@ -1,7 +1,15 @@
1
- name: OpenaiGPTLLM
2
- model_id: gpt-4o
 
 
 
 
 
 
 
3
  api_key: ${env| custom_openai_key, openai_api_key}
4
- endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
 
5
  temperature: 0
6
  vision: true
7
  response_format: json_object
 
1
+ #name: OpenaiGPTLLM
2
+ #model_id: gpt-4o
3
+ #api_key: ${env| custom_openai_key, openai_api_key}
4
+ #endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
5
+ #temperature: 0
6
+ #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_openai_key, openai_api_key}
11
+ endpoint: ${env| custom_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
15
  response_format: json_object
configs/llms/json_res.yml CHANGED
@@ -1,6 +1,14 @@
1
- name: OpenaiGPTLLM
2
- model_id: gpt-4o
 
 
 
 
 
 
3
  api_key: ${env| custom_openai_key, openai_api_key}
4
- endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
 
5
  temperature: 0
 
6
  response_format: json_object
 
1
+ #name: OpenaiGPTLLM
2
+ #model_id: gpt-4o
3
+ #api_key: ${env| custom_openai_key, openai_api_key}
4
+ #endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
5
+ #temperature: 0
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_openai_key, openai_api_key}
10
+ endpoint: ${env| custom_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-15-preview} # this is mandatory
12
  temperature: 0
13
+ vision: true
14
  response_format: json_object
configs/llms/text_res.yml CHANGED
@@ -1,6 +1,14 @@
1
- name: OpenaiGPTLLM
2
- model_id: gpt-4o
 
 
 
 
 
 
3
  api_key: ${env| custom_openai_key, openai_api_key}
4
- endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
 
5
  temperature: 0
 
6
  response_format: text
 
1
+ #name: OpenaiGPTLLM
2
+ #model_id: gpt-4o
3
+ #api_key: ${env| custom_openai_key, openai_api_key}
4
+ #endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
5
+ #temperature: 0
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_openai_key, openai_api_key}
10
+ endpoint: ${env| custom_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-15-preview} # this is mandatory
12
  temperature: 0
13
+ vision: true
14
  response_format: text
configs/llms/text_res_stream.yml CHANGED
@@ -1,7 +1,15 @@
1
- name: OpenaiGPTLLM
2
- model_id: gpt-4o-mini
 
 
 
 
 
 
 
3
  api_key: ${env| custom_openai_key, openai_api_key}
4
- endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
 
5
  temperature: 0
6
- stream: true
7
  response_format: text
 
1
+ #name: OpenaiGPTLLM
2
+ #model_id: gpt-4o-mini
3
+ #api_key: ${env| custom_openai_key, openai_api_key}
4
+ #endpoint: ${env| custom_openai_endpoint, https://api.openai.com/v1}
5
+ #temperature: 0
6
+ #stream: true
7
+ #response_format: text
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_openai_key, openai_api_key}
11
+ endpoint: ${env| custom_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
15
  response_format: text