Skip to content

Commit

Permalink
added thresh doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed May 15, 2024
1 parent e7095b9 commit f6a08fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vision_agent/utils/sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def top_k(
Parameters:
query: str: The query to compare to.
k: int: The number of items to return.
thresh: Optional[float]: The minimum similarity threshold.
Returns:
Sequence[Dict]: The top k most similar items.
Expand Down

0 comments on commit f6a08fc

Please sign in to comment.