Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 6ad82ac

Browse files
committed
limit
1 parent ec71a97 commit 6ad82ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/embeddings/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def asymmetric_similarity_search(embedding, limit:, offset:)
171171

172172
builder.query(
173173
query_embedding: embedding,
174-
candidates_limit: candidates_limit,
174+
candidates_limit: limit * 2,
175175
limit: limit,
176176
offset: offset,
177177
)

0 commit comments

Comments
 (0)