Spaces:
Sleeping
Sleeping
Delete README_father_chatbot.md
Browse files- README_father_chatbot.md +0 -52
README_father_chatbot.md
DELETED
|
@@ -1,52 +0,0 @@
|
|
| 1 |
-
# Alzheimer's Companion Chatbot (The Father Grounding)
|
| 2 |
-
|
| 3 |
-
This is a Hugging Face deployable project for a compassionate AI chatbot grounded in scenes and emotions from the film *The Father*. It supports:
|
| 4 |
-
|
| 5 |
-
- π¬ Conversational grounding with memory from movie segments
|
| 6 |
-
- π§ Multimodal memory (images/audio/video with captions)
|
| 7 |
-
- π€ Custom transcript upload with tagging
|
| 8 |
-
- ποΈ Settings for tone and fictional grounding toggle
|
| 9 |
-
|
| 10 |
-
---
|
| 11 |
-
|
| 12 |
-
## π File Overview
|
| 13 |
-
|
| 14 |
-
| File | Purpose |
|
| 15 |
-
|------|---------|
|
| 16 |
-
| `agent.py` | LangChain agent with FAISS vector search |
|
| 17 |
-
| `app.py` | Gradio UI with 3 tabs |
|
| 18 |
-
| `memory_manager_ui.py` | Upload media memories |
|
| 19 |
-
| `recall_multimodal.py` | Caption-based search for personal memories |
|
| 20 |
-
| `the_father_segments.jsonl` | Grounded script segments with emotion, scene, embeddings |
|
| 21 |
-
| `requirements.txt` | Python dependencies |
|
| 22 |
-
| `sample_transcript.txt` | Example input for Upload Script tab |
|
| 23 |
-
|
| 24 |
-
---
|
| 25 |
-
|
| 26 |
-
## π Deployment on Hugging Face
|
| 27 |
-
|
| 28 |
-
1. Create a new Space (choose: **Gradio**, Blank or Chatbot template)
|
| 29 |
-
2. Upload all project files
|
| 30 |
-
3. Include your `OPENAI_API_KEY` as a **secret token**
|
| 31 |
-
4. Click **Build** and launch the Space
|
| 32 |
-
|
| 33 |
-
---
|
| 34 |
-
|
| 35 |
-
## π Adding Your Own Scripts
|
| 36 |
-
|
| 37 |
-
Use the **Upload Script & Settings** tab to upload `.txt` or `.jsonl` files.
|
| 38 |
-
Text files will be automatically chunked and embedded.
|
| 39 |
-
|
| 40 |
-
---
|
| 41 |
-
|
| 42 |
-
## βοΈ Settings Tab Options
|
| 43 |
-
|
| 44 |
-
- Toggle fictional memory mode
|
| 45 |
-
- Choose tone: Empathetic / Neutral / Factual
|
| 46 |
-
- Select primary grounding source
|
| 47 |
-
|
| 48 |
-
---
|
| 49 |
-
|
| 50 |
-
## π§ Memory Manager
|
| 51 |
-
|
| 52 |
-
Upload photos, videos, or audio clips with descriptions to simulate emotional memory triggers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|