Skip to content

Facing issue generating correct evaluation report for RAG application #1997

Answered by pierlj
Abhinay-14 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, can you check manually that you get correct answers when you call your get_answer_fn? I suspect that you don't get any answer at all.

When all answers are incorrect, it is expected that the knowledge base and router components are at 100% (e.g. for the knowledge base component it is computed as the 1 minus the gap between the topics with best and worst correctness, but if every answer is incorrect, the gap is 0). The other components are computed directly from the correctness on the question and therefore are at 0% when every answer is wrong.

Also I see that your agent does not support history, the generate_testset function will generate some questions split into two messages (conv…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexcombessie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants