Process data and user input through OpenAI 2