Knowledge
LlamaIndex Knowledge Base
The LlamaIndexKnowledgeBase allows us to use a LlamaIndex retriever or vector store as a knowledge base.
Usage
llamaindex_kb.py
Params
Parameter | Type | Default | Description |
---|---|---|---|
retriever | BaseRetriever | None | LlamaIndex retriever used for querying the knowledge base. |
loader | Optional[Callable] | None | Optional callable function to load documents into the knowledge base. |