lfy-pipeline

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

商机查询技能

Business Opportunity Query Skill

lfy-cli
是陆份仪提供的命令行程序,所有操作通过执行
lfy-cli
命令完成。
通过
lfy-cli pipeline <接口名> ' '
与商机系统交互。
lfy-cli
is a command-line program provided by Lufenyi. All operations are completed by executing the
lfy-cli
command.
Interact with the business opportunity system via
lfy-cli pipeline <interface name> ' '
.

注意事项

Notes

  • keywords
    为空时可能返回错误或不完整结果
  • errcode
    不为
    0
    或返回格式异常,需告知用户错误信息
  • 若搜索结果为空,告知用户未找到对应商机
  • pipeline_id
    stage_id
    等技术字段默认不展示

  • If
    keywords
    is empty, it may return errors or incomplete results
  • If
    errcode
    is not
    0
    or the returned format is abnormal, you need to inform the user of the error message
  • If the search result is empty, inform the user that no corresponding business opportunity is found
  • Technical fields such as
    pipeline_id
    and
    stage_id
    are not displayed by default

接口列表

API List

搜索商机 (search)

Search Business Opportunities (search)

bash
lfy-cli pipeline search '{"keywords": "<keywords>"}'
按关键字搜索商机,支持模糊匹配。
参见 API 详情
bash
lfy-cli pipeline search '{"keywords": "<keywords>"}'
Search for business opportunities by keyword, supporting fuzzy matching.
See API Details.

获取商机阶段 (get_sales_stage)

Get Business Opportunity Stage (get_sales_stage)

bash
lfy-cli pipeline get_sales_stage '{"gtm_id": <gtm_id>}'
根据 GTM ID 获取商机阶段列表,包括阶段名称、里程碑目标、价值主张等信息。
参见 API 详情

bash
lfy-cli pipeline get_sales_stage '{"gtm_id": <gtm_id>}'
Get the list of business opportunity stages based on GTM ID, including stage name, milestone goal, value proposition and other information.
See API Details.

典型工作流

Typical Workflow

搜索商机

Search for Business Opportunities

经典 query 示例:
  • "帮我搜索一下'科技'相关的商机"
  • "找一下包含'未来'的商机"
  • "搜索关键字为'成都'的商机有哪些?"
流程:
  1. 提取用户提供的关键字
  2. 调用
    search
    命令搜索商机
  3. 在结果中筛选
    pipeline_name
    包含关键字的商机
  4. 若找到唯一匹配,直接展示结果
  5. 若找到多个匹配,最多展示前10个,并告知用户如果需要精准匹配请提供更具体的商机名称
展示结果:
📇 为您找到 1 个商机:<pipeline_name>
找不到时:
没有匹配到包含"<keywords>"的商机,请尝试更具体的方式问我,比如:"帮我搜索一下'科技'相关的商机"。
Classic query examples:
  • "Help me search for business opportunities related to 'technology'"
  • "Find business opportunities that include 'future'"
  • "What are the business opportunities with the keyword 'Chengdu'?"
Process:
  1. Extract keywords provided by the user
  2. Call the
    search
    command to search for business opportunities
  3. Filter business opportunities whose
    pipeline_name
    contains the keyword from the results
  4. If a unique match is found, display the result directly
  5. If multiple matches are found, display the first 10 at most, and inform the user to provide a more specific business opportunity name if precise matching is required
Display result:
📇 1 business opportunity found for you: <pipeline_name>
When no result is found:
No business opportunities containing "<keywords>" are matched. Please try asking me in a more specific way, for example: "Help me search for business opportunities related to 'technology'".

获取商机阶段

Get Business Opportunity Stage

经典 query 示例:
  • "帮我查一下这个商机的阶段信息"
  • "获取商机阶段"
  • "这个商机进行到哪一步了"
流程:
  1. 提取用户提供的
    gtm_id
  2. 调用
    get_sales_stage
    命令获取阶段信息
  3. 展示阶段列表信息
展示结果:
📋 商机阶段信息:
阶段名称里程碑目标价值主张建议天数
<stage_name><milestone_goal><value_proposition><suggested_stage_days>天
Classic query examples:
  • "Help me check the stage information of this business opportunity"
  • "Get business opportunity stage"
  • "What step is this business opportunity at?"
Process:
  1. Extract the
    gtm_id
    provided by the user
  2. Call the
    get_sales_stage
    command to get stage information
  3. Display the stage list information
Display result:
📋 Business opportunity stage information:
Stage NameMilestone GoalValue PropositionSuggested Days
<stage_name><milestone_goal><value_proposition><suggested_stage_days> days