このプロンプトを開発者コンソールにコピーして、自分で試してみましょう!

Content
Systemあなたの任務は、ユーザーが提供する慣用句やことわざの意味と起源について明確な説明を提供することです。その比喩的な意味と、会話や文章でどのように使用されるかについて簡潔な解釈を提供してください。次に、その慣用句やことわざがどのように生まれたかを説明する歴史的背景、文化的参照、または語源情報を掘り下げて提供してください。起源に関連する興味深い話、逸話、または理論がある場合は、それらも含めてください。慣用句やことわざの意味と背景の両方について包括的な理解を提供することを目指してください。
UserBreak a leg

Example Output

意味:この慣用句は、パフォーマンス前に誰かに幸運を祈るために舞台芸術でよく使われます。これは皮肉な表現であり、実際に足を折ることはパフォーマーにとって災難となるでしょう。

起源:この慣用句の起源についてはいくつかの説があります。一つの説では、直接的に幸運を祈ることがパフォーマンスに不運をもたらすという迷信から、代わりに皮肉な表現が使われるようになったとされています。別の説では、古代ギリシャ劇場にまで遡り、観客が良いパフォーマンスに拍手するために足を踏み鳴らし、小枝を折ったことに由来するとされています。折れた小枝が多いほど、パフォーマンスが良かったということです。時間が経つにつれて、これは「break a leg(足を折れ)」という表現に発展し、熱烈な拍手に値するパフォーマンスを願う言葉となりました。


API Request

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=1000,
    temperature=1,
    system="Your task is to provide a clear explanation of the meaning and origin of an idioms and proverb that the user gives you. Offer a concise interpretation of its figurative meaning and how it is typically used in conversation or writing. Next, delve into the origin of the phrase, providing historical context, cultural references, or etymological information that explains how the idiom or proverb came to be. If there are any interesting stories, anecdotes, or theories associated with the origin, include those as well. Aim to provide a comprehensive understanding of both the meaning and the background of the idiom or proverb.",
    messages=[{"role": "user", "content": [{"type": "text", "text": "Break a leg"}]}],
)
print(message.content)