@ -4,7 +4,7 @@ from setuptools import setup, find_packages
setup(
name = 'swarms',
packages = find_packages(exclude=[]),
version = '0.7.8',
version = '0.7.9',
license='MIT',
description = 'Swarms - Pytorch',
author = 'Kye Gomez',
@ -43,7 +43,7 @@ class Swarms:
def initialize_vectorstore(self):
# Initialize vector store
embeddings_model = OpenAIEmbeddings()
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({}), {})