ArchAstro.SDK.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.OptsToolsItemFunction (archastro v0.3.4)

Copy Markdown

OptsToolsItemFunction API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.SDK.Types.Operations.PostApiV1AiChatCompletions.Input.Nested.OptsToolsItemFunction{
    description: String.t() | ArchAstro.SDK.Unset.t(),
    name: String.t(),
    parameters: %{optional(String.t()) => ArchAstro.SDK.JSON.t()}
  }

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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