Skip to content

Commit ececf21

Browse files
committed
Message.
1 parent c6c8172 commit ececf21

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/MongoDB.Driver/Mql.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static double Sigmoid(double value)
186186
/// <param name="normalizeScore">Whether to normalize the result for use as a vector search score.</param>
187187
/// <typeparam name="TElement">The vector element type</typeparam>
188188
/// <returns>The dot-product measure between the two vectors.</returns>
189-
/// <exception cref="NotSupportedException">if executed.</exception>
189+
/// <exception cref="NotSupportedException">if used for anything other than translating to MQL.</exception>
190190
public static double SimilarityDotProduct<TElement>(
191191
IEnumerable<TElement> vector1,
192192
IEnumerable<TElement> vector2,
@@ -201,7 +201,7 @@ public static double SimilarityDotProduct<TElement>(
201201
/// <param name="normalizeScore">Whether to normalize the result for use as a vector search score.</param>
202202
/// <typeparam name="TElement">The vector element type</typeparam>
203203
/// <returns>The dot-product measure between the two vectors.</returns>
204-
/// <exception cref="NotSupportedException">if executed.</exception>
204+
/// <exception cref="NotSupportedException">if used for anything other than translating to MQL.</exception>
205205
public static double SimilarityDotProduct<TElement>(
206206
ReadOnlyMemory<TElement> vector1,
207207
ReadOnlyMemory<TElement> vector2,
@@ -216,7 +216,7 @@ public static double SimilarityDotProduct<TElement>(
216216
/// <param name="normalizeScore">Whether to normalize the result for use as a vector search score.</param>
217217
/// <typeparam name="TElement">The vector element type</typeparam>
218218
/// <returns>The cosine measure between the two vectors.</returns>
219-
/// <exception cref="NotSupportedException">if executed.</exception>
219+
/// <exception cref="NotSupportedException">if used for anything other than translating to MQL.</exception>
220220
public static double SimilarityCosine<TElement>(
221221
IEnumerable<TElement> vector1,
222222
IEnumerable<TElement> vector2,
@@ -231,7 +231,7 @@ public static double SimilarityCosine<TElement>(
231231
/// <param name="normalizeScore">Whether to normalize the result for use as a vector search score.</param>
232232
/// <typeparam name="TElement">The vector element type</typeparam>
233233
/// <returns>The cosine measure between the two vectors.</returns>
234-
/// <exception cref="NotSupportedException">if executed.</exception>
234+
/// <exception cref="NotSupportedException">if used for anything other than translating to MQL.</exception>
235235
public static double SimilarityCosine<TElement>(
236236
ReadOnlyMemory<TElement> vector1,
237237
ReadOnlyMemory<TElement> vector2,
@@ -246,7 +246,7 @@ public static double SimilarityCosine<TElement>(
246246
/// <param name="normalizeScore">Whether to normalize the result for use as a vector search score.</param>
247247
/// <typeparam name="TElement">The vector element type</typeparam>
248248
/// <returns>The Euclidean measure between the two vectors.</returns>
249-
/// <exception cref="NotSupportedException">if executed.</exception>
249+
/// <exception cref="NotSupportedException">if used for anything other than translating to MQL.</exception>
250250
public static double SimilarityEuclidean<TElement>(
251251
IEnumerable<TElement> vector1,
252252
IEnumerable<TElement> vector2,
@@ -261,7 +261,7 @@ public static double SimilarityEuclidean<TElement>(
261261
/// <param name="normalizeScore">Whether to normalize the result for use as a vector search score.</param>
262262
/// <typeparam name="TElement">The vector element type</typeparam>
263263
/// <returns>The Euclidean measure between the two vectors.</returns>
264-
/// <exception cref="NotSupportedException">if executed.</exception>
264+
/// <exception cref="NotSupportedException">if used for anything other than translating to MQL.</exception>
265265
public static double SimilarityEuclidean<TElement>(
266266
ReadOnlyMemory<TElement> vector1,
267267
ReadOnlyMemory<TElement> vector2,

0 commit comments

Comments
 (0)