search
HomeTechnology peripheralsAII 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:

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

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

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

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.

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

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.

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

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

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

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

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

##Background log

I added ChatGPT to the WeChat group, and I can now ask questions to the AI!

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!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
Are You At Risk Of AI Agency Decay? Take The Test To Find OutAre You At Risk Of AI Agency Decay? Take The Test To Find OutApr 21, 2025 am 11:31 AM

This article explores the growing concern of "AI agency decay"—the gradual decline in our ability to think and decide independently. This is especially crucial for business leaders navigating the increasingly automated world while retainin

How to Build an AI Agent from Scratch? - Analytics VidhyaHow to Build an AI Agent from Scratch? - Analytics VidhyaApr 21, 2025 am 11:30 AM

Ever wondered how AI agents like Siri and Alexa work? These intelligent systems are becoming more important in our daily lives. This article introduces the ReAct pattern, a method that enhances AI agents by combining reasoning an

Revisiting The Humanities In The Age Of AIRevisiting The Humanities In The Age Of AIApr 21, 2025 am 11:28 AM

"I think AI tools are changing the learning opportunities for college students. We believe in developing students in core courses, but more and more people also want to get a perspective of computational and statistical thinking," said University of Chicago President Paul Alivisatos in an interview with Deloitte Nitin Mittal at the Davos Forum in January. He believes that people will have to become creators and co-creators of AI, which means that learning and other aspects need to adapt to some major changes. Digital intelligence and critical thinking Professor Alexa Joubin of George Washington University described artificial intelligence as a “heuristic tool” in the humanities and explores how it changes

Understanding LangChain Agent FrameworkUnderstanding LangChain Agent FrameworkApr 21, 2025 am 11:25 AM

LangChain is a powerful toolkit for building sophisticated AI applications. Its agent architecture is particularly noteworthy, allowing developers to create intelligent systems capable of independent reasoning, decision-making, and action. This expl

What are the Radial Basis Functions Neural Networks?What are the Radial Basis Functions Neural Networks?Apr 21, 2025 am 11:13 AM

Radial Basis Function Neural Networks (RBFNNs): A Comprehensive Guide Radial Basis Function Neural Networks (RBFNNs) are a powerful type of neural network architecture that leverages radial basis functions for activation. Their unique structure make

The Meshing Of Minds And Machines Has ArrivedThe Meshing Of Minds And Machines Has ArrivedApr 21, 2025 am 11:11 AM

Brain-computer interfaces (BCIs) directly link the brain to external devices, translating brain impulses into actions without physical movement. This technology utilizes implanted sensors to capture brain signals, converting them into digital comman

Insights on spaCy, Prodigy and Generative AI from Ines MontaniInsights on spaCy, Prodigy and Generative AI from Ines MontaniApr 21, 2025 am 11:01 AM

This "Leading with Data" episode features Ines Montani, co-founder and CEO of Explosion AI, and co-developer of spaCy and Prodigy. Ines offers expert insights into the evolution of these tools, Explosion's unique business model, and the tr

A Guide to Building Agentic RAG Systems with LangGraphA Guide to Building Agentic RAG Systems with LangGraphApr 21, 2025 am 11:00 AM

This article explores Retrieval Augmented Generation (RAG) systems and how AI agents can enhance their capabilities. Traditional RAG systems, while useful for leveraging custom enterprise data, suffer from limitations such as a lack of real-time dat

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.