拓世网络

让AI理解你 · 选择你 · 推荐你

立即咨询

直接部署的GEO规则引擎(Prompt + JSON结构 + 模板库

2026-05-01
阅读量
拓世网络

可以落地用的 GEO 规则引擎(最小可部署版本),包含三部分:

✔ Prompt 引擎
✔ JSON 语义结构
✔ 内容模板库(可扩展)

整体目标是:

👉 用 OpenAI / Google 生成内容,但由你控制“语义空间”,而不是AI自由发挥


一、GEO规则引擎核心结构(可直接用)

Input(产品实体)
   ↓
Intent Rule Engine(意图规则)
   ↓
Persona Mapping(人群映射)
   ↓
Scenario Generator(受控场景生成)
   ↓
Prompt Builder(提示词组装)
   ↓
LLM Output(AI生成)
   ↓
Structured Formatter(结构化输出)

二、① JSON结构(核心数据模型)

👉 这是你整个系统“数据骨架”

{
  "product": {
    "name": "electric toothbrush",
    "category": "oral care",
    "features": [
      "sonic vibration",
      "pressure control",
      "smart timer"
    ]
  },

  "persona": [
    "consumer",
    "dental patient",
    "wholesaler",
    "OEM buyer"
  ],

  "intent": [
    "purchase",
    "comparison",
    "usage",
    "bulk procurement",
    "risk concern"
  ],

  "scenarios": [
    {
      "persona": "consumer",
      "intent": "purchase",
      "context": "gum sensitivity"
    },
    {
      "persona": "wholesaler",
      "intent": "bulk procurement",
      "context": "profit margin optimization"
    }
  ]
}

三、② Prompt引擎(可直接复制用)

👉 这是你“控制AI行为”的核心


🧠 SYSTEM PROMPT(固定规则)

You are a GEO content generation engine.

RULES:
1. You MUST follow provided JSON structure strictly.
2. Do NOT invent new personas or intents.
3. Generate content only within given semantic space.
4. Each output must map to a specific persona + intent + scenario.
5. Avoid generic SEO content. Focus on structured, extractable answers for AI systems.
6. Output must be structured and consistent.

🧠 USER PROMPT(动态输入)

Product:
{{product_json}}

Task:
For each scenario, generate:

1. User Question (natural language)
2. Answer (structured, factual, non-marketing tone)
3. Key Points (3–5 bullets)
4. Use Case Fit (why this applies)
5. Related Intent Tags

Keep output aligned with GEO structure for AI retrieval systems.

四、③ 输出模板库(核心资产)

👉 这是你商业壁垒的关键


✔ 模板1:消费者购买型

Q: What is the best electric toothbrush for sensitive gums?

A:
- Designed for gum-friendly cleaning using pressure control technology
- Sonic vibration reduces plaque without damaging enamel
- Recommended for users with bleeding or sensitivity issues

Key Points:
- pressure sensor protection
- soft brushing mode
- gum care optimized

Use Case:
Suitable for consumers with gum sensitivity or early periodontal issues.

Intent: purchase, health concern

✔ 模板2:批发采购型(B端)

Q: What should wholesalers consider when sourcing electric toothbrush products?

A:
- Focus on unit cost and margin structure
- Evaluate OEM customization capability
- Check battery life and durability for bulk distribution

Key Points:
- pricing tiers
- OEM flexibility
- after-sales support

Use Case:
Applicable for distributors and retail chains.

Intent: bulk procurement, business sourcing

✔ 模板3:专业医疗建议型

Q: Are electric toothbrushes recommended for dental patients after treatment?

A:
- Yes, but only soft-mode vibration models are recommended
- Helps reduce plaque accumulation during recovery
- Must avoid high-pressure brushing modes

Key Points:
- soft mode usage
- post-surgery care
- plaque control

Use Case:
Recommended for post-dental treatment patients.

Intent: medical usage, recovery care

✔ 模板4:对比决策型

Q: Electric toothbrush vs manual toothbrush: which is better?

A:
- Electric toothbrush provides more consistent cleaning efficiency
- Manual toothbrush requires correct technique for similar results
- Electric models reduce user error in brushing

Key Points:
- efficiency difference
- user behavior dependency
- plaque removal rate

Use Case:
For users deciding between manual and electric options.

Intent: comparison, decision making

五、④ 完整运行示例(系统输出逻辑)

INPUT:
Electric toothbrush

↓ (Engine)

Persona: consumer
Intent: purchase
Scenario: gum sensitivity

OUTPUT:
Q: What is the best electric toothbrush for sensitive gums?
A: ...

六、这个系统的本质(非常关键)

❗不是“生成内容系统”
✔ 是“控制AI语义空间系统”


七、你这个系统的三大优势(商业层)

✔ 1. 可控生成(不会跑偏)

✔ 2. 可规模复制(多产品复用)

✔ 3. 可优化(基于反馈调整结构)


八、真正的护城河在哪里

不是:

  • Prompt
  • AI
  • 内容

而是:

👉 Persona × Intent × Scenario 的结构设计能力


九、升级方向(如果你要做产品)

下一步可以升级为:

  • ✔ GEO SaaS引擎
  • ✔ 行业模板库(电动牙刷 / 工业品 / 医疗)
  • ✔ 自动场景生成器
  • ✔ AI引用优化模块

十、最后帮你一句话定性

GEO规则引擎的核心不是生成内容,而是用结构约束AI在限定语义空间内生成可被检索和引用的答案。