资源
- Overview
- 快速入门
- Claude 3 模型卡
- Claude 3.7 系统卡
- 系统状态
- Anthropic 课程
- 提示词库
- 提示词库
- 宇宙键盘
- 企业预见者
- 网站向导
- Excel公式专家
- Google Apps 脚本编写者
- Python 错误修复器
- 时间旅行顾问
- 讲故事助手
- 引用你的来源
- SQL 魔法师
- 解梦师
- 双关语大师
- 烹饪创作者
- 混合词诗人
- 幽默助手哈尔
- LaTeX 指南
- 情绪色彩转换器
- Git 精通
- 比喻大师
- 伦理困境导航器
- 会议记录员
- 成语解析器
- 代码顾问
- 函数制造者
- 新词创造者
- CSV 转换器
- 表情符号编码器
- 文章润色师
- 观点权衡者
- 琐事生成器
- 正念导师
- 二年级简化器
- VR健身创新者
- PII 净化器
- 备忘录大师
- 职业教练
- 评分大师
- 绕口令
- 面试问题设计师
- 语法精灵
- 猜谜语
- 代码解释器
- 外星人类学家
- 数据整理器
- 品牌构建者
- 效率估算器
- 评论分类器
- 方向解码器
- 激励缪斯
- 电子邮件提取器
- 专业审核员
- 课程计划制定者
- 苏格拉底式智者
- 头韵炼金术师
- 未来主义时尚顾问
- 多语言超能力
- 产品命名专家
- 哲学沉思
- 电子表格魔术师
- 科幻场景模拟器
- 自适应编辑器
- 巴别塔的广播
- 推文语调检测器
- 机场代码分析器
提示词库
烹饪创作者
根据用户可用的食材和饮食偏好提供食谱创意。
将此提示复制到我们的开发者控制台中,亲自尝试一下!
内容 | |
---|---|
System | 你的任务是根据用户输入的可用食材和饮食偏好生成个性化的食谱创意。利用这些信息提供各种创意美味的食谱,这些食谱可以使用给定的食材制作,同时满足用户的饮食需求(如果有提及的话)。对于每个食谱,提供简短描述、所需食材清单和简单的操作指南。确保食谱易于遵循、营养丰富,并且可以使用最少的额外食材或设备准备。 |
User | 可用食材:鸡胸肉、西兰花、胡萝卜、洋葱、大蒜、橄榄油、米饭、无麸质酱油、蜂蜜 饮食偏好:无麸质 |
示例输出
推荐的食谱:
蜂蜜蒜香鸡肉炒菜
描述:一道快速且风味十足的炒菜,包含嫩滑的鸡胸肉、爽脆的蔬菜,以及甜咸相宜的蜂蜜蒜香酱汁。
食材:
- 2个鸡胸肉,切成小块
- 2杯西兰花花朵
- 1杯切片胡萝卜
- 1个洋葱,切丁
- 3瓣大蒜,切碎
- 2汤匙橄榄油
- 1/4杯酱油(无麸质)
- 2汤匙蜂蜜
步骤:
- 在大炒锅或炒菜锅中,用中高火加热橄榄油。
- 加入切丁的洋葱和切碎的大蒜,炒至香气四溢,约2分钟。
- 加入鸡肉块,煮至不再呈粉红色,约5-7分钟。
- 加入西兰花和胡萝卜,翻炒至蔬菜变得脆嫩,约5分钟。
- 在小碗中,将酱油和蜂蜜搅拌均匀。
- 将酱汁倒在鸡肉和蔬菜上,搅拌均匀。
- 再煮2-3分钟,或直到酱汁略微变稠。
- 与蒸米饭一起趁热食用。
鸡肉蔬菜米饭碗
描述:一道丰盛且营养的米饭碗,上面铺有调味鸡肉、烤蔬菜,并淋上酱油。
食材:
- 2个鸡胸肉,切成小块
- 2杯西兰花花朵
- 1杯切片胡萝卜
- 1个洋葱,切丁
- 2瓣大蒜,切碎
- 2汤匙橄榄油
- 1/4杯酱油(无麸质)
- 2杯煮熟的米饭
步骤:
- 预热烤箱至400°F(200°C)。
- 在一个大碗中,混合鸡肉块、西兰花、胡萝卜、洋葱和大蒜。
- 淋上橄榄油和一半的酱油,搅拌均匀。
- 将鸡肉和蔬菜铺在烤盘上,在预热好的烤箱中烤20-25分钟,或直到鸡肉煮熟且蔬菜变软。
- 将煮熟的米饭分装到几个碗中。
- 在每个碗的米饭上铺上烤好的鸡肉和蔬菜。
- 在每个碗上淋上剩余的酱油。
- 趁热食用,享受美味!
API请求
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=2000,
temperature=0.5,
system="Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
)
print(message.content)
import anthropic
client = anthropic.Anthropic(
# defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-opus-4-20250514",
max_tokens=2000,
temperature=0.5,
system="Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
)
print(message.content)
import Anthropic from "@anthropic-ai/sdk";
const anthropic = new Anthropic({
apiKey: "my_api_key", // defaults to process.env["ANTHROPIC_API_KEY"]
});
const msg = await anthropic.messages.create({
model: "claude-opus-4-20250514",
max_tokens: 2000,
temperature: 0.5,
system: "Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicBedrock
# See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
# for authentication options
client = AnthropicBedrock()
message = client.messages.create(
model="anthropic.claude-opus-4-20250514-v1:0",
max_tokens=2000,
temperature=0.5,
system="Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
)
print(message.content)
import AnthropicBedrock from "@anthropic-ai/bedrock-sdk";
// See https://docs.anthropic.com/claude/reference/claude-on-amazon-bedrock
// for authentication options
const client = new AnthropicBedrock();
const msg = await client.messages.create({
model: "anthropic.claude-opus-4-20250514-v1:0",
max_tokens: 2000,
temperature: 0.5,
system: "Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
});
console.log(msg);
from anthropic import AnthropicVertex
client = AnthropicVertex()
message = client.messages.create(
model="claude-3-sonnet@20240229",
max_tokens=2000,
temperature=0.5,
system="Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
)
print(message.content)
import { AnthropicVertex } from '@anthropic-ai/vertex-sdk';
// Reads from the `CLOUD_ML_REGION` & `ANTHROPIC_VERTEX_PROJECT_ID` environment variables.
// Additionally goes through the standard `google-auth-library` flow.
const client = new AnthropicVertex();
const msg = await client.messages.create({
model: "claude-3-7-sonnet-v1@20250219",
max_tokens: 2000,
temperature: 0.5,
system: "Your task is to generate personalized recipe ideas based on the user's input of available ingredients and dietary preferences. Use this information to suggest a variety of creative and delicious recipes that can be made using the given ingredients while accommodating the user's dietary needs, if any are mentioned. For each recipe, provide a brief description, a list of required ingredients, and a simple set of instructions. Ensure that the recipes are easy to follow, nutritious, and can be prepared with minimal additional ingredients or equipment.",
messages: [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Available ingredients: chicken breast, broccoli, carrots, onion, garlic, olive oil, rice, gluten free soy sauce, honey \nDietary preferences: gluten free"
}
]
}
]
});
console.log(msg);