# `HfHub.InferenceEndpoints.ModelConfig`
[🔗](https://github.com/North-Shore-AI/hf_hub_ex/blob/v0.3.1/lib/hf_hub/inference_endpoints/model_config.ex#L1)

Model configuration for an inference endpoint.

# `t`

```elixir
@type t() :: %HfHub.InferenceEndpoints.ModelConfig{
  framework: String.t() | nil,
  image: map() | nil,
  repository: String.t() | nil,
  revision: String.t() | nil,
  task: String.t() | nil
}
```

# `from_response`

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

Creates a ModelConfig struct from an API response.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
