Specialized Agents

Specialized agents are designed for specific data sources and formats, providing targeted functionality for different types of content.

CSV Agent

This component creates a CSV agent from a CSV file and LLM.

Inputs

Name
Type
Description

llm

LanguageModel

Language model to use for the agent

path

File

Path to the CSV file

agent_type

String

Type of agent to create (zero-shot-react-description, openai-functions, or openai-tools)

Outputs

Name
Type
Description

agent

AgentExecutor

CSV agent instance

JSON Agent

This component creates a JSON agent from a JSON or YAML file and an LLM.

Inputs

Name
Type
Description

llm

LanguageModel

Language model to use for the agent

path

File

Path to the JSON or YAML file

Outputs

Name
Type
Description

agent

AgentExecutor

JSON agent instance

SQL Agent

This component creates a SQL Agent to interact with SQL databases.

Inputs

Name
Type
Description

llm

LanguageModel

Language model to use for the agent

database_uri

String

URI of the SQL database to connect to

extra_tools

List[Tool]

Additional tools to provide to the agent (optional)

Outputs

Name
Type
Description

agent

AgentExecutor

SQL Agent instance

OpenAPI Agent

This component creates an OpenAPI Agent to interact with APIs defined by OpenAPI specifications.

Inputs

Name
Type
Description

llm

LanguageModel

Language model to use for the agent

path

File

Path to the OpenAPI specification file (JSON or YAML)

allow_dangerous_requests

Boolean

Whether to allow potentially dangerous API requests

Outputs

Name
Type
Description

agent

AgentExecutor

OpenAPI Agent instance

Vector Store Agent

This component creates a Vector Store Agent using LangChain.

Inputs

Name
Type
Description

llm

LanguageModel

Language model to use for the agent

vectorstore

VectorStoreInfo

Vector store information for the agent to use

Outputs

Name
Type
Description

agent

AgentExecutor

Vector Store Agent instance

Vector Store Router Agent

This component creates a Vector Store Router Agent using LangChain.

Inputs

Name
Type
Description

llm

LanguageModel

Language model to use for the agent

vectorstores

List[VectorStoreInfo]

List of vector store information for the agent to route between

Outputs

Name
Type
Description

agent

AgentExecutor

Vector Store Router Agent instance

Last updated