Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.phidata.com/llms.txt

Use this file to discover all available pages before exploring further.

DocumentKnowledgeBase Params

ParameterTypeDefaultDescription
documentsList[Document]-List of Document objects to be used as the knowledge base

AgentKnowledge Params

DocumentKnowledgeBase 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