/chatGPT-Miami

A Python script that links to OpenAI's GPT-3 API to provide answers to questions about Miami. The script allows for a conversational interface with an AI model that has information about the city. Easy to use with just a few steps of installation and configuration. Explore the potential of AI and NLP with this fun project!

Primary LanguagePython

Miami ChatGPT API

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.

Installation

To run the script, you'll need to install the openai package:

Requirements

  • Python 3.6 or later
  • OpenAI API key
pip install openai

Usage

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.

Contributing

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.

License

MIT