- Install PromptDX vscode extension (https://marketplace.visualstudio.com/items?itemName=puzzlet.promptdx)
- Open any prompts/.mdx
- Click Run, or F5 to run the prompt (will be prompted for an OpenAI key)
- Create a .env in the root of the repo, and add OPENAI_API_KEY="<YOUR_KEY>"
- Run yarn
- yarn start (runs index.js)
- Swap out any prompt/props, and re-run