interface BaseCohereRerankArgs {
    maxChunksPerDoc?: number;
    model?: string;
    topN?: number;
}

Properties

maxChunksPerDoc?: number

The maximum number of chunks per document.

model?: string

The name of the model to use.

{"rerank-english-v2.0"}
topN?: number

How many documents to return.

{3}