Type alias SamplerSelector

SamplerSelector: ((tokens, completion) => number[])

Type declaration

    • (tokens, completion): number[]
    • Select relevant tokens -- called once for each token generation

      Parameters

      • tokens: number[]
      • completion: string

      Returns number[]

Generated using TypeDoc