thiago701/assistente-linux
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
#A local AI assistant that can add/remove/retrieve events on your calendar. It also ties into Jan AI to have voice chats with all your LLMs in Jan. #You'll need to download a vosk model and put it in a directory vosk-model in the same directory as the python files. #clone this repo using git #using python3.10: #If you are following along with my Youtube series on the Ultimate AI OS Linux Mint, you should already have an AI directory, if not, you need to create one or change the directory in the bash script as well as the desktop icon file. python3.10 -m venv assistmintenv source assistmintenv/bin/activate sudo apt-get install sox pip install -r requirements.txt #download vosk model - this will get the small model, you can use a different one if you want to. You only need to do this part once wget https://alphacephei.com/vosk/models/vosk-model-small-en-us-0.15.zip unzip vosk-model-small-en-us-0.15.zip -d vosk-model chmod +x start_assistant.sh chmod +x Assistant.desktop mv tux.png ~/ai/icons/tux.png mv Assistant.desktop ~/Desktop/Assistant.desktop #now you can run the app using the start_assistant.sh file #copy the Assistant.desktop and you can use that to launch it as well. #VOICE COMMANDS: Calendar Management Add Event to Calendar Voice Command: "Put this on my calendar" Follow-ups: "What is the event?" "What time does the event start?" "What time does the event end?" "What date is the event on?" Check Calendar Voice Command: "What's on my calendar?" Follow-ups: "For which date or week?" (e.g., "today," "tomorrow," "this week," "next week," "week of [specific date]") Clear Calendar Voice Command: "Clear my calendar" Follow-ups: "For which date or week would you like to clear your calendar?" (e.g., "today," "this week," "next week," "week of [specific date]") Remove Event Voice Command: "Remove event" Follow-ups: "What is the name of the event you'd like to remove?" "What date is this event on?" Interaction with Jan AI - NOTE: Make sure you have Jan running and the API started. Ask Jan a Question Voice Command: "Ask Jan" Follow-up: "What would you like to ask Jan?" Summary of Voice Commands: "Put this on my calendar" "What's on my calendar?" "Clear my calendar" "Remove event" "Ask Jan"