1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! # ClawDB Rust Client
//!
//! Official Rust SDK for [ClawDB](https://clawdb.io) — the cognitive database for AI agents.
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use clawdb_client::ClawDBClient;
//!
//! #[tokio::main]
//! async fn main() -> clawdb_client::Result<()> {
//! let db = ClawDBClient::auto_provision().await?;
//!
//! // Store a memory
//! let id = db.memory().remember("The user prefers concise answers").await?;
//! println!("Stored: {id}");
//!
//! // Search semantically
//! let results = db.memory().search("user preferences").top_k(5).call().await?;
//! for r in results {
//! println!(" [{:.2}] {}", r.score, r.content);
//! }
//!
//! db.close().await;
//! Ok(())
//! }
//! ```
pub use ClawDBBuilder;
pub use ;
pub use ;
pub use ;
pub type Result<T> = ;
pub const VERSION: &str = env!;
/// Prelude — import this for the most commonly used types.