Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
os
2
from
typing
import
List, Tuple
3
4
from
langchain.agents
import
AgentExecutor
Callers
nothing calls this directly
Calls
12
AzureChatOpenAI
Class · 0.90
MessagesPlaceholder
Class · 0.90
format_to_openai_function_messages
Function · 0.90
OpenAIFunctionsAgentOutputParser
Class · 0.90
AgentExecutor
Class · 0.90
create_retriever_tool
Function · 0.85
format_tool_to_openai_function
Function · 0.85
ArxivRetriever
Class · 0.70
_format_chat_history
Function · 0.70
from_messages
Method · 0.45
bind
Method · 0.45
with_types
Method · 0.45
Tested by
no test coverage detected