Current section
Files
Jump to
Current section
Files
lib/schemas/response/audio/transcript/delta_event.ex
defmodule OpenAi.Response.Audio.Transcript.DeltaEvent do
@moduledoc """
Provides struct and type for a Response.Audio.Transcript.DeltaEvent
"""
@type t :: %__MODULE__{delta: String.t(), type: String.t()}
defstruct [:delta, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[delta: {:string, :generic}, type: {:const, "response.audio.transcript.delta"}]
end
end