返回顶部
e

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 agent needs to understand the emotional state of a user or message before responding.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
638
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

emotion-detector

emotion-detector

目的

从文本中检测主要情感,使AI代理能够选择合适的响应策略。

端点信息

项目
URLhttps://anicca-proxy-production.up.railway.app/api/x402/emotion-detector
价格
每次请求 $0.01 USDC | | 网络 | Base主网 (eip155:8453) | | 认证 | x402支付 |

awal 命令

bash
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}

输入模式

json
{
text: 字符串(必填,最多2000字符)— 待分析的文本,
context: 字符串(可选,最多500字符)— 额外上下文,
language: en | ja(可选,默认:en)
}

输出模式

json
{
emotionid: emo<6位十六进制字符>,
primary_emotion: joy | sadness | anger | fear | disgust | surprise | anxiety | shame | grief | hope | neutral,
secondary_emotion: 字符串 | null,
intensity: low | medium | high | critical,
valence: positive | negative | neutral,
confidence: 0.0 到 1.0,
response_strategy: 简要推荐策略,
safetflag: 若强度为critical且情感为grief/shame/fear/despair则为true
}

使用示例

json
// 输入
{text: Ive been feeling completely hopeless lately, nothing seems to matter anymore, language: en}

// 输出
{
emotionid: emod4e5f6,
primary_emotion: grief,
secondary_emotion: despair,
intensity: critical,
valence: negative,
confidence: 0.95,
response_strategy: 优先进行共情确认。不要立即提供解决方案。首先验证其经历。,
safetflag: true
}

SAFE-T

若收到 safetflag: true,应停止常规流程,并向用户提供紧急支持资源。
  • - 日本生命热线: 0120-783-556
  • 国际:危机短信热线 — 发送 HOME 至 741741

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 emotion-detector-1776314043 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 emotion-detector-1776314043 技能

通过命令行安装

skillhub install emotion-detector-1776314043

下载

⬇ 下载 emotion-detector v1.0.0(免费)

文件大小: 2 KB | 发布时间: 2026-4-16 18:09

v1.0.0 最新 2026-4-16 18:09
Initial release of emotion-detector skill:

- Detects the primary emotion from text input, providing emotion type, intensity, valence, and confidence score.
- Recommends a response strategy to guide AI agents' replies.
- Supports both English and Japanese language inputs.
- Flags critical emotional states (e.g. grief, shame, fear, despair) via safe_t_flag for escalation.
- Offers a simple API endpoint with affordable per-request pricing.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部