aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-04-15 10:48:14 -0700
committerDhravya <[email protected]>2024-04-15 10:48:14 -0700
commitbb15bde7a89469a07fe7fb1e017d937ff4515380 (patch)
treed544edb90e26d8bd97494fb432b1397fcef8a550 /apps
parentget chrome extension button (diff)
downloadsupermemory-bb15bde7a89469a07fe7fb1e017d937ff4515380.tar.xz
supermemory-bb15bde7a89469a07fe7fb1e017d937ff4515380.zip
help on the chrome ext
Diffstat (limited to 'apps')
-rw-r--r--apps/cf-ai-backend/src/routes/chat.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/cf-ai-backend/src/routes/chat.ts b/apps/cf-ai-backend/src/routes/chat.ts
index ee02b0a0..505c8859 100644
--- a/apps/cf-ai-backend/src/routes/chat.ts
+++ b/apps/cf-ai-backend/src/routes/chat.ts
@@ -64,7 +64,7 @@ export async function POST(request: Request, _: CloudflareVectorizeStore, embedd
// return new Response(JSON.stringify({ message: "No Results Found" }), { status: 404 });
// }
- const highScoreIds = responses.matches.filter(({ score }) => score > 0.4).map(({ id }) => id);
+ const highScoreIds = responses.matches.filter(({ score }) => score > 0.3).map(({ id }) => id);
console.log('highscoreIds', highScoreIds);