Back to Agno

Production Patterns

cookbook/07_knowledge/03_production/README.md

2.6.4881 B
Original Source

Production Patterns

Real-world patterns for deploying knowledge systems.

Prerequisites

  1. Run Qdrant: ./cookbook/scripts/run_qdrant.sh
  2. Set OPENAI_API_KEY environment variable

Examples

FileWhat It Shows
01_multi_source_rag.pyLoading from files, URLs, and text in one batch
02_knowledge_lifecycle.pyInsert, skip-if-exists, remove, and status tracking
03_multi_tenant.pyKnowledge isolation per tenant with isolate_vector_search
04_error_handling.pyIdempotent inserts, batch error handling, verification

Running

bash
.venvs/demo/bin/python cookbook/07_knowledge/03_production/01_multi_source_rag.py

Further Reading