From 124484d161edcb885317027e798eaf7a270a24fb Mon Sep 17 00:00:00 2001 From: berkingurcan Date: Fri, 5 Jul 2024 15:19:57 +0300 Subject: [PATCH] Update demoSearch.ts --- lib/tools/demoSearch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/demoSearch.ts b/lib/tools/demoSearch.ts index a773301..cc12243 100644 --- a/lib/tools/demoSearch.ts +++ b/lib/tools/demoSearch.ts @@ -35,7 +35,7 @@ async function formatResults(matches: ScoredPineconeRecord[]) { const results = [] for (let i = 0; i < matches.length; i++) { const match = matches[i] - if ((match.score || 1) > 0.7) { + if ((match.score || 1) > 0.45) { const metadata = match.metadata as Metadata const guildId = metadata.guild_id;