Skip to content

raviraj-441/Personal-Assistant-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Personal Assistant Chatbot with Google Generative AI

Welcome to the repository for the Personal Assistant Chatbot project. This chatbot is designed to assist users in various tasks using the Google Generative AI API. It serves as a general-purpose chatbot that you can integrate directly into your projects and further train according to specific requirements.

Overview

This project implements a conversational chatbot that leverages the capabilities of Google Generative AI for natural language processing. Users can interact with the chatbot by inputting messages, receiving responses, and terminating the chat seamlessly with the 'exit' command.

Getting Started

Prerequisites

  • Python
  • google.generativeai library
  • dotenv library

Setup

  1. Clone the repository
  2. Install dependencies
  3. Create a .env file in the project directory and add your Google Generative AI API key:PALM_API_KEY=your_api_key_here
  4. Run the chatbot:python chatbot.py

Usage

  • Type your messages to interact with the chatbot.
  • Use 'exit' to end the chat.

Key Features

  • Real-time chat functionality.
  • Natural language understanding with Google Generative AI.
  • User-friendly termination with the 'exit' command. Customizable for Projects: Integrate the chatbot directly into your projects and further train it according to specific requirements.
  • Token Limit: The max token limit for this model with the free Google API is 400 tokens. For increased token limits, consider upgrading your API subscription.

Contribution

  • Feel free to contribute to the project by opening issues or submitting pull requests. Contributions are welcome !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages