Add dot product support (#239)

Closes #207
This commit is contained in:
Lei Xu
2023-06-29 10:32:01 -07:00
committed by GitHub
parent 39479dcf8e
commit 051c03c3c9
2 changed files with 11 additions and 5 deletions

View File

@@ -462,5 +462,10 @@ export enum MetricType {
/**
* Cosine distance
*/
Cosine = 'cosine'
Cosine = 'cosine',
/**
* Dot product
*/
Dot = 'dot'
}