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

File agent.py

templates/csv-agent/csv_agent/agent.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from pathlib import Path
2
3import pandas as pd
4from langchain.agents import AgentExecutor, OpenAIFunctionsAgent

Callers

nothing calls this directly

Calls 12

OpenAIEmbeddingsClass · 0.90
MessagesPlaceholderClass · 0.90
PythonAstREPLToolClass · 0.90
ChatOpenAIClass · 0.90
AgentExecutorClass · 0.90
create_retriever_toolFunction · 0.85
load_localMethod · 0.45
as_retrieverMethod · 0.45
formatMethod · 0.45
from_messagesMethod · 0.45
with_typesMethod · 0.45

Tested by

no test coverage detected