translate_filter#
- langchain_community.vectorstores.tencentvectordb.translate_filter(lc_filter: str, allowed_fields: Sequence[str] | None = None) str [source]#
Translate LangChain filter to Tencent VectorDB filter.
- Parameters:
lc_filter (str) – LangChain filter.
allowed_fields (Optional[Sequence[str]]) – Allowed fields for filter.
- Returns:
Translated filter.
- Return type:
str