Xpersona Agent
基于本地 Ollama Qwen2 的聊天机器人
这是一个通用聊天机器人,使用部署在本地 Ollama 上的 Qwen2:7b 作为大语言模型(LLM)后端。它支持自由对话、基于文档的 RAG(检索增强生成)知识问答、自定义系统提示词(System Prompt)修改,并可嵌入网站或通过 API 调用以满足业务需求。 1. 安装并启动 Ollama 服务,设置环境变量 OLLAMA_HOST=0.0.0.0:11434,然后执行以下命令下载模型: ollama pull qwen2:7b ollama pull qwen3-embedding 2. 在 Dify 的 Model Provider 页面中添加 Ollama 模型源,将 Base URL 设置为: http://host.docker.internal:11434 并启用 LLM 和 Text Embedding 两种模型类型。 3. 完成默认模型配置,将: qwen2:7b 设置为默认 LLM 模型; qwen3-embedding 设置为默认向量嵌入(Embedding)模型。 4. 如需使用文档检索功能,请创建自己的知识库(Knowledge Base)并上传相关文件。 5. 在应用配置中编辑系统提示词(System Prompt),自定义机器人的回复逻辑。完成配置后,即可
Overall rank
#88
Adoption
No public adoption signal
Trust
Unknown
Freshness
Oct 9, 2026
Freshness
Last checked Oct 9, 2026
Best For
基于本地 Ollama Qwen2 的聊天机器人 is best for workflow, operations, others workflows where documented compatibility matters.
Not Ideal For
Contract metadata is missing or unavailable for deterministic execution.
Evidence Sources Checked
editorial-content, Dify, runtime-metrics, public facts pack
Overview
Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.
Verifiededitorial-content
Overview
Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.
Overview
Executive Summary
这是一个通用聊天机器人,使用部署在本地 Ollama 上的 Qwen2:7b 作为大语言模型(LLM)后端。它支持自由对话、基于文档的 RAG(检索增强生成)知识问答、自定义系统提示词(System Prompt)修改,并可嵌入网站或通过 API 调用以满足业务需求。 1. 安装并启动 Ollama 服务,设置环境变量 OLLAMA_HOST=0.0.0.0:11434,然后执行以下命令下载模型: ollama pull qwen2:7b ollama pull qwen3-embedding 2. 在 Dify 的 Model Provider 页面中添加 Ollama 模型源,将 Base URL 设置为: http://host.docker.internal:11434 并启用 LLM 和 Text Embedding 两种模型类型。 3. 完成默认模型配置,将: qwen2:7b 设置为默认 LLM 模型; qwen3-embedding 设置为默认向量嵌入(Embedding)模型。 4. 如需使用文档检索功能,请创建自己的知识库(Knowledge Base)并上传相关文件。 5. 在应用配置中编辑系统提示词(System Prompt),自定义机器人的回复逻辑。完成配置后,即可 Capability contract not published. No trust telemetry is available yet. Last updated 10/9/2026.
Trust score
Unknown
Compatibility
Profile only
Freshness
Oct 9, 2026
Vendor
Dify
Artifacts
0
Benchmarks
0
Last release
Unpublished
Install & run
Setup Snapshot
- 1
Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- 2
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.
Evidence & Timeline
Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.
Verifiededitorial-content
Evidence & Timeline
Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.
Public facts
Evidence Ledger
Vendor (1)
Vendor
Dify
Security (1)
Handshake status
UNKNOWN
Events
Release & Crawl Timeline
Artifacts & Docs
Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.
Self-declaredDify
Artifacts & Docs
Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.
Captured outputs
Artifacts Archive
Extracted files
0
Examples
0
Snippets
0
Languages
zh-Hans
Editorial read
Docs & README
Docs source
Dify
Editorial quality
ready
这是一个通用聊天机器人,使用部署在本地 Ollama 上的 Qwen2:7b 作为大语言模型(LLM)后端。它支持自由对话、基于文档的 RAG(检索增强生成)知识问答、自定义系统提示词(System Prompt)修改,并可嵌入网站或通过 API 调用以满足业务需求。 1. 安装并启动 Ollama 服务,设置环境变量 OLLAMA_HOST=0.0.0.0:11434,然后执行以下命令下载模型: ollama pull qwen2:7b ollama pull qwen3-embedding 2. 在 Dify 的 Model Provider 页面中添加 Ollama 模型源,将 Base URL 设置为: http://host.docker.internal:11434 并启用 LLM 和 Text Embedding 两种模型类型。 3. 完成默认模型配置,将: qwen2:7b 设置为默认 LLM 模型; qwen3-embedding 设置为默认向量嵌入(Embedding)模型。 4. 如需使用文档检索功能,请创建自己的知识库(Knowledge Base)并上传相关文件。 5. 在应用配置中编辑系统提示词(System Prompt),自定义机器人的回复逻辑。完成配置后,即可
Full README
-
安装并启动 Ollama 服务,设置环境变量 OLLAMA_HOST=0.0.0.0:11434,然后执行以下命令下载模型: ollama pull qwen2:7b ollama pull qwen3-embedding
-
在 Dify 的 Model Provider 页面中添加 Ollama 模型源,将 Base URL 设置为: http://host.docker.internal:11434 并启用 LLM 和 Text Embedding 两种模型类型。
-
完成默认模型配置,将:
qwen2:7b设置为默认 LLM 模型;qwen3-embedding设置为默认向量嵌入(Embedding)模型。 -
如需使用文档检索功能,请创建自己的知识库(Knowledge Base)并上传相关文件。
-
在应用配置中编辑系统提示词(System Prompt),自定义机器人的回复逻辑。完成配置后,即可发布应用,用于网站嵌入或通过 API 进行调用。
API & Reliability
Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.
MissingDify
API & Reliability
Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.
Machine interfaces
Contract & API
Contract coverage
Status
missing
Auth
None
Streaming
No
Data region
Unspecified
Protocol support
Requires: none
Forbidden: none
Guardrails
Operational confidence: low
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/contract"
curl -s "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/trust"
Operational fit
Reliability & Benchmarks
Trust signals
Handshake
UNKNOWN
Confidence
unknown
Attempts 30d
unknown
Fallback rate
unknown
Runtime metrics
Observed P50
unknown
Observed P95
unknown
Rate limit
unknown
Estimated cost
unknown
Do not use if
Machine Appendix
Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.
MissingDify
Machine Appendix
Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.
Contract JSON
{
"contractStatus": "missing",
"authModes": [],
"requires": [],
"forbidden": [],
"supportsMcp": false,
"supportsA2a": false,
"supportsStreaming": false,
"inputSchemaRef": null,
"outputSchemaRef": null,
"dataRegion": null,
"contractUpdatedAt": null,
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Invocation Guide
{
"preferredApi": {
"snapshotUrl": "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/snapshot",
"contractUrl": "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/contract",
"trustUrl": "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/trust"
},
"curlExamples": [
"curl -s \"https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/snapshot\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/contract\"",
"curl -s \"https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/trust\""
],
"jsonRequestTemplate": {
"query": "summarize this repo",
"constraints": {
"maxLatencyMs": 2000,
"protocolPreference": []
}
},
"jsonResponseTemplate": {
"ok": true,
"result": {
"summary": "...",
"confidence": 0.9
},
"meta": {
"source": "DIFY_MARKETPLACE",
"generatedAt": "2026-10-09T03:43:46.407Z"
}
},
"retryPolicy": {
"maxAttempts": 3,
"backoffMs": [
500,
1500,
3500
],
"retryableConditions": [
"HTTP_429",
"HTTP_503",
"NETWORK_TIMEOUT"
]
}
}Trust JSON
{
"status": "unavailable",
"handshakeStatus": "UNKNOWN",
"verificationFreshnessHours": null,
"reputationScore": null,
"p95LatencyMs": null,
"successRate30d": null,
"fallbackRate": null,
"attempts30d": null,
"trustUpdatedAt": null,
"trustConfidence": "unknown",
"sourceUpdatedAt": null,
"freshnessSeconds": null
}Capability Matrix
{
"rows": [
{
"key": "workflow",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "operations",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "others",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
},
{
"key": "ollama",
"type": "capability",
"support": "supported",
"confidenceSource": "profile",
"notes": "Declared in agent profile metadata"
}
],
"flattenedTokens": "capability:workflow|supported|profile capability:operations|supported|profile capability:others|supported|profile capability:ollama|supported|profile"
}Facts JSON
[
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Dify",
"href": "https://marketplace.dify.ai/api/v1/templates/7cdd5bda-4a0e-4ec9-b7ba-ddbaa4b14e2f",
"sourceUrl": "https://marketplace.dify.ai/api/v1/templates/7cdd5bda-4a0e-4ec9-b7ba-ddbaa4b14e2f",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T01:20:56.855Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/dify-huiyi-ollama-qwen2/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
]Change Events JSON
[]
