Skip to content

Commit

Permalink
chore: remove set_verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanorosanelli committed Jan 23, 2025
1 parent ad603f2 commit 4c55e29
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions brevia/query.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4c55e29

Please sign in to comment.