# `LLMDB.Sources.Llmfit`
[🔗](https://github.com/agentjido/llm_db/blob/main/lib/llm_db/sources/llmfit.ex#L1)

Sidecar source for llmfit open-weight metadata.

This module is intentionally **not** a primary catalog source. It is used to:

- `pull/1` fetch and cache llmfit's `hf_models.json`
- `load_index/1` build a lookup index by Hugging Face repo ID for enrichment

`load/1` returns an empty canonical map so this source can participate in
generic source workflows without injecting non-canonical providers/models.

# `load_index`

```elixir
@spec load_index(map()) :: {:ok, %{optional(String.t()) =&gt; map()}} | {:error, term()}
```

Build an enrichment index keyed by Hugging Face repo ID (`org/model`).

# `load_raw`

```elixir
@spec load_raw(map()) :: {:ok, [map()]} | {:error, term()}
```

Load raw llmfit metadata list from cache.

---

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