Giter Site home page Giter Site logo

geminichatbot's Introduction

ChatBot using Gemini API with MongoDB Integration and Docker Deployment

This project aims to create a ChatBot using the Gemini API for natural language processing. The conversations with the ChatBot will be stored in a MongoDB database for future reference and analysis. Additionally, the project utilizes Docker to containerize the ChatBot application and MongoDB, enabling easy deployment and communication between the two containers.

Features

  • Utilizes Gemini API for natural language processing and ChatBot functionality.
  • Stores conversations in a MongoDB database for persistence and analysis.
  • Dockerized deployment for easy setup and management.
  • Enables communication between the ChatBot application and MongoDB container.

Technologies Used

  • Gemini API
  • MongoDB
  • Docker

Setup Instructions

  1. Clone the repository from GitHub:
git clone https://github.com/JeddineO/GeminiChatbot.git
  1. Navigate to the project directory:
cd GeminiChatbot
  1. Set up Gemini API credentials:

    • Obtain API credentials from Gemini and replace them in the appropriate configuration file (e.g., app.js).
  2. Configure MongoDB connection:

    • Update the MongoDB connection settings in the ChatBot application to point to your MongoDB instance.
  3. Build Docker containers:

    • Use Dockerfile(s) provided in the repository to build Docker images for both the ChatBot application and MongoDB container.
  4. Run Docker containers:

    • Start both Docker containers, ensuring they can communicate with each other.
  5. Test the setup:

    • Interact with the ChatBot to verify its functionality and ensure conversations are being stored in MongoDB.

Usage

  • Once the setup is complete, users can interact with the ChatBot using predefined commands or natural language input.
  • Conversations will be stored in the MongoDB database, allowing for analysis and retrieval of past interactions.

Contribution Guidelines

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make changes and commit them with descriptive commit messages.
  4. Push your changes to your fork.
  5. Submit a pull request to the main repository's master branch.

geminichatbot's People

Contributors

jeddineo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.