Тест, свързан с ръководство · Среден Ниво
Метрики за оценка на RAG и тест RAGAS
Проверете разбирането си за оценката на RAG: вярност, уместност на отговора, прецизност на контекста и припомняне и как ги оценяват съдиите от LLM.
Въпрос 1 на 8
Коя метрика проверява дали всяко твърдение в отговора е подкрепено от извлечения контекст?
Визуализирайте всеки въпрос8 въпроси
Отговорите и обясненията се появяват, докато отговаряте на теста.
- Коя метрика проверява дали всяко твърдение в отговора е подкрепено от извлечения контекст?
- Answer relevance
- Context recall
- Faithfulness
- Context precision
- Коя от тези метрики изисква референтен отговор (ground-truth) за всеки тестов въпрос?
- 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