pub struct SqliteVecDecisionMemory { /* private fields */ }Implementations§
Source§impl SqliteVecDecisionMemory
impl SqliteVecDecisionMemory
pub async fn open( path: &str, embedder: Arc<dyn EmbeddingProvider>, ) -> Result<Self, ClaudeError>
pub async fn open_memory( embedder: Arc<dyn EmbeddingProvider>, ) -> Result<Self, ClaudeError>
pub fn with_namespace(self, ns: Namespace) -> Self
Trait Implementations§
Source§impl DecisionMemory for SqliteVecDecisionMemory
impl DecisionMemory for SqliteVecDecisionMemory
Source§fn record<'life0, 'life1, 'async_trait>(
&'life0 self,
decision: &'life1 Decision,
) -> Pin<Box<dyn Future<Output = Result<(), ClaudeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn record<'life0, 'life1, 'async_trait>(
&'life0 self,
decision: &'life1 Decision,
) -> Pin<Box<dyn Future<Output = Result<(), ClaudeError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Persist a decision so it can be recalled later. Best-effort —
implementors that fail to record should log and return Ok so
the decider’s hot path doesn’t surface storage errors.
Auto Trait Implementations§
impl Freeze for SqliteVecDecisionMemory
impl !RefUnwindSafe for SqliteVecDecisionMemory
impl Send for SqliteVecDecisionMemory
impl Sync for SqliteVecDecisionMemory
impl Unpin for SqliteVecDecisionMemory
impl UnsafeUnpin for SqliteVecDecisionMemory
impl !UnwindSafe for SqliteVecDecisionMemory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more