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 Details

    • 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.