mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 08:33:49 +00:00
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:
parent
f82bdf4613
commit
4d6243fa87
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user