Skip to content

How can I change the time to ask random questions? #63

Answered by ardha27
jonnytri53 asked this question in Q&A
Discussion options

You must be logged in to vote

I didnt add add error handling on that side. You can change the code so it only process message that contain text and not processing empty message

  1. Yes you can. Maybe you can add time flag when the last coversation occured, if it already pass 2 mnt. Make a code that will send instruction to openai (on background) to generate a random topic to talk about

  2. Yes, but you need to change record audio function. You can find library that can use microphone threshold so it only recording when there are someone speaking

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jonnytri53
Comment options

@ardha27
Comment options

Answer selected by jonnytri53
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants