Skip to content

Commit c49cf23

Browse files
l-trottagithub-actions[bot]
authored andcommitted
add l2 norm to linear retriever (#4470)
(cherry picked from commit 07b12a2)
1 parent 81e69fd commit c49cf23

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)