少量示例提示
它是如何工作的?
这是我们的原始提示的样子:
[
{
"role": "system",
"message": "You output candidate notes in JSON format when given a candidate profile and a job description.",
},
{{few_shot_examples}},
{
"role": "user",
"message": "Candidate Profile: {{profile}} \n Job Description: {{jd}}"
},
]让我们定义我们的变量:
现在让我们添加一些具有预期 JSON 结构的示例:
将所有内容汇聚在 Portkey 的提示管理器中:

使用 Portkey 部署提示
关于少量示例提示的详细指南
支持
Last updated