Skip to content

Create elaborated chatgtp prompts using a specified goal input text is processed by the chatgpt model

License

Notifications You must be signed in to change notification settings

alvaro-vinuela/engineered-chatgpt-prompts

Repository files navigation

engineered-chatgpt-prompts

Create elaborated chatgtp prompts using a specified goal input text is processed by the chatgpt model

Installation

python3 -m pip install -r requirements.txt

Configuration

Set your open api key on your .env file with the following format:

OPENAI_API_KEY=<your-key>
OPENAI_ORGANIZATION=<your-organizatio-or-personal-id>

Links:

Usage

Launch application in graphical mode with:

python engineered_chatgpt_prompts.py

To launch application on batch mode over a directory or file, check help:

python engineered_chatgpt_prompts.py -h

output:

usage: engineered_chatgpt_prompts.py [-h] [-d DIR] [-f FILE] [-g GOAL]

Launch engineered chatgtp prompts tool on graphical or command line mode.

Example processing a directory in batch mode:
  python engineered_chatgtp_prompts.py --directory="/path/to/directory" --goal="/path/to/goal"

Example processing a file in batch mode:
  python engineered_chatgtp_prompts.py --file="/path/to/file" --goal="${PWD}/goals/general/summarize.txt"

Example Launching it on graphical mode:
  python engineered_chatgtp_prompts.py 

options:
  -h, --help            show this help message and exit
  -d DIR, --dir DIR     dir to process
  -f FILE, --file FILE  file to process
  -g GOAL, --goal GOAL  goal to do on directory

About

Create elaborated chatgtp prompts using a specified goal input text is processed by the chatgpt model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published