diff --git a/.huskyrc b/.huskyrc new file mode 100644 index 0000000..2a4718c --- /dev/null +++ b/.huskyrc @@ -0,0 +1,5 @@ +{ + "hooks": { + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" + } +} diff --git a/package.json b/package.json index 57fa9a3..9f59d78 100644 --- a/package.json +++ b/package.json @@ -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" - } } } diff --git a/src/typings/VectorSearchParams.ts b/src/typings/VectorSearchParams.ts index 2639cd6..3608e26 100644 --- a/src/typings/VectorSearchParams.ts +++ b/src/typings/VectorSearchParams.ts @@ -16,6 +16,7 @@ export type Searches = { limit: number; with_payload: boolean; filter: Filter; + score_threshold: number; }; export type VectorSearchParams = { diff --git a/tsconfig.json b/tsconfig.json index 9ba2854..c44b8fa 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"] - } - \ No newline at end of file + "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"] +}