Expand description
Database layer for agentroot
Provides SQLite-based storage with:
- FTS5 full-text search
- sqlite-vec vector storage
- Content-addressable storage
Re-exports§
pub use metadata::MetadataBuilder;pub use metadata::MetadataFilter;pub use metadata::MetadataValue;pub use metadata::UserMetadata;pub use vectors::CacheLookupResult;
Modules§
Structs§
- Collection
Info - Collection info
- Context
Info - Context info
- Database
- Main database handle
- Document
Insert - Document insert parameters
Functions§
- docid_
from_ hash - Generate short docid (first 6 chars of hash)
- hash_
content - Hash content using SHA-256