Spaces:
Sleeping
Sleeping
Download rust-memory-service/src/lib.rs from AmaniQuery/amaniquery-agent: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/spaces/AmaniQuery/amaniquery-agent/resolve/main/rust-memory-service/src/lib.rs
- Command line
-
hf download hf://spaces/AmaniQuery/amaniquery-agent/rust-memory-service/src/lib.rs
-
curl -L -o lib.rs https://huggingface.co/spaces/AmaniQuery/amaniquery-agent/resolve/main/rust-memory-service/src/lib.rs
694 Bytes
| //! Memory Service for RAG Agents | |
| //! | |
| //! High-performance Rust implementation of the memory management layer. | |
| pub mod encryption; | |
| pub mod graph; | |
| pub mod memvid; | |
| pub mod protocol; | |
| pub mod service; | |
| pub mod storage; | |
| pub use graph::{Edge, KnowledgeGraph, LegalEdge, LegalNode, Node}; | |
| pub use protocol::{Frame, FrameHeader, MemoryProtocolCodec, MessageType}; | |
| pub use service::{MemoryService, MemvidService, ServiceConfig}; | |
| pub use storage::{MemoryEntry, MemoryQuery, MemoryStore, MemoryType}; | |
| // Memvid exports | |
| pub use memvid::{ | |
| FrameBuilder, MemoryCapsule, MemvidError, PutOptions, SearchHit, | |
| SearchRequest as MemvidSearchRequest, SearchResponse as MemvidSearchResponse, SmartFrame, | |
| }; | |