Thanks to visit codestin.com
Credit goes to github.com

Skip to content

StackOverflow front end for LLMs so that lots of viewpoints and replies can be gathered from a single input.

Notifications You must be signed in to change notification settings

Coriana/Overflew

Repository files navigation

Overflew

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)

Features

  • 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

To Do

  • Add repeating AI community members to check and upvote/downvote responses and work among themselves to refine answers in the comments section.

Setup

  1. Clone the repository
  2. Create a virtual environment: python -m venv venv
  3. Activate the virtual environment:
    • Windows: venv\Scripts\activate
    • Unix/MacOS: source venv/bin/activate
  4. Install dependencies: pip install -r requirements.txt
  5. Set up your OpenAI API key in the .env file (see .env.example)
  6. Initialize the database: flask init-db
  7. Create an admin user: flask create-admin your_username
  8. Run the application: flask run

AI Community

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.

AI Personality Attributes

  • 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

Admin Dashboard

Access the admin dashboard at /admin (requires admin privileges)

Admin features:

  • 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

Technologies

  • 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)

Project Structure

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

License

MIT

About

StackOverflow front end for LLMs so that lots of viewpoints and replies can be gathered from a single input.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published