Creating a boolean evaluation
To create a boolean evaluation:- Go to the Evaluations tab in your project.
- Click on the Create evaluation button.
- Provide a name for your evaluation.
- Select Boolean as the evaluation type.
Writing the evaluation prompt
When creating a boolean evaluation, you need to ensure that your evaluation prompt returns a clear true/false answer. The output should be a JSON object with the following format:Best Practices
- Be specific: Clearly define the criteria for a true or false result in your evaluation prompt.
- Keep it simple: Focus on one aspect or requirement per boolean evaluation for clarity.
- Use precise language: Avoid ambiguity in your prompts to ensure consistent evaluations.
- Combine with other evaluation types: Use boolean evaluations alongside numeric and text evaluations for a more comprehensive assessment of your LLM outputs.