openai API super simple implementation for text analysis, question generation and answer. For the questionnaire, the script repeats a question multiple times and uses a hard voting mechanism to determine the most accurate answer. Ensure your API key is stored in 'key.txt'.