Skip to content

Commit cbb5da3

Browse files
author
福晋
committed
fix: build error
1 parent 1c9e616 commit cbb5da3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/reranker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const DEFAULT_WEIGHTS = {
108108
* Scores are normalised to [0, 1] via min-max scaling.
109109
*/
110110
export class KeywordReranker implements Reranker {
111-
private readonly weights: typeof DEFAULT_WEIGHTS;
111+
private readonly weights: Record<string, number>;
112112

113113
constructor(options?: RerankOptions) {
114114
this.weights = {

0 commit comments

Comments
 (0)