Interface CohereRerankArgs

Hierarchy

  • CohereRerankArgs

Properties

apiKey?: string

The API key to use.

Default

{process.env.COHERE_API_KEY}
maxChunksPerDoc?: number

The maximum number of chunks per document.

model?: string

The name of the model to use.

Default

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

How many documents to return.

Default

{3}

Generated using TypeDoc