Default temperature parameter enhancement

This commit is contained in:
Rodrigo 2024-06-01 23:34:08 -03:00
commit aca541e97b

View file

@ -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 = {},