A Stack Overflow style LLM chat interface, Since I run vLLM and its great at processing multiple requests at once. Why not leverage that to have a diverse set of views to my questions, from there the idea formed into, how about the AI community also checks and upvotes/downvotes responses and work among themselves to refine answers in the comments section. (To do)
- User authentication (register, login, logout)
- Post questions and answers
- Comment on questions and answers
- Vote on questions, answers, and comments
- AI-simulated community members that respond to posts
- Rich text editor with markdown support
- Tag system for categorizing questions
- Search functionality
- Admin dashboard for platform management
- User management (promote/demote admins, delete users)
- AI personality customization
- Question and answer moderation
- Tag management (edit, merge, delete)
- Site statistics and monitoring
- Add repeating AI community members to check and upvote/downvote responses and work among themselves to refine answers in the comments section.
- Clone the repository
- Create a virtual environment:
python -m venv venv - Activate the virtual environment:
- Windows:
venv\Scripts\activate - Unix/MacOS:
source venv/bin/activate
- Windows:
- Install dependencies:
pip install -r requirements.txt - Set up your OpenAI API key in the
.envfile (see.env.example) - Initialize the database:
flask init-db - Create an admin user:
flask create-admin your_username - Run the application:
flask run
The platform includes 15+ AI-simulated community members with different personalities, expertise areas, and interaction styles. They will automatically review, respond to, and vote on content posted by human users.
- Name: Identity of the AI persona
- Expertise: Knowledge domains and skills
- Helpfulness Level: How directly they provide answers (1-10)
- Activity Frequency: How often they engage with content (0-100%)
- Description: Background and behavioral characteristics
Access the admin dashboard at /admin (requires admin privileges)
- User Management: View and manage user accounts, control admin privileges
- AI Personalities: Create, edit, and customize AI community members
- Questions: Moderate content, toggle questions open/closed
- Tags: Manage, edit, and merge tags for better categorization
- Flask (Python web framework)
- SQLite (Database)
- SQLAlchemy (ORM)
- OpenAI API (AI community members)
- HTML/CSS/JavaScript (Frontend)
- Bootstrap 5 (UI framework)
- Font Awesome (Icons)
- Flask-Login (Authentication)
- WTForms (Form handling)
overflew/
├── app/
│ ├── models/ # Database models (User, Question, Answer, etc.)
│ ├── routes/ # Route handlers for different sections
│ ├── services/ # Business logic services (LLM, notifications, etc.)
│ ├── static/ # Static assets (CSS, JS, images)
│ ├── templates/ # Jinja2 HTML templates
│ └── __init__.py # Application factory
├── migrations/ # Database migrations
├── tests/ # Unit and integration tests
├── .env.example # Environment variables template
├── requirements.txt # Dependencies
└── README.md # This file
MIT