mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-10-12 02:12:50 +00:00
docs: sync Core Integrations API reference (cohere) on Docusaurus (#12307)
Co-authored-by: davidsbatista <[email protected]>
This commit is contained in:
co-authored by
davidsbatista
parent
bd204f77e7
commit
7d161e45dc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user