Assistant with Gemini IA (Google)
- Python 3.* (Python.org)
- TkInter (Wiki Python)
- Api key to Gemini IA (Google AI Studio)
- Font Poppins (From Google fonts)
- Config
GOOGLE_API_KEY
in you environments - Clone this repo
cd ./IA-Assistant
and executestart.py
script
If you OS require, set permissions to execute to start.py
script
When show the result, press [Shift] + [c]
to copy it
or press [ESCAPE]
to close window, remember,
all question and response is saved in history. See Commands.
Start prompt with:
Command | Action |
---|---|
:trs |
Translate text to Spanish |
:tre |
Translate text to English |
:hs |
View history |
:hsc |
Clear history |
Config to waybar
- Important, change 'set_you_path_here' for you path
"custom/ia-assistant":{
"format": " ",
"on-click": "python ~/set_you_path_here/IA-Assistant/start.py",
"tooltip": false
}
In your preference module add "custom/ia-assistant"
# custom-ia-assistant{ /* Add you custom style here */ }
Visit me Leonardo Henao