Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
Vector stores, reranking, and persistent indexing
Run
from praisonai import KnowledgeConfig local_chroma = KnowledgeConfig( sources=['docs/policies.md', 'docs/faq.pdf'], vector_store='chroma', retrieval_k=5, retrieval_threshold=0.7, rerank=True, ) print('Sources:', local_chroma.sources) print('Vector store:', local_chroma.vector_store, '| Rerank:', local_chroma.rerank, '| Threshold:', local_chroma.retrieval_threshold)
Press Run. The result appears here.
Esc
Search in
All
Docs
University