Interface TokensInfo

Tokens info with a list of tokens and the corresponding list of token ids.

interface TokensInfo {
    role?: string;
    tokenIds?: string[];
    tokens?: string[];
}

Properties

role?: string

Optional. Optional fields for the role from the corresponding Content.

tokenIds?: string[]

A list of token ids from the input.

tokens?: string[]

A list of tokens from the input.

MMNEPVFCICPMFPCPTTAAATR