Editing
Rag
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Evaluating</span> == Expert RAG evaluation requires separate assessment of the retrieval and generation components: '''Retrieval metrics''' * '''Recall@k''': Of the relevant chunks that exist, what fraction was retrieved in the top-k? * '''MRR (Mean Reciprocal Rank)''': How highly is the first relevant chunk ranked? * '''Precision@k''': Of the k retrieved chunks, what fraction was actually relevant? '''Generation metrics''' * '''Faithfulness''': Does the generated answer only assert things supported by the retrieved context? (Use an LLM as judge) * '''Answer relevance''': Does the response actually address the user's question? * '''Context relevance''': Are the retrieved chunks relevant to the query? '''RAGAs framework''': The open-source RAGAs library automates evaluation of faithfulness, answer relevance, and context precision/recall using LLM-as-judge. Expert practitioners run '''end-to-end evals''' on a curated test set of query-answer pairs, tracking all metrics over time and alerting on regressions as the knowledge base evolves. </div> <div style="background-color: #2F4F4F; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information