From e00ad697e68b055b632de601873c084941e6a4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?th=E1=BB=8Bnh?= Date: Thu, 16 Jan 2025 13:51:58 +0700 Subject: [PATCH] Disable llm log on extracting question --- backend/utils/llm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/utils/llm.py b/backend/utils/llm.py index bc0389883..d844b3a9a 100644 --- a/backend/utils/llm.py +++ b/backend/utils/llm.py @@ -1379,9 +1379,9 @@ def extract_question_from_conversation(messages: List[Message]) -> str: - etc. '''.replace(' ', '').strip() - print(prompt) + # print(prompt) question = llm_mini.with_structured_output(OutputQuestion).invoke(prompt).question - print(question) + # print(question) return question