Build structured prompts from role, task, context and constraints, estimate token cost and audit quality.
按角色、任务、背景、约束、输出格式拼出结构化提示词,估算 token 数量与成本,并给出质量检查清单。
A prompt-engineering workbench. Instead of hoping for a good prompt, you fill in five explicit slots — role, task, context, constraints and output format — and the tool assembles them into a structured prompt with clear headings. It then estimates the token count (Chinese characters and English words are counted differently) and audits the prompt against a quality checklist, so you can see at a glance whether the piece that most often makes an answer vague — the missing output format — is actually there.
一个提示词工程工作台。它不靠"祈祷式"提问,而是让你填五个明确的槽位——角色、任务、背景、约束、输出格式——再拼装成带清晰小标题的结构化提示词;随后估算 token 数(中文按字、英文按词分别计算),并按质量清单逐项体检,让你一眼看出最常导致回答啰嗦的那块——输出格式——到底有没有写。
Because models do: Chinese is commonly priced per character, English per token, and one English token is roughly four characters. The estimate blends both so the number is closer to reality for mixed text.
因为模型就是这样计费的:中文通常按字计,英文按 token 计,一个英文 token 大约 4 个字符。估算按两种规则混合,混合文本下更接近真实值。
No. Tokenisation depends on the specific model's vocabulary. The number is a planning aid for cost and length, not a billing figure.
不完全准。分词取决于具体模型的词表。这个数字用于成本与长度规划,不能当账单看。
No. It is a pure text assembly and analysis tool — no API key, no network call, nothing uploaded.
不会。它是纯文本拼装与分析工具——不要 API Key、不发网络请求、不上传内容。
Three things: a specific role, an explicit output format, and one worked example. Those three usually matter far more than length or clever wording, and the checklist tells you which one you forgot.
三件事:明确的角色、明确的输出格式、一个示例。它们远比"写得更长或更花哨"有效,清单就是用来提醒你别漏掉其中之一。
Train linear regression, logistic regression and K-means cluster…
在浏览器里直接训练线性回归、逻辑回归与 K-means 聚类,实时画出拟合直线、…
Tokenise text, extract TF-weighted keywords and compare two docu…
对中英文文本分词、去停用词、提取 TF 加权关键词,并用余弦相似度比较两段文本的…
Score the sentiment of a review or message with a bilingual posi…
用中英文正负情感词典对评论、留言打分,正确处理"不""没"等否定词,列出命中的正…
Turn text into spoken audio with the browser speech engine, adju…
调用浏览器内置语音引擎朗读文本,可调语速与音调,支持中文、英文、日文与韩文。…
Dictate with your microphone and get live transcribed text using…
用麦克风实时听写,自动转成文字,支持中英文识别,结果可一键复制。…
Run classic computer-vision operators on an image: Sobel edges, …
在本地对图片运行经典计算机视觉算子:Sobel 边缘检测、Otsu 自动阈值、直…