Commit 707756c
committed
Add in-memory vector store demos for chat and search
Introduce two new demo scripts: `chat_with_memory.py` for simulating conversations with in-memory message storage and semantic search, and `simple_search_demo.py` for demonstrating vector search capabilities without database setup. Additionally, a README.md file is added to provide an overview of the in-memory vector store demos, including prerequisites and usage patterns.
- `chat_with_memory.py`: Simulates a conversation, showcases message storage, retrieval, and semantic search.
- `simple_search_demo.py`: Demonstrates basic vector search with filtering and metadata.
- `README.md`: Overview of demos, installation instructions, and comparison with PostgreSQL-based solutions.
These additions enhance the usability and accessibility of the in-memory vector store for prototyping and learning purposes.1 parent bd97864 commit 707756c
File tree
14 files changed
+1320
-239
lines changed- demo
- pg-hybrid
- ram-store
- pylib
- store
- qdrant
- text
- test/store
14 files changed
+1320
-239
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
301 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
302 | 353 | | |
303 | | - | |
| 354 | + | |
304 | 355 | | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 356 | | |
309 | 357 | | |
310 | 358 | | |
| |||
0 commit comments