Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reflex-dev/reflex-chat
A ChatGPT clone built in Reflex
https://github.com/reflex-dev/reflex-chat
chat-application chatgpt llms python
Last synced: 9 days ago
JSON representation
A ChatGPT clone built in Reflex
- Host: GitHub
- URL: https://github.com/reflex-dev/reflex-chat
- Owner: reflex-dev
- License: mit
- Created: 2023-05-01T02:04:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-15T20:09:17.000Z (6 months ago)
- Last Synced: 2024-05-16T16:05:56.985Z (6 months ago)
- Topics: chat-application, chatgpt, llms, python
- Language: Python
- Homepage: https://webui-teal-star.reflex.run
- Size: 568 KB
- Stars: 219
- Watchers: 7
- Forks: 61
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-privacy-front-ends - Reflex Chat - An user-friendly ChatGPT clone built in Reflex. `Python/MIT`. (List / ChatGPT)
- awesome-ChatGPT-repositories - reflex-chat - A ChatGPT clone built in Reflex (Others)
README
# Reflex Chat App
A user-friendly, highly customizable Python web app designed to demonstrate LLMs in a ChatGPT format.
# Getting Started
You'll need a valid OpenAI subscription - save your API key under the environment variable `OPENAI_API_KEY`:
```bash
export OPENAI_API_KEY="YOUR_OPENAI_API_KEY" # replace me!
```### 🧬 1. Clone the Repo
```bash
git clone https://github.com/reflex-dev/reflex-chat.git
```### 📦 2. Install Reflex
To get started with Reflex, you'll need:
- Python 3.7+
- Node.js 12.22.0+ \(No JavaScript knowledge required!\)
- Pip dependencies: `reflex`, `openai`Install `pip` dependencies with the provided `requirements.txt`:
```bash
pip install -r requirements.txt
```### 🚀 3. Run the application
Initialize and run the app:
```
reflex init
reflex run
```# Features
- 100% Python-based, including the UI, using Reflex
- Create and delete chat sessions
- The application is fully customizable and no knowledge of web dev is required to use it.
- See https://reflex.dev/docs/styling/overview for more details
- Easily swap out any LLM
- Responsive design for various devices# Contributing
We welcome contributions to improve and extend the LLM Web UI.
If you'd like to contribute, please do the following:
- Fork the repository and make your changes.
- Once you're ready, submit a pull request for review.# License
The following repo is licensed under the MIT License.