langchain.agents.agent_toolkits.vectorstore.toolkit.VectorStoreRouterToolkit¶

class langchain.agents.agent_toolkits.vectorstore.toolkit.VectorStoreRouterToolkit(*, vectorstores: List[VectorStoreInfo], llm: BaseLanguageModel = None)[source]¶

Bases: BaseToolkit

Toolkit for routing between Vector Stores.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param llm: langchain.schema.language_model.BaseLanguageModel [Optional]¶
param vectorstores: List[langchain.agents.agent_toolkits.vectorstore.toolkit.VectorStoreInfo] [Required]¶
get_tools() List[BaseTool][source]¶

Get the tools in the toolkit.

model Config[source]¶

Bases: object

Configuration for this pydantic object.

arbitrary_types_allowed = True¶

Examples using VectorStoreRouterToolkit¶