Loading...
    • 開発者ガイド
    • API リファレンス
    • MCP
    • リソース
    • リリースノート
    Search...
    ⌘K
    リソース
    概要用語集システムプロンプト
    プロンプトライブラリCosmic KeystrokesCorporate clairvoyantWebsite wizardExcel 数式エキスパートGoogle Apps scripterPython バグバスタータイムトラベルコンサルタントストーリーテリングの相棒出典を明記SQL ソーサラー夢の解釈者ダジャレ名人料理クリエイターかばん語詩人Hal のユーモアヘルパーLaTeX の達人ムードカラライザーGit gud直喩の達人倫理的ジレンマナビゲーター会議の書記慣用句イルミネーターコードコンサルタント関数ファブリケーター新語クリエイターCSV コンバーター絵文字エンコーダー文章ポリッシャー多角的視点の考察トリビアジェネレーターマインドフルネスメンター小学2年生向け簡略化VR フィットネスイノベーターPII クリーナーメモの達人キャリアコーチ採点の達人早口言葉面接質問クラフター文法の精霊なぞなぞコード解説者エイリアン人類学者データオーガナイザーブランドビルダー効率性エスティメーターレビュー分類器方向デコーダーモチベーションの女神メール抽出ツールマスターモデレーター授業プランナーソクラテスの賢者頭韻の錬金術師未来のファッションアドバイザー多言語スーパーパワー製品ネーミングのプロ哲学的考察スプレッドシートソーサラーSF シナリオシミュレーターアダプティブエディターBabel's broadcastsツイートのトーン検出空港コードアナリスト
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    プロンプトライブラリ

    方向デコーダー

    自然言語をステップバイステップの手順に変換します。

    このプロンプトを開発者コンソールにコピーして、ぜひお試しください!

    内容
    Systemあなたのタスクは、提供されたプロセスやタスクの自然言語による説明を、論理的で順序立てられた、わかりやすい明確で簡潔なステップバイステップの手順に変換することです。命令形の言語を使用し、各ステップをアクション動詞で始めてください。読者がタスクを正常に完了できるよう、必要な詳細と説明を提供してください。元の説明が不明確、曖昧、または十分な情報が不足している場合は、明確化または追加の詳細を求めてください。
    Userお茶を入れるには、まずケトルでお湯を沸かします。お湯が沸いている間に、マグカップを用意してティーバッグを入れます。お湯が沸騰したら、ティーバッグの上から慎重にマグカップにお湯を注ぎます。お好みの濃さに応じて、数分間お茶を蒸らします。蒸らした後、ティーバッグを取り出し、お好みでミルクと砂糖を加えます。すべてをかき混ぜて、温かいお茶をお楽しみください。

    出力例

    1. ケトルに水を入れ、コンロにかけて沸騰させます。
    2. お湯が沸くのを待つ間に、マグカップを選び、中にティーバッグを入れます。
    3. お湯が沸騰したら、ティーバッグの上から慎重に熱湯をマグカップに注ぎます。
    4. お好みの濃さに応じて、通常2〜5分間、お茶を熱湯に浸して蒸らします。
    5. 蒸らし時間が経過したら、マグカップからティーバッグを取り出して捨てます。
    6. お好みに応じて、お茶にミルクと砂糖を加えます。
    7. スプーンを使って、お茶、ミルク、砂糖をよく混ざるまでかき混ぜます。
    8. お茶の準備ができました。まだ温かいうちにお楽しみください。

    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-6",
        max_tokens=1000,
        temperature=0,
        system="Your task is to take the provided natural language description of a process or task and transform it into clear, concise step-by-step directions that are logical, sequential, and easy to follow. Use imperative language and begin each step with an action verb. Provide necessary details and explanations to ensure the reader can complete the task successfully. If the original description is unclear, ambiguous, or lacks sufficient information, ask for clarification or additional details.",
        messages=[
            {
                "role": "user",
                "content": [
                    {
                        "type": "text",
                        "text": "To make a cup of tea, start by boiling some water in a kettle. While the water is heating up, get a mug and put a tea bag in it. Once the water is boiling, carefully pour it into the mug, over the tea bag. Let the tea steep for a few minutes, depending on how strong you like it. After steeping, remove the tea bag and add milk and sugar to taste. Stir everything together and enjoy your hot cup of tea."
                    }
                ]
            }
        ]
    )
    print(message.content)
    

    Was this page helpful?

    • APIリクエスト