Interface RerankResult

interface RerankResult {
    index: number;
    relevance_score: number;
    text: string;
}

Properties

index: number

index represents the index position in the collection for this checks.

relevance_score: number

relevance_score is the ranking of the result.

text: string

text represents the returned document.