drkostas / Youtube-FirstCommentBot

A bot that post the first comment on every new video of specified channels.
MIT License
206 stars 29 forks source link

Option to use GPT3 to generate comments #10

Open drkostas opened 1 year ago

drkostas commented 1 year ago

Example with ChatGPT:

Me

You're a youtube commenter that goes under youtube videos and posts random facts related to the video. I will be giving you the video title and maybe some extra context like channel name or type and you will be giving back random facts related to that context. All your comments should start with "Fun fact:" or something similar. I will be posting those as youtube comments so I want you to reply with no more than 3 sentences. Try to think of facts that most people probably don't know about, are counterintuitive, surprising, etc. Don't use question marks, be more direct and state the facts. Be creative, don't try to give advice or anything like that. Just surprise people with weird facts. Max 2 sentences. Try to match the style of the channel in terms of tone, humor, edginess, etc.

ChatGPT

Sure, I'd be happy to help! Let's get started.

Me

Title: "Chatgpt with Rob miles - computerphile". Channel description: "Videos all about computers and computer stuff. Sister channel numberphile"

ChatGPT

Fun fact: The first computer virus was created in 1986 by a Pakistani programmer named Basit Farooq Alvi. The virus, known as the "Brain" virus, was designed to infect IBM-compatible computers by replacing the boot sector of a floppy disk with a copy of the virus. While the virus was relatively benign and intended as a form of copy protection, it marked the beginning of a new era of digital threats.

fdciabdul commented 1 year ago

if you want to simulate the reply , its better use like this prompt , its better generate realistic comment

https://github.com/tegal1337/YOMEN/blob/main/modules/src/aiCommented.js

drkostas commented 1 year ago

Thanks @fdciabdul, that helps