diff --git a/embeddingstores/neo4j-springai/pom.xml b/embeddingstores/neo4j-springai/pom.xml index badd291..2912a25 100644 --- a/embeddingstores/neo4j-springai/pom.xml +++ b/embeddingstores/neo4j-springai/pom.xml @@ -18,7 +18,7 @@ UTF-8 21 - 1.0.0-M1 + 1.0.0-M2 2.43.0 diff --git a/embeddingstores/neo4j-springai/src/main/resources/application.properties b/embeddingstores/neo4j-springai/src/main/resources/application.properties index f101a2d..a7af636 100644 --- a/embeddingstores/neo4j-springai/src/main/resources/application.properties +++ b/embeddingstores/neo4j-springai/src/main/resources/application.properties @@ -5,9 +5,13 @@ spring.ai.openai.base-url=http://langchain4j.dev/demo/openai spring.ai.openai.image.enabled=false spring.ai.openai.chat.options.temperature=0.2 spring.ai.openai.chat.options.model=gpt-4o-mini -spring.ai.openai.chat.options.responseFormat=json_object +##FIXME +#spring.ai.openai.chat.options.responseFormat=json_object spring.ai.openai.embedding.options.model=text-embedding-3-small +# only for demo purpose +spring.ai.vectorstore.neo4j.initialize-schema=true + spring.threads.virtual.enabled=true diff --git a/embeddingstores/neo4j-springai/src/test/java/com/learning/ai/TestNeo4jVectorEmbeddingStoreExample.java b/embeddingstores/neo4j-springai/src/test/java/com/learning/ai/TestNeo4jVectorEmbeddingStoreExample.java index 624651f..172ac60 100644 --- a/embeddingstores/neo4j-springai/src/test/java/com/learning/ai/TestNeo4jVectorEmbeddingStoreExample.java +++ b/embeddingstores/neo4j-springai/src/test/java/com/learning/ai/TestNeo4jVectorEmbeddingStoreExample.java @@ -13,7 +13,7 @@ public class TestNeo4jVectorEmbeddingStoreExample { @Bean @ServiceConnection Neo4jContainer neo4jContainer() { - return new Neo4jContainer<>(DockerImageName.parse("neo4j:5")).withLabsPlugins("apoc"); + return new Neo4jContainer<>(DockerImageName.parse("neo4j:5")).withPlugins("apoc"); } public static void main(String[] args) {