Skip to content

Commit 90ad359

Browse files
committed
add l2 norm to linear retriever
1 parent a070aa1 commit 90ad359

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specification/_types/Retriever.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ export class InnerRetriever {
8787

8888
export enum ScoreNormalizer {
8989
none,
90-
minmax
90+
minmax,
91+
l2_norm
9192
}
9293

9394
export class SpecifiedDocument {

0 commit comments

Comments
 (0)