QQ connects to GPT to make chatting more natural

Table of contents

0. At the end of the article, click on the public account to contact us

1. First look at the effect

1.1 Private chat:

1.2 Group Chat

2. Download files

3. Obtain API Key

4. Windows package version

4.1. Enter the py folder.

4.2. Open the QBot folder

5. Code version

5.1 Enter the py folder

5.1.1 Installation dependencies

5.1.2 Startup

4.2. Open the QBot folder

6. This is the end


0. At the end of the article, click on the public account to contact us

1. First look at the effect

1.1 Private chat:

1.2 Group Chat

If you need direct experience, you can click to contact me in the official account.

2. Download files

Just reply to [QQAI conversation] in the official account.

The file is divided into code version and Windows package version. Choose the one that suits you.

  1. Code version (you can do it if you have some Python basics): In the code version, you can modify the code yourself

  2. Windows packaged version (recommended for beginners): Windows packaged version is a packaged exe. After modifying the configuration file on windows, you can directly double-click to run it. No need to install python and dependencies

3. Obtain API Key

Please search this thing on Baidu, or click on the official account to contact me. This stuff is not appropriate to talk about here, I’m afraid I’ll lose my account.

Save the Api Key after generating it

4. Windows package version

After decompression, you get the following files:

4.1. Enter the py folder.

Modify the configuration file (just open it with Notepad):

After modification, save and exit.

4.2. Open the QBot folder

Notepad opens for modification.

You don’t have to change it, and you can scan the QR code to log in later!

Double click to start.

Enter 2 and choose to scan the QR code to log in.

5. Code version

Unzip and obtain the following files:

5.1 Enter the py folder

Modify the configuration file (just open it with Notepad):

After modification, save and exit.

5.1.1 Installation dependencies

Install the python environment, you can ignore it if you have already installed it.

Double-click the installation file

After selecting the installation path, click Install to install.

Install Python dependencies.

Double-click to install dependencies.bat.

5.1.2 Startup

4.2. Open the QBot folder

Notepad opens for modification.

You don’t have to change it, and you can scan the QR code to log in later!

Double click to start.

Choose 2 to scan the code to log in.

6. This is the end

If you have any questions, please click on the official account to contact me.

Guess you like

Origin blog.csdn.net/weixin_53041251/article/details/129474915