View Source TextGenerationInference.Token (text_generation_inference v0.1.1)

Provides struct and type for Token

Link to this section Summary

Link to this section Types

@type t() :: %TextGenerationInference.Token{
  id: integer(),
  logprob: number() | nil,
  special: boolean(),
  text: String.t()
}