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
client
• Private
client: null
| CohereClient
= null
Defined in
packages/core/src/postprocessors/rerankers/CohereRerank.ts:18
model
• model: string
= "rerank-english-v2.0"