termcb

1.0.7 • Public • Published

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.

Package Sidebar

Install

npm i termcb

Weekly Downloads

1

Version

1.0.7

License

MIT

Unpacked Size

5.38 kB

Total Files

6

Last publish

Collaborators

  • vabger