From f9f395659644e92b778c563ef860fff0eb57d7e1 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Mon, 27 May 2024 07:04:31 +0000 Subject: [PATCH] feat : upgrade to java 21 --- .gitpod.yml | 2 +- chatmodel-springai/pom.xml | 2 +- chatmodel-springai/src/main/resources/application.properties | 2 ++ embeddingstores/neo4j-springai/pom.xml | 2 +- embeddingstores/opensearch-langchain4j/pom.xml | 4 ++-- embeddingstores/pgvector-langchain4j/pom.xml | 2 +- java-openai/pom.xml | 4 ++-- playground-langchain4j/pom.xml | 4 ++-- rag/rag-langchain4j-AllMiniLmL6V2-llm/pom.xml | 2 +- rag/rag-springai-ollama-llm/pom.xml | 2 +- rag/rag-springai-openai-llm/pom.xml | 4 ++-- 11 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 49be214..5404de8 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,5 @@ -image: gitpod/workspace-java-17 +image: gitpod/workspace-java-21 ports: - port: 9200 diff --git a/chatmodel-springai/pom.xml b/chatmodel-springai/pom.xml index 52411d8..9a1b634 100644 --- a/chatmodel-springai/pom.xml +++ b/chatmodel-springai/pom.xml @@ -14,7 +14,7 @@ 1.0.0-SNAPSHOT - 17 + 21 0.8.1 2.43.0 diff --git a/chatmodel-springai/src/main/resources/application.properties b/chatmodel-springai/src/main/resources/application.properties index 8f173ff..19bfdbe 100644 --- a/chatmodel-springai/src/main/resources/application.properties +++ b/chatmodel-springai/src/main/resources/application.properties @@ -1,3 +1,5 @@ +spring.application.name=chatmodel-springai + spring.threads.virtual.enabled=true spring.ai.openai.api-key=demo diff --git a/embeddingstores/neo4j-springai/pom.xml b/embeddingstores/neo4j-springai/pom.xml index 6749ea7..1449dc4 100644 --- a/embeddingstores/neo4j-springai/pom.xml +++ b/embeddingstores/neo4j-springai/pom.xml @@ -17,7 +17,7 @@ UTF-8 - 17 + 21 0.8.1 2.43.0 diff --git a/embeddingstores/opensearch-langchain4j/pom.xml b/embeddingstores/opensearch-langchain4j/pom.xml index f98b2cb..ac669dd 100644 --- a/embeddingstores/opensearch-langchain4j/pom.xml +++ b/embeddingstores/opensearch-langchain4j/pom.xml @@ -16,8 +16,8 @@ 1.0.0-SNAPSHOT - 17 - 17 + 21 + 21 UTF-8 0.31.0 diff --git a/embeddingstores/pgvector-langchain4j/pom.xml b/embeddingstores/pgvector-langchain4j/pom.xml index 9bad258..7ffcf98 100644 --- a/embeddingstores/pgvector-langchain4j/pom.xml +++ b/embeddingstores/pgvector-langchain4j/pom.xml @@ -14,7 +14,7 @@ 1.0.0-SNAPSHOT - 17 + 21 UTF-8 0.31.0 diff --git a/java-openai/pom.xml b/java-openai/pom.xml index 6b0ec2a..49f496c 100644 --- a/java-openai/pom.xml +++ b/java-openai/pom.xml @@ -9,8 +9,8 @@ 1.0-SNAPSHOT - 17 - 17 + 21 + 21 diff --git a/playground-langchain4j/pom.xml b/playground-langchain4j/pom.xml index f75a4e0..1662d82 100644 --- a/playground-langchain4j/pom.xml +++ b/playground-langchain4j/pom.xml @@ -9,8 +9,8 @@ 1.0-SNAPSHOT - 17 - 17 + 21 + 21 UTF-8 0.31.0 2.7.0 diff --git a/rag/rag-langchain4j-AllMiniLmL6V2-llm/pom.xml b/rag/rag-langchain4j-AllMiniLmL6V2-llm/pom.xml index 4f19102..c58fa6e 100644 --- a/rag/rag-langchain4j-AllMiniLmL6V2-llm/pom.xml +++ b/rag/rag-langchain4j-AllMiniLmL6V2-llm/pom.xml @@ -15,7 +15,7 @@ Demo project for Spring Boot - 17 + 21 0.31.0 0.31.0 2.43.0 diff --git a/rag/rag-springai-ollama-llm/pom.xml b/rag/rag-springai-ollama-llm/pom.xml index 852a367..2781cf9 100644 --- a/rag/rag-springai-ollama-llm/pom.xml +++ b/rag/rag-springai-ollama-llm/pom.xml @@ -15,7 +15,7 @@ Demo project for Spring AI - 17 + 21 1.0.0-SNAPSHOT 2.43.0 diff --git a/rag/rag-springai-openai-llm/pom.xml b/rag/rag-springai-openai-llm/pom.xml index 53bbfd7..d0f496c 100644 --- a/rag/rag-springai-openai-llm/pom.xml +++ b/rag/rag-springai-openai-llm/pom.xml @@ -15,11 +15,11 @@ Demo project for Spring AI - 17 + 21 0.8.1 2.43.0 - + org.springframework.boot