/nodeBOT

An interactive Node.js application that uses Google's Generative AI for chatbot functionality. It also displays author info, reads a README file, and stores & displays past conversations.

Primary LanguageJavaScriptMIT LicenseMIT

 @@@@@@@  @@@  @@@   @@@@@@   @@@@@@@     @@@@@@@    @@@@@@   @@@@@@@  
@@@@@@@@  @@@  @@@  @@@@@@@@  @@@@@@@     @@@@@@@@  @@@@@@@@  @@@@@@@  
!@@       @@!  @@@  @@!  @@@    @@!       @@!  @@@  @@!  @@@    @@!    
!@!       !@!  @!@  !@!  @!@    !@!       !@   @!@  !@!  @!@    !@!    
!@!       @!@!@!@!  @!@!@!@!    @!!       @!@!@!@   @!@  !@!    @!!    
!!!       !!!@!!!!  !!!@!!!!    !!!       !!!@!!!!  !@!  !!!    !!!    
:!!       !!:  !!!  !!:  !!!    !!:       !!:  !!!  !!:  !!!    !!:    
:!:       :!:  !:!  :!:  !:!    :!:       :!:  !:!  :!:  !:!    :!:    
 ::: :::  ::   :::  ::   :::     ::        :: ::::  ::::: ::     ::    
 :: :: :   :   : :   :   : :     :        :: : ::    : :  :      :     

SDI Blended Project 1 Scaffold

Chatbot Application

This is a chatbot application that uses Google's Generative AI to interact with users.

Installation

  1. Clone the repository
  2. Run npm install @google/generative-ai to install dependencies
  3. Run npm install dotenv to install secret dependencies
  4. Create a .env file in the root directory and add your API key:
  5. Create a .gitignore file in the root directory and add your .env

What to put inside .env file

API_KEY=your_api_key_here

Usage

Start the application by running node chatbot.js in your terminal. You will be presented with a menu:

  1. README.md
  2. About me
  3. Chat with Bot
  4. Display prior conversations
  5. Exit

Select an option by entering the corresponding number.

License

This project is licensed under the MIT License.

Contact

If you have any questions, feel free to reach out.

Built with Gemini

Google

All powered by:

My Skills