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
  b40dca0d_0cba_df31_2e04_0f7efd72cbf6["_aget_docs()"]
  e4f7f49b_0535_9083_f037_071fa164fd67["QAWithSourcesChain"]
  b40dca0d_0cba_df31_2e04_0f7efd72cbf6 -->|defined in| e4f7f49b_0535_9083_f037_071fa164fd67
  2df9f284_e3a5_fb7b_a200_c20ea1a10d39["_aget_docs()"]
  2df9f284_e3a5_fb7b_a200_c20ea1a10d39 -->|calls| b40dca0d_0cba_df31_2e04_0f7efd72cbf6
  2df9f284_e3a5_fb7b_a200_c20ea1a10d39["_aget_docs()"]
  b40dca0d_0cba_df31_2e04_0f7efd72cbf6 -->|calls| 2df9f284_e3a5_fb7b_a200_c20ea1a10d39
  style b40dca0d_0cba_df31_2e04_0f7efd72cbf6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/qa_with_sources/base.py lines 248–255

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

Subdomains

Calls

Called By

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 248.
What does _aget_docs() call?
_aget_docs() calls 1 function(s): _aget_docs.
What calls _aget_docs()?
_aget_docs() is called by 1 function(s): _aget_docs.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free