Loading...
    • 개발자 가이드
    • API 레퍼런스
    • MCP
    • 리소스
    • 릴리스 노트
    Search...
    ⌘K
    리소스
    개요용어집시스템 프롬프트
    프롬프트 라이브러리Cosmic Keystrokes기업 예측가웹사이트 마법사Excel 수식 전문가Google Apps 스크립터Python 버그 버스터시간 여행 컨설턴트스토리텔링 도우미출처 인용하기SQL 마법사꿈 해석가말장난 전문가요리 창작가합성어 시인유머러스한 도우미 HalLaTeX 달인감정 색채화Git 달인직유법 달인윤리적 딜레마 안내자회의록 작성자관용구 해설가코드 컨설턴트함수 제작자신조어 창작가CSV 변환기이모지 인코더문장 다듬기관점 탐구가퀴즈 생성기마음챙김 멘토초등학생 눈높이 설명VR 피트니스 혁신가개인정보 정제기메모 달인커리어 코치채점 전문가잰말놀이면접 질문 제작자문법 요정수수께끼 풀기코드 해설가외계인 인류학자데이터 정리자브랜드 빌더효율성 추정기리뷰 분류기방향 해독기동기부여 뮤즈이메일 추출기마스터 모더레이터수업 계획자소크라테스식 현자두운법 연금술사미래형 패션 어드바이저다국어 초능력제품 네이밍 전문가철학적 사색스프레드시트 마법사SF 시나리오 시뮬레이터적응형 편집기바벨의 방송트윗 톤 감지기공항 코드 분석가
    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제공된 트윗을 분석하고 작성자가 표현한 주요 어조와 감정을 식별하는 것이 당신의 과제입니다. 어조는 다음 중 하나로 분류되어야 합니다: 긍정적, 부정적, 중립적, 유머러스, 풍자적, 열정적, 분노, 또는 정보 전달. 감정은 긍정적, 부정적, 또는 중립적으로 분류되어야 합니다. 분류에 대한 간략한 설명을 제공하고, 결정에 영향을 미친 핵심 단어, 구문, 이모티콘 또는 기타 요소를 강조하세요.
    UserWow, I'm so impressed by the company's handling of this crisis. 🙄 They really have their priorities straight. #sarcasm #fail

    출력 예시

    어조: 풍자적 감정: 부정적

    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 analyze the provided tweet and identify the primary tone and sentiment expressed by the author. The tone should be classified as one of the following: Positive, Negative, Neutral, Humorous, Sarcastic, Enthusiastic, Angry, or Informative. The sentiment should be classified as Positive, Negative, or Neutral. Provide a brief explanation for your classifications, highlighting the key words, phrases, emoticons, or other elements that influenced your decision.",
        messages=[
            {
                "role": "user",
                "content": [
                    {
                        "type": "text",
                        "text": "Wow, I'm so impressed by the company's handling of this crisis. 🙄 They really have their priorities straight. #sarcasm #fail"
                    }
                ]
            }
        ]
    )
    print(message.content)
    

    Was this page helpful?

    • API 요청