We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 205575c commit 88f7f4dCopy full SHA for 88f7f4d
apps/cf-ai-backend/src/routes/chat.ts
@@ -64,7 +64,7 @@ export async function POST(request: Request, _: CloudflareVectorizeStore, embedd
64
// return new Response(JSON.stringify({ message: "No Results Found" }), { status: 404 });
65
// }
66
67
- const highScoreIds = responses.matches.filter(({ score }) => score > 0.35).map(({ id }) => id);
+ const highScoreIds = responses.matches.filter(({ score }) => score > 0.4).map(({ id }) => id);
68
69
console.log('highscoreIds', highScoreIds);
70
0 commit comments