本文介绍静态页面解析接口,包含接口功能、参数、返回以及接口调用方法。
接口说明
接口功能:
快速获取 HTML 并解析静态网页内容。
计费说明(体验期间限时免费):
当目标地址的 HTTP 响应码(httpcode)< 500 时,计为一次有效请求。
若目标地址的响应头中的内容类型(Content-Type)为
application/pdf,系统将自动触发 PDF 解析(pdf 处理大小不超过 20MB),此操作将额外计为一次有效请求。
体验说明:
体验期间接口限制 5qps;
体验额度为 1000次/30天;
接口定义
请求参数
字段 | 可选值 | 默认值 | 说明 | |
url: string | 必传 | 解析的目标地址,必须以 http:// 或 https:// 开头 | ||
timeout: int | [0, 180000] | 60000 | 全链路处理超时时间,单位:ms 最大值:180000 | |
pageTimeout: int | [0, 60000] | 10000 | url 读取超时时间,pageTimeout 应小于 timeout 时长 | |
formats: array | ['rawHtml', 'html', 'markdown', 'text'] | ['html', 'markdown', 'text'] | 解析结果格式
| |
maxAge:int | [0, ∞] | 1296000 | 最大缓存时间,单位(秒)。
| |
readability: map | readabilityMode: string | "none", "normal", "article" | none | normal: 基于自研算法,剔除无关信息(页头/页脚,导航等) article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页) |
excludeAllImages:bool | false, true | false | 是否剔除所有图片 | |
excludeAllLinks: bool | false, true | false | 是否剔除所有链接 | |
excludedTags: array | [] | [] | 指定排除的标签,如: ['form', 'header', 'footer', 'nav'] | |
返回参数
字段 | 是否可空 | 字段说明 | 样例 | ||
requestId: string | 否 | 请求RequestId, 排查问题时可以提供此信息 | |||
errorCode: string | 是 | 错误码 | |||
errorMessage: string | 是 | 错误信息 | |||
data: map | statusCode: int | 否 |
| ||
errorMessage: string | 是 | 目标 url 相关的错误 | |||
rawHtml: string | 是 | 目标 url 的原始 html | |||
html: string | 是 | 目标 url 的可读 html | |||
text: string | 是 | 目标 url 的文本内容 | |||
markdown: string | 是 | 目标 url 的 markdown 内容 | |||
links: map | internal: map | 是 | 目标 url 中的链接信息(站内链接)
| { "href": "https://www.alibabagroup.com/cn/global/home", "text": "阿里巴巴集团", "title": "" } | |
external: map | 是 | 目标 url 中的链接信息(站外链接) | |||
media: map | images: map | 是 | 目标 url 中的图片信息
| { "type": "image", "src": "https://img.alicdn.com/tfs/TB1AOdINW6qK1RjSZFmXXX0PFXa-258-258.jpg", "data": "", "alt": "阿里云微信", "desc": null, "format": "jpg" } | |
audios: map | 是 | 目标 url 中的音频信息
| |||
videos: map | 是 | 目标 url 中的视频信息
| |||
metadata: map | url | 否 | 目标地址 | ||
title | 否 | 站点标题 | |||
hostname | 是 | ||||
hostLogo | 是 | 站点 logo | |||
pdfParse | 是 | 是否解析 pdf | |||
错误码
HttpCode | 错误码 | 错误信息 | 处理方案 |
404 | InvalidAccessKeyId.NotFound | Specified access key is not found. | 检查并确保AccessKey/Secret正确。 |
403 | Retrieval.NotActivate | Please activate AI search service | 请下单或联系您的客户经理进行开通。 |
403 | Retrieval.NotAuthorised | Please authorize the AliyunIQSFullAccess privilege to the sub-account. | 子账号没有进行授权,参考创建RAM用户并授权 |
429 | Retrieval.Throttling.User | Request was denied due to user flow control. | 超出限流规格 |
429 | Retrieval.TestUserQueryPerDayExceeded | The query per day exceed the limit. | 测试超出限额(1000次/30天) |
403 | ReadPage.SecurityRestrict | Security restrictions on the target site (e.g., robots.txt). | |
400 | ReadPage.RequestTimeout | Request target url timeout. | 请求超时,适当延长 timeout 时间。 |
429 | ReadPage.RateLimitByDomain | The domain has reached the rate limit. | |
500 | ReadPage.UnknownError | Unknown error. |
接口调用
示例
Python SDK
前提条件
您需要确保已安装Python3.8或以上版本。
安装SDK
pip install alibabacloud_iqs20241111==1.5.0调用代码
import json
from Tea.exceptions import TeaException
from alibabacloud_iqs20241111 import models
from alibabacloud_iqs20241111.client import Client
from alibabacloud_tea_openapi import models as open_api_models
class Sample:
def __init__(self):
pass
@staticmethod
def create_client() -> Client:
config = open_api_models.Config(
# TODO: 使用您的AK/SK进行替换(建议通过环境变量加载)
access_key_id='$YOUR_ACCESS_KEY',
access_key_secret='$YOUR_ACCESS_SECRET'
)
config.endpoint = f'iqs.cn-zhangjiakou.aliyuncs.com'
return Client(config)
@staticmethod
def main() -> None:
client = Sample.create_client()
run_instances_request = models.ReadPageBasicRequest(
body=models.ReadPageBody(
url='http://www.example.com',
max_age=0,
)
)
try:
response = client.read_page_basic(run_instances_request)
print(f"api success, request_id:{response.body.request_id}, result: ")
print(f"{json.dumps(response.body.data.to_map(), indent=2)}")
except TeaException as e:
request_id = e.data.get("requestId")
code = e.data.get("errorCode")
message = e.data.get("errorMessage")
print(f"api exception, requestId:{request_id}, code:{code}, message:{message}")
if __name__ == '__main__':
Sample.main()
Java SDK
前提条件
已安装Java8或以上版本。
Maven依赖
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>iqs20241111</artifactId>
<version>1.5.0</version>
</dependency>调用代码
package com.aliyun.iqs.readpage.example;
import com.aliyun.iqs20241111.Client;
import com.aliyun.iqs20241111.models.*;
import com.aliyun.teaopenapi.models.Config;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
public class Example {
public static void main(String[] args) throws Exception {
Client client = initClient();
invoke(client, "http://www.example.com");
}
private static Client initClient() throws Exception {
// TODO: 使用您的AK/SK进行替换(建议通过环境变量加载)
String accessKeyId = "$YOUR_ACCESS_KEY";
String accessKeySecret = "$YOUR_ACCESS_SECRET";
Config config = new Config()
.setAccessKeyId(accessKeyId)
.setAccessKeySecret(accessKeySecret);
config.setEndpoint("iqs.cn-zhangjiakou.aliyuncs.com");
return new Client(config);
}
private static void invoke(Client client, String url) {
ReadPageBody input = new ReadPageBody();
input.setUrl(url);
ReadPageBasicRequest request = new ReadPageBasicRequest().setBody(input);
try {
ReadPageBasicResponse response = client.readPageBasic(request);
printOutput(response.getBody());
} catch (Exception e) {
e.printStackTrace();
}
}
private static void printOutput(ReadPageBasicResponseBody output) {
// 使用 GsonBuilder 创建带格式化的 Gson 实例
Gson gson = new GsonBuilder()
.setPrettyPrinting()
.disableHtmlEscaping()
.create();
// 输出格式化的 JSON
String prettyJson = gson.toJson(output);
System.out.println(prettyJson);
}
}
Go SDK
前提条件
Go 环境版本必须不低于 1.10.x
安装SDK
require (
github.com/alibabacloud-go/iqs-20241111 v1.5.0
)
调用代码
package main
import (
"fmt"
"log"
openapi "github.com/alibabacloud-go/darabonba-openapi/v2/client"
iqs20241111 "github.com/alibabacloud-go/iqs-20241111/client"
util "github.com/alibabacloud-go/tea-utils/v2/service"
"github.com/alibabacloud-go/tea/tea"
)
const endpointURL = "iqs.cn-zhangjiakou.aliyuncs.com"
func createClient() (*iqs20241111.Client, error) {
// TODO: 使用您的AK/SK进行替换
accessKeyID := "YOUR_ACCESS_KEY"
accessKeySecret := "YOUR_ACCESS_SECRET"
if accessKeyID == "" || accessKeySecret == "" {
return nil, fmt.Errorf("ACCESS_KEY or ACCESS_SECRET environment variable is not set")
}
config := &openapi.Config{
AccessKeyId: tea.String(accessKeyID),
AccessKeySecret: tea.String(accessKeySecret),
Endpoint: tea.String(endpointURL),
}
return iqs20241111.NewClient(config)
}
func runReadPage(client *iqs20241111.Client) error {
body := &iqs20241111.ReadPageBody{
Url: tea.String("http://www.example.com"),
}
request := &iqs20241111.ReadPageBasicRequest{
body,
}
runtime := &util.RuntimeOptions{}
resp, err := client.ReadPageBasicWithOptions(request, nil, runtime)
if err != nil {
return fmt.Errorf("readpage failed: %w", err)
}
fmt.Printf("[%s] response: %s\n", *resp.Body.RequestId, resp.Body)
return nil
}
func main() {
client, err := createClient()
if err != nil {
log.Fatalf("Failed to create client: %v", err)
}
if err := runReadPage(client); err != nil {
log.Fatalf("Error running readpage: %v", err)
}
}
HTTP 调用
请求参数(RequestBody)
curl --location 'https://cloud-iqs.aliyuncs.com/readpage/basic' \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <YOUR-IQS-API-KEY>' \
--data '{
"url": "https://help.aliyun.com/document_detail/2837301.html?spm=a2c4g.11186623.help-menu-2837261.d_0_0_0.59ed3e95CppOt2&scm=20140722.H_2837301._.OR_help-T_cn~zh-V_1",
"maxAge": 0
}'返回
{
"requestId": "05c1eb5f-9af0-4eb1-bed3-ea1d54dc1c7f",
"message": null,
"data": {
"statusCode": 200,
"errorMessage": null,
"rawHtml": null,
"html": "<html>\n<head>\n <title>如何理解信息查询服务-通用搜索_信息查询服务(IQS)-阿里云帮助中心</title>\n </head>\n\n<body>\n<header><div><div><div><header><a href=\"https://www.aliyun.com/\"></a><div><div><nav><a href=\"https://www.aliyun.com/product/tongyi\">大模型</a><a href=\"https://www.aliyun.com/product/list\">产品</a><a href=\"https://www.aliyun.com/solution/tech-solution/\">解决方案</a><a href=\"https://www.aliyun.com/resources\">文档与社区</a><a href=\"https://www.aliyun.com/benefit\">权益中心</a><a href=\"https://www.aliyun.com/price\">定价</a><a href=\"https://market.aliyun.com/\">云市场</a><a href=\"https://partner.aliyun.com/management/v2\">合作伙伴</a><a href=\"https://www.aliyun.com/service\">支持与服务</a><a href=\"https://www.aliyun.com/about\">了解阿里云</a></nav></div></div>\n<div><div>\n<div><div><div><div><button><div>查看 “</div>\n<div>” 全部搜索结果</div></button></div></div></div></div>\n<div><a href=\"https://www.aliyun.com/search?from=h5-global-nav-search\"></a></div>\n</div></div>\n<div>\n<a href=\"https://www.aliyun.com/ai-assistant?displayMode=side\"><div><div><div>AI 助理</div></div></div></a><a href=\"https://beian.aliyun.com/\">备案</a><a href=\"https://home.console.aliyun.com/home/dashboard/ProductAndService\">控制台</a>\n</div></header></div></div></div></header>\n\n <div><div>\n<div><div><div>\n<div><a href=\"/\">官方文档</a></div>\n<div><div><div><div><span>输入文档关键字查找</span></div></div></div></div>\n</div></div></div>\n<div><div>\n<nav><div>\n<div><div>\n<div><div>\n<a href=\"/product/2837261.html\">信息查询服务</a>\n</div></div>\n<div><div><div><input></div></div></div>\n<div><ul>\n <li>\n<a href=\"/document_detail/2837300.html\">\n<span>产品概述</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2870227.html\">\n<span>快速入门</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2870252.html\">\n<span>操作指南</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2837265.html\">\n<span>实践教程</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2837275.html\">\n<span>开发参考</span>\n</a>\n</li>\n <li>\n<a href=\"/document_detail/2870241.html\">\n<span>服务支持</span>\n</a>\n</li>\n</ul></div>\n</div></div>\n<div><div><div><div><div><input></div></div></div></div></div>\n</div></nav><main><div><section><header><div><div><div>\n<a href=\"/\">首页</a>\n <a href=\"/product/2837261.html\">信息查询服务</a>\n <a href=\"/document_detail/2837300.html\">产品概述</a>\n <a href=\"/document_detail/2880836.html\">产品简介</a>\n <span>什么是信息查询服务的通用搜索</span>\n</div></div></div>\n<div>\n<h1>什么是信息查询服务的通用搜索</h1>\n<div>\n<div><span>更新时间:</span></div>\n<div>\n<div><div><a href=\"https://www.aliyun.com/product/iqs\">产品详情</a></div></div>\n<div><a href=\"/my_favorites.html\">我的收藏</a></div>\n</div>\n</div>\n</div></header><div>\n<div><div>\n<main><p>阿里云信息查询服务通用搜索是专为</p>\n<div>\n<section><h2>应用场景</h2>\n<ul>\n<li><p><b>智能客服:</b> 通过动态更新知识库提升问答能力,提升客服效率和用户体验。</p></li>\n<li><p><b>智能助手:</b> 为智能语音助手、智能搜索引擎等应用提供实时信息和问答服务,增强用户体验和应用价值。</p></li>\n<li><p><b>内容创作:</b> 为新闻媒体、自媒体等内容创作者提供热点素材和创作建议,提升内容创作效率和质量。</p></li>\n<li><p><b>数据分析:</b> 为市场调研、舆情监测等数据分析应用提供实时数据支持,提升分析效率和洞察力。</p></li>\n</ul></section><section><h2>功能特性</h2>\n<table><tbody>\n<tr>\n<td><p><b>功能模块</b></p></td>\n<td><p><b>功能名称</b></p></td>\n<td><p><b>功能描述</b></p></td>\n</tr>\n<tr>\n<td><p><b>实时搜索能力</b></p></td>\n<td><p>实时数据获取</p></td>\n<td><p>接入夸克实时数据源,保障搜索时效性。</p></td>\n</tr>\n<tr>\n<td><p><b>高频搜索能力</b></p></td>\n<td><p>高频搜索卡片</p></td>\n<td><p>针对通用搜索数据,提供高频搜索卡片能力,快速返回用户常见问题答案,提升搜索效率。</p></td>\n</tr>\n<tr>\n<td><p><b>搜索优化技术</b></p></td>\n<td><p>查询参数动态调整</p></td>\n<td><p>根据用户搜索意图动态调整参数(如时间范围、数据源权重),提升结果相关性。</p></td>\n</tr>\n<tr>\n<td><p><b>数据整合技术</b></p></td>\n<td><p>多数据源搜索集成</p></td>\n<td><p>整合垂直领域数据源,满足多样化信息需求。</p></td>\n</tr>\n<tr>\n<td><p><b>结果处理能力</b></p></td>\n<td><p>模型精排</p></td>\n<td><p>接入</p></td>\n</tr>\n<tr>\n<td><p>搜索结果摘要</p></td>\n<td><p>提供内容的原始</p></td>\n</tr>\n<tr>\n<td><p><b>运维保障</b></p></td>\n<td><p>数据监控</p></td>\n<td><p>搜索量、热度、覆盖率等指标监控,帮助了解数据情况。</p></td>\n</tr>\n<tr>\n<td><p>性能监控</p></td>\n<td><p>响应时间、吞吐量、错误率等指标监控,及时发现和解决问题。</p></td>\n</tr>\n</tbody></table></section><section><h2><b>产品优势</b></h2>\n<ul>\n<li><p><b>提升大模型实时问答能力:</b>毫秒级响应,快速获取最新信息。</p></li>\n<li><p><b>简化大模型应用开发:</b>提供</p></li>\n<li><p><b>提高大模型问答质量:</b> 输出高质量问答结果,支持多策略校正和推理优化,显著提升整体性能。</p></li>\n<li><p><b>多维度数据源搜索集成:</b>整合垂直领域数据源,支持自定义数据源、算法和模型,满足个性化需求。</p></li>\n<li>\n<p><b>加速大模型应用响应速度:</b>创新分阶段处理机制:</p>\n<ul>\n<li><p>第一阶段快速输出原始内容,确保最快速度的初始响应。</p></li>\n<li><p>第二阶段输出优化排序结果。</p></li>\n</ul>\n</li>\n</ul></section>\n</div></main>\n\n</div></div>\n<div><div>\n<span><a href=\"/document_detail/2880836.html\"></a></span><span><a href=\"/document_detail/2853329.html\">下一篇:什么是信息查询服务的周边查询</a></span>\n</div></div>\n</div>\n<div><div>该文章对您有帮助吗?</div></div></section></div></main>\n</div></div>\n</div></div>\n <footer><div><div><footer><div>\n<div>\n<nav><section><h3>为什么选择阿里云</h3>\n<a href=\"https://www.aliyun.com/about/what-is-cloud-computing\">什么是云计算</a><a href=\"https://infrastructure.aliyun.com/\">全球基础设施</a><a href=\"https://www.aliyun.com/why-us/leading-technology\">技术领先</a><a href=\"https://www.aliyun.com/why-us/reliability\">稳定可靠</a><a href=\"https://www.aliyun.com/why-us/security-compliance\">安全合规</a><a href=\"https://www.aliyun.com/analyst-reports\">分析师报告</a></section><section><h3>产品和定价</h3>\n<a href=\"https://www.aliyun.com/product/list\">全部产品</a><a href=\"https://free.aliyun.com/\">免费试用</a><a href=\"https://www.aliyun.com/product/news/\">产品动态</a><a href=\"https://www.aliyun.com/price/detail\">产品定价</a><a href=\"https://www.aliyun.com/price/cpq/list\">配置报价器</a><a href=\"https://www.aliyun.com/price/cost-management\">云上成本管理</a></section><section><h3>解决方案</h3>\n<a href=\"https://www.aliyun.com/solution/tech-solution\">技术解决方案</a></section><section><h3>文档与社区</h3>\n<a href=\"https://help.aliyun.com/\">文档</a><a href=\"https://developer.aliyun.com/\">开发者社区</a><a href=\"https://tianchi.aliyun.com/\">天池大赛</a><a href=\"https://edu.aliyun.com/\">培训与认证</a></section><section><h3>权益中心</h3>\n<a href=\"https://free.aliyun.com/\">免费试用</a><a href=\"https://www.aliyun.com/solution/free\">解决方案免费试用</a><a href=\"https://university.aliyun.com/\">高校计划</a><a href=\"https://www.aliyun.com/benefit/form/index\">5亿算力补贴</a><a href=\"https://dashi.aliyun.com/?ambRef=shouYeDaoHang2&pageCode=yunparterIndex\">推荐返现计划</a></section><section><h3>支持与服务</h3>\n<a href=\"https://www.aliyun.com/service\">基础服务</a><a href=\"https://www.aliyun.com/service/supportplans\">企业增值服务</a><a href=\"https://www.aliyun.com/service/devopsimpl/devopsimpl_cloudmigration_public_cn\">迁云服务</a><a href=\"https://www.aliyun.com/notice/\">官网公告</a><a href=\"https://status.aliyun.com/\">健康看板</a><a href=\"https://security.aliyun.com/trust\">信任中心</a></section></nav><article><h3>关注阿里云</h3>\n<p>关注阿里云公众号或下载阿里云APP,关注云资讯,随时随地运维管控云服务</p>\n<img alt=\"阿里云APP\" src=\"https://img.alicdn.com/imgextra/i4/O1CN01XLesV31fkf7pYNATb_!!6000000004045-2-tps-400-400.png\"><img alt=\"阿里云微信\" src=\"https://img.alicdn.com/tfs/TB1AOdINW6qK1RjSZFmXXX0PFXa-258-258.jpg\"><p>联系我们:4008013260</p></article>\n</div>\n<div>\n<a href=\"https://help.aliyun.com/product/67275.html\">法律声明</a><a href=\"https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html\">Cookies政策</a><a href=\"https://aliyun.jubao.alibaba.com/\">廉正举报</a><a href=\"https://report.aliyun.com/\">安全举报</a><a href=\"https://www.aliyun.com/contact\">联系我们</a><a href=\"https://careers.aliyun.com/\">加入我们</a>\n</div>\n<section><h3>友情链接</h3>\n<a href=\"https://www.alibabagroup.com/cn/global/home\">阿里巴巴集团</a><a href=\"https://www.taobao.com/\">淘宝网</a><a href=\"https://www.tmall.com/\">天猫</a><a href=\"https://www.aliexpress.com/\">全球速卖通</a><a href=\"https://www.alibaba.com/\">阿里巴巴国际交易市场</a><a href=\"https://www.1688.com/\">1688</a><a href=\"https://www.alimama.com/index.htm\">阿里妈妈</a><a href=\"https://www.fliggy.com/\">飞猪</a><a href=\"https://www.aliyun.com/\">阿里云计算</a><a href=\"https://www.alios.cn/\">AliOS</a><a href=\"https://wanwang.aliyun.com/\">万网</a><a href=\"https://mobile.amap.com/\">高德</a><a href=\"https://www.uc.cn/\">UC</a><a href=\"https://www.umeng.com/\">友盟</a><a href=\"https://www.youku.com/\">优酷</a><a href=\"https://www.dingtalk.com/\">钉钉</a><a href=\"https://www.alipay.com/\">支付宝</a><a href=\"https://damo.alibaba.com/\">达摩院</a><a href=\"https://world.taobao.com/\">淘宝海外</a><a href=\"https://www.aliyundrive.com/\">阿里云盘</a><a href=\"https://www.ele.me/\">饿了么</a></section><p>© 2009-2025 Aliyun.com 版权所有 增值电信业务经营许可证: <a href=\"http://beian.miit.gov.cn/\">浙B2-20080101</a> 域名注册服务机构许可: <a href=\"https://domain.miit.gov.cn/%E5%9F%9F%E5%90%8D%E6%B3%A8%E5%86%8C%E6%9C%8D%E5%8A%A1%E6%9C%BA%E6%9E%84/%E4%BA%92%E8%81%94%E7%BD%91%E5%9F%9F%E5%90%8D/%E9%98%BF%E9%87%8C%E4%BA%91%E8%AE%A1%E7%AE%97%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%20\">浙D3-20210002</a></p>\n<p><a href=\"https://zzlz.gsxt.gov.cn/businessCheck/verifKey.do?showType=p&serial=91330106673959654P-SAIC_SHOW_10000091330106673959654P1710919400712&signData=MEUCIQDEkCd8cK7%2Fyqe6BNMWvoMPtAnsgKa7FZetfPkjZMsvhAIgOX1G9YC6FKyndE7o7hL0KaBVn4f%20V%2Fiof3iAgpsV09o%3D\"><img src=\"//gw.alicdn.com/tfs/TB1GxwdSXXXXXa.aXXXXXXXXXXX-65-70.gif\" alt=\"\"></a><a href=\"http://www.beian.gov.cn/portal/registerSystemInfo\"><img src=\"//img.alicdn.com/tfs/TB1..50QpXXXXX7XpXXXXXXXXXX-40-40.png\" alt=\"浙公网安备 33010602009975号\"><span>浙公网安备 33010602009975号</span></a><a href=\"https://beian.miit.gov.cn/\"><span>浙B2-20080101-4</span></a></p>\n</div></footer></div></div></footer>\n\n\n\n</body>\n</html>",
"text": "大模型产品解决方案文档与社区权益中心定价云市场合作伙伴支持与服务了解阿里云\n查看 “\n” 全部搜索结果\nAI 助理\n备案控制台\n官方文档\n输入文档关键字查找\n信息查询服务\n * 产品概述\n * 快速入门\n * 操作指南\n * 实践教程\n * 开发参考\n * 服务支持\n\n\n首页 信息查询服务 产品概述 产品简介 什么是信息查询服务的通用搜索\n# 什么是信息查询服务的通用搜索\n更新时间:\n产品详情\n我的收藏\n阿里云信息查询服务通用搜索是专为\n## 应用场景\n * 智能客服: 通过动态更新知识库提升问答能力,提升客服效率和用户体验。\n * 智能助手: 为智能语音助手、智能搜索引擎等应用提供实时信息和问答服务,增强用户体验和应用价值。\n * 内容创作: 为新闻媒体、自媒体等内容创作者提供热点素材和创作建议,提升内容创作效率和质量。\n * 数据分析: 为市场调研、舆情监测等数据分析应用提供实时数据支持,提升分析效率和洞察力。\n\n\n## 功能特性\n功能模块 | 功能名称 | 功能描述 \n---|---|--- \n实时搜索能力 | 实时数据获取 | 接入夸克实时数据源,保障搜索时效性。 \n高频搜索能力 | 高频搜索卡片 | 针对通用搜索数据,提供高频搜索卡片能力,快速返回用户常见问题答案,提升搜索效率。 \n搜索优化技术 | 查询参数动态调整 | 根据用户搜索意图动态调整参数(如时间范围、数据源权重),提升结果相关性。 \n数据整合技术 | 多数据源搜索集成 | 整合垂直领域数据源,满足多样化信息需求。 \n结果处理能力 | 模型精排 | 接入 \n搜索结果摘要 | 提供内容的原始 \n运维保障 | 数据监控 | 搜索量、热度、覆盖率等指标监控,帮助了解数据情况。 \n性能监控 | 响应时间、吞吐量、错误率等指标监控,及时发现和解决问题。 \n## 产品优势\n * 提升大模型实时问答能力:毫秒级响应,快速获取最新信息。\n * 简化大模型应用开发:提供\n * 提高大模型问答质量: 输出高质量问答结果,支持多策略校正和推理优化,显著提升整体性能。\n * 多维度数据源搜索集成:整合垂直领域数据源,支持自定义数据源、算法和模型,满足个性化需求。\n * 加速大模型应用响应速度:创新分阶段处理机制:\n * 第一阶段快速输出原始内容,确保最快速度的初始响应。\n * 第二阶段输出优化排序结果。\n\n\n下一篇:什么是信息查询服务的周边查询\n该文章对您有帮助吗?\n### 为什么选择阿里云\n什么是云计算全球基础设施技术领先稳定可靠安全合规分析师报告\n### 产品和定价\n全部产品免费试用产品动态产品定价配置报价器云上成本管理\n### 解决方案\n技术解决方案\n### 文档与社区\n文档开发者社区天池大赛培训与认证\n### 权益中心\n免费试用解决方案免费试用高校计划5亿算力补贴推荐返现计划\n### 支持与服务\n基础服务企业增值服务迁云服务官网公告健康看板信任中心\n### 关注阿里云\n关注阿里云公众号或下载阿里云APP,关注云资讯,随时随地运维管控云服务\n联系我们:4008013260\n法律声明Cookies政策廉正举报安全举报联系我们加入我们\n### 友情链接\n阿里巴巴集团淘宝网天猫全球速卖通阿里巴巴国际交易市场1688阿里妈妈飞猪阿里云计算AliOS万网高德UC友盟优酷钉钉支付宝达摩院淘宝海外阿里云盘饿了么\n© 2009-2025 Aliyun.com 版权所有 增值电信业务经营许可证: 浙B2-20080101 域名注册服务机构许可: 浙D3-20210002\n浙公网安备 33010602009975号浙B2-20080101-4\n",
"markdown": "[](https://www.aliyun.com/)\n[大模型](https://www.aliyun.com/product/tongyi)[产品](https://www.aliyun.com/product/list)[解决方案](https://www.aliyun.com/solution/tech-solution/)[文档与社区](https://www.aliyun.com/resources)[权益中心](https://www.aliyun.com/benefit)[定价](https://www.aliyun.com/price)[云市场](https://market.aliyun.com/)[合作伙伴](https://partner.aliyun.com/management/v2)[支持与服务](https://www.aliyun.com/service)[了解阿里云](https://www.aliyun.com/about)\n查看 “\n” 全部搜索结果\n[](https://www.aliyun.com/search?from=h5-global-nav-search)\n[AI 助理](https://www.aliyun.com/ai-assistant?displayMode=side)[备案](https://beian.aliyun.com/)[控制台](https://home.console.aliyun.com/home/dashboard/ProductAndService)\n[官方文档](https://help.aliyun.com/)\n输入文档关键字查找\n[信息查询服务](https://help.aliyun.com/product/2837261.html)\n * [ 产品概述 ](https://help.aliyun.com/document_detail/2837300.html)\n * [ 快速入门 ](https://help.aliyun.com/document_detail/2870227.html)\n * [ 操作指南 ](https://help.aliyun.com/document_detail/2870252.html)\n * [ 实践教程 ](https://help.aliyun.com/document_detail/2837265.html)\n * [ 开发参考 ](https://help.aliyun.com/document_detail/2837275.html)\n * [ 服务支持 ](https://help.aliyun.com/document_detail/2870241.html)\n\n\n[首页](https://help.aliyun.com/) [信息查询服务](https://help.aliyun.com/product/2837261.html) [产品概述](https://help.aliyun.com/document_detail/2837300.html) [产品简介](https://help.aliyun.com/document_detail/2880836.html) 什么是信息查询服务的通用搜索\n# 什么是信息查询服务的通用搜索\n更新时间:\n[产品详情](https://www.aliyun.com/product/iqs)\n[我的收藏](https://help.aliyun.com/my_favorites.html)\n阿里云信息查询服务通用搜索是专为\n## 应用场景\n * **智能客服:** 通过动态更新知识库提升问答能力,提升客服效率和用户体验。\n * **智能助手:** 为智能语音助手、智能搜索引擎等应用提供实时信息和问答服务,增强用户体验和应用价值。\n * **内容创作:** 为新闻媒体、自媒体等内容创作者提供热点素材和创作建议,提升内容创作效率和质量。\n * **数据分析:** 为市场调研、舆情监测等数据分析应用提供实时数据支持,提升分析效率和洞察力。\n\n\n## 功能特性\n**功能模块** | **功能名称** | **功能描述** \n---|---|--- \n**实时搜索能力** | 实时数据获取 | 接入夸克实时数据源,保障搜索时效性。 \n**高频搜索能力** | 高频搜索卡片 | 针对通用搜索数据,提供高频搜索卡片能力,快速返回用户常见问题答案,提升搜索效率。 \n**搜索优化技术** | 查询参数动态调整 | 根据用户搜索意图动态调整参数(如时间范围、数据源权重),提升结果相关性。 \n**数据整合技术** | 多数据源搜索集成 | 整合垂直领域数据源,满足多样化信息需求。 \n**结果处理能力** | 模型精排 | 接入 \n搜索结果摘要 | 提供内容的原始 \n**运维保障** | 数据监控 | 搜索量、热度、覆盖率等指标监控,帮助了解数据情况。 \n性能监控 | 响应时间、吞吐量、错误率等指标监控,及时发现和解决问题。 \n## **产品优势**\n * **提升大模型实时问答能力:** 毫秒级响应,快速获取最新信息。\n * **简化大模型应用开发:** 提供\n * **提高大模型问答质量:** 输出高质量问答结果,支持多策略校正和推理优化,显著提升整体性能。\n * **多维度数据源搜索集成:** 整合垂直领域数据源,支持自定义数据源、算法和模型,满足个性化需求。\n * **加速大模型应用响应速度:** 创新分阶段处理机制:\n * 第一阶段快速输出原始内容,确保最快速度的初始响应。\n * 第二阶段输出优化排序结果。\n\n\n[](https://help.aliyun.com/document_detail/2880836.html)[下一篇:什么是信息查询服务的周边查询](https://help.aliyun.com/document_detail/2853329.html)\n该文章对您有帮助吗?\n### 为什么选择阿里云\n[什么是云计算](https://www.aliyun.com/about/what-is-cloud-computing)[全球基础设施](https://infrastructure.aliyun.com/)[技术领先](https://www.aliyun.com/why-us/leading-technology)[稳定可靠](https://www.aliyun.com/why-us/reliability)[安全合规](https://www.aliyun.com/why-us/security-compliance)[分析师报告](https://www.aliyun.com/analyst-reports)\n### 产品和定价\n[全部产品](https://www.aliyun.com/product/list)[免费试用](https://free.aliyun.com/)[产品动态](https://www.aliyun.com/product/news/)[产品定价](https://www.aliyun.com/price/detail)[配置报价器](https://www.aliyun.com/price/cpq/list)[云上成本管理](https://www.aliyun.com/price/cost-management)\n### 解决方案\n[技术解决方案](https://www.aliyun.com/solution/tech-solution)\n### 文档与社区\n[文档](https://help.aliyun.com/)[开发者社区](https://developer.aliyun.com/)[天池大赛](https://tianchi.aliyun.com/)[培训与认证](https://edu.aliyun.com/)\n### 权益中心\n[免费试用](https://free.aliyun.com/)[解决方案免费试用](https://www.aliyun.com/solution/free)[高校计划](https://university.aliyun.com/)[5亿算力补贴](https://www.aliyun.com/benefit/form/index)[推荐返现计划](https://dashi.aliyun.com/?ambRef=shouYeDaoHang2&pageCode=yunparterIndex)\n### 支持与服务\n[基础服务](https://www.aliyun.com/service)[企业增值服务](https://www.aliyun.com/service/supportplans)[迁云服务](https://www.aliyun.com/service/devopsimpl/devopsimpl_cloudmigration_public_cn)[官网公告](https://www.aliyun.com/notice/)[健康看板](https://status.aliyun.com/)[信任中心](https://security.aliyun.com/trust)\n### 关注阿里云\n关注阿里云公众号或下载阿里云APP,关注云资讯,随时随地运维管控云服务\n\n联系我们:4008013260\n[法律声明](https://help.aliyun.com/product/67275.html)[Cookies政策](https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html)[廉正举报](https://aliyun.jubao.alibaba.com/)[安全举报](https://report.aliyun.com/)[联系我们](https://www.aliyun.com/contact)[加入我们](https://careers.aliyun.com/)\n### 友情链接\n[阿里巴巴集团](https://www.alibabagroup.com/cn/global/home)[淘宝网](https://www.taobao.com/)[天猫](https://www.tmall.com/)[全球速卖通](https://www.aliexpress.com/)[阿里巴巴国际交易市场](https://www.alibaba.com/)[1688](https://www.1688.com/)[阿里妈妈](https://www.alimama.com/index.htm)[飞猪](https://www.fliggy.com/)[阿里云计算](https://www.aliyun.com/)[AliOS](https://www.alios.cn/)[万网](https://wanwang.aliyun.com/)[高德](https://mobile.amap.com/)[UC](https://www.uc.cn/)[友盟](https://www.umeng.com/)[优酷](https://www.youku.com/)[钉钉](https://www.dingtalk.com/)[支付宝](https://www.alipay.com/)[达摩院](https://damo.alibaba.com/)[淘宝海外](https://world.taobao.com/)[阿里云盘](https://www.aliyundrive.com/)[饿了么](https://www.ele.me/)\n© 2009-2025 Aliyun.com 版权所有 增值电信业务经营许可证: [浙B2-20080101](http://beian.miit.gov.cn/) 域名注册服务机构许可: [浙D3-20210002](https://domain.miit.gov.cn/%E5%9F%9F%E5%90%8D%E6%B3%A8%E5%86%8C%E6%9C%8D%E5%8A%A1%E6%9C%BA%E6%9E%84/%E4%BA%92%E8%81%94%E7%BD%91%E5%9F%9F%E5%90%8D/%E9%98%BF%E9%87%8C%E4%BA%91%E8%AE%A1%E7%AE%97%E6%9C%89%E9%99%90%E5%85%AC%E5%8F%B8%20)\n[](https://zzlz.gsxt.gov.cn/businessCheck/verifKey.do?showType=p&serial=91330106673959654P-SAIC_SHOW_10000091330106673959654P1710919400712&signData=MEUCIQDEkCd8cK7%2Fyqe6BNMWvoMPtAnsgKa7FZetfPkjZMsvhAIgOX1G9YC6FKyndE7o7hL0KaBVn4f%20V%2Fiof3iAgpsV09o%3D)[浙公网安备 33010602009975号](http://www.beian.gov.cn/portal/registerSystemInfo)[浙B2-20080101-4](https://beian.miit.gov.cn/)\n",
"links": {
"internal": [
{
"href": "https://www.aliyun.com/",
"text": "",
"title": ""
},
{
"href": "https://www.aliyun.com/product/tongyi",
"text": "大模型",
"title": ""
},
{
"href": "https://www.aliyun.com/product/list",
"text": "产品",
"title": ""
},
{
"href": "https://www.aliyun.com/solution/tech-solution/",
"text": "解决方案",
"title": ""
},
{
"href": "https://www.aliyun.com/resources",
"text": "文档与社区",
"title": ""
},
{
"href": "https://www.aliyun.com/benefit",
"text": "权益中心",
"title": ""
},
{
"href": "https://www.aliyun.com/price",
"text": "定价",
"title": ""
},
{
"href": "https://market.aliyun.com/",
"text": "云市场",
"title": ""
},
{
"href": "https://partner.aliyun.com/management/v2",
"text": "合作伙伴",
"title": ""
},
{
"href": "https://www.aliyun.com/service",
"text": "支持与服务",
"title": ""
},
{
"href": "https://www.aliyun.com/about",
"text": "了解阿里云",
"title": ""
},
{
"href": "https://www.aliyun.com/search?from=h5-global-nav-search",
"text": "",
"title": ""
},
{
"href": "https://www.aliyun.com/ai-assistant?displayMode=side",
"text": "AI 助理",
"title": ""
},
{
"href": "https://beian.aliyun.com/",
"text": "备案",
"title": ""
},
{
"href": "https://home.console.aliyun.com/home/dashboard/ProductAndService",
"text": "控制台",
"title": ""
},
{
"href": "https://help.aliyun.com/",
"text": "官方文档",
"title": ""
},
{
"href": "https://help.aliyun.com/product/2837261.html",
"text": "信息查询服务",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2837300.html",
"text": "产品概述",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2870227.html",
"text": "快速入门",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2870252.html",
"text": "操作指南",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2837265.html",
"text": "实践教程",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2837275.html",
"text": "开发参考",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2870241.html",
"text": "服务支持",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2880836.html",
"text": "产品简介",
"title": ""
},
{
"href": "https://www.aliyun.com/product/iqs",
"text": "产品详情",
"title": ""
},
{
"href": "https://help.aliyun.com/my_favorites.html",
"text": "我的收藏",
"title": ""
},
{
"href": "https://help.aliyun.com/document_detail/2853329.html",
"text": "下一篇:什么是信息查询服务的周边查询",
"title": ""
},
{
"href": "https://www.aliyun.com/about/what-is-cloud-computing",
"text": "什么是云计算",
"title": ""
},
{
"href": "https://infrastructure.aliyun.com/",
"text": "全球基础设施",
"title": ""
},
{
"href": "https://www.aliyun.com/why-us/leading-technology",
"text": "技术领先",
"title": ""
},
{
"href": "https://www.aliyun.com/why-us/reliability",
"text": "稳定可靠",
"title": ""
},
{
"href": "https://www.aliyun.com/why-us/security-compliance",
"text": "安全合规",
"title": ""
},
{
"href": "https://www.aliyun.com/analyst-reports",
"text": "分析师报告",
"title": ""
},
{
"href": "https://free.aliyun.com/",
"text": "免费试用",
"title": ""
},
{
"href": "https://www.aliyun.com/product/news/",
"text": "产品动态",
"title": ""
},
{
"href": "https://www.aliyun.com/price/detail",
"text": "产品定价",
"title": ""
},
{
"href": "https://www.aliyun.com/price/cpq/list",
"text": "配置报价器",
"title": ""
},
{
"href": "https://www.aliyun.com/price/cost-management",
"text": "云上成本管理",
"title": ""
},
{
"href": "https://www.aliyun.com/solution/tech-solution",
"text": "技术解决方案",
"title": ""
},
{
"href": "https://developer.aliyun.com/",
"text": "开发者社区",
"title": ""
},
{
"href": "https://tianchi.aliyun.com/",
"text": "天池大赛",
"title": ""
},
{
"href": "https://edu.aliyun.com/",
"text": "培训与认证",
"title": ""
},
{
"href": "https://www.aliyun.com/solution/free",
"text": "解决方案免费试用",
"title": ""
},
{
"href": "https://university.aliyun.com/",
"text": "高校计划",
"title": ""
},
{
"href": "https://www.aliyun.com/benefit/form/index",
"text": "5亿算力补贴",
"title": ""
},
{
"href": "https://dashi.aliyun.com/?ambRef=shouYeDaoHang2&pageCode=yunparterIndex",
"text": "推荐返现计划",
"title": ""
},
{
"href": "https://www.aliyun.com/service/supportplans",
"text": "企业增值服务",
"title": ""
},
{
"href": "https://www.aliyun.com/service/devopsimpl/devopsimpl_cloudmigration_public_cn",
"text": "迁云服务",
"title": ""
},
{
"href": "https://www.aliyun.com/notice/",
"text": "官网公告",
"title": ""
},
{
"href": "https://status.aliyun.com/",
"text": "健康看板",
"title": ""
},
{
"href": "https://security.aliyun.com/trust",
"text": "信任中心",
"title": ""
},
{
"href": "https://help.aliyun.com/product/67275.html",
"text": "法律声明",
"title": ""
},
{
"href": "https://report.aliyun.com/",
"text": "安全举报",
"title": ""
},
{
"href": "https://www.aliyun.com/contact",
"text": "联系我们",
"title": ""
},
{
"href": "https://careers.aliyun.com/",
"text": "加入我们",
"title": ""
},
{
"href": "https://wanwang.aliyun.com/",
"text": "万网",
"title": ""
}
],
"external": [
{
"href": "https://terms.alicdn.com/legal-agreement/terms/platform_service/20220906101446934/20220906101446934.html",
"text": "Cookies政策",
"title": ""
},
{
"href": "https://aliyun.jubao.alibaba.com/",
"text": "廉正举报",
"title": ""
},
{
"href": "https://www.alibabagroup.com/cn/global/home",
"text": "阿里巴巴集团",
"title": ""
},
{
"href": "https://www.taobao.com/",
"text": "淘宝网",
"title": ""
},
{
"href": "https://www.tmall.com/",
"text": "天猫",
"title": ""
},
{
"href": "https://www.aliexpress.com/",
"text": "全球速卖通",
"title": ""
},
{
"href": "https://www.alibaba.com/",
"text": "阿里巴巴国际交易市场",
"title": ""
},
{
"href": "https://www.1688.com/",
"text": "1688",
"title": ""
},
{
"href": "https://www.alimama.com/index.htm",
"text": "阿里妈妈",
"title": ""
},
{
"href": "https://www.fliggy.com/",
"text": "飞猪",
"title": ""
},
{
"href": "https://www.alios.cn/",
"text": "AliOS",
"title": ""
},
{
"href": "https://mobile.amap.com/",
"text": "高德",
"title": ""
},
{
"href": "https://www.uc.cn/",
"text": "UC",
"title": ""
},
{
"href": "https://www.umeng.com/",
"text": "友盟",
"title": ""
},
{
"href": "https://www.youku.com/",
"text": "优酷",
"title": ""
},
{
"href": "https://www.dingtalk.com/",
"text": "钉钉",
"title": ""
},
{
"href": "https://www.alipay.com/",
"text": "支付宝",
"title": ""
},
{
"href": "https://damo.alibaba.com/",
"text": "达摩院",
"title": ""
},
{
"href": "https://world.taobao.com/",
"text": "淘宝海外",
"title": ""
},
{
"href": "https://www.aliyundrive.com/",
"text": "阿里云盘",
"title": ""
},
{
"href": "https://www.ele.me/",
"text": "饿了么",
"title": ""
},
{
"href": "http://beian.miit.gov.cn/",
"text": "浙B2-20080101",
"title": ""
},
{
"href": "https://domain.miit.gov.cn/域名注册服务机构/互联网域名/阿里云计算有限公司",
"text": "浙D3-20210002",
"title": ""
},
{
"href": "https://zzlz.gsxt.gov.cn/businessCheck/verifKey.do?showType=p&serial=91330106673959654P-SAIC_SHOW_10000091330106673959654P1710919400712&signData=MEUCIQDEkCd8cK7%2Fyqe6BNMWvoMPtAnsgKa7FZetfPkjZMsvhAIgOX1G9YC6FKyndE7o7hL0KaBVn4f%20V%2Fiof3iAgpsV09o%3D",
"text": "",
"title": ""
},
{
"href": "http://www.beian.gov.cn/portal/registerSystemInfo",
"text": "浙公网安备 33010602009975号",
"title": ""
},
{
"href": "https://beian.miit.gov.cn/",
"text": "浙B2-20080101-4",
"title": ""
}
]
},
"media": {
"images": [
{
"type": "image",
"src": "https://img.alicdn.com/imgextra/i4/O1CN01XLesV31fkf7pYNATb_!!6000000004045-2-tps-400-400.png",
"data": "",
"alt": "阿里云APP",
"desc": null,
"format": "png"
},
{
"type": "image",
"src": "https://img.alicdn.com/tfs/TB1AOdINW6qK1RjSZFmXXX0PFXa-258-258.jpg",
"data": "",
"alt": "阿里云微信",
"desc": null,
"format": "jpg"
}
],
"videos": [],
"audios": []
},
"metadata": {
"url": "https://help.aliyun.com/document_detail/2837301.html?spm=a2c4g.11186623.help-menu-2837261.d_0_0_0.59ed3e95CppOt2&scm=20140722.H_2837301._.OR_help-T_cn~zh-V_1",
"title": "如何理解信息查询服务-通用搜索_信息查询服务(IQS)-阿里云帮助中心",
"hostname": "help.aliyun.com",
"hostLogo": null,
"pdfParse": false
}
}
}