Skip to content

Kewyn-Hallex/chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Chatbot with PySimpleGUI + Gemini API

This project introduces an interactive chatbot with a modern and intuitive interface, built using PySimpleGUI and the Gemini API. It allows users to engage in smooth conversations with an AI in a simple and effective way.


✨ Features

  • 🧠 Integration with the gemini-1.5-pro-latest model, providing context-aware and intelligent responses
  • πŸ’¬ Visible chat history, ensuring a realistic chat experience
  • πŸͺ„ Input field with automatic message sending and instant clearing
  • 🎨 Clean interface including:
    • Project title
    • Chatbot representative image
    • Input field and send button
  • πŸ›‘ Automatic and organized shutdown when the window is closed

πŸ–ΌοΈ Screenshot

Chatbot Interface


πŸš€ How to Use

  1. Clone the repository:

    git clone https://github.com/your-username/chatbot-gemini.git
    cd chatbot-gemini
  2. Install dependencies:

    pip install PySimpleGUI
    pip install google-generativeai
  3. Run the program:

    python chatbot.py

πŸ“ Project Structure

πŸ“¦ chatbot-gemini
 ┣ πŸ“„ chatbot.py
 ┣ πŸ“„ buttons.py
 ┣ πŸ“„ README.md
 ┣ πŸ“„ requirements.txt
 β”— πŸ“¦ assets/
    β”— πŸ–ΌοΈ chatbot.png

πŸ› οΈ Technologies Used

  • Python
  • PySimpleGUI
  • Gemini API
  • PIL (Pillow) for image handling (if necessary)

πŸ“„ License

This project is licensed under the MIT license.


Feel free to contribute, open issues, or suggest improvements! πŸš€

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages