Messenger OpenAI Code
use this .js file on your messenger bot file name "ai.js". then restart your messenger bot. After turn on bot go messenger group and ask any question with question mark (?). Then the Messenger bot will reply you the answer.
Thank You