_aget_docs() — langchain Function Reference
Architecture documentation for the _aget_docs() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 8912697d_f7bb_3415_ef27_42f5e5025460["_aget_docs()"] 067cfac1_b090_9798_c632_0f6eaea72669["RetrievalQA"] 8912697d_f7bb_3415_ef27_42f5e5025460 -->|defined in| 067cfac1_b090_9798_c632_0f6eaea72669 08db5c6e_396d_588e_3be8_0331b0e2994a["_aget_docs()"] 08db5c6e_396d_588e_3be8_0331b0e2994a -->|calls| 8912697d_f7bb_3415_ef27_42f5e5025460 4fd54b1e_8669_046f_0b16_546d9b49f766["_acall()"] 4fd54b1e_8669_046f_0b16_546d9b49f766 -->|calls| 8912697d_f7bb_3415_ef27_42f5e5025460 08db5c6e_396d_588e_3be8_0331b0e2994a["_aget_docs()"] 8912697d_f7bb_3415_ef27_42f5e5025460 -->|calls| 08db5c6e_396d_588e_3be8_0331b0e2994a style 8912697d_f7bb_3415_ef27_42f5e5025460 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/retrieval_qa/base.py lines 280–290
async def _aget_docs(
self,
question: str,
*,
run_manager: AsyncCallbackManagerForChainRun,
) -> list[Document]:
"""Get docs."""
return await self.retriever.ainvoke(
question,
config={"callbacks": run_manager.get_child()},
)
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does _aget_docs() do?
_aget_docs() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/retrieval_qa/base.py.
Where is _aget_docs() defined?
_aget_docs() is defined in libs/langchain/langchain_classic/chains/retrieval_qa/base.py at line 280.
What does _aget_docs() call?
_aget_docs() calls 1 function(s): _aget_docs.
What calls _aget_docs()?
_aget_docs() is called by 2 function(s): _acall, _aget_docs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free