You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The query text from which to generate vector embeddings.
model_id
String
Required
The ID of the sparse encoding model or tokenizer model that will be used to generate vector embeddings from the query text. The model must be deployed in OpenSearch before it can be used in sparse neural search. For more information, see Using custom models within OpenSearch and Neural sparse search.
max_token_score
Float
Optional
(Deprecated) The theoretical upper bound of the score for all tokens in the vocabulary (required for performance optimization). For OpenSearch-provided pretrained sparse embedding models, we recommend setting max_token_scoreto 2 for amazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v1and to 3.5 for amazon/neural-sparse/opensearch-neural-sparse-encoding-v1. This field has been deprecated as of OpenSearch 2.12.
Add
neural_sparse
for providing sparse vector search and access to results.Neural Sparse
model.neural_sparse
1query_text
model_id
max_token_score
max_token_score
to 2 foramazon/neural-sparse/opensearch-neural-sparse-encoding-doc-v1
and to 3.5 foramazon/neural-sparse/opensearch-neural-sparse-encoding-v1
. This field has been deprecated as of OpenSearch 2.12.Footnotes
https://opensearch.org/docs/latest/query-dsl/specialized/neural-sparse/ ↩
The text was updated successfully, but these errors were encountered: