引导式测验 · 中等 等级
RAG 评估指标和 RAGAS 测验
检查您对 RAG 评估的理解:忠实度、答案相关性、上下文精确度和召回率,以及 LLM 评委如何评分。
问题 1 的 8
哪个指标检查答案中的每个主张是否得到检索到的上下文的支持?
预览每个问题8 问题
当您参加测验时,就会出现答案和解释。
- 哪个指标检查答案中的每个主张是否得到检索到的上下文的支持?
- Answer relevance
- Context recall
- Faithfulness
- Context precision
- 这些指标中的哪一个需要每个测试问题的真实参考答案?
- Context recall
- Faithfulness
- Answer relevance
- Response latency
- 上下文精确度衡量什么?
- How quickly chunks are retrieved
- Whether the answer is short
- How many documents are in the index
- Whether the relevant retrieved chunks are ranked near the top
- RAGAS 如何估计答案相关性?
- By counting words shared by answer and context
- By generating questions the answer would respond to and comparing them to the original question with embeddings
- By asking the user to rate each answer
- By checking the answer against a reference with exact string match
- 系统表现出较高的上下文召回率但较低的上下文精确度。最有可能的修复是什么?
- Improve ranking, for example by adding a reranker
- Switch to a smaller generation model
- Remove the reference answers
- Lower the number of test questions
- Why can a perfectly faithful answer still be wrong?
- Faithfulness only checks grammar
- Faithfulness ignores the retrieved context
- It can faithfully repeat an outdated or incorrect document
- Faithful answers are always too short
- Why should teams pin the judge model and settings when comparing RAG systems?
- Pinning makes the judge free to run
- Judges only work with one vector database
- Pinning removes the need for test questions
- LLM-judge scores vary with the judge model and prompt, so comparisons need identical settings
- Retrieval returns the right passages, but the answer adds unsupported details. Where should the team look first?
- The chunking strategy
- The prompt or the generation model
- The embedding model
- The number of documents indexed