_aget_docs_with_query() — langchain Function Reference
Architecture documentation for the _aget_docs_with_query() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD f40e46a5_6c7a_2f97_f3be_ba9413f51830["_aget_docs_with_query()"] 714ad545_01d2_22ce_704e_4b6490f7b443["SelfQueryRetriever"] f40e46a5_6c7a_2f97_f3be_ba9413f51830 -->|defined in| 714ad545_01d2_22ce_704e_4b6490f7b443 59078602_294c_8293_a58c_2df8b4e9e2ba["_aget_relevant_documents()"] 59078602_294c_8293_a58c_2df8b4e9e2ba -->|calls| f40e46a5_6c7a_2f97_f3be_ba9413f51830 style f40e46a5_6c7a_2f97_f3be_ba9413f51830 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/retrievers/self_query/base.py lines 302–307
async def _aget_docs_with_query(
self,
query: str,
search_kwargs: dict[str, Any],
) -> list[Document]:
return await self.vectorstore.asearch(query, self.search_type, **search_kwargs)
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does _aget_docs_with_query() do?
_aget_docs_with_query() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/retrievers/self_query/base.py.
Where is _aget_docs_with_query() defined?
_aget_docs_with_query() is defined in libs/langchain/langchain_classic/retrievers/self_query/base.py at line 302.
What calls _aget_docs_with_query()?
_aget_docs_with_query() is called by 1 function(s): _aget_relevant_documents.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free