From 1ab24ef191309e3fa0a53db669482828a5ae58a0 Mon Sep 17 00:00:00 2001 From: Kye Date: Sat, 29 Jul 2023 17:42:52 -0400 Subject: [PATCH] clean up --- swarms/boss/boss_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarms/boss/boss_node.py b/swarms/boss/boss_node.py index 3ec1fe20..83bcdef9 100644 --- a/swarms/boss/boss_node.py +++ b/swarms/boss/boss_node.py @@ -53,7 +53,7 @@ class BossNodeInitializer: """ try: embeddings_model = OpenAIEmbeddings(openai_api_key=self.openai_api_key) - embedding_size = self.embedding_size + embedding_size = 8192 index = faiss.IndexFlatL2(embedding_size) return FAISS(embeddings_model.embed_query, index, InMemoryDocstore({}), {}) except Exception as e: