Check the init parameters you can specify for the ReturnError node.
YAML Init Parameters
These are the parameters you can specify in pipeline YAML:
Parameter | Type | Possible values | Description |
|---|---|---|---|
| Secret | Default: | The Cohere API key. Required. |
| String |
| The name of the model to use. For a list of supported models, see Cohere documentation. |
| String |
| Specifies the type of input for the model. Optional for models lower than v3, required for v3 and higher. |
| String | Default: | The Cohere API base URL. |
| String |
| Truncate embeddings that are too long from the start or the end. Possible values: Optional. |
| Boolean |
| Flag to select the AsyncClient. Recommended for applications with many concurrent calls. |
| Integer | Default: | Request timeout in seconds. |
REST API Runtime Parameters
There are no runtime parameters you can pass to this component when making a request to the Search REST API endpoint.