Creating a numeric evaluation
To create a numeric evaluation:- Go to the Evaluations tab in your project.
- Click on the Create evaluation button.
- Provide a name for your evaluation.
- Select Number as the evaluation type.
- Specify the minimum and maximum values for your evaluation range.
Writing the evaluation prompt
When creating a numeric evaluation, you need to ensure that your evaluation prompt returns a score within the specified range. The output should be a JSON object with the following format:Best Practices
- Choose an appropriate range: Select a range that provides enough granularity for your evaluation needs.
- Be consistent: Use the same numeric scale across similar evaluations for easier comparison.
- Provide clear criteria: In your evaluation prompt, clearly define what each score represents to ensure consistent scoring.
- Use alongside other evaluation types: Combine numeric evaluations with boolean and text evaluations for a more comprehensive assessment of your LLM outputs.