File tree Expand file tree Collapse file tree
src/main/java/org/devlive/sdk/openai Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 - navigation
66---
77
8+ ### 1.1.0
9+
10+ ---
11+
12+ - Fixed ` DefaultClient `
13+
814### 1.0.0
915
1016---
Original file line number Diff line number Diff line change 55
66 <groupId >org.devlive.sdk</groupId >
77 <artifactId >openai-java-sdk</artifactId >
8- <version >1.0 .0</version >
8+ <version >1.1 .0</version >
99
1010 <name >openai-java-sdk</name >
1111 <description >
Original file line number Diff line number Diff line change @@ -11,25 +11,25 @@ public abstract class DefaultClient
1111{
1212 protected DefaultApi api ;
1313
14- ModelResponse getModels ()
14+ public ModelResponse getModels ()
1515 {
1616 return this .api .fetchModels ()
1717 .blockingGet ();
1818 }
1919
20- ModelEntity getModel (String model )
20+ public ModelEntity getModel (String model )
2121 {
2222 return this .api .fetchModel (model )
2323 .blockingGet ();
2424 }
2525
26- CompleteResponse createCompletion (CompletionEntity configure )
26+ public CompleteResponse createCompletion (CompletionEntity configure )
2727 {
2828 return this .api .fetchCompletions (configure )
2929 .blockingGet ();
3030 }
3131
32- CompleteChatResponse createChatCompletion (CompletionChatEntity configure )
32+ public CompleteChatResponse createChatCompletion (CompletionChatEntity configure )
3333 {
3434 return this .api .fetchChatCompletions (configure )
3535 .blockingGet ();
You can’t perform that action at this time.
0 commit comments