_get_docs() — langchain Function Reference
Architecture documentation for the _get_docs() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD cc60c9e9_1c90_5c4d_901c_b053eae628ef["_get_docs()"] be2fab99_c17a_7327_31b8_3526c30ba2b8["BaseConversationalRetrievalChain"] cc60c9e9_1c90_5c4d_901c_b053eae628ef -->|defined in| be2fab99_c17a_7327_31b8_3526c30ba2b8 6e6f6256_b657_b069_4feb_e1aba5c970b7["_call()"] 6e6f6256_b657_b069_4feb_e1aba5c970b7 -->|calls| cc60c9e9_1c90_5c4d_901c_b053eae628ef 8e932862_cc2c_8a91_ae17_87d023efcca7["_get_docs()"] 8e932862_cc2c_8a91_ae17_87d023efcca7 -->|calls| cc60c9e9_1c90_5c4d_901c_b053eae628ef 91f26d93_49d0_6b76_bf53_e69422a76a37["_get_docs()"] 91f26d93_49d0_6b76_bf53_e69422a76a37 -->|calls| cc60c9e9_1c90_5c4d_901c_b053eae628ef 8e932862_cc2c_8a91_ae17_87d023efcca7["_get_docs()"] cc60c9e9_1c90_5c4d_901c_b053eae628ef -->|calls| 8e932862_cc2c_8a91_ae17_87d023efcca7 style cc60c9e9_1c90_5c4d_901c_b053eae628ef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/conversational_retrieval/base.py lines 134–141
def _get_docs(
self,
question: str,
inputs: dict[str, Any],
*,
run_manager: CallbackManagerForChainRun,
) -> list[Document]:
"""Get docs."""
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does _get_docs() do?
_get_docs() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/conversational_retrieval/base.py.
Where is _get_docs() defined?
_get_docs() is defined in libs/langchain/langchain_classic/chains/conversational_retrieval/base.py at line 134.
What does _get_docs() call?
_get_docs() calls 1 function(s): _get_docs.
What calls _get_docs()?
_get_docs() is called by 3 function(s): _call, _get_docs, _get_docs.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free