← Choose language | Выберите язык
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.
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.
- Register at Groq and get key.
- Create a bot in Telegram messenger, get the key, change the name and photo.
- Install Python, then run Windows Command Prompt and enter the command
pip install openai
(library to work with ChatGPT) andpip install requests[socks]
(library to support proxies). - 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 theTriggersRu.xml
file. - Enter the Telegram keys
TelegramToken
and Groq keysGroqAPIKey
, in theSetup.ini
file, also enter your nicknameTelegramMasterUser
. - Run
Luiza_AI_Assistant.py
and write something to him in Telegram, then copy the first numeric code and paste inTelegramMasterChatID
, in theSetup.ini
file. You can then change theShowMessages
parameter to0
to remove the message output. - If you want a hidden auto-run at Windows startup, rename the
Luiza_AI_Assistant.py
file toLuiza_AI_AI_Assistant.pyw
and add a shortcut to the%appdata%\Microsoft\Windows\Start Menu\Programs
autoloader folder.
- 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).
- Create a bot in Telegram messenger, get a key, change your name and photo.
- Install Python, then run Windows Command Prompt and enter the command
pip install openai
(library to work with ChatGPT) andpip install requests[socks]
(library to support proxies). - 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 theTriggersRu.xml
file. - Enter the Telegram keys
TelegramToken
and OpenAIOpenAPIKey
, in theSetup.ini
file, also enter your nicknameTelegramMasterUser
. - Run
Luiza_AI_AI_Assistant.py
and write something to him in Telegram, then copy the first numeric code and paste inTelegramMasterChatID
, in theSetup.ini
file. You can then change theShowMessages
parameter to0
to remove the message output. - If you want hidden automatic startup at Windows startup, rename the
Luiza_AI_Assistant.py
file toLuiza_AI_AI_Assistant.pyw
and add a shortcut to the%appdata%\Microsoft\Windows\Start Menu\Programs
autoloader folder.
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.
Thanks for posting.
r57zone[at]gmail.com