跳到主要内容
知仓学习社ZHICANG

webshop-query-interpreter

>-

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少3 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Instructions

Trigger

Activate this skill when a new shopping instruction is received from the user. The instruction will be a natural language request for a product.

Core Process

  1. Parse the Instruction: Analyze the user's query to identify the following key components:
  • Primary Product Type: The main item being requested (e.g., "hair extension").
  • Key Attributes/Features: Descriptive requirements (e.g., "long", "clip-in", "natural looking").
  • Constraints: Hard limits, especially price (e.g., "price lower than 40.00 dollars").
  1. Structure the Output: Format the extracted information into a clear, structured set of search parameters. Use the following template:
    Product Type: <primary item>
    Attributes: <comma-separated features>
    Constraints: <price limits or other hard requirements>
    Search Query: <recommended search string>
  1. Hand Off: Pass the structured parameters to the search execution skill (e.g., webshop-search-executor or webshop-product-search) to perform the actual query.

Example

Instruction: "i need a long clip-in hair extension which is natural looking, and price lower than 40.00 dollars"

Thought: The user wants a hair extension. Key attributes are "long", "clip-in", and "natural looking". The hard constraint is price under $40.00.

Structured Output:

Product Type: clip-in hair extension
Attributes: long, natural looking
Constraints: price < $40.00
Search Query: long clip-in natural looking hair extension

Instruction: "i want a pack of 6 moisturizing body wash bars with shea butter, price less than 20 dollars"

Thought: The user wants body wash bars. Key attributes are "moisturizing", "shea butter", quantity "6 pack". Hard constraint is price under $20.00.

Structured Output:

Product Type: body wash bars
Attributes: moisturizing, shea butter, 6 pack
Constraints: price < $20.00
Search Query: moisturizing body wash bars shea butter 6 pack

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。