Skip to content

Commit f7c5747

Browse files
committed
Update version
1 parent 99ab938 commit f7c5747

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
Spring AI `ChatModel` and `EmbeddingModel` implementations for OpenAI using
77
the [official SDK](https://github.com/openai/openai-java).
88

9-
The motivation of this `ChatModel` and `EmbeddingModel` implementations is to use Spring AI with Spring 5.
9+
The motivation of this `ChatModel` and `EmbeddingModel` implementations is to use Spring AI with
10+
Spring 5.
1011

1112
Add Maven dependency.
1213

@@ -41,7 +42,7 @@ See the code below:
4142
val client = OpenAIOkHttpClient.fromEnv()
4243
val chatModel = OpenAIChatModel(client)
4344
val chatOptions = OpenAiChatOptions.builder()
44-
.model("gpt-3.5-turbo")
45+
.model("gpt-4o-mini")
4546
.build()
4647
val chatClient =
4748
ChatClient.builder(chatModel).defaultOptions(chatOptions).build()

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.javaaidev</groupId>
88
<artifactId>springai-openai-client</artifactId>
9-
<version>0.4.1</version>
9+
<version>0.4.2</version>
1010

1111
<name>OpenAI ChatModel</name>
1212
<description>Spring AI ChatModel for OpenAI using official Java SDK</description>

src/test/kotlin/com/javaaidev/openai/OpenAIChatModelTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class OpenAIChatModelTest {
1919
val client = OpenAIOkHttpClient.fromEnv()
2020
val chatModel = OpenAIChatModel(client, CustomFunctionCallbackResolver(objectMapper))
2121
val chatOptions = OpenAIChatOptions.builder()
22-
.model("gpt-3.5-turbo")
22+
.model("gpt-4o-mini")
2323
.build()
2424
chatClient =
2525
ChatClient.builder(chatModel).defaultOptions(chatOptions).build()

0 commit comments

Comments
 (0)