paladin-memory 0.1.0

Memory adapters for the Paladin framework — Garrison (conversation history) and Sanctum (vector search)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Garrison adapters — conversation history storage.
//!
//! Re-exports available adapters based on enabled feature flags.

pub mod in_memory_garrison;
pub use in_memory_garrison::InMemoryGarrison;

#[cfg(feature = "sqlite")]
pub mod sqlite_garrison;
#[cfg(feature = "sqlite")]
pub use sqlite_garrison::SqliteGarrison;

#[cfg(feature = "content-processing")]
pub mod token_counter;
#[cfg(feature = "content-processing")]
pub use token_counter::{TiktokenCounter, TokenCounter, TokenCounterFactory};