Skip to content

A starter example project for OpenAI Chat Completion Streaming app using React (Vite), and Bun.

Notifications You must be signed in to change notification settings

mattlgroff/chat-completion-streaming-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Completion Streaming Starter

This is a starter project for a quick start to develop a chat completion streaming application. It is based on Bun and React.

How to run locally

Setup your .env using the example.env file in the /backend and /frontend folders. Then run the following commands:

docker compose up --build

For example on the /backend/.env you will need an OPENAI_API_KEY or MISTRAL_API_KEY

Chat Completion Streaming Starter Frontend

React + Vite + Tailwind + shadcn (UI Components)

Chat Completion Streaming Starter Backend

Bun

Supported Models

  • OpenAI GPT-4
  • Mistral Medium
  • Google Gemini Pro

About

A starter example project for OpenAI Chat Completion Streaming app using React (Vite), and Bun.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published