hey all I am planning to make a voice assistant app
I had a doubt that in that voice assistant app I want to add multiple questions and answers
, but adding each question manually is a task so I made JSON data with the questions and answers
JSON data that i made
the code that I tried to extract the data
but it’s not working and I have another doubt that in some questions
example: what is the time
what time is it
so what I wanted is that I cant add all the questions like the example so I wanted
if the statement ( speech recognizers result ) contains the question (what is the time) or the word time then it would answer it
how can I add and or statement for the question in JSON?
the q variable is the JSON data