mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-02 01:23:07 +00:00
core: default chat/llm _identifying_params to lc_attributes (#20232)
This commit is contained in:
parent
22da9f5f3f
commit
6adca37eb7
@ -298,7 +298,7 @@ class BaseLanguageModel(
|
||||
@property
|
||||
def _identifying_params(self) -> Mapping[str, Any]:
|
||||
"""Get the identifying parameters."""
|
||||
return {}
|
||||
return self.lc_attributes
|
||||
|
||||
def get_token_ids(self, text: str) -> List[int]:
|
||||
"""Return the ordered ids of the tokens in a text.
|
||||
|
Loading…
Reference in New Issue
Block a user