Confidence Scoring: How to Interpret and Improve Answer Quality
Citai Team
March 8, 2026 · 7 min read
What is the confidence score?
Every RAG response includes a confidence score (0.0 to 1.0) indicating how certain the system is that the answer is correct and relevant.
It’s not “the probability of being correct” — it’s a composite metric reflecting the quality of found chunks and how well they answer the question.
How it’s calculated
The score combines two signals:
1. Rerank score (50%)
The cross-encoder evaluates how relevant the best chunk is to the question.
2. Vector similarity (50%)
Cosine distance between query embedding and retrieved chunks.
Both signals pass through a sigmoid function normalizing to 0-1.
Diagnosis: why is my confidence low?
Case 1: Information DOESN’T exist in KB
Signals: Low rerank + Low vector Action: Add documents covering the topic. Create FAQs.
Case 2: Information exists but is “diluted”
Signals: Medium vector + Low rerank Action: Reduce chunk_size or enable contextualization.
Case 3: Information exists but uses different vocabulary
Signals: BM25 finds nothing + Medium vector Action: Raise semantic_weight or add FAQs with user vocabulary.
Case 4: Too many irrelevant chunks competing
Signals: High vector but Low rerank Action: Raise MMR diversity or reduce top_k.
Actions to improve confidence
Content actions (most effective)
- Add documents covering low-confidence topics
- Create FAQs for frequent questions (FAQ match = maximum confidence)
- Improve document quality: clear titles, H1/H2 structure
Configuration actions
- Enable contextualization for ambiguous chunks
- Adjust chunk_size per document type
- Calibrate semantic_weight
- Raise rerank_top_n if best chunks don’t reach final top
Advanced actions
- Review confidence_threshold: if set to 0.7 and most queries hit 0.5-0.65, content may need time to mature
- Resolve knowledge gaps: the gaps section shows exactly which questions lack good answers
The continuous improvement cycle
Query → Low confidence → Knowledge Gap detected
↓
Add FAQ / Document → Reprocess
↓
Re-test → Confidence rises → Gap resolved
Monitor confidence from Analytics and use the Playground to diagnose specific queries.
Try Citai for free
Create your intelligent knowledge base in minutes. No credit card required.
Create free accountRelated articles
Cross-Encoder Reranking: How to Improve Your Chatbot's Accuracy
Learn how cross-encoder reranking dramatically improves RAG response relevance.
Read article → Practical GuideFAQ vs RAG: When to Use Each Strategy and How to Combine Them
Guide to deciding when to answer with direct FAQ vs full RAG search, and how to optimize the combined flow.
Read article → Practical GuideRAG Playground: how to diagnose and fine-tune your knowledge base
Practical guide to using Citai RAG Playground: pipeline diagnostics, parameter tuning, A/B comparison and batch testing.
Read article →