ChromaDB multi-region replication causing RAG prompt placeholder missing
Problem When ChromaDB is deployed with multi‑region replication, Retrieval‑Augmented Generation (RAG) prompts occasionally render with the placeholder {{retrieved_text}} left untouched. The generated output contains the literal placeholder instead of the expected document snippets, causing downstream language model calls to fail or produce nonsensical answers. Typical symptom in the application logs: 2024-10-08 14:22:31,842 ERROR rag_engine – … Read more