Skip to content

This project is a Flask-based web application that leverages Google API Gemini (Google Bard) and Google Search API to create a generative chatbot with multiple features.

Notifications You must be signed in to change notification settings

imvks786/ChatAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatAI

Screenshot 2024-05-21 102239

Overview

This project is a Flask-based web application that leverages Google API Gemini (Google Bard) and Google Search API to create a generative chatbot with multiple features. The application supports text-to-text conversation, image-to-text conversation, and text-to-speech integration, providing a robust user authentication system and token limit management. The token limits reset daily to ensure fair usage.

Features

Text-to-Text Conversation: Engage in conversations with the chatbot using text input, powered by Google API Gemini. Image-to-Text Conversation: Upload images to generate text responses using Google's image processing capabilities. Token Limits: Manage user interactions with token limits that reset daily. Voice Integration: Convert text responses to speech using text-to-speech functionality. User Authentication: Secure user authentication system with registration and login features. Daily Token Reset: Automatically reset user tokens at the start of each day. Google Search Integration: Enhance responses with better search results from the internet using the Google Search API.

Technology used:

  1. Python
  2. HTML
  3. CSS
  4. Javascript
  5. SQL Lite

How to get API Key?

Visit "https://aistudio.google.com/app/apikey" for API key and use in this project.

Usage

User Registration and Login

  1. Register a new account using the /register route.
  2. Log in using the /login route. Chatbot Interaction
  3. Once logged in, users can engage with the chatbot via text or image inputs.
  4. Text responses can be converted to speech if voice integration is enabled. Token Management
  5. Each user is allocated a certain number of tokens per day.
  6. Tokens reset automatically at the start of each day. Sharing Content
  7. Users can share content via a generated link which can be accessed by others.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Here are the some Snapshots:

1. Login Page

image

2. Some user Settings

image

3. Text Based Chatting

image

4. Web Results

image

4. Using Image Chatting

image

Credits: @imvks786, aistudio.google.com

About

This project is a Flask-based web application that leverages Google API Gemini (Google Bard) and Google Search API to create a generative chatbot with multiple features.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published