- categories - Variable in class com.theokanning.openai.moderation.Moderation
-
Object containing per-category binary content policy violation flags.
- categoryScores - Variable in class com.theokanning.openai.moderation.Moderation
-
Object containing per-category raw scores output by the model, denoting the model's confidence that the
input violates the OpenAI's policy for the category.
- ChatCompletionChoice - Class in com.theokanning.openai.completion.chat
-
A chat completion generated by OpenAI
- ChatCompletionChoice() - Constructor for class com.theokanning.openai.completion.chat.ChatCompletionChoice
-
- ChatCompletionChunk - Class in com.theokanning.openai.completion.chat
-
Object containing a response chunk from the chat completions streaming api.
- ChatCompletionChunk() - Constructor for class com.theokanning.openai.completion.chat.ChatCompletionChunk
-
- ChatCompletionRequest - Class in com.theokanning.openai.completion.chat
-
- ChatCompletionRequest() - Constructor for class com.theokanning.openai.completion.chat.ChatCompletionRequest
-
- ChatCompletionRequest.ChatCompletionRequestFunctionCall - Class in com.theokanning.openai.completion.chat
-
- ChatCompletionRequestFunctionCall() - Constructor for class com.theokanning.openai.completion.chat.ChatCompletionRequest.ChatCompletionRequestFunctionCall
-
- ChatCompletionResult - Class in com.theokanning.openai.completion.chat
-
Object containing a response from the chat completions api.
- ChatCompletionResult() - Constructor for class com.theokanning.openai.completion.chat.ChatCompletionResult
-
- ChatFunction - Class in com.theokanning.openai.completion.chat
-
- ChatFunction() - Constructor for class com.theokanning.openai.completion.chat.ChatFunction
-
- ChatFunction.Builder - Class in com.theokanning.openai.completion.chat
-
- ChatFunctionCall - Class in com.theokanning.openai.completion.chat
-
- ChatFunctionCall() - Constructor for class com.theokanning.openai.completion.chat.ChatFunctionCall
-
- ChatFunctionDynamic - Class in com.theokanning.openai.completion.chat
-
- ChatFunctionDynamic() - Constructor for class com.theokanning.openai.completion.chat.ChatFunctionDynamic
-
- ChatFunctionDynamic.Builder - Class in com.theokanning.openai.completion.chat
-
- ChatFunctionParameters - Class in com.theokanning.openai.completion.chat
-
- ChatFunctionParameters() - Constructor for class com.theokanning.openai.completion.chat.ChatFunctionParameters
-
- ChatFunctionProperty - Class in com.theokanning.openai.completion.chat
-
- ChatFunctionProperty() - Constructor for class com.theokanning.openai.completion.chat.ChatFunctionProperty
-
- ChatMessage - Class in com.theokanning.openai.completion.chat
-
Each object has a role (either "system", "user", or "assistant") and content (the content of the message).
- ChatMessage(String, String) - Constructor for class com.theokanning.openai.completion.chat.ChatMessage
-
- ChatMessage(String, String, String) - Constructor for class com.theokanning.openai.completion.chat.ChatMessage
-
- ChatMessageRole - Enum in com.theokanning.openai.completion.chat
-
- choices - Variable in class com.theokanning.openai.edit.EditResult
-
A list of generated edits.
- code - Variable in exception com.theokanning.openai.OpenAiHttpException
-
OpenAI error code, for example "invalid_api_key"
- com.theokanning.openai - package com.theokanning.openai
-
- com.theokanning.openai.assistants - package com.theokanning.openai.assistants
-
- com.theokanning.openai.audio - package com.theokanning.openai.audio
-
- com.theokanning.openai.billing - package com.theokanning.openai.billing
-
- com.theokanning.openai.common - package com.theokanning.openai.common
-
- com.theokanning.openai.completion - package com.theokanning.openai.completion
-
- com.theokanning.openai.completion.chat - package com.theokanning.openai.completion.chat
-
- com.theokanning.openai.edit - package com.theokanning.openai.edit
-
- com.theokanning.openai.embedding - package com.theokanning.openai.embedding
-
- com.theokanning.openai.engine - package com.theokanning.openai.engine
-
- com.theokanning.openai.file - package com.theokanning.openai.file
-
- com.theokanning.openai.fine_tuning - package com.theokanning.openai.fine_tuning
-
- com.theokanning.openai.finetune - package com.theokanning.openai.finetune
-
- com.theokanning.openai.image - package com.theokanning.openai.image
-
- com.theokanning.openai.messages - package com.theokanning.openai.messages
-
- com.theokanning.openai.messages.content - package com.theokanning.openai.messages.content
-
- com.theokanning.openai.model - package com.theokanning.openai.model
-
- com.theokanning.openai.moderation - package com.theokanning.openai.moderation
-
- com.theokanning.openai.runs - package com.theokanning.openai.runs
-
- com.theokanning.openai.threads - package com.theokanning.openai.threads
-
- com.theokanning.openai.utils - package com.theokanning.openai.utils
-
- CompletionChoice - Class in com.theokanning.openai.completion
-
A completion generated by OpenAI
https://beta.openai.com/docs/api-reference/completions/create
- CompletionChoice() - Constructor for class com.theokanning.openai.completion.CompletionChoice
-
- CompletionChunk - Class in com.theokanning.openai.completion
-
Object containing a response chunk from the completions streaming api.
- CompletionChunk() - Constructor for class com.theokanning.openai.completion.CompletionChunk
-
- CompletionRequest - Class in com.theokanning.openai.completion
-
A request for OpenAi to generate a predicted completion for a prompt.
- CompletionRequest() - Constructor for class com.theokanning.openai.completion.CompletionRequest
-
- CompletionResult - Class in com.theokanning.openai.completion
-
An object containing a response from the completion api
https://beta.openai.com/docs/api-reference/completions/create
- CompletionResult() - Constructor for class com.theokanning.openai.completion.CompletionResult
-
- created - Variable in class com.theokanning.openai.edit.EditResult
-
The creation time in epoch milliseconds.
- created - Variable in class com.theokanning.openai.model.Permission
-
The creation time in epoch seconds.
- CreateImageEditRequest - Class in com.theokanning.openai.image
-
A request for OpenAi to edit an image based on a prompt
All fields except prompt are optional
https://beta.openai.com/docs/api-reference/images/create-edit
- CreateImageEditRequest() - Constructor for class com.theokanning.openai.image.CreateImageEditRequest
-
- CreateImageRequest - Class in com.theokanning.openai.image
-
A request for OpenAi to create an image based on a prompt
All fields except prompt are optional
https://beta.openai.com/docs/api-reference/images/create
- CreateImageRequest() - Constructor for class com.theokanning.openai.image.CreateImageRequest
-
- CreateImageVariationRequest - Class in com.theokanning.openai.image
-
A request for OpenAi to create a variation of an image
All fields are optional
https://beta.openai.com/docs/api-reference/images/create-variation
- CreateImageVariationRequest() - Constructor for class com.theokanning.openai.image.CreateImageVariationRequest
-
- CreateSpeechRequest - Class in com.theokanning.openai.audio
-
- CreateSpeechRequest() - Constructor for class com.theokanning.openai.audio.CreateSpeechRequest
-
- CreateThreadAndRunRequest - Class in com.theokanning.openai.runs
-
- CreateThreadAndRunRequest() - Constructor for class com.theokanning.openai.runs.CreateThreadAndRunRequest
-
- CreateTranscriptionRequest - Class in com.theokanning.openai.audio
-
A request for OpenAi to create transcription based on an audio file
All fields except model are optional
https://platform.openai.com/docs/api-reference/audio/create
- CreateTranscriptionRequest() - Constructor for class com.theokanning.openai.audio.CreateTranscriptionRequest
-
- CreateTranslationRequest - Class in com.theokanning.openai.audio
-
A request for OpenAi to create English translation based on an audio file
All fields except model are optional
https://platform.openai.com/docs/api-reference/audio/create
- CreateTranslationRequest() - Constructor for class com.theokanning.openai.audio.CreateTranslationRequest
-
- CreditGrantsResponse - Class in com.theokanning.openai.billing
-
Return value of balance inquiry interface
- CreditGrantsResponse() - Constructor for class com.theokanning.openai.billing.CreditGrantsResponse
-
- value() - Method in enum com.theokanning.openai.completion.chat.ChatMessageRole
-
- valueOf(String) - Static method in enum com.theokanning.openai.assistants.AssistantSortOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.theokanning.openai.assistants.AssistantToolsEnum
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.theokanning.openai.completion.chat.ChatMessageRole
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.theokanning.openai.ListSearchParameters.Order
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.theokanning.openai.utils.TikTokensUtil.ModelEnum
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.theokanning.openai.assistants.AssistantSortOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.theokanning.openai.assistants.AssistantToolsEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.theokanning.openai.completion.chat.ChatMessageRole
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.theokanning.openai.ListSearchParameters.Order
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum com.theokanning.openai.utils.TikTokensUtil.ModelEnum
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- violence - Variable in class com.theokanning.openai.moderation.ModerationCategories
-
- violence - Variable in class com.theokanning.openai.moderation.ModerationCategoryScores
-
- violenceGraphic - Variable in class com.theokanning.openai.moderation.ModerationCategories
-
- violenceGraphic - Variable in class com.theokanning.openai.moderation.ModerationCategoryScores
-