------ body content display, start to learn new knowledge ------
Step 1: FastGPT creates the application
FastGPT 可以简单理解为一个用于创建和管理 GPT 模型的平台(去年写这篇文章时,GPTs 功能还未发布)。通过这个平台,用户可以方便地创建自己的 GPT 模型,并将其直接接入微信进行使用。
如果您拥有自己的 API Key,可以在账号设置页面中输入并配置您的 API Key。请特别注意,在填写 API 地址时,需要在地址末尾添加后缀 “v1”,以确保能够正确访问相应的服务。
If you don't have it, you can also recharge directly in the platform to use the interface provided by the platform, the price is not bad.
After configuring the Key, create a new application in the application interface and debug it.
It's actually pretty much the same steps as creating GPTs, theThe two main places to configure the AI model and cue words areThe
If you have relevant information, you can also associate a knowledge base to facilitate GPT access to WeChat conversations, you can directly refer to the information to answer, for example:
How to upload a database is covered in detail in the previous article, so I won't go into it here.
There are also advanced orchestration features, similar to workflow design, interested brothers can explore on their own, the function is still quite rich.
To make it easier for you to understand, I won't explain too much in this article.
Once it's all debugged click Publish Application, select Access via API and click New!::
Set the Key name, point limit and expiration time according to your application scenario.
If there are no special requirements, just default the settings directly and click Confirm:
The platform then creates an API key, note theThe key will only be displayed once, so remember to save it in time!The
in one's turnSave the API Key and root address, save it for later steps.
Step 2: Access to Smart MicroSecretary
Smart MicroSecretary is a smart robot configuration management platform.
Can be accessed with one clickChatGPTDialog, Seamless AdaptationFastGPTKnowledge base, supportEnterprise WeChat, personal WeChat and public number and other platforms.
Official website address:https://wechat.aibotk.com
In this step we need to access the app we just created on FastGPT to Smart MicroSecretary.
After registering and logging in, you will automatically enter the basic configuration interface, where you can set the APIKEY as you like:
Then check the Smart Bot Reply button to open the parameter settings.
In total, there are 5 places that need to be set manually:
The first is the robot trigger rangeThe most important thing to remember is that you can have access to a group or private chat, or all of them, depending on what you want;
The second is an accessed robotics platform, check FastGPT;
The third is the choice of whether or not to cite the original text, I personally recommend checking the box if you are accessing a group chat and leaving it unchecked for private chats;
The fourth and fifth is the APIKEY and root address that you were told to save in FastGPT in the previous stepNote that when filling in the root address, the suffix "v1" should also be added at the end.
Once it's all set up, click Save.
after thatFind APIKEY and APISECRET in the Personal Center screen, save it for later.
Step 3: Configure the server
Open the Sealos platform:https://sealos.run/Sealos
It is a cloud operating system that allows Smart MicroSecretary to run directly on Sealos, which is much easier and more convenient to use than traditional cloud servers.
After registering and logging in, click on Application Management:
Click New Application:
Fill in the name, mirror name, allocate CPU and memory in the base configuration page.
Note that if the access is to bePersonal WeChat mirror name: aibotk/wechat-assistant
If the access isEnterprise WeChat Mirror Name: aibotk/worker-assistant
CPU and RAM selection of 1h1G is enough to use, new registered users will have 5 dollars experience credit, enough to play for a long time.
Then expand Advanced Configuration and click Edit Environment Variables:
Fill in the following lines in the environment variable editing screen:
If you are accessing a personal WeChat, you only need to enter the first two linesJust fill in the APIKEY and APISECRET that you configured in the previous step in Smart MicroSecretary:
If you want to access enterprise WeChat, apply for a Token in the following URL and fill it in:https://tss.rpachat.com
Once configured click Confirm and then click Deploy in the upper right corner:
Seeing the upper left corner shows the running status means the configuration is successful:
Step 4: Access to WeChat
Back to the intelligent micro-secretary platform, in this position on the home page will appear a QR code, with WeChat scanning login to access WeChat with one click:
Here, ChatGPT is successfully connected to WeChat, so you can experience the effect of conversing with the exclusive robot in WeChat.
In fact, if you are simply accessing ChatGPT, you can not use FastGPT as a platform at all.
Just use Smart MicroSecretary and Sealos directly.
onlyThrough FastGPT to GPT into WeChat we can apply to more scenarios, such as intelligent WeChat customer service, AI private tutor, AI lovers and so on.
2024-07-18 11:35:19
Please note that some articles are time-sensitive, so if there are any errors or if they are no longer valid, please check below.leave a messageor contactHootSuite OfficialThe
- newest
- hottest
See only the author.