Reflex Cloud - Fast, secure & scalable hosting. One command to deploy.

Image for Reflex App: reflex-chat
Back to Templates

reflex-chat

Real-time chat application with multiple rooms using Reflex and ChatGPT

Created by

Reflex

Chat App

The following is a python chat app. It is 100% Python-based, including the UI, all using Reflex. Easily create and delete chat sessions. The application is fully customizable and no knowledge of web dev is required to use it and it has responsive design for various devices.

Usage

To run this app locally, install Reflex and run:

Set up your OpenAI API key:

Install the dependencies and run the app:

Customizing the Inference

You can customize the app by modifying the chat/state.py file replacing model = self.openai_process_question with that of other LLM providers and writing your own process question function.

More Templates

View All

Image preview for app: customer_data_app
customer_data_app

A Reflex app for customer data management with visualizations

by

Reflex

Image preview for app: ci_template
ci_template

CI/CD job dashboard with real-time updates and controls

by

Reflex

Image preview for app: api_admin_panel
api_admin_panel

Interactive dashboard for API requests and response visualization

by

Reflex

Newsletter

Get the latest updates and news about Reflex

$ pip install reflex

$ reflex init

$ reflex run

Need help? Learn how to use Reflex.

Built with Reflex