Index
All Classes|All Packages
O
- ofBytes(int) - Static method in class com.chatmotorapi.api.ChunkSize
-
Creates a ChunkSize object from a size in bytes.
- ofGigabytes(int) - Static method in class com.chatmotorapi.api.ChunkSize
-
Creates a ChunkSize object from a size in gigabytes.
- ofKilobytes(int) - Static method in class com.chatmotorapi.api.ChunkSize
-
Creates a ChunkSize object from a size in kilobytes.
- ofMegabytes(int) - Static method in class com.chatmotorapi.api.ChunkSize
-
Creates a ChunkSize object from a size in megabytes.
- onChunkProcessed() - Method in class com.chatmotorapi.api.listener.progress.AtomicProgressListener
-
Called when a chunk of data has been processed.
- onChunkProcessed() - Method in class com.chatmotorapi.api.listener.progress.ConsoleProgressListener
-
Called when a chunk of data has been processed.
- onChunkProcessed() - Method in class com.chatmotorapi.api.listener.progress.FileProgressListener
-
Called when a chunk of data has been processed.
- onChunkProcessed() - Method in interface com.chatmotorapi.api.listener.progress.ProgressListener
-
Called when a chunk of data has been processed.
- onChunkReceived(MotorResponse) - Method in class com.chatmotorapi.api.listener.ConsoleResponseListener
-
Receives a chunk of response from the ChatMotor and prints it to the console.
- onChunkReceived(MotorResponse) - Method in class com.chatmotorapi.api.listener.MotorFileResponseListener
-
Receives a chunk of response from the ChatMotor and writes it to the specified file.
- onChunkReceived(MotorResponse) - Method in interface com.chatmotorapi.api.listener.MotorResponseListener
-
Called when a new chunk of response is received.
- onChunkReceived(MotorResponse) - Method in class com.chatmotorapi.api.listener.QueueResponseListener
-
Called when a new chunk of response is received.
- onChunkReceived(MotorResponse) - Method in class com.chatmotorapi.api.listener.SwingResponseListener
- onError(Throwable) - Method in class com.chatmotorapi.api.listener.ConsoleResponseListener
- onError(Throwable) - Method in class com.chatmotorapi.api.listener.MotorFileResponseListener
-
Called when an error occurs.
- onError(Throwable) - Method in interface com.chatmotorapi.api.listener.MotorResponseListener
-
Called when an error occurs during the response streaming.
- onError(Throwable) - Method in class com.chatmotorapi.api.listener.QueueResponseListener
- onError(Throwable) - Method in class com.chatmotorapi.api.listener.SwingResponseListener
- onResponseCompleted() - Method in class com.chatmotorapi.api.listener.ConsoleResponseListener
- onResponseCompleted() - Method in class com.chatmotorapi.api.listener.MotorFileResponseListener
-
Called when the response is completed.
- onResponseCompleted() - Method in interface com.chatmotorapi.api.listener.MotorResponseListener
-
Called when the response streaming is successfully completed.
- onResponseCompleted() - Method in class com.chatmotorapi.api.listener.QueueResponseListener
- onResponseCompleted() - Method in class com.chatmotorapi.api.listener.SwingResponseListener
- ONYX - com.chatmotorapi.api.speech.MotorSpeechVoice
-
ONYX voice.
- OpenAiError - Class in com.chatmotorapi.api
-
Represents an error encountered within the OpenAI operations.
- OpenAiErrorType - Enum in com.chatmotorapi.api
-
Enum representing the various error messages returned by the ChatGPT API.
- OPUS - com.chatmotorapi.api.speech.MotorSpeechFormat
-
OPUS format.
- organizationId() - Method in class com.chatmotorapi.api.ChatMotor
-
Gets the organization ID for the ChatMotor.
- organizationId(String) - Method in class com.chatmotorapi.api.ChatMotor.Builder
-
Sets the organization ID for the API usage.
All Classes|All Packages