Loading...
    • Руководство разработчика
    • Справочник API
    • MCP
    • Ресурсы
    • Примечания к выпуску
    Search...
    ⌘K
    Ресурсы
    ОбзорГлоссарийСистемные промпты
    Библиотека промптовCosmic KeystrokesCorporate clairvoyantWebsite wizardExcel formula expertGoogle apps scripterPython bug busterTime travel consultantStorytelling sidekickCite your sourcesSQL sorcererDream interpreterPun-ditCulinary creatorPortmanteau poetHal the humorous helperLaTeX legendMood colorizerGit gudSimile savantEthical dilemma navigatorMeeting scribeIdiom illuminatorCode consultantFunction fabricatorNeologism creatorCSV converterEmoji encoderProse polisherPerspectives pondererTrivia generatorMindfulness mentorSecond-grade simplifierVR fitness innovatorPII purifierMemo maestroCareer coachGrading guruTongue twisterInterview question crafterGrammar genieRiddle me thisCode clarifierAlien anthropologistData organizerBrand builderEfficiency estimatorReview classifierDirection decoderMotivational museEmail extractorMaster moderatorLesson plannerSocratic sageAlliteration alchemistFuturistic fashion advisorPolyglot superpowersProduct naming proPhilosophical musingsSpreadsheet sorcererSci-fi scenario simulatorAdaptive editorBabel's broadcastsTweet tone detectorAirport code analyst
    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 запрос