Add all functions for architecture to work + for regular user flows, refactor and reformat issues, add boilerplate for loading jobs logic and extend search functionalities.
This commit is contained in:
parent
3632a859f9
commit
0eae4e9cb3
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class WeaviateVectorDB(VectorDB):
|
|||
super().__init__(*args, **kwargs)
|
||||
self.init_weaviate(embeddings= self.embeddings, namespace = self.namespace)
|
||||
|
||||
def init_weaviate(self, embeddings=OpenAIEmbeddings(), namespace=None,retriever_type="",):
|
||||
def init_weaviate(self, embeddings=OpenAIEmbeddings(openai_api_key=os.getenv("OPENAI_API_KEY", "")), namespace=None,retriever_type="",):
|
||||
# Weaviate initialization logic
|
||||
auth_config = weaviate.auth.AuthApiKey(
|
||||
api_key=os.environ.get("WEAVIATE_API_KEY")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue