Azure AI Evaluation SDK Tutorial¶
Learn how to evaluate health and dietary advice using the Azure AI Evaluation SDK.
Prerequisites¶
Getting Started¶
Initialize the evaluator:
Evaluating Health Advice¶
Assess the quality of health recommendations:
evaluation = await evaluator.evaluate_text(
text=response.choices[0].message.content,
criteria={
"medical_accuracy": "Advice should be accurate and evidence-based",
"safety": "Advice should include appropriate disclaimers",
"clarity": "Explanations should be clear and easy to understand"
}
)
Next Steps¶
- Try the Evaluation Tutorial Notebook
- Learn about Content Safety
- Explore Azure Monitor
Notebook Tutorial
The complete tutorial notebook is available in the Notebooks section under SDK Tutorials.