MTEB is a benchmark suite and leaderboard for comparing text embedding models across retrieval-augmented generation (RAG) workloads. It offers a useful starting point, but leaderboard scores are self-reported and may not predict performance on real-world data. section 6.5.4
Use MTEB as one input in a practical evaluation workflow:
- Shortlist embedding models, then generate embeddings for representative domain content and user queries. section 6.5.4
- Compare retrieval quality and operational measures against business objectives rather than relying on leaderboard rank alone. section 6.5.4
Medical RAG evaluation
For a health chatbot, test questions such as whether ibuprofen is safe with blood-pressure medication or how to respond to post-vaccination soreness. Compare embedding choices with FAISS or Elasticsearch, then measure retrieval and system performance. section 6.5.4
Table 6.6 Prioritized metrics for RAG evaluation based on business objectives
|
Business objective
|
Prioritized metrics
|
Why?
|
Example
|
|---|---|---|---|
|
Customer satisfaction
|
Response accuracy
Relevance
|
Directly impacts user experience and satisfaction
|
PharmaBot providing accurate answers to users’ queries
|
|
Operational efficiency
|
Latency
Throughput
|
Ensures the system can handle high query volumes quickly
|
A customer support chatbot for a large e-commerce platform should prioritize low latency to provide quick responses during peak shopping times.
|
|
Scalability
|
Queries processed per second
Resource utilization
|
Evaluates system performance under increasing loads
|
Chatbot for a healthcare provider managing seasonal spikes in appointments and queries
|
|
Cost-effectiveness
|
CPU usage
Memory usage
|
Ensures high performance without excessive resource consumption
|
Chatbot for a non-profit organization providing 24/7 mental health support on limited funding
|
Prioritize response accuracy and relevance for answer quality; use latency, throughput, resource use, and scalability measures for operational trade-offs. section 6.5.4
