A B C D E G H I L O P R S T U V W 
All Classes All Packages

A

AuthenticationInterceptor - Class in bg.codexio.ai.openai.api.http
OkHttp interceptor type for OpenAI authentication
AuthenticationInterceptor(HttpExecutorContext) - Constructor for class bg.codexio.ai.openai.api.http.AuthenticationInterceptor
 

B

baseUrl - Variable in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
bg.codexio.ai.openai.api.http - package bg.codexio.ai.openai.api.http
 
bg.codexio.ai.openai.api.http.chat - package bg.codexio.ai.openai.api.http.chat
 
bg.codexio.ai.openai.api.http.exception - package bg.codexio.ai.openai.api.http.exception
 
bg.codexio.ai.openai.api.http.images - package bg.codexio.ai.openai.api.http.images
 
bg.codexio.ai.openai.api.http.vision - package bg.codexio.ai.openai.api.http.vision
 
bg.codexio.ai.openai.api.http.voice - package bg.codexio.ai.openai.api.http.voice
 

C

call() - Method in class bg.codexio.ai.openai.api.http.HttpTimeouts
 
canStream(I) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
Denotes whether the response can be streamed, mostly taking into account the value of Streamable.stream() which usually is implemented like inputModel -> inputModel.stream() && specificApiLogic.
canStream(I) - Method in interface bg.codexio.ai.openai.api.http.OpenAIHttpExecutor
Denotes whether the response can be streamed, mostly taking into account the value of Streamable.stream() which usually is implemented like inputModel -> inputModel.stream() && specificApiLogic.
ChatHttpExecutor - Class in bg.codexio.ai.openai.api.http.chat
Implementation for Completions API
ChatHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.chat.ChatHttpExecutor
 
ChatHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.chat.ChatHttpExecutor
 
client - Variable in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
configureObjectMapper() - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
connect() - Method in class bg.codexio.ai.openai.api.http.HttpTimeouts
 
convertFormDataFieldName(String) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
CreateImageHttpExecutor - Class in bg.codexio.ai.openai.api.http.images
Implementation for Create Image API
CreateImageHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.images.CreateImageHttpExecutor
 
CreateImageHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.images.CreateImageHttpExecutor
 
credentials() - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 

D

DefaultOpenAIHttpExecutor<I extends Streamable,​O extends Mergeable<O>> - Class in bg.codexio.ai.openai.api.http
Common implementation that should work out of the box when inherited with the correct input and output models.
DefaultOpenAIHttpExecutor(HttpExecutorContext, ObjectMapper, Class<O>, String, boolean, Class<? extends DefaultOpenAIHttpExecutor<I, O>>) - Constructor for class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
DefaultOpenAIHttpExecutor(OkHttpClient, String, ObjectMapper, Class<O>, String, boolean, Class<? extends DefaultOpenAIHttpExecutor<I, O>>) - Constructor for class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
DefaultOpenAIHttpExecutor(OkHttpClient, String, ObjectMapper, Class<O>, String, boolean, Logger) - Constructor for class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 

E

EditImageHttpExecutor - Class in bg.codexio.ai.openai.api.http.images
Implementation for Create Image Edit API
EditImageHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.images.EditImageHttpExecutor
 
EditImageHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.images.EditImageHttpExecutor
 
equals(Object) - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
equals(Object) - Method in class bg.codexio.ai.openai.api.http.HttpTimeout
 
equals(Object) - Method in class bg.codexio.ai.openai.api.http.HttpTimeouts
 
execute(I) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
Executes HTTP request synchronously
execute(I) - Method in interface bg.codexio.ai.openai.api.http.OpenAIHttpExecutor
Executes HTTP request synchronously
executeAsync(I, Consumer<String>, Consumer<O>) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
Executes HTTP request asynchronously.
executeAsync(I, Consumer<String>, Consumer<O>) - Method in interface bg.codexio.ai.openai.api.http.OpenAIHttpExecutor
Executes HTTP request asynchronously.
executeReactive(I) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
Executes HTTP request in reactive fashion.
executeReactive(I) - Method in interface bg.codexio.ai.openai.api.http.OpenAIHttpExecutor
Executes HTTP request in reactive fashion.

G

getEnv(String) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
getErrorHolder() - Method in exception bg.codexio.ai.openai.api.http.exception.OpenAIRespondedNot2xxException
 
getField(Field, Object, Class<T>) - Static method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
getFormDataMimeType() - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
getHttpStatusCode() - Method in exception bg.codexio.ai.openai.api.http.exception.OpenAIRespondedNot2xxException
 

H

hashCode() - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
hashCode() - Method in class bg.codexio.ai.openai.api.http.HttpTimeout
 
hashCode() - Method in class bg.codexio.ai.openai.api.http.HttpTimeouts
 
HttpCallFailedException - Exception in bg.codexio.ai.openai.api.http.exception
 
HttpCallFailedException(String, Throwable) - Constructor for exception bg.codexio.ai.openai.api.http.exception.HttpCallFailedException
 
HttpExecutorContext - Class in bg.codexio.ai.openai.api.http
Context object holding authentication and timeout configuration
HttpExecutorContext(ApiCredentials) - Constructor for class bg.codexio.ai.openai.api.http.HttpExecutorContext
Constructing the object with default timeouts.
HttpExecutorContext(ApiCredentials, HttpTimeouts) - Constructor for class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
HttpTimeout - Class in bg.codexio.ai.openai.api.http
Representation of an HTTP Timeout.
HttpTimeout(long, TimeUnit) - Constructor for class bg.codexio.ai.openai.api.http.HttpTimeout
 
HttpTimeouts - Class in bg.codexio.ai.openai.api.http
Context object hinting the variety of timeouts
HttpTimeouts(HttpTimeout, HttpTimeout, HttpTimeout) - Constructor for class bg.codexio.ai.openai.api.http.HttpTimeouts
 
hydrateFormData(MultipartBody.Builder, Object, Set<Object>) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 

I

ImageVariationHttpExecutor - Class in bg.codexio.ai.openai.api.http.images
Implementation for Create Image Variation API
ImageVariationHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.images.ImageVariationHttpExecutor
 
ImageVariationHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.images.ImageVariationHttpExecutor
 
intercept(Interceptor.Chain) - Method in class bg.codexio.ai.openai.api.http.AuthenticationInterceptor
Sends the ApiCredentials.apiKey() as a Bearer token.

L

lines() - Method in class bg.codexio.ai.openai.api.http.OpenAIHttpExecutor.ReactiveExecution
 
log(String, Object...) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 

O

objectMapper - Variable in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
OpenAIHttpExecutor<I extends Streamable,​O extends Mergeable<O>> - Interface in bg.codexio.ai.openai.api.http
Abstraction over HTTP execution to OpenAPI.
OpenAIHttpExecutor.ReactiveExecution<O> - Class in bg.codexio.ai.openai.api.http
Data holder for the response of OpenAIHttpExecutor.executeReactive(Streamable)
OpenAIRespondedNot2xxException - Exception in bg.codexio.ai.openai.api.http.exception
 
OpenAIRespondedNot2xxException(ErrorResponseHolder, int) - Constructor for exception bg.codexio.ai.openai.api.http.exception.OpenAIRespondedNot2xxException
 

P

period() - Method in class bg.codexio.ai.openai.api.http.HttpTimeout
 
prepareRequest(EditImageRequest) - Method in class bg.codexio.ai.openai.api.http.images.EditImageHttpExecutor
 
prepareRequest(ImageVariationRequest) - Method in class bg.codexio.ai.openai.api.http.images.ImageVariationHttpExecutor
 
prepareRequest(TranscriptionRequest) - Method in class bg.codexio.ai.openai.api.http.voice.TranscriptionHttpExecutor
 
prepareRequest(TranslationRequest) - Method in class bg.codexio.ai.openai.api.http.voice.TranslationHttpExecutor
 
prepareRequest(I) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 

R

ReactiveExecution(Flux<String>, Mono<O>) - Constructor for class bg.codexio.ai.openai.api.http.OpenAIHttpExecutor.ReactiveExecution
 
read() - Method in class bg.codexio.ai.openai.api.http.HttpTimeouts
 
reinitializeExecutionIdentification() - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
resourceUri - Variable in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
response() - Method in class bg.codexio.ai.openai.api.http.OpenAIHttpExecutor.ReactiveExecution
 
responseType - Variable in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 

S

setFormDataMimeType(String) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
setMultipartBoundary(String) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
setMultipartBoundary(String) - Method in class bg.codexio.ai.openai.api.http.images.EditImageHttpExecutor
 
setMultipartBoundary(String) - Method in class bg.codexio.ai.openai.api.http.voice.TranscriptionHttpExecutor
 
setMultipartBoundary(String) - Method in class bg.codexio.ai.openai.api.http.voice.TranslationHttpExecutor
 
SpeechHttpExecutor - Class in bg.codexio.ai.openai.api.http.voice
Implementation for Text-To-Speech API
SpeechHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.voice.SpeechHttpExecutor
 
SpeechHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.voice.SpeechHttpExecutor
 
streamable - Variable in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 

T

timeouts() - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
timeUnit() - Method in class bg.codexio.ai.openai.api.http.HttpTimeout
 
toError(String) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
toFormData(Object) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
toJson(I) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
toResponse(String) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
toResponse(String) - Method in class bg.codexio.ai.openai.api.http.voice.SpeechHttpExecutor
 
toResponse(String) - Method in class bg.codexio.ai.openai.api.http.voice.TranscriptionHttpExecutor
 
toResponse(String) - Method in class bg.codexio.ai.openai.api.http.voice.TranslationHttpExecutor
 
toResponse(Response) - Method in class bg.codexio.ai.openai.api.http.DefaultOpenAIHttpExecutor
 
toResponse(Response) - Method in class bg.codexio.ai.openai.api.http.voice.SpeechHttpExecutor
 
toString() - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
toString() - Method in class bg.codexio.ai.openai.api.http.HttpTimeout
 
toString() - Method in class bg.codexio.ai.openai.api.http.HttpTimeouts
 
TranscriptionHttpExecutor - Class in bg.codexio.ai.openai.api.http.voice
Implementation for Speech-To-Text API
TranscriptionHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.voice.TranscriptionHttpExecutor
 
TranscriptionHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.voice.TranscriptionHttpExecutor
 
TranslationHttpExecutor - Class in bg.codexio.ai.openai.api.http.voice
Implementation for Translations API
TranslationHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.voice.TranslationHttpExecutor
 
TranslationHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.voice.TranslationHttpExecutor
 

U

UnparseableRequestException - Exception in bg.codexio.ai.openai.api.http.exception
 
UnparseableRequestException() - Constructor for exception bg.codexio.ai.openai.api.http.exception.UnparseableRequestException
 
UnparseableRequestException(Throwable) - Constructor for exception bg.codexio.ai.openai.api.http.exception.UnparseableRequestException
 
UnparseableResponseException - Exception in bg.codexio.ai.openai.api.http.exception
 
UnparseableResponseException(String, Class<?>, Throwable) - Constructor for exception bg.codexio.ai.openai.api.http.exception.UnparseableResponseException
 

V

VisionHttpExecutor - Class in bg.codexio.ai.openai.api.http.vision
Implementation for Vision API
VisionHttpExecutor(HttpExecutorContext, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.vision.VisionHttpExecutor
 
VisionHttpExecutor(OkHttpClient, String, ObjectMapper) - Constructor for class bg.codexio.ai.openai.api.http.vision.VisionHttpExecutor
 

W

withCallTimeout(long, TimeUnit) - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
withConnectTimeout(long, TimeUnit) - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
withReadTimeout(long, TimeUnit) - Method in class bg.codexio.ai.openai.api.http.HttpExecutorContext
 
A B C D E G H I L O P R S T U V W 
All Classes All Packages