mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
Adds hanzo_memory.algorithms covering RRF/RSF, adaptive RRF, MMR, dedup, Unicode script detection, FTS helpers (CJK bigrams, emoji trigrams, websearch_to_tsquery, FTS5 MATCH), embed registry + MRL truncation, UUIDv7 temporal bounds, WebVTT/SRT/RTTM captions, BPE token estimator, MRR/recall/precision/NDCG eval, Haversine spatial, HTTP Range, wallet- style address, graph maintenance (SNN/PFNET/Louvain), document-type registry + auto-detect, circuit breaker + retry, provider slug + runtime config, link-type rule classifier. Run via pytest --noconftest tests/test_algorithms.py See hanzoai/brain/PARITY.md for the cross-runtime contract.