Check the parameters SentenceTransformerTextEmbedder takes.
YAML Init Parameters
Parameter | Type | Possible values | Description |
---|---|---|---|
| String | Default: | Local path or ID of the model on the Hugging Face Hub. |
| ComponentDevice | Default: | Overrides the default device used to load the model. |
| Secret | Default: | The API token used to download private models from Hugging Face. |
| 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 string to add at the end of each text. |
| Integer | Default: | Number of documents to encode at once. |
| Boolean |
| If |
| Boolean |
| If |
| Boolean |
| If |
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.