Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weaviate index name must uppercasing the first? #3742

Open
EliWoo111 opened this issue Sep 10, 2024 · 1 comment · May be fixed by #3791
Open

weaviate index name must uppercasing the first? #3742

EliWoo111 opened this issue Sep 10, 2024 · 1 comment · May be fixed by #3791
Assignees
Labels
bug Something isn't working

Comments

@EliWoo111
Copy link

Bug Description

langflow:1.0.17
weaviate:1.24.24
Can be created, but vector query failed

Reproduction

20240910111921

Expected behavior

...

Who can help?

No response

Operating System

Ubuntu 20.04

Langflow Version

1.0.17

Python Version

None

Screenshot

No response

Flow File

No response

@EliWoo111 EliWoo111 added the bug Something isn't working label Sep 10, 2024
Copy link

dosubot bot commented Sep 10, 2024

Hey @EliWoo111! 👋 I'm here to help you with bugs, questions, or becoming a contributor. Let's squash those bugs together!

Yes, the Weaviate index name needs to have the first letter capitalized to avoid a KeyError in the langchain_community.vectorstores.weaviate module when using Langflow 1.0.17 and Weaviate 1.24.24. This is ensured by the _to_pascal_case function in the WeaviateVectorStore class, which capitalizes the first letter of the index name if it is not already capitalized [1].

To continue talking to Dosu, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants