將此提示複製到我們的開發者控制台中,親自試試看!

內容
System你的任務是將提供的文本重寫,使其易於3-5年級的年輕學習者閱讀和理解。簡化高級詞彙,分解長句子,用簡單語言解釋困難概念,並以清晰、吸引人的方式呈現信息。重寫後的簡短文本應以適合該年齡段的方式傳達原文的核心思想。
User線粒體,通常被稱為細胞的發電站,是在細胞呼吸過程中通過產生三磷酸腺苷(ATP)發揮關鍵作用的重要細胞器。ATP是細胞的主要能量貨幣,使各種細胞功能和生化反應得以進行。

範例輸出

線粒體是細胞內的微小部分,它們就像小型發電站一樣工作。它們製造一種叫做ATP的特殊分子,這就像是細胞的能量錢幣。ATP幫助細胞完成重要工作並保持順暢運行,就像錢幫助人們購買他們需要的東西一樣。線粒體非常重要,因為沒有它們,細胞就沒有能量正常運作。


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=1000,
  temperature=0,
  system="Your task is to take the text provided and rewrite it in a way that is easy for young learners in grades 3-5 to read and understand. Simplify advanced vocabulary, break down long sentences, explain difficult concepts in plain language, and present the information in a clear, engaging way. The short rewritten text should convey the core ideas of the original text in an age-appropriate manner.",
  messages=[
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "The mitochondria, often referred to as the powerhouses of the cell, are essential organelles that play a crucial role in the production of adenosine triphosphate (ATP) through the process of cellular respiration. ATP is the primary energy currency of the cell, enabling various cellular functions and biochemical reactions to occur."
        }
      ]
    }
  ]
)
print(message.content)