fix temperature parameter not used in chat models (#2558)

fix-readthedocs
Yuchu Luo 1 year ago committed by GitHub
parent 125afb51d7
commit 40469eef7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -192,6 +192,7 @@ class ChatOpenAI(BaseChatModel):
"max_tokens": self.max_tokens,
"stream": self.streaming,
"n": self.n,
"temperature": self.temperature,
**self.model_kwargs,
}

Loading…
Cancel
Save