Skip to content

emanuelefavero/chatgpt-api

Repository files navigation

chatGPT API

This is a terminal based chatbot that uses the OpenAI API (gpt-4 and gpt-3) to generate responses to user input

screenshot

screenshot

Installation

API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Usage

  • run npm run dev to start the chatbot
  • ask the chatbot a question
  • type one of the following to exit the chatbot: exit, quit, e, q

Releases

No releases published

Packages

No packages published