Disclaimer : the code, post and description written by chatGPT.
A Python script that links to OpenAI's GPT-3 API and returns answers to questions about Miami.
To run the script, you'll need to install the openai package:
- Python 3.6 or later
- OpenAI API key
pip install openai
You: What is the population of Miami?
ChatGPT: The population of Miami, Florida is approximately 463,000 people.
You: What is the most famous tourist attraction in Miami?
ChatGPT: The most famous tourist attraction in Miami is probably South Beach, known for its beautiful beaches, Art Deco architecture, and vibrant nightlife.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.