CSVKnowledgeBase Params

ParameterTypeDefaultDescription
pathUnion[str, Path]-Path to the CSV file
readerCSVReaderCSVReader()A CSVReader that reads the CSV file and converts it into Documents for the vector database

AgentKnowledge Params

CSVKnowledgeBase is a subclass of the AgentKnowledge class and has access to the same params

ParameterTypeDefaultDescription
readerOptional[Reader]NoneReader to read the documents
vector_dbOptional[VectorDb]NoneVector db to store the knowledge base
num_documentsint2Number of relevant documents to return on search
optimize_onOptional[int]1000Number of documents to optimize the vector db on
driverstr"knowledge"Driver for the Assistant knowledge