🔧 chore(langflow): add Weaviate to vectorstores and add TODO comment to fix Weaviate integration

Weaviate has been added to the list of vectorstores in the config.yaml file. A TODO comment has been added to the nodes.py file to fix the integration with Weaviate. Weaviate requires the weaviate_url to be passed as it is not part of the class or from_texts method. The add_extra_fields method needs to be fixed to include the weaviate_url parameter.
This commit is contained in:
Gabriel Almeida 2023-05-27 11:03:06 -03:00
commit 9cb52994ad
2 changed files with 4 additions and 0 deletions

View file

@ -109,6 +109,7 @@ utilities:
vectorstores:
- Chroma
- Qdrant
- Weaviate
wrappers:
- RequestsWrapper # Wait more tests
# - ChatPromptTemplate

View file

@ -686,3 +686,6 @@ class VectorStoreFrontendNode(FrontendNode):
field.advanced = True
if "key" in field.name:
field.password = False
# TODO: Weaviate requires weaviate_url to be passed as it is not part of
# the class or from_texts method. We need the add_extra_fields to fix this