Class: CohereRerank
Implements
Constructors
constructor
• new CohereRerank(topN
): CohereRerank
Constructor for CohereRerank.
Parameters
Name | Type | Description |
---|---|---|
topN | CohereRerankOptions | Number of nodes to return. |
Returns
Defined in
packages/core/src/postprocessors/rerankers/CohereRerank.ts:24
Properties
apiKey
• apiKey: null
| string
= null
Defined in
packages/core/src/postprocessors/rerankers/CohereRerank.ts:16