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.
- Install Node.js and npm.
- Clone the repository:
git clone https://github.com/e-khalifa/AI-Chat.git cd ai-chat
npm install
Create a .env
file in the root directory and add your OpenAI API key:
VITE_OPEN_AI_API_KEY=your_api_key_here
npm run dev
This will run the app on http://localhost:5173.