My GPT Linebot can help me correct English grammar!! The setup is super easy, even my grandpa can do it.
Creating a GPT Linebot on aistaff (在 aistaff 建立 GPT Linebot)
This article will guide you through creating your own GPT Linebot using Prompt and achieving the following effects.
Note: The GPT Linebot you create above will have the ability to correct your English grammar.
Creating a GPT Linebot requires the following three steps:
Step 1: Create an OpenAI account and obtain an API key. Please refer to the link below for detailed instructions.
Steps to log in to OpenAI and get an API key
After obtaining the API Key according to the above steps, please save it because Step 3 will use the API Key. If you already have an API Key, you can skip the above steps.
Step 2: Create a Linebot and set the relevant options. Please refer to the link below for detailed instructions.
How to create a Line robot and get the Token and secret.
According to the above steps, obtain "access token" and "Channel secret." These two pieces of data will be used in Step 3 when creating the GPT Linebot. If you already have the Linebot's "access token" and "Channel secret," you can skip the above steps.
Step 3: Create a GPT Linebot on the aistaff website
a.Click the link on the right https://aistaff.tech to reach the "aistaff" website.
b.Click on "Account" at the top.
c.Enter your account and password and click "LOGIN" (if you don’t have an account, please click "NEW ACCOUNT" to apply for a new account).
d.After logging in, click "+Prompt" on the staff page to create a Prompt Staff.
Note: You can change the Prompt to any role you want GPT to play, for example, you can also enter "Please act as my middle school English teacher and answer my English questions," and GPT will then act as your middle school English teacher to answer questions.
Next, click "Robots" to switch to the Robots page and click "+Linbot" to create a GPT-Linbot.
Then enter the following information:
Then enter the following information:
Channel Secret: Copy the "Channel secret" obtained in step 2 to this item, pay attention to not having spaces before and after.
Channel Access Token: Copy the "access token" obtained in step 2 to this item, pay attention to not having spaces before and after.
GPT API key: Copy the "API Key" obtained in step 1 to this item, pay attention to not having spaces before and after.
Staff: Click the dropdown menu and select the staff "Grammar correction" that you just created.
Greeting: Enter a greeting message, such as the following:
"I am an English helper. I can help you correct your English grammar."
Note: When a user adds your Linebot to their friends, it will automatically respond to this message.
AI Model: You can choose between gpt-3.5-turbo or gpt-4.
**Please note that the billing models of gpt-3.5-turbo and gpt-4 are different. Please refer to the official OpenAI billing explanation in step 1.
Content: You can choose 20 pieces of context for a better experience. For gpt-4, you can choose 30 pieces of context.
After completing the settings above, click "Submit" to create the GPT Linebot.
f.After creating a new Linbot, you will see the following in the Robots page:
Click "Grammar correction" to display information about this GPT Linebot.
g.Once you enter the GPT Linebot Detail page, click "Copy webhook" and the address of the "Path of webhook" will be copied to the clipboard.
h.Then go back to Step 2's "Line Console," select the Linebot you are using, and switch to the "Messaging API" page to configure the webhook URL and enable the Use webhook feature.
After completing the settings above, you can scan the QR code on the Messaging API page with your Line to start using the GPT Linebot.
After completing the above settings, you can use your Line to scan the QR code on the Messaging API page to start using the GPT Linebot.
The above are the relevant setup instructions.
留言
張貼留言