Skip to content

Commit

Permalink
Update search_docs_by_embedding.py
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorrr authored Oct 28, 2024
1 parent edc471d commit 8460571
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def search_docs_by_embedding(
# Sort the results by distance to find the closest matches
:sort -mmr_score
:limit {k*(3 if mmr_strength else 1)}, # Get more candidates for diversity
:limit {k*(3 if mmr_strength else 1)} # Get more candidates for diversity
:create _interim {{
owner_type,
Expand Down

0 comments on commit 8460571

Please sign in to comment.