# `Spectre.Inference.Profile`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/inference/profile.ex#L1)

Provider-neutral cognitive capability profile.

# `t`

```elixir
@type t() :: %Spectre.Inference.Profile{
  context_window: pos_integer() | nil,
  cost_tier: :low | :medium | :high,
  fallback: [term()],
  id: term(),
  latency_tier: :low | :medium | :high,
  metadata: map(),
  model: term(),
  privacy: :local | :private_cloud | :cloud,
  profile_hash: String.t() | nil,
  rank: integer(),
  supports: MapSet.t(atom())
}
```

# `compatible?`

```elixir
@spec compatible?(t(), Spectre.Inference.Request.t(), [t()]) :: boolean()
```

Returns whether this profile satisfies all hard request constraints.

# `hash`

```elixir
@spec hash(t()) :: String.t()
```

# `new`

```elixir
@spec new(t() | map() | keyword()) :: t()
```

---

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