Data Preparation for ML and AI

An embedding model produces 768 values per document. What dimension should the corresponding OpenSearch Service knn_vector field specify?

Show the answer

Correct answerC. 768

AWhy not this: Token count describes model input length, not embedding output dimensionality.

BWhy not this: The number of neighbors controls result count rather than vector dimensionality.

CWhy this is right: Each embedding contains 768 components, so the vector field must use dimension 768.

DWhy not this: Document count determines index population, not the number of components in each vector.

The vector field dimension must match the number of components in each embedding: 768. The requested number of neighbors controls how many matches a query seeks, not the length of stored vectors.