emotionwise
使用 EmotionWise API(28 个标签,EN/ES)分析文本中的情绪和讽刺。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~timexicali-emotionwisecURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~timexicali-emotionwise/file -o timexicali-emotionwise.md# EmotionWise Skill
Use this skill when the user asks to:
- detect emotions in text
- detect sarcasm in text
- summarize emotional trends across multiple messages
## API
Endpoint:
`POST https://api.emotionwise.ai/api/v1/tools/emotion-detector`
Headers:
- `X-API-Key: $EMOTIONWISE_API_KEY`
- `Content-Type: application/json`
Body:
```json
{ "message": "<text>" }
```
## Response (expected fields)
```json
{
"detected_emotions": ["joy", "admiration"],
"confidence_scores": { "joy": 0.87, "admiration": 0.72 },
"sarcasm_detected": false,
"sarcasm_score": 0.04
}
```
## Output format
Return:
- top emotions with confidence
- sarcasm flag + score
- short practical interpretation for developer use
## Error handling
- `401/403`: Tell the user API key is missing/invalid and suggest reconfiguration.
- `429`: Tell the user quota/rate limit was hit and suggest retry later.
- `5xx`: Tell the user the API is temporarily unavailable and suggest retry.
---
## 中文说明
# EmotionWise Skill
当用户请求以下操作时使用此技能:
- 检测文本中的情绪
- 检测文本中的讽刺
- 总结多条消息中的情绪趋势
## API
Endpoint:
`POST https://api.emotionwise.ai/api/v1/tools/emotion-detector`
Headers:
- `X-API-Key: $EMOTIONWISE_API_KEY`
- `Content-Type: application/json`
Body:
```json
{ "message": "<text>" }
```
## Response (expected fields)
```json
{
"detected_emotions": ["joy", "admiration"],
"confidence_scores": { "joy": 0.87, "admiration": 0.72 },
"sarcasm_detected": false,
"sarcasm_score": 0.04
}
```
## Output format
返回:
- 置信度最高的若干情绪及其置信度
- 讽刺标志 + 评分
- 面向开发者使用的简短实用解读
## Error handling
- `401/403`:告知用户 API 密钥缺失/无效,并建议重新配置。
- `429`:告知用户已触及配额/速率限制,并建议稍后重试。
- `5xx`:告知用户 API 暂时不可用,并建议重试。