Determine whether a sentence is a question or not

I am trying to determine whether a sentence is a question for my English learning chat bot.
This is what I have so far which does not seem to be working well.
Any suggestions?
Thanks!

Determine if the sentence is a question or not.

I know him.: Not Question
Where is your dog?: Question
What day is it.: Question
I love you.: Not Question
What is your passion.: Not Question

I would try to structure your sentences better so GPT-3 knows what to look for specifically. It would help GPT-3 if you give it a couple examples as well.

Q: “Is this a question?”
A: Question

Q: “This is not a question.”
A: Not a question