From bb15bde7a89469a07fe7fb1e017d937ff4515380 Mon Sep 17 00:00:00 2001 From: Dhravya Date: Mon, 15 Apr 2024 10:48:14 -0700 Subject: [PATCH] help on the chrome ext --- README.md | 6 +++++- apps/cf-ai-backend/src/routes/chat.ts | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29096cb0..f63fa754 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,11 @@ Supermemory fixes this. Just go to [supermemory.dhr.wtf](https://supermemory.dhr.wtf) and sign in with your google account. -To use the chrome extension, please download it from the [releases page](https://github.com/dhravya/supermemory/releases) and load it in chrome. +To use the chrome extension, + +1. Get the chrome ext (click on the button) +2. Click on the "Extension Auth" button so the extension knows who you are :) + ![chrome](https://i.dhr.wtf/r/Clipboard_Apr_15,_2024_at_10.47 AM.png) ## 👨‍💻 The Stack 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);