fix: doc string of default params in chat_models, llm qianfan (#12153)

- **Description:** a fix of the doc string in Qianfan
  - **Issue:** no
  - **Dependencies:** no
  - **Tag maintainer:** @baskaryan
  - **Twitter handle:** no
This commit is contained in:
NuODaniel 2023-10-24 02:03:18 +08:00 committed by GitHub
parent f82bdf4613
commit 4d6243fa87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ class QianfanChatEndpoint(BaseChatModel):
@property @property
def _default_params(self) -> Dict[str, Any]: def _default_params(self) -> Dict[str, Any]:
"""Get the default parameters for calling OpenAI API.""" """Get the default parameters for calling Qianfan API."""
normal_params = { normal_params = {
"model": self.model, "model": self.model,
"endpoint": self.endpoint, "endpoint": self.endpoint,

View File

@ -116,7 +116,7 @@ class QianfanLLMEndpoint(LLM):
@property @property
def _default_params(self) -> Dict[str, Any]: def _default_params(self) -> Dict[str, Any]:
"""Get the default parameters for calling OpenAI API.""" """Get the default parameters for calling Qianfan API."""
normal_params = { normal_params = {
"model": self.model, "model": self.model,
"endpoint": self.endpoint, "endpoint": self.endpoint,