Fixed default param value
This commit is contained in:
parent
abd9c67d3c
commit
1b4a7dc949
1 changed files with 2 additions and 2 deletions
|
|
@ -66,8 +66,8 @@ class AzureChatOpenAIComponent(CustomComponent):
|
||||||
model: str,
|
model: str,
|
||||||
azure_endpoint: str,
|
azure_endpoint: str,
|
||||||
azure_deployment: str,
|
azure_deployment: str,
|
||||||
api_version: str,
|
api_key: str,
|
||||||
api_key: Optional[str] = "2023-05-15",
|
api_version: Optional[str] = "2023-05-15",
|
||||||
temperature: float = 0.7,
|
temperature: float = 0.7,
|
||||||
max_tokens: Optional[int] = 1000,
|
max_tokens: Optional[int] = 1000,
|
||||||
) -> BaseLanguageModel:
|
) -> BaseLanguageModel:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue