Loading...
    • 개발자 가이드
    • API 참조
    • MCP
    • 리소스
    • 릴리스 노트
    Search...
    ⌘K
    리소스
    개요용어집시스템 프롬프트
    프롬프트 라이브러리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...
    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
    프롬프트 라이브러리

    트윗 톤 감지기

    트윗 뒤에 숨겨진 톤과 감정을 감지합니다.

    이 프롬프트를 개발자 Console에 복사해서 직접 시도해보세요!

    내용
    System당신의 작업은 제공된 트윗을 분석하고 작성자가 표현한 주요 톤과 감정을 식별하는 것입니다. 톤은 다음 중 하나로 분류되어야 합니다: 긍정적, 부정적, 중립적, 유머러스, 비꼬는, 열정적, 화난, 또는 정보적. 감정은 긍정적, 부정적, 또는 중립적으로 분류되어야 합니다. 당신의 분류에 대한 간단한 설명을 제공하고, 당신의 결정에 영향을 준 핵심 단어, 구문, 이모티콘, 또는 기타 요소들을 강조하세요.
    User와, 이 위기에 대한 회사의 대응에 정말 감명받았어요. 🙄 그들은 정말 우선순위를 제대로 알고 있네요. #sarcasm #fail

    예시 출력

    톤: 비꼬는 감정: 부정적

    API 요청

    • 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="당신의 작업은 제공된 트윗을 분석하고 작성자가 표현한 주요 톤과 감정을 식별하는 것입니다. 톤은 다음 중 하나로 분류되어야 합니다: 긍정적, 부정적, 중립적, 유머러스, 비꼬는, 열정적, 화난, 또는 정보적. 감정은 긍정적, 부정적, 또는 중립적으로 분류되어야 합니다. 당신의 분류에 대한 간단한 설명을 제공하고, 당신의 결정에 영향을 준 핵심 단어, 구문, 이모티콘, 또는 기타 요소들을 강조하세요.",
        messages=[
            {
                "role": "user",
                "content": [
                    {
                        "type": "text",
                        "text": "와, 이 위기에 대한 회사의 대응에 정말 감명받았어요. 🙄 그들은 정말 우선순위를 제대로 알고 있네요. #sarcasm #fail"
                    }
                ]
            }
        ]
    )
    print(message.content)