HfHub.InferenceEndpoints.ProviderConfig (HfHub v0.2.0)

Copy Markdown View Source

Cloud provider configuration for an inference endpoint.

Summary

Functions

Creates a ProviderConfig struct from an API response.

Types

t()

@type t() :: %HfHub.InferenceEndpoints.ProviderConfig{
  region: String.t() | nil,
  vendor: vendor() | nil
}

vendor()

@type vendor() :: :aws | :azure | :gcp

Functions

from_response(response)

@spec from_response(map()) :: t()

Creates a ProviderConfig struct from an API response.