Check the init parameters you can specify for NvidiaTextEmbeder.
YAML Init Parameters
These are the parameters you can specify in pipeline YAML:
Parameter | Type | Possible values | Description |
---|---|---|---|
| Secret | Default: | The Nvidia API key. |
| String | Default: | The name of the model to use. |
| String | Default: | Custom API URL for NVIDIA NIM. The URL follows the format: |
| String | Default: | A string to add at the beginning of each text. Can be used to prepend the text with an instruction, as required by some embedding models, such as E5 and bge. |
| String | Default: | A text string to add at the end of each text. |
| Integer | Default: | The count of documents to embed at once. Must be a value below 50. |
| Boolean |
| If |
| List of strings | Default: | A list of metadata fields you want to embed along with the document text. |
| String | Default: | Separator to concatenate metadata fields into the document text. |
| Union of EmbeddingTruncateMode and string |
| Specifies how inputs longer than the maximum token length should be truncated. Possible values:
|