core: default chat/llm _identifying_params to lc_attributes (#20232)

pull/20537/head
Erick Friis 6 months ago committed by GitHub
parent 22da9f5f3f
commit 6adca37eb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save