[nit] Add default value for ChatOpenAI client (#7939)

Micro convenience PR to avoid warning regarding missing `client`
parameter. It is always set during initialization.

@baskaryan

Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
James Campbell 2023-07-28 01:38:32 -04:00 committed by GitHub
parent 82df923f37
commit 0ad2d5f27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,7 +190,7 @@ class ChatOpenAI(BaseChatModel):
def lc_serializable(self) -> bool:
return True
client: Any #: :meta private:
client: Any = None #: :meta private:
model_name: str = Field(default="gpt-3.5-turbo", alias="model")
"""Model name to use."""
temperature: float = 0.7