Skip to content

Commit

Permalink
Fix (ai search): updated search threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmg authored Aug 2, 2024
1 parent a1d3b77 commit d6accc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/v1/ai/search/get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default async function handler(
// only have the data where score is greater than a certain number
const filteredsSortedDataFromMainTableMappedWithScore =
sortedDataFromMainTableMappedWithScore?.filter((item) => {
if (item?.score > 0.5) {
if (item?.score > 0.59) {
return item;
}

Expand Down

0 comments on commit d6accc2

Please sign in to comment.