DescobreAi

Software Architecture · 10/21/2025 · 1 min read

RAG Architecture for Real-World Business Applications

Retrieval design, chunking and evaluation for production knowledge systems—not demo chatbots.

By DescobreAi Engineering

Retrieval-augmented generation fails quietly: answers sound confident while citing the wrong policy version. Production RAG needs ingestion pipelines, metadata filters and evaluation sets tied to business scenarios.

Ingestion

Track document source, ACL, language and freshness. Re-embed when content changes; do not rely on one-off uploads.

Retrieval

Hybrid search (lexical + vector) often outperforms vector-only for SKU codes, CNPJ numbers and internal identifiers.

Grounding

Force citations or structured references in the UI so users can verify. Measure faithfulness, not just fluency.

Evaluation

Maintain a golden set of questions from support, sales and operations. Regression-test when you change chunk size, models or prompts.