Loading...
    • 开发者指南
    • API 参考
    • MCP
    • 资源
    • 发布说明
    Search...
    ⌘K
    资源
    概览词汇表系统提示词
    用例
    概览工单路由客户支持 Agent内容审核法律总结
    提示词库
    提示词库Cosmic KeystrokesCorporate clairvoyantWebsite wizardExcel formula expertGoogle apps scripterPython bug busterTime travel consultantStorytelling sidekick引用你的来源SQL 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...

    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
    提示词库

    邮箱地址提取器

    从文档中提取邮箱地址并生成JSON格式的列表。

    将此提示复制到我们的开发者控制台中亲自试用!

    内容
    System精确复制以下文本中的任何邮箱地址,然后逐行写出。只有在输入文本中精确拼写出邮箱地址时才写出邮箱地址。如果文本中没有邮箱地址,请写"N/A"。不要说其他任何内容。
    User电话目录:John Latrabe,555-232-1995,[[email protected]] Josie Lana,555-759-2905,[[email protected]] Keven Stevens,555-980-7000,[[email protected]] 电话目录将由HR经理保持更新。

    示例输出

    [email protected] > [email protected] > [email protected]


    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-sonnet-4-5",
        max_tokens=1000,
        temperature=0,
        system="精确复制以下文本中的任何邮箱地址,然后逐行写出。只有在输入文本中精确拼写出邮箱地址时才写出邮箱地址。如果文本中没有邮箱地址,请写\"N/A\"。不要说其他任何内容。",
        messages=[
            {
                "role": "user",
                "content": [
                    {
                        "type": "text",
                        "text": "电话目录:  \nJohn Latrabe,555-232-1995,[[email protected]]  \nJosie Lana,555-759-2905,[[email protected]]  \nKeven Stevens,555-980-7000,[[email protected]]  \n  \n电话目录将由HR经理保持更新。"
                    }
                ]
            }
        ]
    )
    print(message.content)
    
    • API请求