Skip to content

Type Alias: BatchItem ​

ts
type BatchItem = {
  tokens: readonly Token[];
  logits: readonly (true | undefined)[];
  evaluationPriority: EvaluationPriority;
};

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

Properties ​

tokens ​

ts
readonly tokens: readonly Token[];

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


logits ​

ts
readonly logits: readonly (true | undefined)[];

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


evaluationPriority ​

ts
readonly evaluationPriority: EvaluationPriority;

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