pipellm-websearch
把它装进 OpenClaw。
WebSearch 包含什么
| 入口 | 用途 |
|---|---|
| Search API | 在应用或后端里通过 HTTP 调用 PipeLLM WebSearch |
| npm 包 | 通过 npm 安装成 OpenClaw 插件 |
核心能力
- 通过 PipeLLM 托管的检索流程做实时网络搜索
- 在搜索结果中返回可选的富上下文页面内容
- 通过 OpenClaw 插件提供网页阅读和新闻搜索工具
- 复用同一套 PipeLLM API Key,按次计费
认证
使用和平台其他能力一致的 PipeLLM API Key:公共路由
PipeLLM Gateway 当前对外公开了 4 条 WebSearch 路由:| 路由 | 用途 | 查询参数 |
|---|---|---|
GET /v1/websearch/search | 深度搜索,带检索和重排序 | q |
GET /v1/websearch/simple-search | 快速搜索,只返回搜索摘要 | q |
GET /v1/websearch/reader | 读取网页并返回干净文本 | url |
GET /v1/websearch/search-news | 新闻搜索,带检索和重排序 | q |
价格
当前 WebSearch 按成功请求计费:| 项目 | 价格 |
|---|---|
| WebSearch 请求 | $0.05 |
WebSearch 请求和模型生成接口使用同一套账号鉴权,但在产品能力和计费上是独立的一条线。
路由映射
| 公共路由 | 内部服务路由 | 说明 |
|---|---|---|
/v1/websearch/search | /api/search | 完整搜索 + 内容提取 + 重排序 |
/v1/websearch/simple-search | /api/simple-search | 只做 Serper 搜索 |
/v1/websearch/reader | /api/reader | 按 URL 读取单个页面 |
/v1/websearch/search-news | /api/search-news | 新闻搜索 + 内容提取 + 重排序 |
从这里开始
深度搜索
完整搜索,带内容提取和重排序
快速搜索
只返回搜索摘要,不做深度检索
网页读取
读取网页并转成干净文本
新闻搜索
搜索近期新闻并返回检索结果
pipellm-websearch(npm)
从 npm 安装 OpenClaw 插件
OpenClaw
把编码 Agent 接到 PipeLLM 和 WebSearch