Toggle Menu
Prev Up Next

# `langchain_community.vectorstores.tencentvectordb`.translate_filter

langchain_community.vectorstores.tencentvectordb.translate_filter(lc_filter: str, allowed_fields: Optional[Sequence[str]] = None) → str

  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