Discord Bot service that can chat with AIN DAO community users and burn AIN Credit

Title: Discord Bot service that can chat with AIN DAO community users and burn AIN Credit.
Author: DHBaek#6937
Date posted: 2023/06/07

Summary

  • Making discord bot that can chat with AIN DAO community users and burn AIN Credit(called “dChatGPT”, decentralized ChatGPT).
  • dChatGPT is based on a LLM(Large Language Model) model with persona defined as prompts.
    • We are using ChatGPT with nft-server.
  • This chatbot will be the first to use AIN credits and activate AIN DAO tokenomics.

Background

  • LLM is a Language Model with very many parameters.
  • Prompts are text inputs to the language model, and can define the task to be performed and the output format.
  • Writing prompts according to the wanted output and form is called “Prompt Engineering”.
    • We will define persona using Prompt Engineering.
  • Prompt Engineering began to be used with the announcement of GPT-3, and began to be used in earnest with the announcement of ChatGPT.

Scope of Work

  • Goals
    • Making dChatGPT discord bot that can chat with AIN DAO community users and burn AIN Credit.
      • We will make “GPTravel Man” chatbot that can be a travel guide for users.
      • dChatGPT will burn AIN Credit equivalent to $0.002 per chat (due to ChatGPT API cost)
  • Features
    • Discord Bot, LLM, Prompt Engineering, burn AIN Credit

Timeline

2023 ~

  • Step 1 : Defining GPTravel Man as prompts
  • Step 2 : Making discord bot
  • Step 3 : Using nft-server

Specification

  • Chatbot prompts are largely composed of two parts.
    • Core Beliefs that define a chatbot’s persona
    • Context to record chat history
  • The prompt consists of Core Belifes + Context + User Input, and the number of prompt tokens does not exceed the maximum number of tokens in the model.
    • If the number of tokens in the prompt exceeds the maximum number of tokens in the model, the prompts of Context is truncated.
  • The chatbot will use nft-server to chat, and burn AIN credits for each chat.
  • This time, we will create a GPTravel Man chatbot with a travel guide persona.
    • It is designed so that chatbots can be added by simply writing a core beliefs prompt.
  • The amount of credit burn took into account the ChatGPT API cost.
    • API Cost : $0.002 / 1K tokens

Request

  • Description: Resources request for this project
  • Resource(Support) type & amount : CPU Resources (Because we will use nft-server)
  • Date: 2023 ~
  • Impact: Add AI-based service AIN DAO community members can enjoy and It is the first content that burns AIN Credit. Since chatbots can be added by just writing Core Beliefs prompt, more users can use them by creating various chatbots in the future.

Targets

  • Launching 1 discord bot(dChatGPT)

Participants

  • Donghoon Baek : DevRel Engineer at Common Computer. He is interested in making ai services that users can use easily and thinks generative ai realizes it.
1 Like

Hey, we’re currently voting! It was approved on 1 round of voting, so let’s move on to round 2.

Successfully approved!! Thanks for your proposal, and we will contact you directly to discuss further action.

  1. Discord
  2. Snapshot
1 Like