From 28b02826a54def794afb77291628f7efafba8228 Mon Sep 17 00:00:00 2001 From: Michael Dyer Date: Fri, 11 Oct 2024 17:04:04 +0200 Subject: [PATCH] Remove debug print statements --- app/pipeline/text_exercise_chat_pipeline.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/pipeline/text_exercise_chat_pipeline.py b/app/pipeline/text_exercise_chat_pipeline.py index 287f888..9549f2e 100644 --- a/app/pipeline/text_exercise_chat_pipeline.py +++ b/app/pipeline/text_exercise_chat_pipeline.py @@ -44,7 +44,6 @@ def __call__( raise ValueError("Conversation with at least one message is required") sentiments = self.categorize_sentiments_by_relevance(dto) - print(f"Sentiments: {sentiments}") self.callback.done("Responding") response = self.respond(dto, sentiments) @@ -78,7 +77,6 @@ def categorize_sentiments_by_relevance( [extract_sentiments_prompt], CompletionArguments() ) response = response.contents[0].text_content - print(f"Sentiments response:\n{response}") sentiments = ([], [], []) for line in response.split("\n"): line = line.strip()