# `GEPA.Adapters.Default`
[🔗](https://github.com/nshkrdotcom/gepa_ex/blob/v0.3.0/lib/gepa/adapters/default.ex#L1)

Official-style default adapter for simple text-in/text-out tasks.

The adapter calls a task model with chat messages, evaluates the response,
and builds reflective records from captured trajectories. It is useful when
users want to optimize one prompt without writing a custom adapter first.

# `evaluator_result`

```elixir
@type evaluator_result() ::
  float()
  | {float(), String.t()}
  | {float(), String.t(), %{required(String.t()) =&gt; float()} | nil}
  | %{
      score: float(),
      feedback: String.t(),
      objective_scores: %{required(String.t()) =&gt; float()} | nil
    }
```

# `t`

```elixir
@type t() :: %GEPA.Adapters.Default{
  evaluator: (map(), String.t() -&gt; evaluator_result()) | nil,
  failure_score: float(),
  model: function() | GEPA.LLM.t()
}
```

# `new`

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

Create a default adapter.

---

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