Home / Function/ _aget_docs() — langchain Function Reference

_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
  2df9f284_e3a5_fb7b_a200_c20ea1a10d39["_aget_docs()"]
  5aa1201d_23fd_f122_acb5_563cb1cc3cb3["BaseQAWithSourcesChain"]
  2df9f284_e3a5_fb7b_a200_c20ea1a10d39 -->|defined in| 5aa1201d_23fd_f122_acb5_563cb1cc3cb3
  0bfde7b9_784b_2dd7_04f2_aad7c49096aa["_acall()"]
  0bfde7b9_784b_2dd7_04f2_aad7c49096aa -->|calls| 2df9f284_e3a5_fb7b_a200_c20ea1a10d39
  b40dca0d_0cba_df31_2e04_0f7efd72cbf6["_aget_docs()"]
  b40dca0d_0cba_df31_2e04_0f7efd72cbf6 -->|calls| 2df9f284_e3a5_fb7b_a200_c20ea1a10d39
  b40dca0d_0cba_df31_2e04_0f7efd72cbf6["_aget_docs()"]
  2df9f284_e3a5_fb7b_a200_c20ea1a10d39 -->|calls| b40dca0d_0cba_df31_2e04_0f7efd72cbf6
  style 2df9f284_e3a5_fb7b_a200_c20ea1a10d39 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/qa_with_sources/base.py lines 182–188

    async def _aget_docs(
        self,
        inputs: dict[str, Any],
        *,
        run_manager: AsyncCallbackManagerForChainRun,
    ) -> list[Document]:
        """Get docs to run questioning over."""

Subdomains

Calls

Frequently Asked Questions

What does _aget_docs() do?
_aget_docs() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/qa_with_sources/base.py.
Where is _aget_docs() defined?
_aget_docs() is defined in libs/langchain/langchain_classic/chains/qa_with_sources/base.py at line 182.
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