/p-chat-ui

Primary LanguageTypeScript

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