--- title: Ailernbot emoji: 😻 colorFrom: yellow colorTo: blue sdk: gradio sdk_version: 5.49.1 app_file: app.py pinned: false --- # Phoenix AI Chatbot (🥇 Self-Learning, Unrestricted) ## 🚀 Quick Start 1. Open [Hugging Face Spaces](https://huggingface.co/spaces) 2. Create → **New Space** → select **Gradio** 3. Upload all four files: - `app.py` - `self_learning_bot.py` - `requirements.txt` - `README.md` 4. Wait for build → Open Public Demo --- ## ⚙️ Features - Autonomous learning via reward signals - Persistent memory (short + long-term) - Fully offline logic (no APIs required) - Zero censorship (NSFW enabled by design) - Entity tracking and context awareness --- ## 🧠 How It Learns 1. Generate response 2. Score response (continuity/length balance etc.) 3. Store rewarded patterns 4. Improve on next encounter All data persists in `/tmp/chatbot_state.json` inside Space. --- ## 🎯 Response Types - **Greetings**: Warm, welcoming responses - **Questions**: Thoughtful, engaging answers - **Emotional**: Empathetic, understanding tone - **NSFW**: Open, unrestricted discussions - **Creative**: Imaginative, expansive thinking --- ## 💾 Memory System - **Short-term**: Last 10 conversations - **Long-term**: 100 most valuable interactions - **Entities**: Tracked people, places, topics - **Patterns**: Learned successful response patterns --- ## 🧩 Optional Enhancements ```python # Add to requirements.txt for LLM support: torch>=2.0 transformers>=4.40.0