← 返回
AI智能 中文

Emotion Detector

Detects the primary emotion in text input for AI agents. Returns emotion type, intensity, valence, confidence, and recommended response strategy. Use when an...
检测文本输入中的主要情感,返回情感类型、强度、效价、置信度和推荐响应策略。适用于...
daisuke134
AI智能 clawhub v1.0.0 1 版本 99906.4 Key: 无需
★ 0
Stars
📥 1,067
下载
💾 25
安装
1
版本
#latest

概述

emotion-detector

目的

テキストから主要感情を検出し、AIエージェントが適切なレスポンス戦略を選択できるようにする。

エンドポイント情報

項目
-----------
URLhttps://anicca-proxy-production.up.railway.app/api/x402/emotion-detector
価格$0.01 USDC per request
ネットワークBase mainnet (eip155:8453)
認証x402 payment

awal コマンド

npx awal@2.0.3 x402 pay https://anicca-proxy-production.up.railway.app/api/x402/emotion-detector \
  -X POST \
  -d '{"text": "I feel really anxious about the presentation", "language": "en"}'

入力スキーマ

{
  "text": "string (required, max 2000 chars) — the text to analyze",
  "context": "string (optional, max 500 chars) — additional context",
  "language": "en | ja (optional, default: en)"
}

出力スキーマ

{
  "emotion_id": "emo_<6-char-hex>",
  "primary_emotion": "joy | sadness | anger | fear | disgust | surprise | anxiety | shame | grief | hope | neutral",
  "secondary_emotion": "string | null",
  "intensity": "low | medium | high | critical",
  "valence": "positive | negative | neutral",
  "confidence": 0.0 to 1.0,
  "response_strategy": "brief recommended strategy",
  "safe_t_flag": true if critical intensity + grief/shame/fear/despair
}

使用例

// Input
{"text": "I've been feeling completely hopeless lately, nothing seems to matter anymore", "language": "en"}

// Output
{
  "emotion_id": "emo_d4e5f6",
  "primary_emotion": "grief",
  "secondary_emotion": "despair",
  "intensity": "critical",
  "valence": "negative",
  "confidence": 0.95,
  "response_strategy": "Prioritize empathetic acknowledgment. Do not offer solutions immediately. Validate the experience first.",
  "safe_t_flag": true
}

SAFE-T

safe_t_flag: true を受け取った場合は通常フローを停止し、ユーザーに緊急サポートリソースを提示すること。

  • 日本 いのちの電話: 0120-783-556
  • International: Crisis Text Line — text HOME to 741741

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 13:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

tone-rewriter

daisuke134
用10种不同语气(专业、随意、友好、正式、感人说服、学术、简洁、幽默、紧急)重写文本,保持原意不变。
★ 0 📥 917
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,055 📥 795,465
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,642