Skip to content

Personal AI assistant Luiza / Персональный AI помощник Луиза

License

Notifications You must be signed in to change notification settings

r57zone/LuizaAIAssistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EN RU ← Choose language | Выберите язык

Luiza AI Assistant

A simple virtual assistant imitating your friend, girlfriend or boyfriend, based on the neural network ChatGPT or Llama and messenger Telegram. You can make up the assistant with his history, tastes, add him the necessary triggers. By default, it will wish you good morning, good night, write compliments and interesting facts, you can also have dialogs with it, ask questions, advice and learn something.

Assistant messages (animation)

Setup

Virtual Assistant supports two neural networks: Llama (free of charge, via Groq service) and ChatGPT (3 months of free use, then paid). Choose one of the services at your discretion.

Configuring Llama based assistant (Groq)

  1. Register at Groq and get key.
  2. Create a bot in Telegram messenger, get the key, change the name and photo.
  3. Install Python, then run Windows Command Prompt and enter the command pip install openai (library to work with ChatGPT) and pip install requests[socks] (library to support proxies).
  4. Download the archive of assistant, unzip and modify the files to your liking: AssistantDescriptionEn.txt - description of the helper, UserDescriptionEn.txt - description of you, UserNamesEn.txt - list of requests to you. Edit the helper triggers in the TriggersRu.xml file.
  5. Enter the Telegram keys TelegramToken and Groq keys GroqAPIKey, in the Setup.ini file, also enter your nickname TelegramMasterUser.
  6. Run Luiza_AI_Assistant.py and write something to him in Telegram, then copy the first numeric code and paste in TelegramMasterChatID, in the Setup.ini file. You can then change the ShowMessages parameter to 0 to remove the message output.
  7. If you want a hidden auto-run at Windows startup, rename the Luiza_AI_Assistant.py file to Luiza_AI_AI_Assistant.pyw and add a shortcut to the %appdata%\Microsoft\Windows\Start Menu\Programs autoloader folder.

Configuring ChatGPT based assistant

  1. Register at OpenAI and get key. The service gives a free key for 3 months. For registration citizens of Russia and Belarus will need a virtual number, you can get it at 5sim.biz (Polish number is only 12 rubles).
  2. Create a bot in Telegram messenger, get a key, change your name and photo.
  3. Install Python, then run Windows Command Prompt and enter the command pip install openai (library to work with ChatGPT) and pip install requests[socks] (library to support proxies).
  4. Download archive of assistant, unpack and modify the files at your discretion: AssistantDescriptionEn.txt - description of the helper, UserDescriptionEn.txt - description of you, UserNamesEn.txt - list of references to you. Edit the helper triggers in the TriggersRu.xml file.
  5. Enter the Telegram keys TelegramToken and OpenAI OpenAPIKey, in the Setup.ini file, also enter your nickname TelegramMasterUser.
  6. Run Luiza_AI_AI_Assistant.py and write something to him in Telegram, then copy the first numeric code and paste in TelegramMasterChatID, in the Setup.ini file. You can then change the ShowMessages parameter to 0 to remove the message output.
  7. If you want hidden automatic startup at Windows startup, rename the Luiza_AI_Assistant.py file to Luiza_AI_AI_Assistant.pyw and add a shortcut to the %appdata%\Microsoft\Windows\Start Menu\Programs autoloader folder.

Features

The default triggers are: good morning wishes, good night. compliments, interesting facts. Change the time of triggering, according to your schedule. Time can be random, specific, or approximate. Add your triggers or delete current triggers as needed by copying the trigger block or deleting it.

The messages sent by the triggers include animations of the character Lisa, aka actress Vanessa Angel, from the TV series Wonders of Science, given at random. You can change them in the Setup/Pics folder, with the name of the corresponding trigger. You can see and delete animations by opening the AnimDesigner.html file and entering the contents of the files.

Media

Коммерсантъ.

Thanks for posting.

Feedback

r57zone[at]gmail.com