_qdrant_filter_from_dict() — langchain Function Reference
Architecture documentation for the _qdrant_filter_from_dict() function in vectorstores.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD da6088cd_8d2e_d514_0bcd_f8351efb05d6["_qdrant_filter_from_dict()"] bf62db79_4217_463c_798f_6f8528ed0d6e["Qdrant"] da6088cd_8d2e_d514_0bcd_f8351efb05d6 -->|defined in| bf62db79_4217_463c_798f_6f8528ed0d6e 6c8c9cf1_343a_b7b2_1ac5_f0f159c55037["similarity_search_with_score_by_vector()"] 6c8c9cf1_343a_b7b2_1ac5_f0f159c55037 -->|calls| da6088cd_8d2e_d514_0bcd_f8351efb05d6 261d8fc5_aa94_c7fc_9d68_eabaaa5ab85b["asimilarity_search_with_score_by_vector()"] 261d8fc5_aa94_c7fc_9d68_eabaaa5ab85b -->|calls| da6088cd_8d2e_d514_0bcd_f8351efb05d6 9dc7178e_140e_4f9d_2550_c662461273bb["_build_condition()"] da6088cd_8d2e_d514_0bcd_f8351efb05d6 -->|calls| 9dc7178e_140e_4f9d_2550_c662461273bb style da6088cd_8d2e_d514_0bcd_f8351efb05d6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/partners/qdrant/langchain_qdrant/vectorstores.py lines 2083–2095
def _qdrant_filter_from_dict(
self, filter_: DictFilter | None
) -> models.Filter | None:
if not filter_:
return None
return models.Filter(
must=[
condition
for key, value in filter_.items() # type: ignore[union-attr]
for condition in self._build_condition(key, value)
]
)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does _qdrant_filter_from_dict() do?
_qdrant_filter_from_dict() is a function in the langchain codebase, defined in libs/partners/qdrant/langchain_qdrant/vectorstores.py.
Where is _qdrant_filter_from_dict() defined?
_qdrant_filter_from_dict() is defined in libs/partners/qdrant/langchain_qdrant/vectorstores.py at line 2083.
What does _qdrant_filter_from_dict() call?
_qdrant_filter_from_dict() calls 1 function(s): _build_condition.
What calls _qdrant_filter_from_dict()?
_qdrant_filter_from_dict() is called by 2 function(s): asimilarity_search_with_score_by_vector, similarity_search_with_score_by_vector.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free