Skip to content

ivstudio/ai-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

POC for an AI chatbot built with React and Express.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors