https://github.com/ivstudio/ai-agent
POC for an AI chatbot built with React and Express.
https://github.com/ivstudio/ai-agent
Last synced: about 1 year ago
JSON representation
POC for an AI chatbot built with React and Express.
- Host: GitHub
- URL: https://github.com/ivstudio/ai-agent
- Owner: ivstudio
- Created: 2025-02-07T14:36:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-08T03:37:22.000Z (over 1 year ago)
- Last Synced: 2025-02-08T04:19:22.274Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 219 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Chatbot POC
This is a POC for an AI chatbot built with React and Express.
## Key Features
- HTTP Streaming.
- Live Message Cancellation โ Stop AI responses mid-stream if needed.
- Message Role Support โ Maintains structured chat roles (user, assistant, system).
- Typing Indicator โ Displays a loading state while AI is generating a response.
- Auto-Scrolling โ Keeps the chat scrolled to the latest message.
- Fully Customizable UI
- Submit messages using the Enter key or submit button.
- Send messages to the AI agent via a controlled input field
## Stack
- Frontend: React + TypeScript
- Backend: Express.js
- AI: OpenAI API
## ๐Getting Started
1. `cd client && npm install` and run `npm run dev`
2. `cd server && npm install` and run `npm run dev`
3. Add your OpenAI API key to `server/.env`.