An open API service indexing awesome lists of open source software.

https://github.com/e-khalifa/ai-chat

A simple and user-friendly web application built with React and Material-UI (MUI). It uses OpenAI's API to enable smart conversations, and includes a conversation history feature, allowing users to revisit past chats.
https://github.com/e-khalifa/ai-chat

gpt4 mui openai openai-api react reactvite

Last synced: 9 months ago
JSON representation

A simple and user-friendly web application built with React and Material-UI (MUI). It uses OpenAI's API to enable smart conversations, and includes a conversation history feature, allowing users to revisit past chats.

Awesome Lists containing this project

README

          

# AI-Chat
A simple and user-friendly web application built with React and Material-UI (MUI). It uses OpenAI's API to enable smart conversations, and includes a **conversation history** feature, allowing users to revisit past chats.

## Table of Contents
1. [📸 Demo](#-demo)
2. [🚀 Getting Started](#-getting-started)

## 📸 Demo



## 🚀 Getting Started
### Prerequisites
- Install **Node.js** and **npm**.
- Clone the repository:
```sh
git clone https://github.com/e-khalifa/AI-Chat.git
cd ai-chat
```

### Install Dependencies
```sh
npm install
```

### Set Up Environment Variables
Create a `.env` file in the root directory and add your OpenAI API key:
```sh
VITE_OPEN_AI_API_KEY=your_api_key_here
```

### Run the Development Server
```sh
npm run dev
```
This will run the app on [http://localhost:5173](http://localhost:5173).