mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-06 02:47:54 +00:00
increase highscore filter
This commit is contained in:
parent
205575c4c9
commit
88f7f4da8b
1 changed files with 1 additions and 1 deletions
|
|
@ -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.35).map(({ id }) => id);
|
||||
const highScoreIds = responses.matches.filter(({ score }) => score > 0.4).map(({ id }) => id);
|
||||
|
||||
console.log('highscoreIds', highScoreIds);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue