_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 08db5c6e_396d_588e_3be8_0331b0e2994a["_aget_docs()"] 1cb458d9_f8c6_d78d_c1e3_79a8b3106c08["BaseRetrievalQA"] 08db5c6e_396d_588e_3be8_0331b0e2994a -->|defined in| 1cb458d9_f8c6_d78d_c1e3_79a8b3106c08 4fd54b1e_8669_046f_0b16_546d9b49f766["_acall()"] 4fd54b1e_8669_046f_0b16_546d9b49f766 -->|calls| 08db5c6e_396d_588e_3be8_0331b0e2994a 8912697d_f7bb_3415_ef27_42f5e5025460["_aget_docs()"] 8912697d_f7bb_3415_ef27_42f5e5025460 -->|calls| 08db5c6e_396d_588e_3be8_0331b0e2994a ed9127df_3e5e_043c_675b_f1f0797fdc31["_aget_docs()"] ed9127df_3e5e_043c_675b_f1f0797fdc31 -->|calls| 08db5c6e_396d_588e_3be8_0331b0e2994a 8912697d_f7bb_3415_ef27_42f5e5025460["_aget_docs()"] 08db5c6e_396d_588e_3be8_0331b0e2994a -->|calls| 8912697d_f7bb_3415_ef27_42f5e5025460 style 08db5c6e_396d_588e_3be8_0331b0e2994a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/retrieval_qa/base.py lines 165–171
async def _aget_docs(
self,
question: str,
*,
run_manager: AsyncCallbackManagerForChainRun,
) -> list[Document]:
"""Get documents to do question answering over."""
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 165.
What does _aget_docs() call?
_aget_docs() calls 1 function(s): _aget_docs.
What calls _aget_docs()?
_aget_docs() is called by 3 function(s): _acall, _aget_docs, _aget_docs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free