diff options
| author | Dhravya <[email protected]> | 2024-04-11 20:32:14 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-04-11 20:32:14 -0700 |
| commit | ca62d9542a4e7a0bb08b27ba9214519521e301ae (patch) | |
| tree | 9651b0acf8fdc853dc7f8fd0e36f6b65bb2f9731 | |
| parent | removed pnpm lock (diff) | |
| download | supermemory-ca62d9542a4e7a0bb08b27ba9214519521e301ae.tar.xz supermemory-ca62d9542a4e7a0bb08b27ba9214519521e301ae.zip | |
increase number
| -rw-r--r-- | apps/cf-ai-backend/src/routes/chat.ts | 2 | ||||
| -rw-r--r-- | apps/extension/src/util.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/cf-ai-backend/src/routes/chat.ts b/apps/cf-ai-backend/src/routes/chat.ts index d126b772..185bb3a6 100644 --- a/apps/cf-ai-backend/src/routes/chat.ts +++ b/apps/cf-ai-backend/src/routes/chat.ts @@ -62,7 +62,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.3).map(({ id }) => id); + const highScoreIds = responses.matches.filter(({ score }) => score > 0.4).map(({ id }) => id); console.log('highscoreIds', highScoreIds); diff --git a/apps/extension/src/util.ts b/apps/extension/src/util.ts index 0b73b6c8..d2ea35d3 100644 --- a/apps/extension/src/util.ts +++ b/apps/extension/src/util.ts @@ -9,5 +9,5 @@ export const getEnv = () => { // }) // return null - return "development"; + return "production"; }; |