A type-safe prompt generator simplifies the process of generating prompts without the need to reference lengthy articles or cheat sheets. It ensures that all necessary factors for a basic prompt are considered.
npm install ai-prompt-generator
-
getCompletionPrompt
: Creates a completion prompt utilizing specified options.