Commit 3ca4c97
authored
Add distance threshold optimizer classes (#292)
- add base, router, and cache threshold optimizer
- uses ranx to support eval metrics
- class is designed to receive a optimizer class in the case where
someone wants to supply their own without us having to make a release to
support something custom1 parent ad9bb21 commit 3ca4c97
File tree
19 files changed
+2960
-840
lines changed- .github/workflows
- docs/user_guide
- redisvl
- extensions
- llmcache
- router
- utils/optimize
- schemas
- tests
- integration
- unit
19 files changed
+2960
-840
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
225 | 230 | | |
226 | 231 | | |
227 | 232 | | |
| |||
0 commit comments