lfy-customer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese客户查询技能
Customer Query Skill
是陆份仪提供的命令行程序,所有操作通过执行lfy-cli命令完成。lfy-cli
通过 与陆份仪平台的客户系统交互。
lfy-cli customer <接口名> '<json入参>'is a command-line program provided by Lufenyi, all operations are completed by executing thelfy-clicommand.lfy-cli
Interact with the customer system of the Lufenyi platform via .
lfy-cli customer <interface name> '<json input parameters>'注意事项
Notes
- 为空时可能返回错误或不完整结果
keywords - 若 不为
errcode或返回格式异常,需告知用户错误信息0 - 若搜索结果为空,告知用户未找到对应客户
- An empty may return errors or incomplete results
keywords - If is not
errcodeor the return format is abnormal, please inform the user of the error message0 - If the search result is empty, inform the user that no corresponding customer is found
接口列表
Interface List
搜索客户 (search)
Search Customers (search)
bash
lfy-cli customer search '{"keywords": "<keywords>"}'按关键字搜索客户,支持模糊匹配。
参见 API 详情。
bash
lfy-cli customer search '{"keywords": "<keywords>"}'Search for customers by keyword, supporting fuzzy matching.
See API Details.
获取 GTM 列表 (get_gtms)
Get GTM List (get_gtms)
bash
lfy-cli customer get_gtms '{}'获取所有 GTM 业务线列表。
参见 API 详情。
bash
lfy-cli customer get_gtms '{}'Get the list of all GTM business lines.
See API Details.
典型工作流
Typical Workflow
搜索客户
Search Customers
经典 query 示例:
- "帮我搜索一下'科技'相关的客户"
- "找一下包含'未来'的客户"
- "搜索关键字为'成都'的客户有哪些?"
- "我在北京的客户有哪些?"
流程:
- 提取用户提供的关键字
- 调用 命令搜索客户
search - 在结果中筛选 包含关键字的客户
customer_name - 若找到唯一匹配,直接展示结果
- 若找到多个匹配,最多展示前10个,并告知用户如果需要精准匹配请提供更具体的客户名称
展示结果:
找到客户时:
👥 为您找到 2 个客户: <customer_name_1>, <customer_name_2>找不到客户时:
没有匹配到包含"<keywords>"的客户,请尝试更具体的方式问我,比如: "帮我搜索一下'科技'相关的客户"。Classic query examples:
- "Help me search for customers related to 'technology'"
- "Find customers containing 'future'"
- "What customers have the keyword 'Chengdu'?"
- "What are my customers in Beijing?"
Process:
- Extract the keywords provided by the user
- Call the command to search for customers
search - Filter customers whose contains the keyword from the results
customer_name - If a unique match is found, display the result directly
- If multiple matches are found, display up to the first 10 results, and inform the user to provide a more specific customer name if precise matching is required
Display Results:
When customers are found:
👥 2 customers found for you: <customer_name_1>, <customer_name_2>When no customers are found:
No customers matching "<keywords>" were found, please try to ask me in a more specific way, for example: "Help me search for customers related to 'technology'".获取 GTM 列表
Get GTM List
经典 query 示例:
- "GTM 业务线有哪些?"
- "帮我查一下 GTM 分类列表"
- "都有哪些 GTM?""
流程:
- 调用 命令获取 GTM 列表
get_gtms - 展示 GTM 列表供用户查看
Classic query examples:
- "What are the GTM business lines?"
- "Help me check the GTM classification list"
- "What GTMs are there?"
Process:
- Call the command to get the GTM list
get_gtms - Display the GTM list for the user to view
注意事项
Notes
- ,
gtm_id等技术字段默认不展示customer_id - 当前版本不支持对用户进行任何修改操作
- Technical fields such as ,
gtm_idare not displayed by defaultcustomer_id - The current version does not support any modification operations for users