Option to use GPT3 to generate comments
- Set a predefined tone and style and generate comments based on the style of the channel and the topic of the video
- Fallback to default comments if it takes too long or doesn't meet requirements (eg length)
- Keep channel information such as channel description and topics
- Get extra information about the video such as description and topics
- Make sure the same comments are not repeated. Since the comments are not going to be deterministic, the relatedness should be checked using similarity.
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.
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
Thanks @fdciabdul, that helps