A simple, web-based, generative AI application featuring a chatbot built using the Google Gemini API.
This project was built with HTML, CSS and JavaScript.
- Clone the repository:
git clone https://github.com/Fidelisaboke/gemini-chatbot.git
cd gemini-chatbot
- Install the required packages:
npm install
- Create the
.env
file: The project requires an.env
file which can be created by copying the.env.example
file provided.
cp .env.example .env
-
Set up the environment: Update the variables present in the
.env
file. For further instructions on how to obtain your own API key, visit: Get a Gemini API Key -
Start the server:
node server.js
Open client/index.html
in your web browser. This will render the web application.
I would like to thank the creators of the following resources: