Current section
Files
Jump to
Current section
Files
lib/ex_openai/generated/components/input_text_content_param.ex
defmodule ExOpenAI.Components.InputTextContentParam do
use ExOpenAI.Jason
@moduledoc """
A text input to the model.
## Fields
* `:text` - **required** - `String.t()`
The text input to the model.
Constraints: maxLength: 10485760
* `:type` - **required** - `:input_text`
The type of the input item. Always `input_text`.
Allowed values: `"input_text"`
Default: `"input_text"`
"""
@type t() :: %{__struct__: __MODULE__, text: String.t(), type: :input_text}
defstruct [:text, :type]
end