Main Contents
- We willl use AINFT Builder Discord App to build our own QA Chatbot
- We will use Prompt Dialog Customized AI Model to use Discord Bot
Things we will go through
- Make our own discord server
- Use AINFT Bot Builder to make Discord QA Chatbot
- Use Discord bot (and commands that you can use with your bot)
- Think about the relationships between AI QA Chatbot and NFT
Materials you will need
- Computer or Laptop
- Discord app and an account - https://discord.com/
1. Build my own Discord server
(You need to do this because you need admin permission)
-
Click add server to create your server
(Translation: Click “Add Server” to create a server) -
Click “Make your own!”
-
Click “For me and my friends!”
-
Name your server! (ex. QA Chatbot)
-
Done!
2. Add AINFT Builder App
- Click the link - Discord
- Give ainft-builder bot permission (Click the server the you have created above)
- Check if ainft-builder-bot user and ainft-bot-factory channel has been added!
3. Make QA Chatbot
- With in #ainft-bot-factory channel type
/ainft init qa_chatbot_1
- Pick AI Model you want
- Available selections are
[GPT-J 6B (Eng)](https://huggingface.co/EleutherAI/gpt-j-6B)
and[KoGPT 6B (Kor)](https://huggingface.co/kakaobrain/kogpt)
. GPT-J 6B was made by EleutherAI which is based in English and KoGPT 6B was made by KakaoBrain based in Korean. (More information about GPT-J is available in this link link)
- Select channel that the bot will be active in!
- Add 3 Q&A Dialog (One question and one answer is a set)
Translation:
- Bot: Please enter your 1st question.
- User: What is your name?
- Bot: Please enter your answer to the 1st question.
- User: My name is You-Ah-In
- Questions and answers help the bot by Few-shot learning which gives the bot Identity
- Finshed!!
Translation:
- User: Please enter your 3rd question.
- User: What is your job?
- Bot: Please enter your answer to the 3rd question.
- User: I am an actor
- Bot: You have successfully requested an AINFT build.
4. Use the QA Chatbot!
- By going to the selected channel, you can ask questions!
- It takes bit of time for the bot to answer so you can check the status like the image below.
- Just because it only has few dialogs does not mean its dumb! it is rather quiet clever!
- input
- output
- input
5. Try different commands as well!
- There are other commands that you can try!