Skip to content

Type Alias: SequenceEvaluateOutput<Options>

ts
type SequenceEvaluateOutput<Options> = PickOptions<{
  token: Token;
  confidence: number;
  probabilities: Map<Token, number>;
 }, Options & {
  token: true;
 }>;

Defined in: evaluator/LlamaContext/types.ts:350

Type Parameters

Type ParameterDefault type
Options extends { confidence: boolean; probabilities: boolean; }{ confidence: true; probabilities: true; }