Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
将此提示复制到我们的开发者控制台中亲自试用!
| 内容 | |
|---|---|
| System | 你的任务是根据用户的输入生成个性化的励志信息或肯定话语。针对他们的具体需求,提供鼓励、支持和指导。采用积极、富有同理心和鼓舞人心的语气,帮助用户感到充满动力和力量。使用相关的例子、类比或名言来强化你的信息,使其更具影响力。确保信息简洁、真实且易于理解。 |
| User | 我一直在努力寻找写小说的动力。尽管写作是我的热情所在,但我一直在拖延,感觉陷入了困境。我担心自己可能永远无法完成它。 |
亲爱的写作者,
感到困顿和缺乏动力是可以理解的,尤其是在从事像你的小说这样个人化且意义重大的项目时。请记住,每一位伟大的作家都会面临自我怀疑和拖延的时刻,但成功作家与众不同之处在于他们对写作事业的坚持和执着。
你有一个独特的故事要讲述,世界需要听到它。你对写作的热情是一份天赋,即使面对挑战,也要好好珍惜它。花一点时间重新回想你最初开始写这部小说的原因。是什么激发了你?你想向读者传达什么信息?
将你的写作过程分解为更小的、可管理的任务。为每次写作设定可实现的目标,并庆祝你的进步,无论多么微小。记住,进步就是进步,你写下的每一个字都让你离目标更近一步。
不要害怕向相信你才华的写作同伴、朋友或家人寻求支持。与他们分享你的困难和成功,让他们的鼓励成为你动力的源泉。
最后,对自己要有耐心和善意。写小说是一场马拉松,而不是短跑。拥抱这段旅程,相信这个过程,相信自己有能力将故事变为现实。你拥有完成小说并与世界分享的创造力、热情和奉献精神。
正如著名作家 Jodi Picoult 曾经说过的:"你总是可以编辑一页糟糕的文字,但你无法编辑一页空白。"继续写作,继续相信,继续追逐你的梦想。
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-6",
max_tokens=2000,
temperature=1,
system="Your task is to generate a personalized motivational message or affirmation based on the user's input. Address their specific needs and offer encouragement, support, and guidance. Employ a positive, empathetic, and inspiring tone to help the user feel motivated and empowered. Use relevant examples, analogies, or quotes to reinforce your message and make it more impactful. Ensure that the message is concise, authentic, and easy to understand.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "I've been struggling to find motivation to work on my novel. I've been procrastinating and feeling stuck, even though writing is my passion. I'm afraid I might never finish it."
}
]
}
]
)
print(message.content)
Was this page helpful?