ArchAstro.Types.Operations.GetApiV1AiImageModels.Response.Nested.DataItem (archastro v0.2.0)

Copy Markdown

DataItem API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.Operations.GetApiV1AiImageModels.Response.Nested.DataItem{
    capabilities: [String.t()],
    context_window: integer() | nil | ArchAstro.Unset.t(),
    default: boolean(),
    id: String.t(),
    input_media_formats: [String.t()],
    name: String.t(),
    output_media_formats: [String.t()]
  }

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()