web-search
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWeb Search
Web Search
适用场景
Application Scenarios
当需要从公开网页快速获取摘要信息时,使用该技能调用 函数。
web_searchUse this skill to call the function when you need to quickly obtain summary information from public web pages.
web_search使用步骤
Usage Steps
- 准备清晰具体的 。
query - 运行脚本 。运行之前cd到对应的目录。
python scripts/web_search.py "query" - 根据返回的摘要列表组织答案,不新增或臆造内容。
- Prepare a clear and specific .
query - Run the script . Navigate to the corresponding directory before running it.
python scripts/web_search.py "query" - Organize the answer based on the returned summary list without adding or fabricating content.
认证与凭据来源
Authentication and Credential Sources
- 优先读取 与
VOLCENGINE_ACCESS_KEY环境变量。VOLCENGINE_SECRET_KEY - 若未配置,将尝试使用 VeFaaS IAM 临时凭据。
- Prioritize reading the and
VOLCENGINE_ACCESS_KEYenvironment variables.VOLCENGINE_SECRET_KEY - If not configured, it will attempt to use VeFaaS IAM temporary credentials.
输出格式
Output Format
- 按行输出摘要列表,最多 5 条。
- 若调用失败,将打印错误响应。
- Output the summary list line by line, up to 5 entries.
- If the call fails, an error response will be printed.
示例
Example
bash
python scripts/web_search.py "2026 年最新的 Python 版本"bash
python scripts/web_search.py "Latest Python version in 2026"