ScottzillaSystems commited on
Commit
b69cdd6
ยท
verified ยท
1 Parent(s): fafcc25

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -7
README.md CHANGED
@@ -1,13 +1,46 @@
1
  ---
2
- title: Conversation Memory
3
- emoji: ๐Ÿ”ฅ
4
- colorFrom: pink
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 6.14.0
8
- python_version: '3.13'
9
- app_file: app.py
10
  pinned: false
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Conversation Memory System
3
+ emoji: ๐Ÿ’พ
4
+ colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
 
 
 
7
  pinned: false
8
  ---
9
 
10
+ # ๐Ÿ’พ Conversation Memory System
11
+
12
+ SQLite-backed conversation tracker with text search, semantic search, and Markdown export. Fully offline.
13
+
14
+ ## Features
15
+ - ๐Ÿ’พ **SQLite persistence** โ€” no external services
16
+ - ๐Ÿ” **Text search** โ€” LIKE queries across all memories
17
+ - ๐Ÿงฎ **Vector embeddings** โ€” semantic search when `sentence-transformers` is installed
18
+ - ๐Ÿ“ค **Export** โ€” Markdown for any thread or all conversations
19
+ - ๐Ÿ”Œ **Zero external APIs** โ€” works fully offline
20
+
21
+ ## Usage
22
+
23
+ ### Save a message
24
+ Use the **Save** tab to store conversations from any source (user, assistant, system, agent-zero).
25
+
26
+ ### Search
27
+ - **Text search**: Fast LIKE-based search across all message content
28
+ - **Semantic search**: Requires `sentence-transformers` (auto-detected)
29
+
30
+ ### Export
31
+ Export individual threads or all conversations to Markdown.
32
+
33
+ ## API Integration
34
+ ```python
35
+ import requests
36
+
37
+ # Save a message
38
+ requests.post("https://scottzillasystems-conversation-memory.hf.space/api/save", json={
39
+ "role": "user",
40
+ "content": "Hello!",
41
+ "thread_id": "my-thread"
42
+ })
43
+
44
+ # Search
45
+ requests.get("https://scottzillasystems-conversation-memory.hf.space/api/search?q=hello")
46
+ ```