Skip to content

Commit e84f2c1

Browse files
add l2 norm to linear retriever (#4470) (#4487)
(cherry picked from commit 07b12a2) Co-authored-by: Laura Trotta <[email protected]>
1 parent 81e69fd commit e84f2c1

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)