Learn how to use local CSV files in your knowledge base.
knowledge_base
with an Agent
:
Parameter | Type | Default | Description |
---|---|---|---|
path | Union[str, Path] | - | Path to the CSV file |
reader | CSVReader | CSVReader() | A CSVReader that reads the CSV file and converts it into Documents for the vector database |
CSVKnowledgeBase
is a subclass of the AgentKnowledge class and has access to the same params.