- 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
-
- 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
-
- 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() - 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.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.finetune - package com.theokanning.openai.finetune
-
- com.theokanning.openai.image - package com.theokanning.openai.image
-
- com.theokanning.openai.model - package com.theokanning.openai.model
-
- com.theokanning.openai.moderation - package com.theokanning.openai.moderation
-
- 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
-