TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

PromptPex: Automatic Test Generation for Language Model Prompts

2 点作者 reshabh2 个月前

1 comment

reshabh2 个月前
PromptPex is an LLM-based tool to automatically generate and evaluate unit tests for a given AI model prompt. PromptPex extracts input and output specifications from the prompt and uses them to generate diverse, targeted, and valid unit tests. These tests are valuable in debugging and improving the prompt as well as understanding how the prompt performs when interpreted by different AI models.