Back to Registry View Author Profile
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-searchOr
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(含)、html、graphic_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 在回复中完成:
- 未识别联系方式:英文追问联系方式
- 已识别联系方式:英文确认号码是否正确
默认 base 为 http://121.40.43.22:3004,可通过环境变量覆盖。
API Key 鉴权(免本地日限额)
- 方法:
POST - 路径(相对 Java 网关根):
/api/notify/im/openapi/getChatHistoryByApiKey - 网关根地址:
api_key以uat_前缀(不区分大小写)→http://api.uat.egatee.net;否则 →https://api.egatee.com。若设置EGATEE_NOTIFY_BASE_URL,则始终使用该根地址(覆盖上述分流)。 - 请求头:
Content-Type: application/json,X-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: true、success: false、code < 0);不解析、不使用返回的业务内容。
行为说明(给 Agent)
Metadata
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.