ASM.InferenceEndpoint.BackendManifest (ASM v0.9.2)

Copy Markdown View Source

Shared backend manifest contract for the ASM CLI inference endpoint facade.

Summary

Types

t()

@type t() :: %ASM.InferenceEndpoint.BackendManifest{
  backend: atom(),
  capabilities: map(),
  contract_version: String.t(),
  management_modes: [atom()],
  metadata: map(),
  protocols: [atom()],
  resource_profile: map(),
  runtime_kind: :task | :service,
  startup_kind: atom() | nil,
  supported_surfaces: [atom()]
}

Functions

new(attrs)

@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}

new!(attrs)

@spec new!(keyword() | map()) :: t()