Current section

Files

Jump to
oapi_open_ai lib schemas response code_interpreter text_output.ex
Raw

lib/schemas/response/code_interpreter/text_output.ex

defmodule OpenAi.Response.CodeInterpreter.TextOutput do
@moduledoc """
Provides struct and type for a Response.CodeInterpreter.TextOutput
"""
@type t :: %__MODULE__{logs: String.t(), type: String.t()}
defstruct [:logs, :type]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[logs: {:string, :generic}, type: {:const, "logs"}]
end
end