The ranking score for the input.

interface RerankedResults {
    index: number;
    input?: string;
    score: number;
}

Properties

Properties

index: number

The index of the text from the input in the original request inputs array.

input?: string

The text that was ranked, if requested.

score: number

The score of the input.