From c71df75fed8a817b13e1e54c9326c058f7ab055c Mon Sep 17 00:00:00 2001 From: Kye Date: Thu, 13 Jul 2023 17:41:47 -0400 Subject: [PATCH] no verbose Former-commit-id: d807761c2a2e7394b28c75710a5230270a355050 --- swarms/swarms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index b15bd850..a19f1c57 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -66,7 +66,7 @@ class Swarms: embeddings_model = OpenAIEmbeddings(openai_api_key=self.openai_api_key) embedding_size = 1536 index = faiss.IndexFlatL2(embedding_size) - + return FAISS(embeddings_model.embed_query, index, InMemoryDocstore({}), {}) except Exception as e: logging.error(f"Failed to initialize vector store: {e}") @@ -96,7 +96,7 @@ class Swarms: logging.error(f"Failed to initialize worker node: {e}") raise - def initialize_boss_node(self, vectorstore, worker_node, llm_class=OpenAI, max_iterations=5, verbose=True): + def initialize_boss_node(self, vectorstore, worker_node, llm_class=OpenAI, max_iterations=5, verbose=False): """ Init BossNode