スパム判定アプリ
LLM(大規模言語モデル)とRAG(ナレッジ検索)を組み合わせた高精度なスパムメール自動振り分けワークフローです。 送信されたメール本文を解析し、事前学習・登録された類似事例(スパム/正規メール)を参照しながら、文脈に応じて高精度に分類を行います。判定結果はシステム連携しやすいよう、JSONフォーマットで確信度や判定理由とともに返却されます。 特長 ・高い分類精度: 単純なキーワードマッチングではなく、文脈や文体を理解して判定します。 ・判定理由の可視化: 単に分類するだけでなく、「なぜスパムと判断したか」の根拠を出力します。 ・構造化データ出力: JSON形式で出力されるため、API経由でGmail連携や業務自動化ツール(Make, Zapier等)へ簡単に接続可能です。 ①ナレッジ(参照データ)の準備 1.スプレッドシート等で、以下のような2列のデータセット(CSV形式)を用意します。 ・1列目 (email_content): メール本文 ・2列目 (label): spam または ham 2.Difyのメニュー「ナレッジ」からナレッジベースを作成し、CSVをアップロードします。 ② ワークフロー(DSL)のインポート 1.Difyの「スタジオ」画面で 「アプリをインポート」(またはDSLファイルを読み込み)を選択します。 2.提出された本テンプレート(DSLファイル)をインポートします。 ③ ノードの設定確認・調整 1.知識検索ノード: ・ノード内の設定で、手順1で作成した「ナレッジベース」を指定します。 ・クエリに {{#1712...email_text#}}(ユーザー入力)が割り当たっていることを確認します。 2.LLMノード: ・使用するモデル(推奨: gpt-4o-mini また
Rank
86
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-riku/snapshot"
Documentation
Dify
639 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://marketplace.dify.ai/api/v1/templates/31a52f15-83b3-47bb-89da-13b4ef4cb700",
"sourceUrl": "https://marketplace.dify.ai/api/v1/templates/31a52f15-83b3-47bb-89da-13b4ef4cb700",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T01:20:55.671Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/dify-riku/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-riku/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": []
}Record generated Oct 9, 2026.
