change default openai model to gpt3.5
This commit is contained in:
parent
fdf44f6bc8
commit
20405ffc01
6 changed files with 6 additions and 6 deletions
|
|
@ -53,7 +53,7 @@ class ChatOpenAIComponent(CustomComponent):
|
|||
self,
|
||||
max_tokens: Optional[int] = 0,
|
||||
model_kwargs: NestedDict = {},
|
||||
model_name: str = "gpt-4o",
|
||||
model_name: str = "gpt-3.5-turbo",
|
||||
openai_api_base: Optional[str] = None,
|
||||
openai_api_key: Optional[str] = None,
|
||||
temperature: float = 0.7,
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@
|
|||
"show": true,
|
||||
"title_case": false,
|
||||
"type": "str",
|
||||
"value": "gpt-4o"
|
||||
"value": "gpt-3.5-turbo"
|
||||
},
|
||||
"openai_api_base": {
|
||||
"advanced": true,
|
||||
|
|
|
|||
|
|
@ -723,7 +723,7 @@
|
|||
"show": true,
|
||||
"title_case": false,
|
||||
"type": "str",
|
||||
"value": "gpt-3.5-turbo-0125"
|
||||
"value": "gpt-3.5-turbo"
|
||||
},
|
||||
"openai_api_base": {
|
||||
"advanced": true,
|
||||
|
|
|
|||
|
|
@ -851,7 +851,7 @@
|
|||
"show": true,
|
||||
"title_case": false,
|
||||
"type": "str",
|
||||
"value": "gpt-4-turbo-preview"
|
||||
"value": "gpt-3.5-turbo"
|
||||
},
|
||||
"openai_api_base": {
|
||||
"advanced": true,
|
||||
|
|
|
|||
|
|
@ -862,7 +862,7 @@
|
|||
"show": true,
|
||||
"title_case": false,
|
||||
"type": "str",
|
||||
"value": "gpt-4-1106-preview"
|
||||
"value": "gpt-3.5-turbo"
|
||||
},
|
||||
"openai_api_base": {
|
||||
"advanced": true,
|
||||
|
|
|
|||
|
|
@ -1165,7 +1165,7 @@
|
|||
"show": true,
|
||||
"title_case": false,
|
||||
"type": "str",
|
||||
"value": "gpt-4-turbo-preview"
|
||||
"value": "gpt-3.5-turbo"
|
||||
},
|
||||
"openai_api_base": {
|
||||
"advanced": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue