
The next course is a complete record of my Ubuntu machine, which is now shared with you
Still, even if you don't know anything, I'll give you the church
No code, no Linux, as long as you copy paste, have a computer with hermes
I wrote it yesterday Hermes AcademyAnd he said, "You don't have enough babysitting, and some people don't even open the terminal," and I thought, "I didn't know what that black window was when I first came into contact with it, and I looked everywhere for "How to open the terminal"..
Three necessary preparations before we do it
- Don't risk a small number with the main one
- your "micro-message" opens micro-intelligence, poachs my head in the lower right corner, finds the "micro-message" column, usually a combination of letters + numbers, like su 766, write it down and use it back
- Make sure your Hermes are loaded and big models are set for the terminal
i don't know, shemes-version
If you don't match the model, run it
♪ hermes model ♪
Follow the hint and fill in the API Key, remember to select a model above the context window 64K. The memory will be much better
Step 1: Load three essential little parts
Hermes himself with a Python virtual environment, never use the pip of the system to pack, otherwise technically-managed-environment will get you through half a day
with its pip, it's fine
Open the terminal, and one by one executes the following command (one by one and then knocks on the next):
~.hermes/hermes-agent/venv/bin/ip install aiohttp
~.hermes/hermes-agent/venv/bin/pip install cryptography
~.hermes/hermes-agent/venv/bin/pip install qrcode
aiohttps and cryptography are required for micro-communications, not even one less
qrcode is for the terminal to display the 2-dimensional code directly, and it's easier -- you don't have to open the browser to scan it
If you don't see a red word at the end of the day, it's a setup
Step two: Scrambling the wi-tweet and Hermes together
Enter this line:
♪ hermes gateway setup ♪
Then it shows:
Gateway service is contained but not running
ENTER Y HERE AND GET BACK TO THE CAR
Then a platform selection list will appear on the screen
Move the arrow to the line in Weixin with the keypad, and get back to the car
This is the line
Start QR login now
THE SAME THING WITH THE Y-CAR
Soon, your terminal will jump out of a 2-dimensional code, and if the 2-dimensional code becomes deformed, pulling the terminal window a little bit larger will show that if it's a string of links, then copy to the browser and open it
Take out your cell phone, open the micro-mail that you're ready, sweep this two-dimensional code, and then click "authorization" or "verified login" on the phone
A small pit warns that if the mobile phone suddenly pops a security alert such as "New Device Login Reminder" "Booked Web Edition " , there must be a "continue to connect/maintain login" and an "exposure to release"
That's the normal reaction of the lower tunnel that's already open
Once authorized, the end will show a line of information similar to that:
How should direct messages be expected?
ENTER/SPACE itself ESC cancel
Use DM making application (recommended)
All direct messages
Only allowed user IDs
Disable direct messages
Translating humans is: who is entitled to talk about your robot
- First option, "System approval": every time a new person talks, the robot asks you to agree manually
- Second "All allowed": no one, no one
- Third "Only allowed to list users": white list system, private conversation only with the person you specify
- Fourth "Close private conversation": No one can talk private
Only available recommended user IDs
Move the arrow to this line with the arrow key, and then click on the space or the car, so your robot will be under your command, clean and safe
And then you show it
Allowed Weixin user IDs (comma-separated)
The long line in square brackets is the OpenID that you're currently scrambling micro-intelligence accounts
Then we'll go straight back to the car and we'll show you
How should group programmes be handled?
ENTER/SPACE itself ESC cancel
Disable group chats (recommened)
All group chats
Only all available listed group fat IDs
The meaning of three options:
- We're not allowed to talk
- Allow all groups
- Only groups are allowed
Just now, just pick the first Disable Group Chets
It's a practical reason to make sure there's a private conversation, a complex environment, and it's easy to trigger a seal
When you're ready, you can change your configuration
So pick the first one and go back to the car and show
microlink successful, account_id=wxid_xxxxxxxxxxxxxx
this string of wxid_xxxxxxxxxxxxxxxx is your robot's only identifier, copy it and save it
You can drag text from the terminal with the mouse and then copy Ctrl+Shift+C
Step 3: Check your profile
Although the wizard has prepared most of your configurations, it's always more reassuring to look at you again
Input:
~.hermes/.env
You'll enter a text editor
Turn to the end of the document and confirm the existence of the following three lines (without adding):
WEIXIN_ACCOUNT_ID=wxid_xxxxxxxxxxxxx
WEIXIN_DM_POLICY=allowlist
WEIXIN_ALLOWED_USERS
- First row WEIXIN_ACCOUNT_ID after fill out the string of wxid_xx that you copied from the second step
- Third row WEIXIN_ALLOWED_USERS = fill in the last line of OpenID that just saved
Press Ctrl+X after correction, then press Y and then back to the car to save and exit
STEP FOUR: LET YOUR A.I. LIVE IN TWITTER
Terminal input:
♪ hermes gateway ♪
Seeing the following starter banner, it's running:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Hermes Gateway Starting...
I'm sorry.
Messages platforms + cron scheduler
Press Ctrl+C to stop
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
This window is the heart of the robot from this moment on, never turn it off
You can minimize it, but it's like turning off the robot's cord
In case it hints, Gateway already running (PID xx)
In case it hints Gateway to run (PID xx)
Before that, there was a process
♪ hermes gateway restart ♪
it will automatically kill the old process and start a new one, and if it doesn't work, then clear up in two steps:
i'm sorry.
♪ hermes gateway ♪
Step five: Say hello to it in a tweet
Open your swipe and enter the wiring in the top search box
The contact found was your robot
If it returns your message in a few seconds, congratulations. You've been through the whole process
If you don't answer immediately, don't rush
More fun than I thought
When you're done, it's more than just a vase that can talk. You can send messages like you're talking to a personal assistant:
- "Do my homework."
- "please call me the handsome suu."
- "TO TRANSLATE THE FOLLOWING SU NB INTO CHINESE."
- "I'm a sophomore in Python, help me find a girl's wishin."
Hermes, with a real layered memory, you told it once, "I like beautiful women," and he'll remember you like beautiful women
It's not possible for an ordinary chat robot to get a horse out of your habit
From the beginning to the end, you don't need to write a line of code, you don't need to understand any programming concepts
The only thing that's needed is to get these orders done in line and look at every option
at last
And here's what I'd like to say:
AI, THE RAREST OF OUR TIMES IS NEVER A READY-MADE TOOL
It's true that when you're in the dormitory after the lights go out and you get a serious response to the digital part that you've configured, it's true