Creating a a semi-intelligent Curation Bot for HIVE!

chatgpt-hive-curator1.png

Earlier today, I stumbled upon a fascinating blog post titled Refactoring My Auto-Voter Code. One line, in particular, caught my attention:

"I was trying to build a semi-intelligent Curation Bot that would do a bit of analysis on posts and then vote accordingly"

This insight from @buggedout sparked an idea, and I immediately set to work. The result? The first phase of a Semi-Intelligent Curation Bot, crafted from scratch tonight using Node.js. You can explore it here: gptvoter on GitHub

This is merely the beginning. Yet, it serves as a prime example of integrating ChatGPT with the HIVE blog blockchain to add a layer of intelligence to your scripts. My experience programming financial trading bots for ChatGPT laid the groundwork; analyzing blogs isn't all too different from dissecting stock reports, financials, and news.

Screenshot 2024-02-23 at 11.22.01 pm.png

How does the script work?

The script operates on a simple premise: it fetches posts and decides whether to upvote based on the calculated blogImpact score. Here's a step-by-step breakdown:

  • Initial Setup: Enter your settings, fill in the .env with your keys, and secure a ChatGPT API key (fortunately, 3.5 has always been freely available for me, but keep rate limits in mind).
  • Tag Configuration: Choose the tags you wish the bot to monitor (e.g., 'technology', 'pob', 'hive') and set a frequency for checks. For testing, I've set mine to every 10 minutes.
  • Post Fetching and Voting: The script assesses posts on a scale of 1-100. Posts scoring above 70 receive a 100% upvote.

This iteration of the script is just a starting point. I have numerous ideas to refine and enhance its capabilities. For now, it's a solid foundation for anyone interested in blending ChatGPT's prowess with HIVE.

code redacted!

Future Enhancements

Looking ahead, I plan to enrich the script's analytical depth:

  • Grammar Analysis: By integrating a Natural Language Processing (NLP) library or API, such as node-nlp or retext, the bot will evaluate posts based on grammar quality.
  • Further Metrics: Other considerations will include post length, views, and more. With AI at our fingertips, the possibilities are boundless.

I'm eager to hear your thoughts, questions, and feedback. Feel encouraged to dive into the GitHub repository, clone the project, or push improvements. Your input is invaluable as we explore the frontiers of AI in content curation together.

Stay Connected

For more insights and updates, follow @coininstant. Your support and engagement fuel this journey into the future of automated curation.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center