Promptform: Run GPT in bulk
FreeCommand-line tool for running files in bulk through ChatGPT APIs
FreeFree tier
Inputs: textOutputs: text, code
About Promptform: Run GPT in bulk
Promptform is an open-source command-line tool for running files in bulk through the OpenAI Completions API (e.g., with GPT-3.5). It allows users to easily process entire directories of files with customizable prompts, glob patterns, and output options. Designed for use with GPT-3.5 and compatible with future versions, it offers a user-friendly command-line interface for batch file processing using AI.
Key Features
Easily run entire directories of files through the OpenAI Completions API
Include and exclude file glob patterns
Replace content in-place or create new files alongside source files
Designed for use with GPT-3.5 and compatible with future versions
User-friendly command line interface
Open source under MIT license
Installable globally via npm
Pros & Cons
Pros
- Open source and free to use (MIT license)
- Simple CLI with quick npm installation
- Flexible file selection via include/exclude glob patterns
- Supports both in-place modification and separate output files
- Works with GPT-3.5 and is compatible with future OpenAI models
- Easy integration into existing terminal workflows
Cons
- Requires an OpenAI API key and incurs usage charges from OpenAI
- Only supports the OpenAI Completions API (no other providers or models)
- Primarily designed for batch processing, not interactive or real-time use
- Limited error handling or retry logic mentioned in the documentation
Best For
Summarize text files by providing a 'Summarize this text:' promptGenerate unit tests for TypeScript modules with a prompt for code outputBulk transformation or rewriting of any text-based files using AIAutomated content processing with GPT-3.5 for large file sets
FAQ
How do I install Promptform?
Install it globally via npm: npm install -g promptform.
How do I set up my OpenAI API key?
Set your API key in a file at ~/.openai-token or as the environment variable OPENAI_API_KEY.
What file types can I process with Promptform?
You can process any text-based files. Use glob patterns to include or exclude specific file types (e.g., **/*.txt for all text files, **/*.ts for TypeScript files).
Is Promptform free?
Yes, Promptform is open source under the MIT license and free to use. However, you must have your own OpenAI API key and pay for any usage charges incurred through the OpenAI API.