Skip to content

Baguel/Python_Chatbot

Repository files navigation

Python_Chatbot

This project represents an voice assistant accessible from the command line. It offers extensive features, including real-time conversations, programming, spell and grammar correction, as well as other capabilities. The voice assistant leverages Google's Gemini Pro API to ensure optimal performance. Additionally, it comes with an automatic reading feature that delivers responses in the voice of Google, in the language of your operating system, providing an immersive and user-friendly experience.

Clone this Repository

  git clone git@github.com:Baguel/Python_Chatbot.git

Get API_KEY From Google

Get Gemini API_KEY from google website: https://makersuite.google.com/app/apikey?hl=fr

Capture d’écran du 2024-01-22 17-11-14

API_KEY

To run this project, you will need to add the API KEY in your environment like this if you are on ubuntu: export google='API_KEY' but if you are on windows do that; set google=API_KEY

Please use google for Variable's name and add your true API_KEY.
Go to the root of this repository like this and run requirements.txt:

  cd Python_Chatbot
  pip3 install -r requirements.txt

Run the export command like this: Capture d’écran du 2024-01-22 17-17-47

Start Program

Always at root, after you ran the command, you will execute "main.py"

  python3 main.py

You will have this ouput,

Capture d’écran du 2024-01-22 17-27-11

choose your option and start enjoy it :)
Also make sure you have a good connection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages