Skip to content

Commit 89fadff

Browse files
committed
docs: add unified router usage to Omni-SimpleMem Quick Start
1 parent e2054f2 commit 89fadff

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,9 +622,21 @@ Built on three principles: **Selective Ingestion** (entropy-driven filtering for
622622

623623
### ⚡ Quick Start
624624

625+
**Via unified router** (recommended):
626+
627+
```python
628+
import simplemem_router as simplemem
629+
630+
mem = simplemem.create() # auto mode — omni backend auto-selected on first multimodal call
631+
mem.add_text("User loves hiking in the Rocky Mountains.", tags=["session_id:D1"])
632+
mem.add_image("photo.jpg", tags=["session_id:D1"])
633+
result = mem.query("What does the user enjoy?", top_k=5)
634+
```
635+
636+
**Or directly**:
637+
625638
```bash
626-
cd OmniSimpleMem
627-
pip install -e .
639+
cd OmniSimpleMem && pip install -e .
628640
```
629641

630642
```python

0 commit comments

Comments
 (0)