This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| GPT-3.5 client for Python 3.6+. | |
| Usage: python gpt.py [command] [options] [text] | |
| Commands: | |
| another-word Find another word with GPT-3. | |
| qa Ask a single question then exit. | |
| q Alias for qa. | |
| rephrase Rephrase text with GPT-3. | |
| interactive Start an interactive chat with GPT-3. |