forked from Archives/langchain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
705 B
Python
23 lines
705 B
Python
"""Interface for agents."""
|
|
from langchain.agents.agent import Agent, AgentExecutor
|
|
from langchain.agents.load_tools import get_all_tool_names, load_tools
|
|
from langchain.agents.loading import initialize_agent
|
|
from langchain.agents.mrkl.base import MRKLChain, ZeroShotAgent
|
|
from langchain.agents.react.base import ReActChain, ReActTextWorldAgent
|
|
from langchain.agents.self_ask_with_search.base import SelfAskWithSearchChain
|
|
from langchain.agents.tools import Tool
|
|
|
|
__all__ = [
|
|
"MRKLChain",
|
|
"SelfAskWithSearchChain",
|
|
"ReActChain",
|
|
"AgentExecutor",
|
|
"Agent",
|
|
"Tool",
|
|
"initialize_agent",
|
|
"ZeroShotAgent",
|
|
"ReActTextWorldAgent",
|
|
"load_tools",
|
|
"get_all_tool_names",
|
|
]
|