web-search

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Web Search

Web Search

适用场景

Application Scenarios

当需要从公开网页快速获取摘要信息时,使用该技能调用
web_search
函数。
Use this skill to call the
web_search
function when you need to quickly obtain summary information from public web pages.

使用步骤

Usage Steps

  1. 准备清晰具体的
    query
  2. 运行脚本
    python scripts/web_search.py "query"
    。运行之前cd到对应的目录。
  3. 根据返回的摘要列表组织答案,不新增或臆造内容。
  1. Prepare a clear and specific
    query
    .
  2. Run the script
    python scripts/web_search.py "query"
    . Navigate to the corresponding directory before running it.
  3. 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
    VOLCENGINE_ACCESS_KEY
    and
    VOLCENGINE_SECRET_KEY
    environment variables.
  • 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"