Skip to main content
In some cases, an LLM might fail to generate a response due to reasons like limited knowledge or the asked question not being clear. Response Validity score can be used to identify these cases, where a model is not generating an informative response. Columns required:
  • question: The question asked by the user
  • response: The response given by the model

How to use it?

By default, we are using GPT 3.5 Turbo for evaluations. If you want to use a different model, check out this tutorial.
Sample Response:
A higher response validity score reflects that the generated response is valid.
The response generated is not considered to be a valid response as the model has not generated any information on the quesktion asked i.e. “What is the formula of chlorophyll” Rather the generated response is an argument reflecting the model’s inability to generate information. Resulting in a low response validity score.

How it works?

We evaluate response validity by determining which of the following two cases apply for the given task data:
  • The given response does contain some information.
  • The given response does not contain any information.

Tutorial

Open this tutorial in GitHub

Have Questions?

Join our community for any questions or requests