Skip to content

Commit

Permalink
use nested lists and change import path (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-risch authored Feb 12, 2024
1 parent a271ba3 commit abd114a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/uptrain.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ To use this integration for calculating model-based evaluation metrics, initiali

```python
from haystack import Pipeline
from haystack_integrations.components.evaluators import UpTrainEvaluator, UpTrainMetric
from haystack_integrations.components.evaluators.uptrain import UpTrainEvaluator, UpTrainMetric

QUESTIONS = [
"Which is the most popular global sport?",
]
CONTEXTS = [
"The popularity of sports can be measured in various ways, including TV viewership, social media presence, number of participants, and economic impact. Football is undoubtedly the world's most popular sport with major events like the FIFA World Cup and sports personalities like Ronaldo and Messi, drawing a followership of more than 4 billion people."
["The popularity of sports can be measured in various ways, including TV viewership, social media presence, number of participants, and economic impact. Football is undoubtedly the world's most popular sport with major events like the FIFA World Cup and sports personalities like Ronaldo and Messi, drawing a followership of more than 4 billion people."]
]
RESPONSES = [
"Football is the most popular sport with around 4 billion followers worldwide",
Expand Down

0 comments on commit abd114a

Please sign in to comment.