LlamaIndexKnowledgeBase Params

ParameterTypeDefaultDescription
retrieverBaseRetriever-LlamaIndex retriever used for querying the knowledge base
loaderOptional[Callable]NoneOptional loader function to load documents into the knowledge base

AgentKnowledge Params

LlamaIndexKnowledgeBase 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