Skip to content

Commit

Permalink
Merge branch 'main' into renovate/spring-boot
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli authored Sep 20, 2024
2 parents 6f45296 + 4794774 commit 0d23fed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion embeddingstores/neo4j-springai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>21</java.version>
<spring-ai.version>1.0.0-M1</spring-ai.version>
<spring-ai.version>1.0.0-M2</spring-ai.version>
<spotless.version>2.43.0</spotless.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0d23fed

Please sign in to comment.