marekweb / p-chat-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LLM Chat application demo

This is a demo chat application UI for interacting with a Chat Completion LLM model such as OpenAI's gpt-4 and gpt-3.5-turbo.

Created with:

How to run

  1. Run npm install
  2. Run npm start to start the application.
  3. Open the browser to http://localhost:5173
  4. Enter your OpenAI API key in Settings
  5. Start a conversation by sending a first message.
  6. Click "New Conversation" afterwards to reset the conversation.

Scripts

  • npm start - start dev server and open browser
  • npm test - launch test runner

About


Languages

Language:TypeScript 96.8%Language:HTML 1.8%Language:JavaScript 1.1%Language:CSS 0.2%