MCPcopy
hub / github.com/langchain-ai/langchain / chain.py

File chain.py

templates/retrieval-agent/retrieval_agent/chain.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2from typing import List, Tuple
3
4from langchain.agents import AgentExecutor

Callers

nothing calls this directly

Calls 12

AzureChatOpenAIClass · 0.90
MessagesPlaceholderClass · 0.90
AgentExecutorClass · 0.90
create_retriever_toolFunction · 0.85
ArxivRetrieverClass · 0.70
_format_chat_historyFunction · 0.70
from_messagesMethod · 0.45
bindMethod · 0.45
with_typesMethod · 0.45

Tested by

no test coverage detected