reflex-chat  by reflex-dev

ChatGPT clone built in Reflex

created 2 years ago
315 stars

Top 86.9% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a user-friendly, highly customizable ChatGPT clone built entirely in Python using the Reflex framework. It's designed for developers and users looking to easily integrate and demonstrate Large Language Models (LLMs) in a familiar chat interface without requiring web development expertise.

How It Works

The application leverages the Reflex framework, which allows for the creation of full-stack web applications using only Python. This means both the backend logic and the frontend UI are written in Python, abstracting away the complexities of traditional web development stacks like JavaScript, HTML, and CSS. It integrates with OpenAI's API for LLM capabilities.

Quick Start & Requirements

  • Install:
    git clone https://github.com/reflex-dev/reflex-chat.git
    pip install -r requirements.txt
    reflex init
    reflex run
    
  • Prerequisites: Python 3.7+, Node.js 12.22.0+, OpenAI API key (set as OPENAI_API_KEY environment variable).
  • Links: Reflex Docs

Highlighted Details

  • 100% Python-based UI and backend.
  • Supports creating and deleting chat sessions.
  • Fully customizable with no web dev knowledge needed.
  • Easily swappable LLM integrations.
  • Responsive design for various devices.

Maintenance & Community

The project is part of the reflex-dev organization. Further community and contribution guidelines are available within the repository.

Licensing & Compatibility

Licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

Requires an OpenAI API key, meaning usage is dependent on OpenAI's service and pricing. The project is a demonstration clone and may not include all features or the robustness of production-grade ChatGPT.

Health Check
Last commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
15 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.