how-does-openai-work