Show HN: ActionPrompt – A Rails Plugin for Managing Your LLM Prompts
2 points| evtothedev | 1 year ago |github.com
As LLMs have become ubiquitous in web applications, I've noticed that prompts intended for Claude or GPT have become scattered throughout our codebase or buried within objects. Often, these prompts were built inline through string manipulation. My thinking was two-fold, 1) Let's come up with a simple pattern for organizing and rendering these prompts, and 2) Let's make them easy to review.
This draws heavy inspiration from ActionMailer::Preview.
graypegg|1 year ago