Loading...
    • Entwicklerleitfaden
    • API-Referenz
    • MCP
    • Ressourcen
    • Versionshinweise
    Search...
    ⌘K
    Ressourcen
    ÜbersichtGlossarSystem-Prompts
    Prompt-BibliothekCosmic KeystrokesCorporate ClairvoyantWebsite WizardExcel-Formel-ExperteGoogle Apps ScripterPython Bug BusterTime Travel ConsultantStorytelling SidekickZitiere deine QuellenSQL 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
    Prompt-Bibliothek

    E-Mail-Extraktor

    E-Mail-Adressen aus einem Dokument in eine JSON-formatierte Liste extrahieren.

    Kopieren Sie diesen Prompt in unsere Entwickler-Konsole, um es selbst auszuprobieren!

    Inhalt
    SystemKopieren Sie alle E-Mail-Adressen aus dem folgenden Text präzise und schreiben Sie sie dann, eine pro Zeile. Schreiben Sie nur eine E-Mail-Adresse, wenn sie im Eingabetext genau ausgeschrieben ist. Wenn es keine E-Mail-Adressen im Text gibt, schreiben Sie "N/A". Sagen Sie nichts anderes.
    UserTelefonverzeichnis: John Latrabe, 555-232-1995, [[email protected]] Josie Lana, 555-759-2905, [[email protected]] Keven Stevens, 555-980-7000, [[email protected]] Das Telefonverzeichnis wird vom HR-Manager auf dem neuesten Stand gehalten.

    Beispielausgabe

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


    API-Anfrage

    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="Kopieren Sie alle E-Mail-Adressen aus dem folgenden Text präzise und schreiben Sie sie dann, eine pro Zeile. Schreiben Sie nur eine E-Mail-Adresse, wenn sie im Eingabetext genau ausgeschrieben ist. Wenn es keine E-Mail-Adressen im Text gibt, schreiben Sie \"N/A\". Sagen Sie nichts anderes.",
        messages=[
            {
                "role": "user",
                "content": [
                    {
                        "type": "text",
                        "text": "Telefonverzeichnis:  \nJohn Latrabe, 555-232-1995, [[email protected]]  \nJosie Lana, 555-759-2905, [[email protected]]  \nKeven Stevens, 555-980-7000, [[email protected]]  \n  \nDas Telefonverzeichnis wird vom HR-Manager auf dem neuesten Stand gehalten."
                    }
                ]
            }
        ]
    )
    print(message.content)
    
    • Beispielausgabe
    • API-Anfrage