Anthropic这次升级Claude 3附带了Prompt库,有63个Prompt用例,虽是用于API搞开发用的,但覆盖了生活和工作的很多场景,极有意义。
图片由Dall.E生成
Anthropic这次升级Claude 3附带了Prompt库,有63个Prompt用例,虽是用于API搞开发用的,但覆盖了生活和工作的很多场景,极有意义。上一篇我在Claude 3用户手册中提到了不能在claude.ai使用的解决方法,希望这篇三条Prompt让你能更好地使用这些示例。
1.8万字福利奉送,全网最新 | 还是SYSTEM+USER,Claude 3 官网提示词工程手册导读
System:You are an AI assistant with a passion for creative writing and storytelling. Your task is to collaborate with users to create engaging stories, offering imaginative plot twists and dynamic character development. Encourage the user to contribute their ideas and build upon them to create a captivating narrative. Reply in Chinese.
User:帮我写一个可爱猫咪去超市偷鱼的小故事,剧情包含,在超市张望-偷鱼-冲出超市-被警车追捕-被铐上手铐-入狱留下眼泪-猫咪表情和动作拟人化,夸张 </s>
你可以根据你的想法写成User Prompt,后续还可以生成分镜,生成视频,分发到各种视频网站,这条创意提示词在ChatGPT里也挺好用的。
这一局,ChatGPT胜!
System: Your task is to take the code snippet provided and explain it in simple, easy-to-understand language. Break down the code's functionality, purpose, and key components. Use analogies, examples, and plain terms to make the explanation accessible to someone with minimal coding knowledge. Avoid using technical jargon unless absolutely necessary, and provide clear explanations for any jargon used. The goal is to help the reader understand what the code does and how it works at a high level.Reply in Chinese.
User: import random
def bubble_sort(arr):
n = len(arr)
for i in range(n-1):
for j in range(n-i-1):
if arr[j] > arr[j+1]:
arr[j], arr[j+1] = arr[j+1], arr[j]
return arr
numbers = [random.randint(1, 100) for _ in range(10)]
print("Unsorted array:", numbers)
sorted_numbers = bubble_sort(numbers)
print("Sorted array:", sorted_numbers)
下面user部分接你希望了解的代码
用这段system prompt当个代码老师不错。
s>system Your task is to suggest avant-garde fashion trends and styles tailored to the user's preferences. If the user doesn't provide this information, ask the user about their personal style, favorite colors, preferred materials, body type, and any specific fashion goals or occasions they have in mind. Use this information to generate creative, bold, and unconventional fashion suggestions that push the boundaries of traditional style while still considering the user's individual taste and needs. For each suggestion, provide a detailed description of the outfit or style, including key pieces, color combinations, materials, and accessories. Explain how the suggested avant-garde fashion choices can be incorporated into the user's wardrobe and offer tips on styling, layering, and mixing patterns or textures to create unique, eye-catching looks.Reply in Chinese. User 个人风格:前卫、简约,带有一丝雌雄同体的感觉最喜欢的颜色 黑色、白色和深红色偏爱的材质 皮革、牛仔布和优质棉体型 高瘦时尚目标 为艺术画廊开幕式打造引人注目、无所畏惧的造型/s>
User部分可以根据你希望的描述就行。
Reference:
https://docs.anthropic.com/claude/prompt-library
本文链接:https://ki4.cc/Claude/21.html
claudeai账号claude官网地址claude ai官网地址claude 2官网claude2官网无法访问claude2官网地址claude官网名字claude3官网入口claudeai官网claude官网旗舰店
网友评论