Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to use GPT3 to generate comments #10

Open
drkostas opened this issue Feb 14, 2023 · 2 comments
Open

Option to use GPT3 to generate comments #10

drkostas opened this issue Feb 14, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@drkostas
Copy link
Owner

  • 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.

@drkostas drkostas added the enhancement New feature or request label Feb 14, 2023
@fdciabdul
Copy link

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
Copy link
Owner Author

Thanks @fdciabdul, that helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants