-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ValueError for Shapes when using Neo4j. #2364
Comments
@alokjha2 It's not the solution to the bug. As many embedding models don't support more than 768 dims for eg: nomic. Then this fix cannot solve the issues which is faced. |
@Dev-Khant I can pick this issue! |
I checked this code, and it works with the dimension set to 1536. Regarding your statement: "It's not the solution to the bug, as many embedding models don't support more than 768 dimensions (e.g., Nomic). This fix cannot resolve the issue being faced." Yes, many embedding models don’t support more than 768 dimensions, but the model the user is using for embedding generation supports 1536 |
And if you think something else is causing this issue, what do you believe it is, and how would you approach fixing it? |
This embedding model does but not every right. So in short this becomes a feature request where you can set any supported embedding dimensions. I'm still looking into it where the issue is occuring. Will link the PR once solved. |
🐛 Describe the bug
When using only the Neo4j as graph_store and setting the embeddings dimension to something less than
1534
gives the below error. Also gives the deprecation warning for the langchain-neo4j package.ERROR:
The text was updated successfully, but these errors were encountered: