Index
All Classes and Interfaces|All Packages|Serialized Form
A
- allowCreateEngine - Variable in class xyz.felh.openai.model.Permission
- allowFineTuning - Variable in class xyz.felh.openai.model.Permission
- allowLogprobs - Variable in class xyz.felh.openai.model.Permission
- allowSampling - Variable in class xyz.felh.openai.model.Permission
- allowSearchIndices - Variable in class xyz.felh.openai.model.Permission
- allowView - Variable in class xyz.felh.openai.model.Permission
- ASSISTANT - Enum constant in enum class xyz.felh.openai.completion.chat.ChatMessageRole
- AudioResponse - Class in xyz.felh.openai.audio
- AudioResponse() - Constructor for class xyz.felh.openai.audio.AudioResponse
B
- BaseCreateCompletionRequest - Class in xyz.felh.openai.completion
- BaseCreateCompletionRequest() - Constructor for class xyz.felh.openai.completion.BaseCreateCompletionRequest
- BaseCreateImageRequest - Class in xyz.felh.openai.image
- BaseCreateImageRequest() - Constructor for class xyz.felh.openai.image.BaseCreateImageRequest
C
- ChatCompletion - Class in xyz.felh.openai.completion.chat
- ChatCompletion() - Constructor for class xyz.felh.openai.completion.chat.ChatCompletion
- ChatCompletion.Model - Enum Class in xyz.felh.openai.completion.chat
- ChatCompletionChoice - Class in xyz.felh.openai.completion.chat
- ChatCompletionChoice() - Constructor for class xyz.felh.openai.completion.chat.ChatCompletionChoice
- ChatMessage - Class in xyz.felh.openai.completion.chat
- ChatMessage(ChatMessageRole, String) - Constructor for class xyz.felh.openai.completion.chat.ChatMessage
- ChatMessage(ChatMessageRole, String, String) - Constructor for class xyz.felh.openai.completion.chat.ChatMessage
- ChatMessageRole - Enum Class in xyz.felh.openai.completion.chat
- code - Variable in exception xyz.felh.openai.OpenAiHttpException
-
OpenAI error code, for example "invalid_api_key"
- Completion - Class in xyz.felh.openai.completion
-
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
- Completion() - Constructor for class xyz.felh.openai.completion.Completion
- CompletionChoice - Class in xyz.felh.openai.completion
- CompletionChoice() - Constructor for class xyz.felh.openai.completion.CompletionChoice
- CreateAudioTranscriptionRequest - Class in xyz.felh.openai.audio
- CreateAudioTranscriptionRequest() - Constructor for class xyz.felh.openai.audio.CreateAudioTranscriptionRequest
- CreateAudioTranslationRequest - Class in xyz.felh.openai.audio
- CreateAudioTranslationRequest() - Constructor for class xyz.felh.openai.audio.CreateAudioTranslationRequest
- CreateChatCompletionRequest - Class in xyz.felh.openai.completion.chat
- CreateChatCompletionRequest() - Constructor for class xyz.felh.openai.completion.chat.CreateChatCompletionRequest
- CreateCompletionRequest - Class in xyz.felh.openai.completion
- CreateCompletionRequest() - Constructor for class xyz.felh.openai.completion.CreateCompletionRequest
- created - Variable in class xyz.felh.openai.model.Model
- CreateEmbeddingRequest - Class in xyz.felh.openai.embedding
- CreateEmbeddingRequest() - Constructor for class xyz.felh.openai.embedding.CreateEmbeddingRequest
- CreateEmbeddingResponse - Class in xyz.felh.openai.embedding
- CreateEmbeddingResponse() - Constructor for class xyz.felh.openai.embedding.CreateEmbeddingResponse
- CreateFineTuningJobRequest - Class in xyz.felh.openai.fineTuning
- CreateFineTuningJobRequest() - Constructor for class xyz.felh.openai.fineTuning.CreateFineTuningJobRequest
- CreateImageEditRequest - Class in xyz.felh.openai.image.edit
- CreateImageEditRequest() - Constructor for class xyz.felh.openai.image.edit.CreateImageEditRequest
- CreateImageRequest - Class in xyz.felh.openai.image
- CreateImageRequest() - Constructor for class xyz.felh.openai.image.CreateImageRequest
- CreateImageVariationRequest - Class in xyz.felh.openai.image.variation
- CreateImageVariationRequest() - Constructor for class xyz.felh.openai.image.variation.CreateImageVariationRequest
- CreateModerationRequest - Class in xyz.felh.openai.moderation
- CreateModerationRequest() - Constructor for class xyz.felh.openai.moderation.CreateModerationRequest
- CreateModerationResponse - Class in xyz.felh.openai.moderation
- CreateModerationResponse() - Constructor for class xyz.felh.openai.moderation.CreateModerationResponse
D
- DeleteResponse - Class in xyz.felh.openai
- DeleteResponse() - Constructor for class xyz.felh.openai.DeleteResponse
E
- Embedding - Class in xyz.felh.openai.embedding
- Embedding() - Constructor for class xyz.felh.openai.embedding.Embedding
- ErrorDetail() - Constructor for class xyz.felh.openai.OpenAiError.ErrorDetail
F
- File - Class in xyz.felh.openai.file
- File() - Constructor for class xyz.felh.openai.file.File
- FineTuningJob - Class in xyz.felh.openai.fineTuning
- FineTuningJob() - Constructor for class xyz.felh.openai.fineTuning.FineTuningJob
- FineTuningJobEvent - Class in xyz.felh.openai.fineTuning
- FineTuningJobEvent() - Constructor for class xyz.felh.openai.fineTuning.FineTuningJobEvent
- Function - Class in xyz.felh.openai.completion.chat.func
-
support from gpt-3.5-turbo-0613 and gpt-4-0613 (2023)
- Function() - Constructor for class xyz.felh.openai.completion.chat.func.Function
- FUNCTION - Enum constant in enum class xyz.felh.openai.completion.chat.ChatMessageRole
- FunctionCall - Class in xyz.felh.openai.completion.chat.func
-
gpt return
- FunctionCall() - Constructor for class xyz.felh.openai.completion.chat.func.FunctionCall
G
- GPT_3_5_TURBO - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
gpt-3.5-turbo
- GPT_3_5_TURBO_0301 - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
临时模型,不建议使用
- GPT_3_5_TURBO_0613 - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
gpt-3.5-turbo-0613, On June 27th, the stable gpt-3.5-turbo will be automatically upgraded to this new version
- GPT_3_5_TURBO_16K - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
gpt-3.5-turbo-16k
- GPT_4 - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
GPT4.0
- GPT_4_0314 - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
临时模型,不建议使用
- GPT_4_32K - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
GPT4.0 超长上下文
- GPT_4_32K_0314 - Enum constant in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
临时模型,不建议使用
- group - Variable in class xyz.felh.openai.model.Permission
H
- hate - Variable in class xyz.felh.openai.moderation.ModerationCategories
- hate - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
- hateThreatening - Variable in class xyz.felh.openai.moderation.ModerationCategories
- hateThreatening - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
- Hyperparameters - Class in xyz.felh.openai.fineTuning
- Hyperparameters() - Constructor for class xyz.felh.openai.fineTuning.Hyperparameters
I
- Image - Class in xyz.felh.openai.image
- Image() - Constructor for class xyz.felh.openai.image.Image
- ImageResponse - Class in xyz.felh.openai.image
- ImageResponse() - Constructor for class xyz.felh.openai.image.ImageResponse
- IOpenAiApiObject - Interface in xyz.felh.openai
-
An interface class for all api return bean
- IOpenAiApiRequest - Interface in xyz.felh.openai
-
Interface for request
- IOpenAiApiResponse - Interface in xyz.felh.openai
-
Interface for all response
- isBlank(T) - Static method in class xyz.felh.openai.utils.Preconditions
-
check if object is null for List Map String
- isBlocking - Variable in class xyz.felh.openai.model.Permission
- isNotBlank(T) - Static method in class xyz.felh.openai.utils.Preconditions
L
- Logprobs - Class in xyz.felh.openai.completion
- Logprobs() - Constructor for class xyz.felh.openai.completion.Logprobs
M
- main(String[]) - Static method in exception xyz.felh.openai.OpenAiHttpException
- Model - Class in xyz.felh.openai.model
-
List and describe the various models available in the API.
- Model() - Constructor for class xyz.felh.openai.model.Model
- Moderation - Class in xyz.felh.openai.moderation
- Moderation() - Constructor for class xyz.felh.openai.moderation.Moderation
- ModerationCategories - Class in xyz.felh.openai.moderation
- ModerationCategories() - Constructor for class xyz.felh.openai.moderation.ModerationCategories
- ModerationCategoryScores - Class in xyz.felh.openai.moderation
- ModerationCategoryScores() - Constructor for class xyz.felh.openai.moderation.ModerationCategoryScores
O
- OpenAiApiListResponse<T extends IOpenAiApiObject> - Class in xyz.felh.openai
-
A List wrapper class of OpenAi API endpoints
- OpenAiApiListResponse() - Constructor for class xyz.felh.openai.OpenAiApiListResponse
- OpenAiApiObjectWithId - Class in xyz.felh.openai
-
An abstract class of OpenAi API Response
- OpenAiApiObjectWithId() - Constructor for class xyz.felh.openai.OpenAiApiObjectWithId
- OpenAiError - Class in xyz.felh.openai
- OpenAiError() - Constructor for class xyz.felh.openai.OpenAiError
- OpenAiError.ErrorDetail - Class in xyz.felh.openai
- OpenAiHttpException - Exception in xyz.felh.openai
-
Runtime Exception for HTTP
- OpenAiHttpException(OpenAiError, Exception, int) - Constructor for exception xyz.felh.openai.OpenAiHttpException
- organization - Variable in class xyz.felh.openai.model.Permission
P
- param - Variable in exception xyz.felh.openai.OpenAiHttpException
- Permission - Class in xyz.felh.openai.model
- Permission() - Constructor for class xyz.felh.openai.model.Permission
- Preconditions - Class in xyz.felh.openai.utils
- Preconditions() - Constructor for class xyz.felh.openai.utils.Preconditions
R
- RetrieveFileContentResponse - Class in xyz.felh.openai.file
- RetrieveFileContentResponse() - Constructor for class xyz.felh.openai.file.RetrieveFileContentResponse
S
- selfHarm - Variable in class xyz.felh.openai.moderation.ModerationCategories
- selfHarm - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
- sexual - Variable in class xyz.felh.openai.moderation.ModerationCategories
- sexual - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
- sexualMinors - Variable in class xyz.felh.openai.moderation.ModerationCategories
- sexualMinors - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
- statusCode - Variable in exception xyz.felh.openai.OpenAiHttpException
-
HTTP status code
- SYSTEM - Enum constant in enum class xyz.felh.openai.completion.chat.ChatMessageRole
T
- type - Variable in exception xyz.felh.openai.OpenAiHttpException
-
OpenAI error type, for example "invalid_request_error" https://platform.openai.com/docs/guides/error-codes/python-library-error-types
U
- Usage - Class in xyz.felh.openai
- Usage() - Constructor for class xyz.felh.openai.Usage
- USER - Enum constant in enum class xyz.felh.openai.completion.chat.ChatMessageRole
V
- value() - Method in enum class xyz.felh.openai.completion.chat.ChatMessageRole
- valueOf(String) - Static method in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class xyz.felh.openai.completion.chat.ChatMessageRole
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class xyz.felh.openai.completion.chat.ChatCompletion.Model
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class xyz.felh.openai.completion.chat.ChatMessageRole
-
Returns an array containing the constants of this enum class, in the order they are declared.
- violence - Variable in class xyz.felh.openai.moderation.ModerationCategories
- violence - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
- violenceGraphic - Variable in class xyz.felh.openai.moderation.ModerationCategories
- violenceGraphic - Variable in class xyz.felh.openai.moderation.ModerationCategoryScores
X
- xyz.felh.openai - package xyz.felh.openai
- xyz.felh.openai.audio - package xyz.felh.openai.audio
- xyz.felh.openai.completion - package xyz.felh.openai.completion
- xyz.felh.openai.completion.chat - package xyz.felh.openai.completion.chat
- xyz.felh.openai.completion.chat.func - package xyz.felh.openai.completion.chat.func
- xyz.felh.openai.embedding - package xyz.felh.openai.embedding
- xyz.felh.openai.file - package xyz.felh.openai.file
- xyz.felh.openai.fineTuning - package xyz.felh.openai.fineTuning
- xyz.felh.openai.image - package xyz.felh.openai.image
- xyz.felh.openai.image.edit - package xyz.felh.openai.image.edit
- xyz.felh.openai.image.variation - package xyz.felh.openai.image.variation
- xyz.felh.openai.model - package xyz.felh.openai.model
- xyz.felh.openai.moderation - package xyz.felh.openai.moderation
- xyz.felh.openai.utils - package xyz.felh.openai.utils
All Classes and Interfaces|All Packages|Serialized Form