ArchAstro. SDK. Types. Operations. PostApiV1AiChatCompletions. Input
(archastro v0.3.4)
Copy Markdown
Create a chat completion
Summary
Types
@type t() :: %ArchAstro.SDK.Types.Operations.PostApiV1AiChatCompletions.Input{ context: %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(), messages: [ ArchAstro.SDK.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.MessagesItem.t() ], opts: ArchAstro.SDK.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.Opts.t(), session_id: String.t() | ArchAstro.SDK.Unset.t() }
Functions
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()