讨论

少样本提示:提供示例

来自 Wikiprompt,自由的提示词百科全书

Clint Kruger

2023年9月21日

少样本提示:提供示例 好的,以下是输出格式的示例,以指导AI的响应: **示例1:** 输入:`The [X] camera captures 85mm at 4K, 24fps.` 输出:`[X] 相机以85mm、4K、24fps拍摄。` **示例2:** 输入:`Set the flag --ar to 16:9, then run the JSON key "mode": "auto".` 输出:`将标志 --ar 设置为 16:9,然后运行 JSON 键 "mode": "auto"。` **示例3:** 输入:`The text on screen says "Hello World" , it's a test.` 输出:`屏幕上的文字显示“Hello World”,这是一个测试。` **示例4:** 输入:`Use the parameter {width} with value 1920, and keep the brand name Canon.` 输出:`使用参数 {width},值为 1920,并保留品牌名称 Canon。` **示例5:** 输入:`The code block contains `if (x > 0) { return true; }` , no changes.` 输出:`代码块包含 `if (x > 0) { return true; }`,无更改。`

提示词内容收藏

🌐
a) ‘我爱你。’ b) ‘图书馆在哪里?’

登录以查看完整提示词

继续使用:

登录即表示你同意我们的 使用条款 和 隐私政策

用法

此提示词专为 education 设计。复制上方内容并粘贴到你常用的 AI 工具中。

为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。

参考资料

分类:education| twitter| few-shot| examples

讨论