Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
將此提示複製到我們的開發者 Console 中親自試試看!
| 內容 | |
|---|---|
| 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?