# Evaluate on your dataset
for item in opik_data[:5]:  # Evaluate first 5 items
    result = evaluate_qa_model(item)
    print(f"Topic: {result['topic']}, Difficulty: {result['difficulty']}")
```

## Results viewing

Once your Gretel-generated datasets are uploaded to Opik, you can view them in the Opik UI. Each dataset will contain:

* Input questions and expected answers
* Metadata including topic and difficulty levels
* Source information (Data Designer or Safe Synthetics)
* Quality metrics and evaluation results

## Feedback Scores and Evaluation

Once your Gretel-generated datasets are in Opik, you can evaluate your LLM applications using Opik's evaluation framework:

```python
from opik.evaluation import evaluate
from opik.evaluation.metrics import Hallucination