文本情感分析工作流
对文本进行批量情感分析,返回包含情感分类和得分的 JSON 输出。 1. 从插件市场安装 OpenAI 插件。 2. 在 Dify 中授权 OpenAI:前往 工具 → OpenAI → 授权,并输入您的 API 密钥。 3. 在 **开始** 节点中,输入 input_text(待分析的文本)、Multisentiment(是否进行多情感分析:True/False)及可选的 Categories(如 quality, service, price)。 4. 在 **Multisentiment 为 False** LLM 节点中选择一个模型,以 JSON 格式输出单一整体情感得分和分类。 5. 在 **Multisentiment 为 True** LLM 节点中选择一个模型,以 JSON 格式输出各类别情感得分(−1.0 至 1.0)。
Rank
85
Safety
82
Updated
Oct 9, 2026
Source
Dify
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
Install and run
Setup complexity: low.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/dify-langgenius-2fe90d-2/snapshot"
Documentation
Dify
347 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Dify",
"href": "https://affiliate.dify.ai/06p00xtpqqwy-e8lw08?tid=9125f5b2-89ac-44e6-85fe-df942fe90d14",
"sourceUrl": "https://affiliate.dify.ai/06p00xtpqqwy-e8lw08?tid=9125f5b2-89ac-44e6-85fe-df942fe90d14",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T01:20:57.026Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/dify-langgenius-2fe90d-2/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-langgenius-2fe90d-2/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": []
}Record generated Oct 9, 2026.
