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
  ed9127df_3e5e_043c_675b_f1f0797fdc31["_aget_docs()"]
  b8cae909_b704_b10a_76f9_9d81abaafe39["VectorDBQA"]
  ed9127df_3e5e_043c_675b_f1f0797fdc31 -->|defined in| b8cae909_b704_b10a_76f9_9d81abaafe39
  08db5c6e_396d_588e_3be8_0331b0e2994a["_aget_docs()"]
  ed9127df_3e5e_043c_675b_f1f0797fdc31 -->|calls| 08db5c6e_396d_588e_3be8_0331b0e2994a
  style ed9127df_3e5e_043c_675b_f1f0797fdc31 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/chains/retrieval_qa/base.py lines 355–363

    async def _aget_docs(
        self,
        question: str,
        *,
        run_manager: AsyncCallbackManagerForChainRun,
    ) -> list[Document]:
        """Get docs."""
        msg = "VectorDBQA does not support async"
        raise NotImplementedError(msg)

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/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 355.
What does _aget_docs() call?
_aget_docs() calls 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