File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ build] ( https://github.com/JavaAIDev/openai-chatmodel-standalone/actions/workflows/build.yaml/badge.svg )] ( https://github.com/JavaAIDev/openai-chatmodel-standalone/actions/workflows/build.yaml )
4
4
![ Maven Central Version] ( https://img.shields.io/maven-central/v/com.javaaidev/openai-chatmodel-standalone )
5
5
6
-
7
6
Spring AI ` ChatModel ` implementation for OpenAI using
8
7
the [ official SDK] ( https://github.com/openai/openai-java ) .
9
8
@@ -23,16 +22,16 @@ Add Maven dependency.
23
22
<dependency >
24
23
<groupId >com.javaaidev</groupId >
25
24
<artifactId >openai-chatmodel-standalone</artifactId >
26
- <version >0.2 .0</version >
25
+ <version >0.3 .0</version >
27
26
</dependency >
28
27
```
29
28
30
29
To use this ` ChatModel ` ,
31
30
32
- 1 . Create an ` OpenAIClient `
33
- 2 . Create an ` OpenAIChatModel `
34
- 3 . Create a Spring AI ` ChatClient.Builder ` with this ` ChatModel `
35
- 4 . Create a Spring AI ` ChatClient ` from ` ChatClient.Builder `
31
+ 1 . Create an ` OpenAIClient ` ,
32
+ 2 . Create an ` OpenAIChatModel ` ,
33
+ 3 . Create a Spring AI ` ChatClient.Builder ` with this ` ChatModel ` ,
34
+ 4 . Create a Spring AI ` ChatClient ` from ` ChatClient.Builder ` .
36
35
37
36
See the code below:
38
37
You can’t perform that action at this time.
0 commit comments