Skip to content

Commit

Permalink
fix: add score threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbond committed Aug 4, 2023
1 parent afad1a3 commit 14831d9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,5 @@
"conventional-changelog-cli": "^3.0.0",
"husky": "^8.0.3",
"typescript": "^5.1.6"
},
"husky": {
"hooks": {
"commit-msg": "npx commitlint -E HUSKY_GIT_PARAMS"
}
}
}
1 change: 1 addition & 0 deletions src/typings/VectorSearchParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export type Searches = {
limit: number;
with_payload: boolean;
filter: Filter;
score_threshold: number;
};

export type VectorSearchParams = {
Expand Down
27 changes: 13 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "ES2020",
"strict": true,
"strictNullChecks": true,
"lib": ["dom", "dom.iterable", "esnext"],
"sourceMap": true,
"rootDir": "src",
"outDir": "dist",
"declaration": true,
},
"exclude": ["node_modules", "dist"]
}

"compilerOptions": {
"module": "commonjs",
"target": "ES2020",
"strict": true,
"strictNullChecks": true,
"lib": ["dom", "dom.iterable", "esnext"],
"sourceMap": true,
"rootDir": "src",
"outDir": "dist",
"declaration": true,
},
"exclude": ["node_modules", "dist"]
}

0 comments on commit 14831d9

Please sign in to comment.