Skip to content

Commit

Permalink
优化数据类型
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 23, 2024
1 parent fe2effb commit 1d3317b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/api/docantd.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ export default async function handler(request: Request) {
controller.enqueue(encoder.encode(''));
const searchResult = await qdrantClient.search('test_collection', {
vector: embedding || [],
limit: 1,
limit: 2,
score_threshold: 0.2,
});

controller.enqueue(
Expand Down

0 comments on commit 1d3317b

Please sign in to comment.