construct_metadata_filter#
- langchain_community.vectorstores.falkordb_vector.construct_metadata_filter(filter: Dict[str, Any] | None = None) Tuple[str, Dict[str, Any]] [source]#
Construct a metadata filter by directly injecting the filter values into the query.
- Parameters:
filter (Optional[Dict[str, Any]]) β Dictionary
condition. (representing the filter)
- Returns:
Filter snippet and an empty dictionary (since we donβt need parameters).
- Return type:
Tuple[str, Dict[str, Any]]