Design a solution that uses OpenAI's API to generate and validate prompts based on a provided scenario at Scale.ai.