/AI-Chatbot

AI Chatbot using OpenAI api

Primary LanguageTypeScriptMIT LicenseMIT

AI chatbot

AI Chatbot is a fully optimized UI for AI Chats.

GitHub License

Running Locally

Pre environment

  1. Node: Check that both your development environment and deployment environment are using Node v18 or later. You can use nvm to manage multiple node versions locally。

     node -v
  2. PNPM: We recommend using pnpm to manage dependencies. If you have never installed pnpm, you can install it with the following command:

     npm i -g pnpm
  3. OPENAI_API_KEY: Before running this application, you need to obtain the API key from OpenAI. You can register the API key at https://beta.openai.com/signup.

Getting Started

  1. Install dependencies

     pnpm install
  2. Run the application, the local project runs on http://localhost:3000/

     pnpm run dev
  3. Add your OpenAI API key to the settings panel.