ArchAstro. Types. Operations. PostApiV1AiChatCompletions. Input. Nested. MessagesItem
(archastro v0.2.0)
Copy Markdown
MessagesItem API model.
Summary
Types
@type t() :: %ArchAstro.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.MessagesItem{ content: String.t() | ArchAstro.Unset.t(), content_parts: [%{optional(String.t()) => ArchAstro.JSON.t()}] | ArchAstro.Unset.t(), resume_token: String.t() | ArchAstro.Unset.t(), role: String.t(), structured_output: ArchAstro.JSON.t() | ArchAstro.Unset.t(), tool_calls: [ ArchAstro.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.MessagesItemToolCallsItem.t() ] | ArchAstro.Unset.t(), tool_results: [ ArchAstro.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.MessagesItemToolResultsItem.t() ] | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()