Skip to content

Commit

Permalink
attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Sep 20, 2024
1 parent 049ff10 commit 767a9ea
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion chatbot/chatbot-ollama-springai/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<properties>
<java.version>21</java.version>
<spotless.version>2.43.0</spotless.version>
<spring-ai.version>1.0.0.M2</spring-ai.version>
<spring-ai.version>1.0.0-M2</spring-ai.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ spring.ai.ollama.chat.options.model=llama3
spring.ai.ollama.embedding.options.model=llama3

spring.testcontainers.beans.startup=parallel

# only for demo purpose
spring.ai.vectorstore.chroma.initialize-schema=true
4 changes: 2 additions & 2 deletions embeddingstores/pgvector-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.M2</spring-ai.version>
<spring-ai.version>1.0.0-M2</spring-ai.version>

<spotless.version>2.43.0</spotless.version>
</properties>
Expand Down Expand Up @@ -99,7 +99,7 @@
<configuration>
<java>
<palantirJavaFormat>
<version>2.47.0</version>
<version>2.50.0</version>
</palantirJavaFormat>
<importOrder />
<removeUnusedImports />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ spring.ai.openai.base-url=http://langchain4j.dev/demo/openai
spring.ai.openai.image.enabled=false
spring.ai.openai.chat.options.temperature=0.7
spring.ai.openai.chat.options.model=gpt-4o-mini
spring.ai.openai.chat.options.responseFormat=json_object
spring.ai.openai.chat.options.responseFormat.type=json_schema
spring.ai.openai.embedding.options.model=text-embedding-3-small

spring.threads.virtual.enabled=true
Expand All @@ -14,4 +14,5 @@ spring.threads.virtual.enabled=true
#PgVector
spring.ai.vectorstore.pgvector.dimensions=1536
## only for development
spring.ai.vectorstore.pgvector.removeExistingVectorStoreTable=true
spring.ai.vectorstore.pgvector.removeExistingVectorStoreTable=true
spring.ai.vectorstore.pgvector.initialize-schema=true
2 changes: 1 addition & 1 deletion rag/rag-springai-ollama-llm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<properties>
<java.version>21</java.version>
<spring-ai.version>1.0.0.M2</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 @@ -12,7 +12,8 @@ spring.ai.ollama.embedding.options.model=nomic-embed-text

spring.ai.vectorstore.redis.index=vector_store
spring.ai.vectorstore.redis.prefix=ai
spring.ai.vectorstore.redis.initializeSchema=true
# only for demo purpose
spring.ai.vectorstore.redis.initialize-schema=true

spring.ai.ollama.baseUrl=http://localhost:11434

Expand Down
2 changes: 1 addition & 1 deletion rag/rag-springai-openai-llm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<configuration>
<java>
<palantirJavaFormat>
<version>2.47.0</version>
<version>2.50.0</version>
</palantirJavaFormat>
<importOrder/>
<removeUnusedImports/>
Expand Down

0 comments on commit 767a9ea

Please sign in to comment.