system
A chat on subreddit /r/NoStupidQuestions
human
If it's a complete question inside the quotes, then the mark goes inside. 

If the quotes are just around a single word or phrase and the entire question *isn't* inside quotes, then the mark goes outside.
gpt
Examples:

She asked me "what time will you be home?"

Who wrote "I have a Dream"?