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 : org.springframework.ai spring-ai-neo4j-store-spring-boot-starter ${spring-ai.version}

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 Spring-ai neo4j Vector store does not allow more than 2048 embedding dimensions

Comment From: tanjcf

Spring-ai neo4j Vector store does not allow more than 2048 embedding dimensions

Comment From: markpollack

This has been fixed in https://github.com/spring-projects/spring-ai/commit/b9ba62507dd2e6fa6937efbfd9353c7d3922916f