Interface RankedDocument

A ranked document with a relevance score and an index position.

Export

RankedDocument

Hierarchy

  • RankedDocument

Properties

Properties

document?: {
    [key: string]: string;
}

Document for reranking

Type declaration

  • [key: string]: string

Memberof

RankedDocument

index: number

The index of the document

Memberof

RankedDocument

score: number

The relevance score of the document normalized between 0 and 1.

Memberof

RankedDocument