-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
820 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
public abstract interface class com/aallam/openai/client/OpenAI { | ||
public static final field Companion Lcom/aallam/openai/client/OpenAI$Companion; | ||
public abstract fun answers (Lcom/aallam/openai/api/answer/AnswerRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun classifications (Lcom/aallam/openai/api/classification/ClassificationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun completion-oLuQndg (Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun completions-hf_GjgE (Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;)Lkotlinx/coroutines/flow/Flow; | ||
public abstract fun createCompletion-oLuQndg (Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun delete-3IZx-Vg (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun engine-hf_GjgE (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun engines (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun file (Lcom/aallam/openai/api/file/FileRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun file-3IZx-Vg (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun files (Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public abstract fun search-oLuQndg (Ljava/lang/String;Lcom/aallam/openai/api/search/SearchRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
} | ||
|
||
public final class com/aallam/openai/client/OpenAI$Companion { | ||
} | ||
|
||
public final class com/aallam/openai/client/OpenAI$DefaultImpls { | ||
public static synthetic fun completion-oLuQndg$default (Lcom/aallam/openai/client/OpenAI;Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; | ||
public static synthetic fun completions-hf_GjgE$default (Lcom/aallam/openai/client/OpenAI;Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow; | ||
public static fun createCompletion-oLuQndg (Lcom/aallam/openai/client/OpenAI;Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; | ||
public static synthetic fun createCompletion-oLuQndg$default (Lcom/aallam/openai/client/OpenAI;Ljava/lang/String;Lcom/aallam/openai/api/completion/CompletionRequest;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; | ||
} | ||
|
||
public final class com/aallam/openai/client/OpenAIConfig { | ||
public fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;)V | ||
public synthetic fun <init> (Ljava/lang/String;Lcom/aallam/openai/api/logging/LogLevel;Lcom/aallam/openai/api/logging/Logger;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | ||
public final fun getLogLevel ()Lcom/aallam/openai/api/logging/LogLevel; | ||
public final fun getLogger ()Lcom/aallam/openai/api/logging/Logger; | ||
public final fun getToken ()Ljava/lang/String; | ||
} | ||
|
||
public final class com/aallam/openai/client/OpenAIKt { | ||
public static final fun OpenAI (Lcom/aallam/openai/client/OpenAIConfig;)Lcom/aallam/openai/client/OpenAI; | ||
public static final fun OpenAI (Ljava/lang/String;)Lcom/aallam/openai/client/OpenAI; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.