JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q28294F
  • License MIT

A simple chat bot which runs on a terminal. Made using OpenAI's API

Package Exports

  • termcb
  • termcb/bin/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (termcb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ChatBot using OpenAI's API

This is a command line interface (CLI) application built using Node.js that uses OpenAI's API for natural language processing.

Installation

To install this CLI application, use the following command:

npm i termcb -g

This will install termcb globally on your system.

Getting started

To start using the chat bot, enter the following command in your terminal:

termcb

You will be prompted to enter your OpenAI API key. Once you have entered your key, the chat bot will start and you can start chatting with it.

Users can exit the chat bot by typing "exit" and can enter multiple lines of messages using the backtick "`" character.

Usage

Once you have started the chat bot, you will see a prompt asking you to enter your message. Type your message and hit enter to send it to the chat bot. The chat bot will respond with an answer based on the context provided by your message.

To enter multiple lines of message, use the backtick "`" character at the beginning and end of your message block.

Type "exit" and hit enter to close the chat bot.

Acknowledgements

This chat bot was built using the following technologies:

  • Node.js
  • OpenAI API

License

This project is licensed under the MIT License - see the LICENSE.md file for details.