|
|
@ -139,7 +139,7 @@ class ChatOpenAI(BaseChatModel, BaseModel):
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
client: Any #: :meta private:
|
|
|
|
client: Any #: :meta private:
|
|
|
|
model_name: str = os.environ["MODEL_NAME"]
|
|
|
|
model_name: str = os.environ["MODEL_NAME"] or 'gpt-4'
|
|
|
|
"""Model name to use."""
|
|
|
|
"""Model name to use."""
|
|
|
|
model_kwargs: Dict[str, Any] = Field(default_factory=dict)
|
|
|
|
model_kwargs: Dict[str, Any] = Field(default_factory=dict)
|
|
|
|
"""Holds any model parameters valid for `create` call not explicitly specified."""
|
|
|
|
"""Holds any model parameters valid for `create` call not explicitly specified."""
|
|
|
|