Skip to content

Commit 07b12a2

Browse files
authored
add l2 norm to linear retriever (#4470)
1 parent f0a81b9 commit 07b12a2

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)