Skip to content

KD Gemini-Pro, a desktop application on PyQt5, simplifies interaction with Google's Gemini-Pro AI model. Users effortlessly submit questions, receiving instant, generated responses. With an intuitive interface and advanced features, it efficiently explores the capabilities of AI-assisted conversation.

License

Notifications You must be signed in to change notification settings

DavidAI2024/Gemini-KD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Version License PyQt Version infogoogle

🧋Gemini-KD
This project is in the Alpha phase, over time it will be improved, and other features will be implemented.

Leave a star to support me ⭐️

Introduction

Welcome to KDGemini-pro, an innovative desktop application leveraging Google's Generative AI model, gemini-pro. This application allows users to engage dynamically, asking questions and receiving imaginative responses.

Features 🚀

  • Secure API Key Entry: Safely provide your API key through a dedicated dialog window.
  • Stylish UI: Enjoy a visually appealing interface with thoughtful iconography.
  • Conversation State Management: Easily enable or disable the conversation state for continuous interactions.
  • Temperature Control: Choose from various temperature settings to tailor the creativity of responses.
  • Robust Error Handling: Proactively address specific ValueErrors with user-friendly error messages.

Screenshots 📸

Gemini-KD at work
Image#1
Image#2

Getting Started 🚀

  1. Clone the repository.

    git clone https://github.com/DavidAI2024/Gemini-KD.git
  2. Install dependencies using pip.

    pip install -r requirements.txt
  3. Run the application on Linux.

    python main.py

Tip

Note for Windows users: To use the tool, go to the "Release" section of the repository, download the ZIP file, and locate the executable file named build.py. Double-click on the executable to launch the Gemini-KD application.

Visit the Google Fonts website to explore the "Recursive" font. Make sure to install Google's "Recursive" font locally.

Gemini-KD Application

To run the Gemini-KD executable (EXE), follow these steps:

Clone the repository using Git:

  git clone https://github.com/DavidAI2024/Gemini-KD.git
  1. Open the "File" explorer on your Windows machine.
  2. Navigate to the "Gemini-KD" folder within the cloned repository.
  3. Double-click on the EXE file to launch the Gemini-KD application.
  4. ENJOY!

Dependencies 🛠️

Library Link
PyQt5 PyQt5
Requests Requests
google-generativeai Google Generative AI

Usage 🎮

  1. Launch the application.
  2. Enter your API key when prompted.
  3. Pose a question in the input box and click "Submit" or press Enter.
  4. Explore the creative responses generated by the gemini-pro model.

Note

Note on Antivirus (Windows)

Antivirus Alert Icon

Our script may be mistakenly detected as a virus by some antivirus software on the Windows platform. However, we want to reassure you that our script is safe and poses no threat to your system.

Instructions to bypass the issue

  1. Add an exception to the antivirus:

    • Open your antivirus software on Windows.
    • Navigate to settings or scan options.
    • Add the path of our script to the list of exceptions or trusted items.
  2. Report the false positive:

    • If your antivirus continues to detect our script as a virus, consider reporting the false positive directly to the antivirus provider. Usually, there is an option within the software to report issues or false positives.

Remember that security is a priority for us, and our script has been developed with care to ensure the safety of your data and system. If you have further concerns or questions, feel free to contact us.

Thank you for your understanding and support!

Google Generative Dev Kit Logo

Welcome to Google Generative AI API Documentation! 🚀

Registration Process 📋

  1. Go to Google Maker Suite.
  2. Complete the registration process.
  3. Once registered, grab your API key. 🔑

Warning

API Availability 🌍

Please note that the Google Generative AI API is available only in specific countries. If you reside outside these countries, using a VPN with a location set to the USA is sufficient for access.

Country Country Country
Algeria American Samoa Angola
Anguilla Antarctica Antigua and Barbuda
Argentina Armenia Aruba
Australia Azerbaijan Bahamas
Bahrain Bangladesh Barbados
Belize Benin Bermuda
Bhutan Bolivia Botswana
Brazil British Indian Ocean Territory British Virgin Islands
Brunei Burkina Faso Burundi
Cape Verde Cambodia Cameroon
Dutch Caribbean Cayman Islands Central African Republic
Chad Chile Christmas Island
Cocos (Keeling) Islands Colombia Comoros
Cook Islands Ivory Coast Costa Rica
Curaçao Democratic Republic of the Congo Djibouti
Dominica Dominican Republic Ecuador
Egypt El Salvador Equatorial Guinea
Eritrea eSwatini Ethiopia
Falkland Islands (Malvinas) Fiji Gabon
Gambia Georgia Ghana
Gibraltar Grenada Guam
Guatemala Guernsey Guinea
Guinea-Bissau Guyana Haiti
Heard and McDonald Islands Honduras India
Indonesia Iraq Isle of Man
Israel Jamaica Japan
Jersey Jordan Kazakhstan
Kenya Kiribati Kyrgyzstan
Kuwait Laos Lebanon
Lesotho Liberia Libya
Madagascar Malawi Malaysia
Maldives Mali Marshall Islands
Mauritania Mauritius Mexico
Micronesia Mongolia Montserrat
Morocco Mozambique Namibia
Nauru Nepal New Caledonia
New Zealand Nicaragua Niger
Nigeria Niue Norfolk Island
Northern Mariana Islands Oman Pakistan
Palau Palestine Panama
Papua New Guinea Paraguay Peru
Philippines Pitcairn Islands Puerto Rico
Qatar Republic of the Congo Rwanda
Saint Barthélemy Saint Kitts and Nevis Saint Lucia
Saint Pierre and Miquelon Saint Vincent and the Grenadines Saint Helena, Ascension and Tristan da Cunha
Samoa Sao Tome and Principe Saudi Arabia
Senegal Seychelles Sierra Leone
Singapore Solomon Islands Somalia
South Africa South Georgia and the South Sandwich Islands South Korea
South Sudan Sri Lanka Sudan
Suriname Taiwan Tajikistan
Tanzania Thailand East Timor
Togo Tokelau Tonga
Trinidad and Tobago Tunisia Turkey
Turkmenistan Turks and Caicos Islands Tuvalu
Uganda United Arab Emirates United States
United States Minor Outlying Islands United States Virgin Islands Uruguay
Uzbekistan Vanuatu Venezuela
Vietnam Wallis and Futuna Western Sahara
Yemen Zambia Zimbabwe

License 📝

This project is licensed under the MIT License.

About

KD Gemini-Pro, a desktop application on PyQt5, simplifies interaction with Google's Gemini-Pro AI model. Users effortlessly submit questions, receiving instant, generated responses. With an intuitive interface and advanced features, it efficiently explores the capabilities of AI-assisted conversation.

Topics

Resources

License

Stars

Watchers

Forks

Languages