A small framework for chaining GPT prompts with output referencing in Node.js
The MinimalChainable class allows you to reference query inputs and the various structured outputs of n-prompts.
A small port of a python version by @indydevdan (https://www.youtube.com/@indydevdan)
You can run as is (example prompts in prompts.js) or update your prompts and output structure.