Using OpenAI for prompt construction