Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
18 lines
782 B
Plaintext
18 lines
782 B
Plaintext
|
|
# Sample Knowledge Base Document
|
|
|
|
This is a sample document for RAG evaluation.
|
|
|
|
## Section 1: Introduction
|
|
RAG (Retrieval-Augmented Generation) systems combine retrieval and generation
|
|
to provide accurate and contextual answers.
|
|
|
|
## Section 2: Evaluation
|
|
Evaluating RAG systems requires measuring both retrieval quality and generation quality.
|
|
|
|
Key metrics include:
|
|
- Context Recall: How well the system retrieves relevant context
|
|
- Context Precision: How precise the retrieved context is
|
|
- Faithfulness: Whether the generated answer is faithful to the context
|
|
- Answer Relevancy: How relevant the answer is to the question
|
|
|