Tinkex.Types.SampledSequence (Tinkex v0.3.4)
View SourceA single sampled sequence from text generation.
Mirrors Python tinker.types.SampledSequence.
Summary
Functions
Parse a sampled sequence from JSON response.
Types
@type t() :: %Tinkex.Types.SampledSequence{ logprobs: [float()] | nil, stop_reason: Tinkex.Types.StopReason.t() | nil, tokens: [integer()] }