Commit 680aeb7
committed
docs(semantic-cache): fix distance threshold range in docstrings
- Update SemanticCache.__init__ docstring to specify [0-2] range instead of [0-1]
- Update SemanticCache.set_threshold docstring to specify [0-2] range
- Enhance distance_threshold parameter docs to clarify Redis COSINE units
- Fixes inconsistency between docstrings and actual validation logic
Relates to #4071 parent caa9621 commit 680aeb7
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
246 | | - | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
0 commit comments