問題文
A query has to return the rows whose embeddings are closest to a query vector. Which statement about the distance calculation is correct?
選択肢
- A distance function compares two vectors with a chosen metric and the metric should match the one used while the embedding model was trained.
- A distance function compares two vectors with a fixed metric and the choice of a metric is made once for the database at creation time.
- A distance function compares two vectors with a chosen metric and the vectors have to share the same dimension format for the call to succeed.
- A distance function compares two vectors with a chosen metric and the result is always a value between zero and one for every available metric.