Original link: https://justyy.com/archives/61749
I am now one of the TOP 20 witnesses of STEEM , and I feel that I can’t live up to everyone’s expectations and I have to do some work.
Since ChatGPT became popular in February, various applications have been connected to ChatGPT API, but currently ChatGPT API is still based on version 3.5. I think the whole robot is not difficult (I have done a few before), just write some codes while watching the video, and I refactored it to better support other robots at the same time.
Now, on the STEEM blockchain, we can reply to any post (the post itself is not supported yet)!ask add a space + the question you want to ask. However, it takes about 30 to 60 seconds for the ChatGPT reply to appear on the blockchain (refresh to view).
ChatGPT on the STEEM Blockchain – Design
A process (or application) listens for comments posted on the steem blockchain and enqueues comments containing “!ask”. The questions will then be stored in a MySQL database.
Another process periodically retrieves newly received comments in chronological order (oldest to newest) and then calls the ChatGPT (current version is 3.5) API. When the API returns, the text will be published on the Steem blockchain .
New designs are here! System design of Steem blockchain robot
current limit
Comments are obtained by real-time monitoring, which means that captured “messages” are processed immediately, but when the bot goes down, it will definitely miss “old” messages, and when it restarts, it will not try to scan and process them .
I hope this leads to some fun and joy, and most importantly, increased activity (interaction) on the steem blockchain !
Questions need to be longer, shorter questions or hints may be ignored – please ask specific questions if possible.
For now, this is still in beta – don’t panic when it doesn’t work. Please contact @justyy to report issues.
Steem will go to $1!
- Swap STEEM/SBD to TRON U – USDT (TRC-20) Steem2USDT !
- Register a Steem blockchain account for free!
There are a total of 506 Chinese characters in this article, count it right.
Integrate ChatGPT Prompt AI into STEEM blockchain! . ( AMP mobile acceleration version )
The post Integrate ChatGPT Prompt AI into the STEEM blockchain! first appeared on Xiao Laizi’s British life and information .
This article is transferred from: https://justyy.com/archives/61749
This site is only for collection, and the copyright belongs to the original author.