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

Encoded text chunk containing token IDs.

Mirrors Python tinker.types.EncodedTextChunk.

# `t`

```elixir
@type t() :: %Tinkex.Types.EncodedTextChunk{tokens: [integer()], type: String.t()}
```

# `length`

```elixir
@spec length(t()) :: non_neg_integer()
```

Get the length (number of tokens) in this chunk.

---

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