docs: sync Core Integrations API reference (cohere) on Docusaurus (#12307)

Co-authored-by: davidsbatista <[email protected]>
This commit is contained in:
Haystack Bot
2026-08-11 11:56:46 +00:00
committed by GitHub
co-authored by davidsbatista
parent bd204f77e7
commit 7d161e45dc
16 changed files with 64 additions and 0 deletions
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python
@@ -941,6 +941,10 @@ Creates an instance of the 'CohereRanker'.
to the Document content.
- **max_tokens_per_doc** (<code>int</code>) – The maximum number of tokens to embed for each document defaults to 4096.
**Raises:**
- <code>ValueError</code> – If `top_k` is not > 0.
#### to_dict
```python