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
//! Qdrant-backed implementation of `klieo_core::memory::LongTermMemory`.
//!
//! `MemoryQdrant::new` connects to a Qdrant endpoint, ensures the
//! per-scope collection exists with the embedder's vector dimension,
//! and returns an `Arc<dyn LongTermMemory>` ready to drop into
//! `klieo_core::AgentContext`.
//!
//! # Example
//!
//! ```no_run
//! use klieo_memory_qdrant::{MemoryQdrant, QdrantConfig, DummyEmbedder};
//! use std::sync::Arc;
//!
//! async fn example() {
//! let cfg = QdrantConfig::new("http://127.0.0.1:6334");
//! let mem = MemoryQdrant::new(cfg, Arc::new(DummyEmbedder)).await.unwrap();
//! let _ = mem.long_term;
//! }
//! ```
//!
//! # What's implemented
//!
//! Only `LongTermMemory`. `ShortTermMemory` and `EpisodicMemory` are
//! not Qdrant-shaped — see `klieo-memory-sqlite` and
//! `klieo-memory-neo4j` for those.
pub use ;
pub use FakeEmbedder;
pub use QdrantConfig;
pub use QdrantLongTerm;
pub use MemoryQdrant;