Skip to content

Commit 14831d9

Browse files
committedAug 4, 2023
fix: add score threshold
1 parent afad1a3 commit 14831d9

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed
 

‎.huskyrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
4+
}
5+
}

‎package.json

-5
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,5 @@
3737
"conventional-changelog-cli": "^3.0.0",
3838
"husky": "^8.0.3",
3939
"typescript": "^5.1.6"
40-
},
41-
"husky": {
42-
"hooks": {
43-
"commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS"
44-
}
4540
}
4641
}

‎src/typings/VectorSearchParams.ts

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export type Searches = {
1616
limit: number;
1717
with_payload: boolean;
1818
filter: Filter;
19+
score_threshold: number;
1920
};
2021

2122
export type VectorSearchParams = {

‎tsconfig.json

+13-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
{
2-
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "ES2020",
5-
"strict": true,
6-
"strictNullChecks": true,
7-
"lib": ["dom", "dom.iterable", "esnext"],
8-
"sourceMap": true,
9-
"rootDir": "src",
10-
"outDir": "dist",
11-
"declaration": true,
12-
},
13-
"exclude": ["node_modules", "dist"]
14-
}
15-
2+
"compilerOptions": {
3+
"module": "commonjs",
4+
"target": "ES2020",
5+
"strict": true,
6+
"strictNullChecks": true,
7+
"lib": ["dom", "dom.iterable", "esnext"],
8+
"sourceMap": true,
9+
"rootDir": "src",
10+
"outDir": "dist",
11+
"declaration": true,
12+
},
13+
"exclude": ["node_modules", "dist"]
14+
}

0 commit comments

Comments
 (0)
Please sign in to comment.