Download src/adapters/mod.rs from AutomateCapture/HAT: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/AutomateCapture/HAT/resolve/main/src/adapters/mod.rs
- Command line
-
hf download hf://AutomateCapture/HAT/src/adapters/mod.rs
-
curl -L -o mod.rs https://huggingface.co/AutomateCapture/HAT/resolve/main/src/adapters/mod.rs
510 Bytes
| //! # Adapters | |
| //! | |
| //! Swappable implementations of port traits. | |
| //! | |
| //! This is where the hexagonal architecture meets reality: | |
| //! - Storage adapters: Memory, NVMe | |
| //! - Index adapters: Flat (brute force), HNSW (approximate) | |
| //! - Attention state serialization | |
| //! - Python bindings (when enabled) | |
| //! | |
| //! Each adapter implements one or more port traits. | |
| //! Adapters can be swapped without changing core logic. | |
| pub mod storage; | |
| pub mod index; | |
| pub mod attention; | |
| pub mod python; | |