Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency org.springframework.ai:spring-ai-bom to v1.0.0.m2 #86

Merged
merged 7 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-M1</spring-ai.version>
<spring-ai.version>1.0.0.M2</spring-ai.version>
</properties>

<dependencies>
Expand Down
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,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.2
spring.ai.openai.chat.options.model=gpt-3.5-turbo
spring.ai.openai.chat.options.responseFormat=json_object
spring.ai.openai.chat.options.responseFormat.type=json_object

spring.threads.virtual.enabled=true

Expand Down
2 changes: 1 addition & 1 deletion 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-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 @@ -4,9 +4,9 @@
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class PgVectorEmbeddingStoreExample {
public class PgVectorOpenAIEmbeddingStoreExample {

public static void main(String[] args) {
SpringApplication.run(PgVectorEmbeddingStoreExample.class, args);
SpringApplication.run(PgVectorOpenAIEmbeddingStoreExample.class, args);
}
}
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-3.5-turbo
spring.ai.openai.chat.options.responseFormat=json_object
spring.ai.openai.chat.options.responseFormat.type=json_object

spring.threads.virtual.enabled=true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

@TestConfiguration(proxyBeanMethods = false)
@ImportTestcontainers(ContainersConfig.class)
public class TestPgVectorEmbeddingStoreExample {
public class TestPgVectorOpenAIEmbeddingStoreExample {

public static void main(String[] args) {
SpringApplication.from(PgVectorEmbeddingStoreExample::main)
.with(TestPgVectorEmbeddingStoreExample.class)
SpringApplication.from(PgVectorOpenAIEmbeddingStoreExample::main)
.with(TestPgVectorOpenAIEmbeddingStoreExample.class)
.run(args);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import static io.restassured.RestAssured.given;
import static org.hamcrest.Matchers.equalTo;

import com.learning.ai.TestPgVectorEmbeddingStoreExample;
import com.learning.ai.TestPgVectorOpenAIEmbeddingStoreExample;
import io.restassured.RestAssured;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
Expand All @@ -13,7 +13,7 @@

@SpringBootTest(
webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
classes = TestPgVectorEmbeddingStoreExample.class)
classes = TestPgVectorOpenAIEmbeddingStoreExample.class)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
class QueryControllerTest {

Expand Down
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-M1</spring-ai.version>
<spring-ai.version>1.0.0.M2</spring-ai.version>
<spotless.version>2.43.0</spotless.version>
</properties>

Expand Down
Loading