Grant Proposal: DocIT

Grant ID: 86858uuer

Summary:

We propose to develop a private Discord bot or Docs widget (allowing users to “talk to your docs”) for The Graph, harnessing the capabilities of the latest Large Language Models (LLMs). This bot or widget will interconnect The Graph’s key Github repositories, documentation, related articles, and forum posts, providing users with a platform to ask questions in a natural language.

I have read and agree to the privacy policy:
true

Describe what your project does or is aiming to do in 50 characters or less:
We propose to develop a private Discord bot(allowing users to “talk to your docs”) for The Graph

How far along are you?:
I have built working back-end infrastructure and the discord bot to work for The Graph.
This app leverages the backend to show the functionality:

chatbot-ui-olive-eta.vercel.app

Why did you pick this idea to work on? Do you have domain expertise in this area? How do you know people need what you’re making?:
I have a passion for technology and helping users to adopt a stack quickly to make progress. This bot shortcuts discoverability closer to where they live, Discord.

What’s new about what you’re making? What substitutes do people resort to because it doesn’t exist yet (or they don’t know about it)?:
DocIT reduces learning complexity with the tight translation of the LLM over confirmed The Graph documentation. The current method of reading, and asking embarrasing questions in public is the best case scenario for a user’s growth.

What’s your vision for how your project will impact The Graph and/or web3?:
Our primary objective is to augment the The Graph DevRel and Community Support teams, lessen the support hours on Discord, and speed up responses to frequently asked questions. This ensures that both the teams and users get answers more effectively.

How will you measure success?:
number of Questions asked to the bot. We track questions in our private db. - adoption
volume of questions/messges over time. - stickiness.

What milestones will you achieve in the coming weeks/months, with or without the grant?:
Milestone 1 - Implementation of Data Sources [2 weeks]: Post the discovery phase, we will incorporate 3-4 high-value data sources into the bot or widget. We will crawl data and create OpenAI emeddings in our db to index and setup search on queries. This milestone will involve refining file loading, index creation, and data source integration.

End state: Have 3-4 data sources that can be queried.
Expected bugs: hallucinations, mismatches on query/documents.

Milestone 2 - Testing and Optimization + Deploy to Production [2 weeks]: This critical phase will concentrate on eliminating hallucinations and refining prompt engineering to ensure only pertinent answers are given, with source material and links for users to follow up on. The aim is to make the bot or widget production-ready.

End state: A production-ready bot or widget approved by the Customer / Community Support teams, ready for deployment on the The Graph’s Discord channel or Docs page.

Please select who you think will benefit from your project?:
Subgraph Developers

How much funding are you looking for? (USD):
8000

Provide a breakdown of your requested funding:
Infrastructure costs:($2000) 6-8 month provision (depending on usage)

  • OpenAI token usage
  • Google Cloud Platform hosting
  • Supabase DB’s

Development costs ($6000)

Have you applied for (or already received) funding from somewhere else?:
No

If yes, please describe where you’ve received funding from and how much you have, or will, receive:
N/A

Can you share any information about current/past web3 experience?:
I have built an book author NFT marketplace on Tezos.

Why are you interested in contributing to The Graph and/or web3?:
The graph provides value with ease of data access. I want to help that value with developer onboarding/growth help in discord via a targeted bot.

Are you applying as a team or individual?:
Individual

What type of grant are you pursuing?:
Long-term (continuous)

Please select the category your project best fits into:
Education




Primary Community Poll

Do you fundamentally support this grant application, knowing that the final scope and grant amount may differ from the requested proposal?
  • Yes
  • No

0 voters




Grant Committee Vote

Do you recommend this grant to the DAO?
  • Yes
  • No

0 voters

Hey there, i read your proposal and it looks quite interesting to me but got some questions
regarding it:

  1. Will this Bot operate only on English language as Graph’s ecosystem also consist of people who can’t speak english well ?

  2. You mentioned that you have built a working back-end infrastructure and the Discord bot. Could you provide us a small video maybe that how it works, please?

  3. Have you any experience of creating any bot with these functionalities for any other project before, maybe ?

Thank you!

1 Like

Hey,
Thank you for the questions, I’m happy to follow up with more details.

Blockquote 1. Will this Bot operate only on English language as Graph’s ecosystem also consist of people who can’t speak english well ?

The bot is configured for english, but I can add language support. Do you know the top languages I should build in for support? Ideally, top two and we can iterate more languages with usage.

Blockquote 2. You mentioned that you have built a working back-end infrastructure and the Discord bot. Could you provide us a small video maybe that how it works, please?

Certainly, I’ve attached a short video of interactions using Balancer documentation.

Blockquote 3 3. Have you any experience of creating any bot with these functionalities for any other project before, maybe?

I have limited bot experience, but over a decade of software development experience, majority on the web. The vast majority of this code lives in the back-end, with security rules. I take safety very serious, this bot uses discord for two reasons. 1. To be close to end-users with questions. 2. To provide admins the ability to determine where the bot lives or not, hopefully increasing security and giving you power of removal if needed.

I’m not sure, I’m not a Discord admin, but I think we have bots with functionalities like this already in place, which is why I voted NO.

I wonder if the language model you’re using could also be used in the GRT DataHub chatbot developed by @GRTDataHub and maybe you guys would like to share experiences and collaborate together on improving both projects in the future?

Hello DocIT,

Thank you for taking the time to submit this detailed proposal. Automated community care is a fantastic tool, particularly when it comes to answering questions in a project with extensive documentation.

However, after careful review, the grant committee has decided not to proceed with supporting this grant.

We want to emphasize that this decision is not a reflection of the potential we see in your proposal. In fact, we believe your grant holds great promise. The key reason for our decision is that there is already a similar bot, called AwesomeQA, active in the graphprotocol discord server. You can find an example here (Discord).

Furthermore, members of Graph AdvocatesDAO do not have admin powers on the graphprotocol server, which makes it technically impossible for us to execute this grant.

Thank you for understanding, we wish you the best of luck in finding a place for your bot in a different community,