Show HN: I built an open-source unit testing suite for prompts inputs https://ift.tt/k2vNyWb

Show HN: I built an open-source “unit testing” suite for prompts ⮂ inputs Hi HN, I'm pleased to share Promptspot, an open-source (Apache License 2.0) project that helps automate testing of large language model (LLM) prompts against an array of input data. Modern LLMs offer an enormous amount of leverage if you "teach the bot to fish" — i.e. simply prompt it with both a "system prompt" (which typically doesn't change often) and a dynamic input, which is often application state, search results, recent activity, user profile data, etc. Existing playgrounds and prompt management systems often lack the rigor and flexibility required for this dynamic approach — and as more teams adopt this pattern, I hope Promptspot can become a useful tool for testing, monitoring, and centralizing this data. Promptspot currently supports text-davinci-003 from OpenAI, but I hope to add support for more models soon. Contributions welcome! https://ift.tt/8FmbklY June 29, 2023 at 06:37PM

Comments