填充模板
本课属于 Coddy AI Prompts 学习旅程的“提示词技巧”单元。第 14 课,共 24 课。
有时,输出必须符合已有的格式,例如工单系统、报告或订单表。把需要填写的表格交给 AI,它就会准确地返回这些内容。
Fill in this template from the message in <message> tags. Keep the labels, replace each [ ] and reply with the filled template only.
<message>Hey all, we're doing a picnic in Riverside Park this Sunday, the 14th!</message>
Event: [ ]
Date: [ ]
Place: [ ]活动:野餐
日期:14日
地点:Riverside Park
模板会为你处理格式:标签、标签的顺序和行数都是固定的。把源文本放在模板前面的标签中,这样 AI 就不会把它误认为是另一行需要填写的内容。
挑战
中等你的仓库会用这个表格记录每笔订单:
Item: [ ]
Quantity: [ ]
Address: [ ]根据这条消息填写表格:
嗨!请把 2 箱打印纸送到 Oak Road 14 号。谢谢,Mia
AI 的回复必须:
- 恰好包含 3 行,每行由一个标签和填写好的值组成
- 不能留下
[ ] - 保留数量 2 和门牌号 14
这节课包含一个小测验。开始学习即可作答,并记录你的进度。