Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.9.0
metadata
title: Memory Chat with Hugging Face
emoji: π€
colorFrom: blue
colorTo: gray
sdk: gradio
app_file: app.py
pinned: false
license: mit
Hugging Face Memory Chat
A conversational AI application built with Hugging Face models that records and remembers user memories.
Features
- π€ Hugging Face model integration
- πΎ Memory storage and retrieval
- π¬ Simple conversational interface
- π Secure memory management
Setup
Install requirements:
pip install -r requirements.txtSet up Hugging Face API token:
export HUGGINGFACE_API_TOKEN=your_token_hereRun the application:
python app.py
Usage
The application provides a simple interface where you can:
- Have conversations with the AI
- The AI will automatically record important memories from your conversations
- Retrieve memories when relevant to the conversation
- View your memory timeline
Project Structure
hf-memory-chat/
βββ app.py # Main application
βββ memory_manager.py # Memory storage and retrieval
βββ chat_interface.py # Conversational interface
βββ config.py # Configuration settings
βββ requirements.txt # Python dependencies
βββ memories/ # Memory storage directory
βββ memories.json # Memory database
βββ timeline.md # Human-readable memory timeline
License
MIT License