Master GPT is a tool to enhance ChatGPT with prebuilt prompts.
Master GPT provides a user-friendly menu system that allows users to select preconfigured prompts for interacting with ChatGPT. The prompts are stored in a CSV file, and users can choose from various options to engage in a chat-like conversation with ChatGPT.
To run Master GPT, you'll need the following:
- Python 3.x
openai
package (install viapip install openai
)- OpenAI API credentials (get your API key from OpenAI)
- Clone the repository:
git clone https://github.com/your-username/master-gpt.git
- Navigate to the project directory:
cd master-gpt
- Install the required packages:
pip install -r requirements.txt
- Set up your OpenAI API credentials:
Replace 'YOUR_API_KEY'
in the master_gpt.py
file with your actual OpenAI API key.
- Create a CSV file named
options.csv
in the project directory. (A prebuild csv is included) - Add your desired prompts and corresponding actions in the CSV file.
- Run the script:
python master_gpt.py
- The main menu will be displayed with the available options.
- Enter the number corresponding to the desired option and press Enter.
- Interact with ChatGPT by entering messages.
- To return to the main menu, type
!menu
and press Enter. - To exit the program, choose the option
0
from the main menu.
The options.csv
file should have the following format:
act,prompt
Option 1,Hello, how can I assist you?
Option 2,What is your favorite movie?
Option 3,How is the weather today?
Each row represents an option that the user can choose from. The act
column contains the name of the option, and the prompt
column contains the initial prompt to be sent to ChatGPT.
Contributions to Master GPT are welcome! If you have any ideas, enhancements, or bug fixes, please submit a pull request.
This project is licensed under the MIT License.
Feel free to modify the content and structure of the README file as per your requirements.