Bug description
neo4j vector store does not allow more than 2048 embedding dimensions.
However I'm using llama3 8B as an embedding model so It produces vectors with a dimension of 4096.
Environment
Spring AI 1.0-SNAPSHOT
neo4j:5.20.0 (standalone docker)
Steps to reproduce
Use neo4j as a vector store, setup a local instance of Milvus and add the starter to the pom.xml :
Run the application :
defined in file [/Users/jctanking/workerpases/palette/palette-boot/target/classes/com/kd/palette/RagWorker.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'vectorStore' defined in class path resource [org/springframework/ai/autoconfigure/vectorstore/neo4j/Neo4jVectorStoreAutoConfiguration.class]: 'vector.dimensions' must be between 1 and 2048 inclusively
Proposed solution
Bug description neo4j vector store does not allow more than 2048 embedding dimensions. However I'm using llama3 8B as an embedding model so It produces vectors with a dimension of 4096.
Environment Spring AI 1.0-SNAPSHOT neo4j:5.20.0 (standalone docker)
Steps to reproduce Use neo4j as a vector store, setup a local instance of Milvus and add the starter to the pom.xml :
Run the application : defined in file [/Users/jctanking/workerpases/palette/palette-boot/target/classes/com/kd/palette/RagWorker.class]: Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'vectorStore' defined in class path resource [org/springframework/ai/autoconfigure/vectorstore/neo4j/Neo4jVectorStoreAutoConfiguration.class]: 'vector.dimensions' must be between 1 and 2048 inclusively Proposed solution