Class ApiChatCompletionsResponseMessageAudio
- java.lang.Object
-
- de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsResponseMessageAudio
-
public class ApiChatCompletionsResponseMessageAudio extends Object
If the audio output modality is requested, this object contains data about the audio response from the model.- Since:
- 8.5.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileContentdata()Audio data generated by the model, in the format specified in the request.InstantexpiresAt()The time when this audio response will no longer be accessible on the server for use in multi-turn conversations.Stringid()Unique identifier for this audio response.Stringtranscript()Transcript of the audio generated by the model.
-
-
-
Method Detail
-
data
public FileContent data()
Audio data generated by the model, in the format specified in the request.- Returns:
- The audio data.
-
expiresAt
public Instant expiresAt()
The time when this audio response will no longer be accessible on the server for use in multi-turn conversations.- Returns:
- The expiration time.
-
id
public String id()
Unique identifier for this audio response.- Returns:
- The audio ID.
-
transcript
public String transcript()
Transcript of the audio generated by the model.- Returns:
- The transcript.
-
-