This repository demonstrates how to build a simple chat bot using the OpenAI API. The chat bot uses prompt engineering techniques to generate conversational responses. By following the instructions below, you can create your own chat bot powered by OpenAI.
Before getting started, make sure you have the following:
- Python 3.7 or later installed
- OpenAI Python library
- OpenAI API key
-
Clone the repository:
-
Navigate to the project directory:
-
Install the required Python packages: OPENAI
-
Get your OpenAI API KEY at https://platform.openai.com
-
Set the OpenAI API key in the chatbot.py file
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.