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"; };