Tinkex.API.Models (Tinkex v0.3.4)

View Source

Model metadata and lifecycle endpoints.

Summary

Functions

Retrieve metadata for a model.

Unload model weights and end the session. May return a future or a direct payload.

Functions

get_info(request, opts)

@spec get_info(
  map(),
  keyword()
) :: {:ok, Tinkex.Types.GetInfoResponse.t()} | {:error, Tinkex.Error.t()}

Retrieve metadata for a model.

unload_model(request, opts)

@spec unload_model(
  map(),
  keyword()
) ::
  {:ok, Tinkex.Types.UnloadModelResponse.t() | map()}
  | {:error, Tinkex.Error.t()}

Unload model weights and end the session. May return a future or a direct payload.