Commit 20d0b0b
committed
fix: Add factory methods to PythagoreanQuantizer
- Added for_llm(), for_embeddings(), for_vector_db(), hybrid() class methods
- Matches Rust core API for cross-repo compatibility
- All integration tests pass (15/17)
Verified:
- Hidden dimensions: k = ceil(log2(1/ε)) ✅
- Snap determinism ✅
- All quantization modes working ✅
- Lift/project round-trip ✅1 parent 0a694a8 commit 20d0b0b
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
247 | 267 | | |
248 | 268 | | |
249 | 269 | | |
| |||
0 commit comments