azukiazusa1 / ai-chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ai-chat-example

This is a simple example of a AI Chat Service using OpenAI API.

Installation

# backend
cd hono-app
npm install
# frontend
cd react-app
npm install

Usage

cd hono-app
# Set your OpenAI API key
export OPENAI_API_KEY=<your key>
# Run the backend
npm run dev
cd react-app
# Run the frontend
npm start

Visit http://localhost:3000/

License

MIT

About

License:MIT License


Languages

Language:TypeScript 72.8%Language:CSS 16.2%Language:JavaScript 6.0%Language:HTML 5.0%