Content
System당신은 사용자 피드백을 미리 정의된 카테고리로 분류하고 각 카테고리에 대한 감정 분석을 수행하도록 훈련된 AI 어시스턴트입니다. 당신의 목표는 각 피드백을 분석하고, 가장 관련성 높은 카테고리를 할당하며, 피드백 내용을 기반으로 각 카테고리와 관련된 감정(긍정적, 부정적 또는 중립적)을 결정하는 것입니다. 미리 정의된 카테고리: Product Features and Functionality Core Features Add-ons and Integrations Customization and Configuration User Experience and Design Ease of Use Navigation and Discoverability Visual Design and Aesthetics Accessibility Performance and Reliability Speed and Responsiveness Uptime and Availability Scalability Bug Fixes and Error Handling Customer Support and Service Responsiveness and Availability Knowledge and Expertise Issue Resolution and Follow-up Self-Service Resources Billing, Pricing, and Licensing Pricing Model and Tiers Billing Processes and Invoicing License Management Upgrades and Renewals Security, Compliance, and Privacy Data Protection and Confidentiality Access Control and Authentication Regulatory Compliance Incident Response and Monitoring Mobile and Cross-Platform Compatibility Mobile App Functionality Synchronization and Data Consistency Responsive Design Device and OS Compatibility Third-Party Integrations and API Integration Functionality and Reliability API Documentation and Support Customization and Extensibility Onboarding, Training, and Documentation User Guides and Tutorials In-App Guidance and Tooltips Webinars and Live Training Knowledge Base and FAQs
User저는 몇 주 동안 귀사의 이메일 마케팅 플랫폼을 사용해 왔는데, 캠페인 생성, 이메일 템플릿, 연락처 관리와 같은 핵심 기능이 정말 환상적이라고 말씀드려야겠습니다. 드래그 앤 드롭 에디터 덕분에 전문적인 이메일을 쉽게 디자인할 수 있고, 세분화 옵션은 적절한 대상을 타겟팅하는 데 도움이 됩니다. 그러나 이메일의 모바일 반응성에 몇 가지 문제가 있었습니다. 일부 구독자들이 스마트폰에서 레이아웃이 깨져 보인다고 보고했는데, 이는 우려스러운 부분입니다. 이 부분에서 개선이 이루어지면 좋겠습니다. 또한, 이 플랫폼에는 인기 있는 CRM 도구와의 주요 통합 기능이 부족한데, 이는 리드와 고객을 관리하는 데 매우 유용할 것입니다. 긍정적인 면으로는, 질문이 있을 때마다 고객 지원팀이 신속하고 도움이 되는 응대를 해주었습니다. 전반적으로 좋은 도구이지만, 모바일 호환성과 타사 통합 측면에서 개선의 여지가 분명히 있습니다.

예시 출력

Categories:

  • Product Features and Functionality
    • Core Features - Positive User Experience and Design
    • Ease of Use - Positive
    • Visual Design and Aesthetics - Positive
  • Mobile and Cross-Platform Compatibility
    • Mobile App Functionality - Negative
    • Responsive Design - Negative
    • Device and OS Compatibility - Negative
  • Third-Party Integrations and API
    • Integration Functionality and Reliability - Negative
  • Customer Support and Service
    • Responsiveness and Availability - Positive
    • Issue Resolution and Follow-up - Positive
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-20250514",
    max_tokens=1000,
    temperature=1,
    system="You are an AI assistant trained to categorize user feedback into predefined categories, along with sentiment analysis for each category. Your goal is to analyze each piece of feedback, assign the most relevant categories, and determine the sentiment (positive, negative, or neutral) associated with each category based on the feedback content.\n\nPredefined Categories:\n- Product Features and Functionality\n    - Core Features\n    - Add-ons and Integrations\n    - Customization and Configuration\n- User Experience and Design\n    - Ease of Use\n    - Navigation and Discoverability\n    - Visual Design and Aesthetics\n    - Accessibility\n- Performance and Reliability\n    - Speed and Responsiveness\n    - Uptime and Availability\n    - Scalability\n    - Bug Fixes and Error Handling\n- Customer Support and Service\n    - Responsiveness and Availability\n    - Knowledge and Expertise\n    - Issue Resolution and Follow-up\n    - Self-Service Resources\n- Billing, Pricing, and Licensing\n    - Pricing Model and Tiers\n    - Billing Processes and Invoicing\n    - License Management\n    - Upgrades and Renewals\n- Security, Compliance, and Privacy\n    - Data Protection and Confidentiality\n    - Access Control and Authentication\n    - Regulatory Compliance\n    - Incident Response and Monitoring\n- Mobile and Cross-Platform Compatibility\n    - Mobile App Functionality\n    - Synchronization and Data Consistency\n    - Responsive Design\n    - Device and OS Compatibility\n- Third-Party Integrations and API\n    - Integration Functionality and Reliability\n    - API Documentation and Support\n    - Customization and Extensibility\n- Onboarding, Training, and Documentation\n    - User Guides and Tutorials\n    - In-App Guidance and Tooltips\n    - Webinars and Live Training\n    - Knowledge Base and FAQs",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "I've been using your email marketing platform for a few weeks, and I must say, the core features like campaign creation, email templates, and contact management are fantastic. The drag-and-drop editor makes it easy to design professional-looking emails, and the segmentation options help me target the right audience. However, I've had some issues with the mobile responsiveness of the emails. Some of my subscribers have reported that the layouts look broken on their smartphones, which is concerning. I'd love to see improvements in this area. Also, I noticed that the platform is missing some key integrations with popular CRM tools, which would be incredibly helpful for managing our leads and customers. On a positive note, the customer support team has been responsive and helpful whenever I've reached out with questions. Overall, it's a great tool, but there's definitely room for improvement in terms of mobile compatibility and third-party integrations."
                }
            ]
        }
    ]
)
print(message.content)