_call() — langchain Function Reference
Architecture documentation for the _call() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD f0e85dbd_dad6_e533_b594_29dfa4fe16c8["_call()"] 4ca44101_1e0d_43e9_f420_35c5afe4173a["HypotheticalDocumentEmbedder"] f0e85dbd_dad6_e533_b594_29dfa4fe16c8 -->|defined in| 4ca44101_1e0d_43e9_f420_35c5afe4173a style f0e85dbd_dad6_e533_b594_29dfa4fe16c8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/langchain_classic/chains/hyde/base.py lines 89–99
def _call(
self,
inputs: dict[str, Any],
run_manager: CallbackManagerForChainRun | None = None,
) -> dict[str, str]:
"""Call the internal llm chain."""
_run_manager = run_manager or CallbackManagerForChainRun.get_noop_manager()
return self.llm_chain.invoke(
inputs,
config={"callbacks": _run_manager.get_child()},
)
Domain
Subdomains
Source
Frequently Asked Questions
What does _call() do?
_call() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/chains/hyde/base.py.
Where is _call() defined?
_call() is defined in libs/langchain/langchain_classic/chains/hyde/base.py at line 89.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free