You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openai-client/api/openai-client.api
+38-23Lines changed: 38 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,14 @@
1
-
public abstract interface class com/aallam/openai/client/Answers {
2
-
public abstract fun answers (Lcom/aallam/openai/api/answer/AnswerRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
3
-
}
4
-
5
-
public abstract interface class com/aallam/openai/client/Classifications {
6
-
public abstract fun classifications (Lcom/aallam/openai/api/classification/ClassificationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
7
-
}
8
-
9
1
public abstract interface class com/aallam/openai/client/Completions {
10
-
public abstract fun completion-oLuQndg (Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
11
-
public abstract fun completions-hf_GjgE (Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;)Lkotlinx/coroutines/flow/Flow;
2
+
public abstract fun completion (Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
3
+
public abstract fun completions (Lcom/aallam/openai/api/completion/CompletionRequest;)Lkotlinx/coroutines/flow/Flow;
12
4
}
13
5
14
-
public final class com/aallam/openai/client/Completions$DefaultImpls {
15
-
public static synthetic fun completion-oLuQndg$default (Lcom/aallam/openai/client/Completions;Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
16
-
public static synthetic fun completions-hf_GjgE$default (Lcom/aallam/openai/client/Completions;Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
6
+
public abstract interface class com/aallam/openai/client/Edits {
7
+
public abstract fun edit (Lcom/aallam/openai/api/edits/EditsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
17
8
}
18
9
19
-
public abstract interface class com/aallam/openai/client/Engines {
20
-
public abstract fun engine-hf_GjgE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
21
-
public abstract fun engines (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
10
+
public abstract interface class com/aallam/openai/client/Embeddings {
11
+
public abstract fun embeddings (Lcom/aallam/openai/api/embedding/EmbeddingRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
22
12
}
23
13
24
14
public abstract interface class com/aallam/openai/client/Files {
@@ -28,14 +18,43 @@ public abstract interface class com/aallam/openai/client/Files {
28
18
public abstract fun files (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
29
19
}
30
20
31
-
public abstract interface class com/aallam/openai/client/OpenAI : com/aallam/openai/client/Answers, com/aallam/openai/client/Classifications, com/aallam/openai/client/Completions, com/aallam/openai/client/Engines, com/aallam/openai/client/Files, com/aallam/openai/client/Searches {
21
+
public abstract interface class com/aallam/openai/client/FineTunes {
22
+
public abstract fun cancel-zS1XsbI (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
23
+
public abstract fun delete-Q3EJpKE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
24
+
public abstract fun fineTune (Lcom/aallam/openai/api/finetune/FineTuneRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
25
+
public abstract fun fineTune-zS1XsbI (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
26
+
public abstract fun fineTuneEvents-zS1XsbI (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
27
+
public abstract fun fineTuneEventsFlow-zSIMr1o (Ljava/lang/String;)Lkotlinx/coroutines/flow/Flow;
28
+
public abstract fun fineTunes (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
29
+
}
30
+
31
+
public abstract interface class com/aallam/openai/client/Images {
32
+
public abstract fun image (Lcom/aallam/openai/api/image/ImageCreationJSON;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
33
+
public abstract fun image (Lcom/aallam/openai/api/image/ImageCreationURL;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
34
+
public abstract fun image (Lcom/aallam/openai/api/image/ImageEditJSON;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
35
+
public abstract fun image (Lcom/aallam/openai/api/image/ImageEditURL;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
36
+
public abstract fun image (Lcom/aallam/openai/api/image/ImageVariationJSON;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
37
+
public abstract fun image (Lcom/aallam/openai/api/image/ImageVariationURL;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
38
+
}
39
+
40
+
public abstract interface class com/aallam/openai/client/Models {
41
+
public abstract fun model-Q3EJpKE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
42
+
public abstract fun models (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
43
+
}
44
+
45
+
public abstract interface class com/aallam/openai/client/Moderations {
46
+
public abstract fun moderations (Lcom/aallam/openai/api/moderation/ModerationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
47
+
}
48
+
49
+
public abstract interface class com/aallam/openai/client/OpenAI : com/aallam/openai/client/Completions, com/aallam/openai/client/Edits, com/aallam/openai/client/Embeddings, com/aallam/openai/client/Files, com/aallam/openai/client/FineTunes, com/aallam/openai/client/Images, com/aallam/openai/client/Models, com/aallam/openai/client/Moderations {
32
50
}
33
51
34
52
public final class com/aallam/openai/client/OpenAIConfig {
35
-
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;)V
36
-
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
53
+
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Lcom/aallam/openai/api/http/Timeout;)V
54
+
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;Lcom/aallam/openai/api/http/Timeout;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
37
55
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel;
38
56
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger;
57
+
public final fun getTimeout ()Lcom/aallam/openai/api/http/Timeout;
39
58
public final fun getToken ()Ljava/lang/String;
40
59
}
41
60
@@ -44,7 +63,3 @@ public final class com/aallam/openai/client/OpenAIKt {
44
63
public static final fun OpenAI (Ljava/lang/String;)Lcom/aallam/openai/client/OpenAI;
45
64
}
46
65
47
-
public abstract interface class com/aallam/openai/client/Searches {
48
-
public abstract fun search-oLuQndg (Ljava/lang/String;Lcom/aallam/openai/api/search/SearchRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
0 commit comments