How to save information from an async request and use it in another async request after an event is triggered?
Part of a game I am making requires a query to gpt-4o asking whether two people have met. An inital person is provided and the user has to input the name of someone who they think has met the initial person. After the guess is submitted through an input field, a promise containing the text “true” or “false” is returned.