File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
src/main/kotlin/com/javaaidev/openai Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Add Maven dependency.
16
16
<dependency >
17
17
<groupId >com.javaaidev</groupId >
18
18
<artifactId >springai-openai-client</artifactId >
19
- <version >0.4.3 </version >
19
+ <version >0.5.0 </version >
20
20
</dependency >
21
21
```
22
22
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.javaaidev</groupId >
8
8
<artifactId >springai-openai-client</artifactId >
9
- <version >0.4.3 </version >
9
+ <version >0.5.0 </version >
10
10
11
11
<name >OpenAI ChatModel</name >
12
12
<description >Spring AI ChatModel for OpenAI using official Java SDK</description >
43
43
<kotlin .code.style>official</kotlin .code.style>
44
44
<kotlin .compiler.jvmTarget>17</kotlin .compiler.jvmTarget>
45
45
<spring-ai .version>1.0.0-M5</spring-ai .version>
46
- <openai-java .version>0.23.1 </openai-java .version>
46
+ <openai-java .version>0.44.3 </openai-java .version>
47
47
</properties >
48
48
49
49
<repositories >
Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ package com.javaaidev.openai
3
3
import com.openai.client.OpenAIClient
4
4
import com.openai.core.JsonObject
5
5
import com.openai.core.JsonValue
6
- import com.openai.models.*
6
+ import com.openai.models.FunctionDefinition
7
+ import com.openai.models.FunctionParameters
8
+ import com.openai.models.chat.completions.*
7
9
import org.springframework.ai.chat.messages.AssistantMessage
8
10
import org.springframework.ai.chat.messages.SystemMessage
9
11
import org.springframework.ai.chat.messages.ToolResponseMessage
Original file line number Diff line number Diff line change 1
1
package com.javaaidev.openai
2
2
3
3
import com.openai.client.OpenAIClient
4
- import com.openai.models.EmbeddingCreateParams
4
+ import com.openai.models.embeddings. EmbeddingCreateParams
5
5
import org.springframework.ai.chat.metadata.EmptyUsage
6
6
import org.springframework.ai.document.Document
7
7
import org.springframework.ai.embedding.*
You can’t perform that action at this time.
0 commit comments