# `Tinkex.Types.SampledSequence`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/types/sampled_sequence.ex#L1)

A single sampled sequence from text generation.

Mirrors Python tinker.types.SampledSequence.

# `t`

```elixir
@type t() :: %Tinkex.Types.SampledSequence{
  logprobs: [float()] | nil,
  stop_reason: Tinkex.Types.StopReason.t() | nil,
  tokens: [integer()]
}
```

# `from_json`

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

Parse a sampled sequence from JSON response.

---

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