1. Eval Ranking
Ranks retrieved contexts based on their relevance to the query. This evaluation ensures that the most relevant pieces of context are prioritised during response generation. Click here to read the eval definition of Eval Rankinga. Using Interface
Required Parameters- Inputs:
- input: Query
- context: List of contexts to rank
- Config:
- criteria: Ranking criteria description
b. Using SDK
2. Context Relevance
Determines the relevancy of retrieved context in addressing the user query. Evaluates whether the retrieved data aligns with the requirements of the query. Click here to read the eval definition of Context Relevancea. Using Interface
Required Parameters- Inputs:
- context: Context provided
- input: Query
- Config:
- Check Internet: Boolean - Whether to verify against internet sources
b. Using SDK
3. Completeness
Evaluates whether the generated response addresses all aspects of the input query. Ensures that no key details are missed in the AI’s output. Click here to read the eval definition of Completenessa. Using Interface
Required Parameters- Inputs:
- input: Original text
- output: AI generated content
b. Using SDK
4. Groundedness
Determines if the generated response is grounded in the provided context. Verifies that the output is based on accurate and relevant information, avoiding hallucination Click here to read the eval definition of Groundednessa. Using Interface
Required Parameters- Inputs:
- output: Generated response from the model
- input: User provided Input to the model