Files
elasticsearch-js/docs/reference/api/InferenceAlibabaCloudTaskSettings.md
2025-05-28 10:02:30 -05:00

7 lines
666 B
Markdown

# `InferenceAlibabaCloudTaskSettings` [interface-InferenceAlibabaCloudTaskSettings]
| Name | Type | Description |
| - | - | - |
| `input_type` | string | For a `sparse_embedding` or `text_embedding` task, specify the type of input passed to the model. Valid values are: * `ingest` for storing document embeddings in a vector database. * `search` for storing embeddings of search queries run against a vector database to find relevant documents. |
| `return_token` | boolean | For a `sparse_embedding` task, it affects whether the token name will be returned in the response. It defaults to `false`, which means only the token ID will be returned in the response. |