Default temperature parameter enhancement
This commit is contained in:
parent
fce2ca3a9c
commit
aca541e97b
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ class OpenAIModelComponent(LCModelComponent):
|
||||||
self,
|
self,
|
||||||
input_value: Text,
|
input_value: Text,
|
||||||
openai_api_key: str,
|
openai_api_key: str,
|
||||||
temperature: float,
|
temperature: Optional[float] = 0.1,
|
||||||
model_name: str = "gpt-4o",
|
model_name: str = "gpt-4o",
|
||||||
max_tokens: Optional[int] = 256,
|
max_tokens: Optional[int] = 256,
|
||||||
model_kwargs: NestedDict = {},
|
model_kwargs: NestedDict = {},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue