File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -194,9 +194,13 @@ index failures into a different index.
194
194
195
195
Before ingesting the data through the pipeline, create the mappings of the
196
196
destination index, in particular for the field `text_embedding.predicted_value`
197
- where the ingest processor stores the embeddings. The msmarco-MiniLM-L-12-v3 model produces
198
- embeddings with 384 dimensions; the `dense_vector` field must be configured
199
- with the same number of dimensions as specified by the `dims` option.
197
+ where the ingest processor stores the embeddings. The `dense_vector` field must
198
+ be configured with the same number of dimensions (`dims`) as the text embedding
199
+ produced by the model. That value can be found in the `embedding_size` option in
200
+ the model configuration either under the Trained Models page in {kib} or in the
201
+ response body of the {ref}/get-trained-models.html[Get trained models API] call.
202
+ The msmarco-MiniLM-L-12-v3 model has embedding_size of 384, so `dims` is set to
203
+ 384.
200
204
201
205
[source,js]
202
206
--------------------------------------------------
You can’t perform that action at this time.
0 commit comments