Welcome to the Google Gemini ChatBot project, built using Node.js! This application is designed to provide a seamless conversational experience, leveraging the capabilities of the Google Gemini API.
The Google Gemini ChatBot is integrated in a Node.js application that interacts with users through natural language processing, offering a wide range of functionalities powered by the Google Gemini API. Whether you need information, assistance, or just a friendly chat, this bot is here to help.
- Natural Language Understanding
- Contextual Conversations
- Integration with Google Gemini API
- Easy Setup and Configuration
Before you begin, ensure you have met the following requirements:
- Node.js (version 18 or higher)
- npm (Node package manager)
- Google Gemini API key
Follow these steps to set up and run the application:
-
Clone the repository:
git clone https://github.com/yourusername/nodejs_ai_chatbot.git cd nodejs_ai_chatbot
-
Install the dependencies:
npm install
-
Add your Google Gemini API key in
.env
file of the root directory:GEMINI_API_KEY=YOUR_API_KEY
- First, get the initial code from Google AI Studio
- Next, click 'Get API key'
- then 'Create API key'
- Select your Google Cloud project and click 'Create'
To start the chatbot application, run:
node index.js