From abd114a30d776046fd9891fd4c41784b3b1f239b Mon Sep 17 00:00:00 2001 From: Julian Risch Date: Mon, 12 Feb 2024 14:51:48 +0100 Subject: [PATCH] use nested lists and change import path (#167) --- integrations/uptrain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/uptrain.md b/integrations/uptrain.md index db46608b..8858d662 100644 --- a/integrations/uptrain.md +++ b/integrations/uptrain.md @@ -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",