webshop-query-interpreter
>-
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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
- 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").
- 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>
- Hand Off: Pass the structured parameters to the search execution skill (e.g.,
webshop-search-executororwebshop-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 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
experiments/src/skills/webshop/webshop-query-interpreter/SKILL.md同一个仓库里的其他技能
- alfworld-appliance-navigator
- alfworld-appliance-preparer
- alfworld-clean-object
- alfworld-device-operator
- alfworld-environment-scanner
- alfworld-goal-interpreter
- alfworld-heat-object-with-appliance
- alfworld-inventory-management
- alfworld-locate-target-object
- alfworld-location-navigator
- alfworld-navigation-planner
- alfworld-object-cooler