From 4c55e29d6f1a5cbf667f5f803b039bc6baac0908 Mon Sep 17 00:00:00 2001 From: stefanorosanelli Date: Thu, 23 Jan 2025 15:57:54 +0100 Subject: [PATCH] chore: remove set_verbose --- brevia/query.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/brevia/query.py b/brevia/query.py index 9a3a8d1..ecebe84 100644 --- a/brevia/query.py +++ b/brevia/query.py @@ -1,6 +1,5 @@ """Question-answering and search functions against a vector database.""" from os import path -from langchain.globals import set_verbose from langchain.retrievers.multi_query import MultiQueryRetriever from langchain.chains.base import Chain from langchain.chains import create_history_aware_retriever, create_retrieval_chain @@ -234,9 +233,6 @@ def conversation_chain( settings.qa_followup_llm.copy() ) - verbose = settings.verbose_mode - set_verbose(verbose) - # Main LLM configuration answer_callbacks.append(logging_handler_callback) qa_llm_conf['callbacks'] = answer_callbacks