The ranking score for the input.

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

Properties

Properties

index: number

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

input?: {
    text: string;
}

The text that was ranked, if requested.

Type declaration

  • text: string
score: number

The score of the input.