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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Prxmpt – A JSX Framework for Prompt Engineering

1 点作者 bconnorwhite超过 1 年前
Hi everyone, super excited to release Prxmpt!<p>After writing a few too many prompts with nested ternaries in string templates I tried writing prompts in JSX instead, and discovered the DX was far better.<p>Prxmpt is sort of like &quot;TailwindCSS for Prompt Engineering&quot; - it comes with a bunch of utility elements that remove the headache of composing complex prompts.<p>Prxmpt also includes a few more advanced elements such as &lt;priority&gt;, which is sort of like a CSS media query for text. It allows you to easily set policies for which content is dropped once you hit your token limit.<p>Prxmpt is still v0.1, but I&#x27;ve put included several examples in the repo. If you use TS&#x2F;JS and work with LLMs I&#x27;d appreciate any ideas or feedback - I&#x27;m sure there are a bunch of useful features that I haven&#x27;t thought of yet.

暂无评论

暂无评论