


I added ChatGPT to the WeChat group, and I can now ask questions to the AI!
1. Foreword: It’s a pleasure to use!
Since Brother Fu started using ChatGPT, he didn’t even use the search engine much. When searching for many questions, I immediately thought of going to ChatGPT to ask questions. Its answers are both very accurate and without a bunch of ads, making using ChatGPT a real gem for developers.
It can write simple project case codes for you, it can answer difficult questions that you have no shortage of ideas, and it can also help you optimize the PPT skills you need to wrap up! Hahaha, but of course there are things it can't do. For example, if I asked it to write MyBatis by hand, it told me:
ChatGPT: It is GPT (Generative Pre-training Transformer, generating pre-training transformer). Train Transformer) A variant of a language model specifically designed to generate human-like text in response to conversational-style prompts. ChatGPT is trained on a large dataset of human conversations and uses this training to generate appropriate and coherent responses to natural language cues. ChatGPT can be used to generate text for chatbots, virtual assistants, and other conversational systems, and is capable of generating a wide range of responses, including simple answers to questions, responses to prompts that require more complex reasoning or explanations, and ones intended to be humorous or engaging. response.
From ChatGPT, I seem to feel what is its value and what is my value. Those repetitive and meaningless tasks will eventually be constantly cannibalized and replaced.
But there are still many R&D personnel who have not experienced such a good thing, and it really shouldn’t be. After all, compared with many intelligent robots in the past, this thing seems to be mentally retarded. So Brother Fu found some information, deployed ChatGPT as a WeChat chatbot, and added it to the group for fellow fans to experience it.
2. Tutorial: How to deploy
1. Image file
There are many experts on Github who have provided ways to connect ChatGPT to WeChat chat. Mainly developed in TypeScript and Go languages. Basically these can also be deployed and used. Here, Brother Fu also saw that there is a mirror in Docker: cynen/wechat. It is also very convenient to deploy. Next, Brother Fu will use this method to deploy. Interested readers can also try to deploy other methods in Github. Github search: ChatGPT wechat
2. Register account
ChatGPT does not currently support domestic account registration, so you need to apply for a virtual number to register. If you can access and apply for the following steps, you can experience ChatGPT.
sms-activate.org - Register a virtual phone number [as shown in the picture] [Multiple services, India, openAI], just recharge the account with 2 yuan using Alipay.
beta.openai.com/signup - Register an account. During the registration process, you will be asked to fill in your virtual phone number and receive a verification code at the address in 1.
chat.openai.com/auth/login - Log in after registration is completed, and you can talk to AI.
3. API keys application
openai provides API keys for access. Only after applying for this API keys can subsequent access actions be completed.
Address: https://beta.openai.com/account/api-keys
Instructions: After clicking to enter, click Create new secret key You can apply now. After applying, your SECRET KEY will be copied. Just close the pop-up window after copying.
4. Image deployment
Here Brother Fu chooses to use Docker images to deploy a WeChat chat robot. You can install Docker locally or deploy it by purchasing cloud servers on JD Cloud, Alibaba Cloud, Baidu Cloud, Tencent Cloud, etc.
After entering Docker, you need to complete the following operations;
# 创建目录 mkdir /data/openai # 创建文件 touch config.json # 修改文件 vi config.json { "api_key": "复制粘贴你申请的API keys", # openai的 账户创建的apikeys "auto_pass": false, # 加好友时,是否自动通过 "model": "text-davinci-003",# 模型名称,官网有很多模型 "session_timeout": 90# ession保存时间 秒,其实就是上下文保留时间. 超过这个时间,就会自动清空上下文 } # 拉取镜像 docker run -dti --name wechat -v /data/openai/config.json:/app/config.json cynen/wechat # 登录微信 docker logs -f wechat
When you start cynen/wechat and run docker logs -f wechat, you will see a pop-up Scan the WeChat QR code to log in. At this time, you can use one of your own WeChat codes to log in. After logging in, you can chat with this WeChat account or join a group.
5. Operation effect
WeChat group chat
##Background log
How about it, isn’t it quite interesting and very smart!
If you are unable to deploy such a robot yourself, you can also add Brother Fu’s WeChat account and join the group to experience it.
The above is the detailed content of I added ChatGPT to the WeChat group, and I can now ask questions to the AI!. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



DALL-E 3 was officially introduced in September of 2023 as a vastly improved model than its predecessor. It is considered one of the best AI image generators to date, capable of creating images with intricate detail. However, at launch, it was exclus

