From f6a08fc18d6c2ca0b956e315913c0a6b1bd5102e Mon Sep 17 00:00:00 2001 From: Dillon Laird Date: Wed, 15 May 2024 16:01:07 -0700 Subject: [PATCH] added thresh doc --- vision_agent/utils/sim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vision_agent/utils/sim.py b/vision_agent/utils/sim.py index 614fdefa..cdfab0d0 100644 --- a/vision_agent/utils/sim.py +++ b/vision_agent/utils/sim.py @@ -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.