ArchAstro. Types. Operations. PostApiV1AiChatCompletions. Input
(archastro v0.2.0)
Copy Markdown
Create a chat completion
Summary
Types
@type t() :: %ArchAstro.Types.Operations.PostApiV1AiChatCompletions.Input{ context: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(), messages: [ ArchAstro.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.MessagesItem.t() ], opts: ArchAstro.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.Opts.t(), session_id: String.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()