DDREASE is a tool for recovering data from file or block devices such as hard drives, SSDs, RAM disks, CDs, DVDs and USB storage devices. It copies data from one block device to another, leaving corrupted data blocks behind and moving only good data blocks. ddreasue is a powerful recovery tool that is fully automated as it does not require any interference during recovery operations. Additionally, thanks to the ddasue map file, it can be stopped and resumed at any time. Other key features of DDREASE are as follows: It does not overwrite recovered data but fills the gaps in case of iterative recovery. However, it can be truncated if the tool is instructed to do so explicitly. Recover data from multiple files or blocks to a single

0.What does this article do? We propose DepthFM: a versatile and fast state-of-the-art generative monocular depth estimation model. In addition to traditional depth estimation tasks, DepthFM also demonstrates state-of-the-art capabilities in downstream tasks such as depth inpainting. DepthFM is efficient and can synthesize depth maps within a few inference steps. Let’s read about this work together ~ 1. Paper information title: DepthFM: FastMonocularDepthEstimationwithFlowMatching Author: MingGui, JohannesS.Fischer, UlrichPrestel, PingchuanMa, Dmytr

The performance of JAX, promoted by Google, has surpassed that of Pytorch and TensorFlow in recent benchmark tests, ranking first in 7 indicators. And the test was not done on the TPU with the best JAX performance. Although among developers, Pytorch is still more popular than Tensorflow. But in the future, perhaps more large models will be trained and run based on the JAX platform. Models Recently, the Keras team benchmarked three backends (TensorFlow, JAX, PyTorch) with the native PyTorch implementation and Keras2 with TensorFlow. First, they select a set of mainstream

Facing lag, slow mobile data connection on iPhone? Typically, the strength of cellular internet on your phone depends on several factors such as region, cellular network type, roaming type, etc. There are some things you can do to get a faster, more reliable cellular Internet connection. Fix 1 – Force Restart iPhone Sometimes, force restarting your device just resets a lot of things, including the cellular connection. Step 1 – Just press the volume up key once and release. Next, press the Volume Down key and release it again. Step 2 – The next part of the process is to hold the button on the right side. Let the iPhone finish restarting. Enable cellular data and check network speed. Check again Fix 2 – Change data mode While 5G offers better network speeds, it works better when the signal is weaker

I cry to death. The world is madly building big models. The data on the Internet is not enough. It is not enough at all. The training model looks like "The Hunger Games", and AI researchers around the world are worrying about how to feed these data voracious eaters. This problem is particularly prominent in multi-modal tasks. At a time when nothing could be done, a start-up team from the Department of Renmin University of China used its own new model to become the first in China to make "model-generated data feed itself" a reality. Moreover, it is a two-pronged approach on the understanding side and the generation side. Both sides can generate high-quality, multi-modal new data and provide data feedback to the model itself. What is a model? Awaker 1.0, a large multi-modal model that just appeared on the Zhongguancun Forum. Who is the team? Sophon engine. Founded by Gao Yizhao, a doctoral student at Renmin University’s Hillhouse School of Artificial Intelligence.

The latest video of Tesla's robot Optimus is released, and it can already work in the factory. At normal speed, it sorts batteries (Tesla's 4680 batteries) like this: The official also released what it looks like at 20x speed - on a small "workstation", picking and picking and picking: This time it is released One of the highlights of the video is that Optimus completes this work in the factory, completely autonomously, without human intervention throughout the process. And from the perspective of Optimus, it can also pick up and place the crooked battery, focusing on automatic error correction: Regarding Optimus's hand, NVIDIA scientist Jim Fan gave a high evaluation: Optimus's hand is the world's five-fingered robot. One of the most dexterous. Its hands are not only tactile

This week, FigureAI, a robotics company invested by OpenAI, Microsoft, Bezos, and Nvidia, announced that it has received nearly $700 million in financing and plans to develop a humanoid robot that can walk independently within the next year. And Tesla’s Optimus Prime has repeatedly received good news. No one doubts that this year will be the year when humanoid robots explode. SanctuaryAI, a Canadian-based robotics company, recently released a new humanoid robot, Phoenix. Officials claim that it can complete many tasks autonomously at the same speed as humans. Pheonix, the world's first robot that can autonomously complete tasks at human speeds, can gently grab, move and elegantly place each object to its left and right sides. It can autonomously identify objects
