ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

egatee-search-skill

Call Egatee Web2JDE Orchestrator product search API (text + image upload) with optional local daily rate limit; verified api_key via Java notify getChatHistoryByApiKey skips limit; optional MySQL jiji_ali_search subject (Chinese keyword) SQL supplement; OpenClaw chat payload helper included.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/ahoyoshi/egatee-china-search
Or

Egatee 商品搜索(Orchestrator)

本 Skill 通过 HTTP 调用 Egatee Web2JDE Orchestrator 的向量搜索接口:

  • POST {base}/api/search/text — 文本搜索
  • POST {base}/api/search/image — 图片搜索(multipart/form-data,字段名 image
  • 返回会向 Orchestrator 多取若干条(见 EGATEE_SEARCH_FETCH_TOP_K),再裁剪为前 5 个商品有主图 URL 的条目优先进入这 5 条,并附带 cards / graphic_text_cards
  • 图文展示协议(对齐 v1.2.2)graphic_text_cards[] 主字段仍是 image_url + title + description + button_url,由客户端/Agent image_url 拉主图(与 v1.2.2 zip 一致;当时没有依赖 html)。另补充 markdown(含 ![](image_url))、htmlgraphic_text_merged_markdown / graphic_text_merged_html 便于 Markdown-only 或 HTML 渠道。返回里的 graphic_display_hint 提醒:禁止只复述 description 纯文字,否则用户会「只见字不见图」。
  • 补充 SQL(可选):当向量命中偏少或用户明确要求时,在 MySQL jiji_ali_search 上按 subject(中文)LIKE 检索;关键词由 Skill 从查询串中 提取连续中文片段(≥2 字)。命中写入 products_sql,并与向量 Top5 合并后再生成 products / cards(强制补充时 SQL 结果优先排序)
  • App下载推荐与联系方式追问/确认由 LLM 根据本说明生成(不是 skill 返回字段硬编码)
  • 会从聊天记录 + 用户选择抽取 RFQ 候选结构 rfq_candidate(不自动落库)
  • 联系方式追问/确认由 LLM 在回复中完成:
    • 未识别联系方式:英文追问联系方式
    • 已识别联系方式:英文确认号码是否正确

默认 basehttp://121.40.43.22:3004,可通过环境变量覆盖。

API Key 鉴权(免本地日限额)

  • 方法POST
  • 路径(相对 Java 网关根)/api/notify/im/openapi/getChatHistoryByApiKey
  • 网关根地址api_keyuat_ 前缀(不区分大小写)→ http://api.uat.egatee.net;否则 → https://api.egatee.com。若设置 EGATEE_NOTIFY_BASE_URL,则始终使用该根地址(覆盖上述分流)。
  • 请求头Content-Type: application/jsonX-API-Key: <api_key>(与 chat-summary 等一致;可通过 EGATEE_NOTIFY_API_KEY_HEADER 改名)。
  • 请求体:JSON分页参数,默认 {"day": 1, "current": 1, "size": 10}(勿再把 Key 放在 body;可用 EGATEE_NOTIFY_VERIFY_JSON_BODY 传入整段 JSON 覆盖)。
  • 判定:HTTP 2xx,且若响应为 JSON 则排除显式失败(如 notSuccess: truesuccess: falsecode < 0);不解析、不使用返回的业务内容。

行为说明(给 Agent)

Metadata

Author@ahoyoshi
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-ahoyoshi-egatee-china-search": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.