Update README.md
Browse files
README.md
CHANGED
@@ -8,3 +8,24 @@ pinned: false
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
---
|
9 |
|
10 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
11 |
+
|
12 |
+
## 📦 Data Persistence Notice
|
13 |
+
|
14 |
+
This Space uses **Flowise with local Chroma DB and SQLite** for storing upserted documents and chat history.
|
15 |
+
|
16 |
+
### 🔒 Data will persist **only if saved to `/data`**
|
17 |
+
- This Space is configured to store vector data in `/data/chroma`
|
18 |
+
- Upsert records are saved in `/data/flowise.db`
|
19 |
+
- These will persist across **restarts**
|
20 |
+
|
21 |
+
### ⚠️ However, all data will be lost if the Space is rebuilt
|
22 |
+
This happens when:
|
23 |
+
- Any file (like the Dockerfile) is changed and pushed
|
24 |
+
- The Space is restarted manually after a code change
|
25 |
+
|
26 |
+
### ✅ Best Practice for Students
|
27 |
+
- Wait until the bot is working before uploading documents
|
28 |
+
- Do **not** push new code or commit changes once content is uploaded
|
29 |
+
- If your data disappears, it’s likely because the Space was rebuilt
|
30 |
+
|
31 |
+
|