https://github.com/pierrebrunelle/infinite-memory-discord-bot
A context-aware Discord bot with semantic search and conversational memory. Uses Pixeltable + OpenAI for human-like responses
https://github.com/pierrebrunelle/infinite-memory-discord-bot
chatbot context-aware discord-bot discord-py infinite-memory npl openai pixeltable rag semantic-search vector-embeddings
Last synced: 2 months ago
JSON representation
A context-aware Discord bot with semantic search and conversational memory. Uses Pixeltable + OpenAI for human-like responses
- Host: GitHub
- URL: https://github.com/pierrebrunelle/infinite-memory-discord-bot
- Owner: pierrebrunelle
- Created: 2024-11-13T23:44:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-16T20:41:32.000Z (over 1 year ago)
- Last Synced: 2025-06-15T18:53:23.872Z (about 1 year ago)
- Topics: chatbot, context-aware, discord-bot, discord-py, infinite-memory, npl, openai, pixeltable, rag, semantic-search, vector-embeddings
- Language: Python
- Homepage: https://discord.com/application-directory/1304932122611552346
- Size: 107 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🤖 PixelBot: Infinite Memory Discord Assistant
[](https://www.python.org/downloads/)
[](https://github.com/Rapptz/discord.py)
[](https://pypi.org/project/pixeltable/)
[](https://railway.app/project/fdff26cf-bb1b-4fc6-ae40-76608785b337)
[](https://discord.gg/QPyqFYx2UN)
A Discord bot that remembers your conversations! Built with [Pixeltable](https://github.com/pixeltable/pixeltable) and OpenAI.
## 🎮 Try It Now!
Add PixelBot to your server instantly through the [Discord Application Directory](https://discord.com/application-directory/1304932122611552346)!
1. Click "Add to Server"
2. Follow Discord's authorization flow
3. Start chatting in servers and/or DMs!
## ✨ Features
- 🧠 **Perfect Memory**: Maintains context across entire conversations
- 🔍 **Smart Search**: Find past messages based on meaning, not just keywords
- 💬 **Natural Chat**: Responds like someone who remembers your preferences
- 📱 **DM Support**: Works in both servers and private messages
## 🚀 Build Your Own
### Option 1: Deploy Your Own Instance
Deploy your own version of PixelBot using, e.g., Railway:
[](https://railway.app/project/fdff26cf-bb1b-4fc6-ae40-76608785b337)
1. Click the Deploy button above
2. Connect your GitHub account
3. Configure environment variables:
- `DISCORD_TOKEN`
- `OPENAI_API_KEY`
4. Deploy!
### Option 2: Local Development
```bash
# Setup
git clone https://github.com/yourusername/PixelBot.git
cd PixelBot
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Configure
# Add to .env:
DISCORD_TOKEN=your-discord-token
OPENAI_API_KEY=your-openai-key
# Run
python bot.py
```
## 💡 Commands
- `/chat [question]`: Get context-aware responses
- `/search [query]`: Find similar past messages
- `/dm`: Start private chat session
## 🛠️ Built With
- [Pixeltable](https://github.com/pixeltable/pixeltable): AI Data Infrastructure
- [Discord.py](https://github.com/Rapptz/discord.py): For Discord integration
- [OpenAI GPT-4](https://openai.com): For natural language understanding
- [Railway](https://railway.app): For deployment and hosting
## 📚 Learn More
- [Documentation](https://docs.pixeltable.com/)
- [Discord Support](https://discord.gg/QPyqFYx2UN)
- [GitHub Issues](https://github.com/pixeltable/pixeltable/issues)
- [Railway Setup Guide](https://railway.app/project/fdff26cf-bb1b-4fc6-ae40-76608785b337)