From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/iqs/2024-11-11/api-docs.php | 2963 ++++++++++++++------------------ 1 file changed, 1289 insertions(+), 1674 deletions(-) (limited to 'data/zh_cn/iqs/2024-11-11') diff --git a/data/zh_cn/iqs/2024-11-11/api-docs.php b/data/zh_cn/iqs/2024-11-11/api-docs.php index 16d7008..c66ce24 100644 --- a/data/zh_cn/iqs/2024-11-11/api-docs.php +++ b/data/zh_cn/iqs/2024-11-11/api-docs.php @@ -1,103 +1,30 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'IQS', - 'version' => '2024-11-11', - ], + 'info' => ['style' => 'ROA', 'product' => 'IQS', 'version' => '2024-11-11'], 'directories' => [ 'UnifiedSearch', [ - 'id' => 206773, - 'title' => '其他', - 'type' => 'directory', - 'children' => [ - 'GenericSearch', - 'AiSearch', - 'GenericAdvancedSearch', - 'GlobalSearch', - ], - ], - [ - 'id' => 0, - 'title' => '其它', + 'children' => ['GenericSearch', 'AiSearch', 'GenericAdvancedSearch', 'CommonQueryByScene', 'GetIqsUsage', 'GlobalSearch', 'MedicalAnswer', 'MedicalKnowledge', 'MultimodalSearch', 'OmniAnswer', 'ReadPageBasic', 'ReadPageScrape', 'ScanFile'], 'type' => 'directory', - 'children' => [ - 'GetIqsUsage', - 'MultimodalSearch', - 'ReadPageBasic', - 'ReadPageScrape', - ], + 'title' => '其他', + 'id' => 292919, ], ], 'components' => [ 'schemas' => [ - 'AISearchQuery' => [ - 'title' => '搜索查询条件', + 'AgentBaseQuery' => [ 'type' => 'object', 'properties' => [ - 'searchEngine' => [ - 'title' => '搜索引擎', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'quark', - 'bing', - 'baidu', - 'google', - ], - ], - 'searchPlan' => [ - 'title' => '套餐计划', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'basic', - 'advanced', - ], - ], - 'query' => [ - 'title' => '待查询问题', - 'type' => 'string', - 'required' => false, - ], - 'cardQuery' => [ - 'title' => '卡片类型', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'active', - 'off', - ], - ], - 'page' => [ - 'title' => '页码', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'sessionId' => [ - 'title' => '会话id', - 'type' => 'string', - 'required' => false, - ], - 'card' => [ - 'title' => '是否开启卡片搜索', - 'type' => 'string', - 'required' => false, - ], - 'timeRange' => [ - 'title' => '网页发布时间范围', - 'type' => 'string', - 'required' => false, - 'enum' => [ - 'OneDay', - 'OneWeek', - 'OneMonth', - 'OneYear', - 'NoLimit', - ], - ], + 'query' => ['type' => 'string'], + ], + ], + 'CommonAgentQuery' => [ + 'type' => 'object', + 'properties' => [ + 'querySceneEnumCode' => ['type' => 'string'], + 'query' => ['type' => 'string'], + 'limit' => ['type' => 'integer', 'format' => 'int32'], + 'searchModel' => ['type' => 'string'], ], ], 'GenericSearchResult' => [ @@ -107,36 +34,20 @@ 'pageItems' => [ 'title' => '网页内容列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/ScorePageItem', - ], - ], - 'requestId' => [ - 'title' => 'requestId', - 'type' => 'string', - 'example' => '123456', + 'items' => ['$ref' => '#/components/schemas/ScorePageItem'], ], + 'requestId' => ['title' => 'requestId', 'type' => 'string', 'example' => '123456'], 'weiboItems' => [ 'title' => '微博列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/WeiboItem', - ], - ], - 'searchInformation' => [ - 'title' => '搜索信息', - '$ref' => '#/components/schemas/SearchInformation', + 'items' => ['$ref' => '#/components/schemas/WeiboItem'], ], + 'searchInformation' => ['title' => '搜索信息', '$ref' => '#/components/schemas/SearchInformation'], 'sceneItems' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/SceneItem', - ], - ], - 'queryContext' => [ - 'title' => '查询上下文信息', - '$ref' => '#/components/schemas/QueryContext', + 'items' => ['$ref' => '#/components/schemas/SceneItem'], ], + 'queryContext' => ['title' => '查询上下文信息', '$ref' => '#/components/schemas/QueryContext'], ], ], 'GetIqsUsageResult' => [ @@ -147,48 +58,19 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'date' => [ - 'type' => 'string', - ], - 'billingQps' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'totalCalls' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'valueAddedSummary' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'failedCalls' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'valueAddedAdvanced' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'subAccountId' => [ - 'type' => 'string', - ], - 'engineType' => [ - 'type' => 'string', - ], - 'ladderType' => [ - 'type' => 'string', - ], - 'api' => [ - 'type' => 'string', - ], - 'successCalls' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'mainAccountId' => [ - 'type' => 'string', - ], + 'date' => ['type' => 'string'], + 'mainAccountId' => ['type' => 'string'], + 'subAccountId' => ['type' => 'string'], + 'api' => ['type' => 'string'], + 'engineType' => ['type' => 'string'], + 'billingQps' => ['type' => 'integer', 'format' => 'int32'], + 'ladderType' => ['type' => 'string'], + 'totalCalls' => ['type' => 'integer', 'format' => 'int32'], + 'successCalls' => ['type' => 'integer', 'format' => 'int32'], + 'failedCalls' => ['type' => 'integer', 'format' => 'int32'], + 'valueAddedSummary' => ['type' => 'integer', 'format' => 'int32'], + 'valueAddedAdvanced' => ['type' => 'integer', 'format' => 'int32'], + 'totalBillStatCalls' => ['type' => 'integer', 'format' => 'int32'], ], ], ], @@ -199,26 +81,9 @@ 'description' => '搜索网页结果', 'type' => 'object', 'properties' => [ - 'snippet' => [ - 'title' => '搜索结果的description截取(文本格式)', - 'description' => '搜索结果的description截取(文本格式)', - 'type' => 'string', - 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...', - ], - 'link' => [ - 'title' => '搜索结果指向的完整网址', - 'description' => '搜索结果指向的完整网址', - 'type' => 'string', - 'required' => true, - 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096', - ], - 'title' => [ - 'title' => '搜索结果标题(纯文本)', - 'description' => '搜索结果标题(纯文本)', - 'type' => 'string', - 'required' => true, - 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格', - ], + 'snippet' => ['title' => '搜索结果的description截取(文本格式)', 'description' => '搜索结果的description截取(文本格式)', 'type' => 'string', 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...'], + 'link' => ['title' => '搜索结果指向的完整网址', 'description' => '搜索结果指向的完整网址', 'type' => 'string', 'required' => true, 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096'], + 'title' => ['title' => '搜索结果标题(纯文本)', 'description' => '搜索结果标题(纯文本)', 'type' => 'string', 'required' => true, 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格'], ], ], 'GlobalQueryContext' => [ @@ -230,21 +95,9 @@ 'description' => '初始查询条件', 'type' => 'object', 'properties' => [ - 'query' => [ - 'description' => '查询关键字', - 'type' => 'string', - 'example' => '特朗普关税最新消息', - ], - 'page' => [ - 'description' => '页码', - 'type' => 'string', - 'example' => '1', - ], - 'timeRange' => [ - 'description' => '时间范围', - 'type' => 'string', - 'example' => 'NoLimit', - ], + 'query' => ['description' => '查询关键字', 'type' => 'string', 'example' => '特朗普关税最新消息'], + 'page' => ['description' => '页码', 'type' => 'string', 'example' => '1'], + 'timeRange' => ['description' => '时间范围', 'type' => 'string', 'example' => 'NoLimit'], ], ], ], @@ -253,20 +106,12 @@ 'description' => '场景化垂类 API召回', 'type' => 'object', 'properties' => [ - 'detail' => [ - 'description' => 'JSON结构的明细信息', - 'type' => 'string', - 'example' => '{'."\n" - .'"snippet": "截至2025年3月7日,SpaceX星舰已经发射了8次,并取得4次成功及4次失败。",'."\n" - .'"snippetHighlighted": ["8次"],'."\n" - .'"title": "星舰发射任务列表"'."\n" - .'}', - ], - 'type' => [ - 'description' => '垂类数据的类型', - 'type' => 'string', - 'example' => 'answerBox', - ], + 'detail' => ['description' => 'JSON结构的明细信息', 'type' => 'string', 'example' => '{'."\n" + .'"snippet": "截至2025年3月7日,SpaceX星舰已经发射了8次,并取得4次成功及4次失败。",'."\n" + .'"snippetHighlighted": ["8次"],'."\n" + .'"title": "星舰发射任务列表"'."\n" + .'}'], + 'type' => ['description' => '垂类数据的类型', 'type' => 'string', 'example' => 'answerBox'], ], ], 'GlobalSearchInformation' => [ @@ -274,20 +119,8 @@ 'description' => '搜索执行信息', 'type' => 'object', 'properties' => [ - 'total' => [ - 'title' => '总数', - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10339', - ], - 'searchTime' => [ - 'title' => '搜索时间(ms)', - 'description' => '搜索时间(ms)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1200', - ], + 'total' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '10339'], + 'searchTime' => ['title' => '搜索时间(ms)', 'description' => '搜索时间(ms)', 'type' => 'integer', 'format' => 'int64', 'example' => '1200'], ], ], 'GlobalSearchResult' => [ @@ -295,37 +128,20 @@ 'description' => '搜索结果', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'requestId', - 'description' => 'requestId', - 'type' => 'string', - 'example' => '123456', - ], - 'queryContext' => [ - 'description' => '查询上下文', - '$ref' => '#/components/schemas/GlobalQueryContext', - ], + 'requestId' => ['title' => 'requestId', 'description' => 'requestId', 'type' => 'string', 'example' => '123456'], + 'queryContext' => ['description' => '查询上下文', '$ref' => '#/components/schemas/GlobalQueryContext'], 'pageItems' => [ 'title' => '网页内容列表', 'description' => '网页内容列表', 'type' => 'array', - 'items' => [ - 'description' => '召回网页内容', - '$ref' => '#/components/schemas/GlobalPageItem', - ], + 'items' => ['description' => '召回网页内容', '$ref' => '#/components/schemas/GlobalPageItem'], ], 'sceneItems' => [ 'description' => '场景化垂类API召回', 'type' => 'array', - 'items' => [ - 'description' => '场景化垂类API结构体', - '$ref' => '#/components/schemas/GlobalSceneItem', - ], - ], - 'searchInformation' => [ - 'description' => '搜索信息', - '$ref' => '#/components/schemas/GlobalSearchInformation', + 'items' => ['description' => '场景化垂类API结构体', '$ref' => '#/components/schemas/GlobalSceneItem'], ], + 'searchInformation' => ['description' => '搜索信息', '$ref' => '#/components/schemas/GlobalSearchInformation'], ], ], 'IncludeImage' => [ @@ -333,103 +149,141 @@ 'description' => '搜索结果网址中的图片,最多三张', 'type' => 'object', 'properties' => [ - 'imageLink' => [ - 'title' => '图片链接', - 'type' => 'string', - 'required' => false, - 'example' => 'http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg', - ], - 'width' => [ - 'title' => '图片宽度(像素)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '700', - ], - 'height' => [ - 'title' => '图片高度(像素)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '324', - ], + 'width' => ['title' => '图片宽度(像素)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '700'], + 'imageLink' => ['title' => '图片链接', 'type' => 'string', 'required' => false, 'example' => 'http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg'], + 'height' => ['title' => '图片高度(像素)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '324'], ], 'example' => 'https://pics1.baidu.com/feed/a50f4bfbfbedab64b41c99a3014dc9ce78311ef4@f_auto?token=c559d5772cb91aae52ed5a8272c4525e&f=jpeg', ], 'LocationInfo' => [ 'type' => 'object', 'properties' => [ - 'ip' => [ - 'type' => 'string', + 'ip' => ['type' => 'string'], + 'city' => ['type' => 'string'], + ], + ], + 'MedicalAnswerInput' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['type' => 'string'], + ], + ], + 'MedicalAnswerMessage' => [ + 'type' => 'object', + 'properties' => [ + 'content' => ['type' => 'string'], + 'metaData' => ['$ref' => '#/components/schemas/MedicalAnswerMetaData'], + ], + ], + 'MedicalAnswerMetaData' => [ + 'type' => 'object', + 'properties' => [], + ], + 'MedicalAnswerRaDoc' => [ + 'type' => 'object', + 'properties' => [ + 'title' => ['type' => 'string'], + 'rawUrl' => ['type' => 'string'], + 'content' => ['type' => 'string'], + 'type' => ['type' => 'string'], + ], + ], + 'MedicalAnswerResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => ['type' => 'string'], + 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'], + 'queryContext' => ['$ref' => '#/components/schemas/MultimodalQueryContext'], + 'messages' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MedicalAnswerMessage'], ], - 'city' => [ - 'type' => 'string', + ], + ], + 'MedicalKnowInput' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['type' => 'string'], + 'type' => ['type' => 'string'], + ], + ], + 'MedicalKnowledgeInfo' => [ + 'type' => 'object', + 'properties' => [ + 'url' => ['type' => 'string'], + 'content' => ['type' => 'string'], + ], + ], + 'MedicalKnowResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => ['type' => 'string'], + 'queryContext' => ['$ref' => '#/components/schemas/MultimodalQueryContext'], + 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'], + 'messages' => [ + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/MedicalKnowledgeInfo'], ], ], ], 'MultimodalOriginalQuery' => [ 'type' => 'object', 'properties' => [ - 'query' => [ - 'type' => 'string', - ], + 'query' => ['type' => 'string'], ], ], 'MultimodalQueryContext' => [ 'description' => '原始查询内容', 'type' => 'object', 'properties' => [ - 'originalQuery' => [ - 'description' => '阿里巴巴', - '$ref' => '#/components/schemas/MultimodalOriginalQuery', - ], + 'originalQuery' => ['description' => '阿里巴巴', '$ref' => '#/components/schemas/MultimodalOriginalQuery'], ], ], 'MultimodalSearchBody' => [ 'description' => '搜索条件', 'type' => 'object', 'properties' => [ - 'query' => [ - 'description' => '查询内容', - 'type' => 'string', - 'example' => '阿里巴巴', - ], - 'advancedParams' => [ - 'description' => '附加查询项,比如屏蔽站点', - 'type' => 'object', - 'example' => '{'."\n" - .' "excludeSites": "www.360doc.com,weibo.com"'."\n" - .' }', - ], + 'query' => ['description' => '查询内容', 'type' => 'string', 'example' => '阿里巴巴'], + 'advancedParams' => ['description' => '附加查询项,比如屏蔽站点', 'type' => 'object', 'example' => '{'."\n" + .' "excludeSites": "www.360doc.com,weibo.com"'."\n" + .' }'], + 'engineType' => ['type' => 'string'], ], ], 'MultimodalSearchOutput' => [ 'description' => '查询结果', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求id', - 'type' => 'string', - 'example' => 'sdfsd234-2vxcg345-345vc', - ], - 'queryContext' => [ - 'description' => '查询上下文信息', - '$ref' => '#/components/schemas/MultimodalQueryContext', - ], - 'searchInformation' => [ - 'description' => '搜索基本信息', - '$ref' => '#/components/schemas/SearchInformation', - ], + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'sdfsd234-2vxcg345-345vc'], + 'queryContext' => ['description' => '查询上下文信息', '$ref' => '#/components/schemas/MultimodalQueryContext'], + 'searchInformation' => ['description' => '搜索基本信息', '$ref' => '#/components/schemas/SearchInformation'], 'imageItems' => [ 'description' => '图像列表', 'type' => 'array', - 'items' => [ - 'description' => '图像信息', - '$ref' => '#/components/schemas/UnifiedImageItem', - ], + 'items' => ['description' => '图像信息', '$ref' => '#/components/schemas/UnifiedImageItem'], ], ], ], + 'OmniSearchQuery' => [ + 'type' => 'object', + 'properties' => [ + 'query' => ['title' => '请求入参', 'type' => 'string', 'required' => true, 'example' => '今天杭州天气', 'maxLength' => 200, 'minLength' => 1], + 'sessionId' => ['title' => '会话id', 'type' => 'string'], + 'useCot' => ['title' => '是否使用cot', 'type' => 'boolean'], + 'useModel' => [ + 'type' => 'string', + 'default' => 'pro', + 'enum' => ['pro', 'lite'], + ], + ], + ], + 'OmniSearchResult' => [ + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '请求ID', 'type' => 'string', 'example' => '35E5608A-A737-2038-AFB6-D9D34C6BFD9E'], + 'success' => ['title' => '是否成功', 'type' => 'string', 'example' => 'true'], + ], + ], 'QueryContext' => [ 'type' => 'object', 'properties' => [ @@ -437,63 +291,84 @@ 'title' => '初始查询条件', 'type' => 'object', 'properties' => [ - 'query' => [ - 'type' => 'string', - ], - 'timeRange' => [ - 'type' => 'string', - ], - 'industry' => [ - 'type' => 'string', - ], - 'page' => [ - 'type' => 'string', - ], + 'query' => ['type' => 'string'], + 'timeRange' => ['type' => 'string'], + 'industry' => ['type' => 'string'], + 'page' => ['type' => 'string'], ], ], 'rewrite' => [ 'type' => 'object', 'properties' => [ - 'enabled' => [ - 'title' => '改写是否开启', - 'type' => 'boolean', - ], - 'timeRange' => [ - 'title' => '改写后的timeRange,空标识无改写或者改写结果与原始结果一致', - 'type' => 'string', + 'enabled' => ['title' => '改写是否开启', 'type' => 'boolean'], + 'timeRange' => ['title' => '改写后的timeRange,空标识无改写或者改写结果与原始结果一致', 'type' => 'string'], + ], + ], + ], + ], + 'QueryResult' => [ + 'type' => 'object', + 'properties' => [ + 'data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'address' => ['type' => 'string'], + 'cityCode' => ['type' => 'string'], + 'cityName' => ['type' => 'string'], + 'districtCode' => ['type' => 'string'], + 'districtName' => ['type' => 'string'], + 'id' => ['type' => 'string'], + 'images' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'title' => ['type' => 'string'], + 'url' => ['type' => 'string'], + ], + ], + ], + 'latitude' => ['type' => 'string'], + 'longitude' => ['type' => 'string'], + 'metadata' => [ + 'type' => 'object', + 'properties' => [ + 'businessArea' => ['type' => 'string'], + 'dailyOpeningHours' => ['type' => 'string'], + 'mainTag' => ['type' => 'string'], + 'phone' => ['type' => 'string'], + 'score' => ['type' => 'string'], + 'weeklyOpeningDays' => ['type' => 'string'], + 'averageSpend' => ['type' => 'string'], + ], + ], + 'name' => ['type' => 'string'], + 'provinceCode' => ['type' => 'string'], + 'provinceName' => ['type' => 'string'], + 'typeCode' => ['type' => 'string'], + 'types' => ['type' => 'string'], + 'distanceMeter' => ['type' => 'string'], ], ], ], + 'requestId' => ['type' => 'string'], ], ], 'ReadPageBody' => [ 'description' => 'post body(json 格式)', 'type' => 'object', 'properties' => [ - 'url' => [ - 'description' => '解析的目标地址,必须以 http:// 或 https:// 开头', - 'type' => 'string', - 'required' => true, - 'example' => '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', - ], - 'timeout' => [ - 'description' => '全链路处理超时时间,单位:ms'."\n" - ."\n" - .'可选值:[0, 180000]'."\n" - ."\n" - .'默认值:60000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60000', - ], - 'pageTimeout' => [ - 'description' => 'url 读取超时时间,pageTimeout 应小于 timeout 时长'."\n" - ."\n" - .'默认值:10000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10000', - ], + 'url' => ['description' => '解析的目标地址,必须以 http:// 或 https:// 开头', 'type' => 'string', 'required' => true, 'example' => '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'], + 'timeout' => ['description' => '全链路处理超时时间,单位:ms'."\n" + ."\n" + .'可选值:[0, 180000]'."\n" + ."\n" + .'默认值:60000', 'type' => 'integer', 'format' => 'int32', 'example' => '60000'], + 'pageTimeout' => ['description' => 'url 读取超时时间,pageTimeout 应小于 timeout 时长'."\n" + ."\n" + .'默认值:10000', 'type' => 'integer', 'format' => 'int32', 'example' => '10000'], 'formats' => [ 'description' => '解析结果格式'."\n" .'- rawHtml:目标站点的 html'."\n" @@ -501,27 +376,14 @@ .'- markdown:根据 html 转换成的 markdown 内容'."\n" .'- text:html 中的文本内容', 'type' => 'array', - 'items' => [ - 'description' => '默认值:[\'html\', \'markdown\', \'text\']', - 'type' => 'string', - 'example' => '[\'html\', \'markdown\', \'text\']', - ], - ], - 'location' => [ - 'description' => '无需传入', - 'type' => 'string', - 'example' => 'null', - ], - 'maxAge' => [ - 'description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" - ."\n" - .'- 若缓存时间小于 maxAge,则返回缓存内容;'."\n" - ."\n" - .'- 若 maxAge 等于 0,则不使用缓存。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1296000', - ], + 'items' => ['description' => '默认值:[\'html\', \'markdown\', \'text\']', 'type' => 'string', 'example' => '[\'html\', \'markdown\', \'text\']'], + ], + 'location' => ['description' => '无需传入', 'type' => 'string', 'example' => 'null'], + 'maxAge' => ['description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" + ."\n" + .'- 若缓存时间小于 maxAge,则返回缓存内容;'."\n" + ."\n" + .'- 若 maxAge 等于 0,则不使用缓存。', 'type' => 'integer', 'format' => 'int32', 'example' => '1296000'], 'readability' => [ 'description' => '解析结果可读性配置', 'type' => 'object', @@ -533,35 +395,19 @@ ."\n" .'- article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页)', 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => 'normal', - 'none' => 'none', - 'article' => 'article', - ], + 'enumValueTitles' => ['normal' => 'normal', 'none' => 'none', 'article' => 'article'], 'example' => 'none', ], - 'excludeAllImages' => [ - 'description' => '是否剔除所有图片'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], - 'excludeAllLinks' => [ - 'description' => '是否剔除所有链接'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], + 'excludeAllImages' => ['description' => '是否剔除所有图片'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], + 'excludeAllLinks' => ['description' => '是否剔除所有链接'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], 'excludedTags' => [ 'description' => '指定排除的标签', 'type' => 'array', - 'items' => [ - 'description' => '[]', - 'type' => 'string', - 'example' => '[\'form\', \'header\', \'footer\', \'nav\']', - ], + 'items' => ['description' => '[]', 'type' => 'string', 'example' => '[\'form\', \'header\', \'footer\', \'nav\']'], ], ], ], @@ -571,128 +417,61 @@ 'description' => 'post body (json 格式)', 'type' => 'object', 'properties' => [ - 'statusCode' => [ - 'description' => '1. 若目标站点请求成功,返回目标 url 的 HttpCode。'."\n" - ."\n" - .'2. 若目标站点请求失败,返回 IQS 定制错误码:'."\n" - ."\n" - .' 2.1 4030:目标站点安全限制(robots.txt、安全策略等)'."\n" - .' '."\n" - .' 2.2 4080:请求超时'."\n" - .' '."\n" - .' 2.3 4290:触发站点限流策略'."\n" - .' '."\n" - .' 2.4 5010:未知异常', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'errorMessage' => [ - 'description' => '目标 url 相关的错误', - 'type' => 'string', - 'example' => 'null', - ], - 'rawHtml' => [ - 'description' => '目标 url 的原始 html', - 'type' => 'string', - 'example' => 'Example Domain

Example Domain

This domain is for use in documentation examples without needing permission. Avoid use in operations.

Learn more

\\n', - ], - 'html' => [ - 'description' => '目标 url 的可读 html', - 'type' => 'string', - 'example' => '\\nExample Domain\\n
\\n

Example Domain

\\n

This domain is for use in documentation examples without needing permission. Avoid use in operations.

\\n

Learn more

\\n
\\n', - ], - 'text' => [ - 'description' => '目标 url 的文本内容', - 'type' => 'string', - 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\nLearn more\\n', - ], - 'markdown' => [ - 'description' => '目标 url 的 markdown 内容', - 'type' => 'string', - 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\n[Learn more](https://iana.org/domains/example)\\n', - ], - 'screenshot' => [ - 'type' => 'string', - ], + 'statusCode' => ['description' => '1. 若目标站点请求成功,返回目标 url 的 HttpCode。'."\n" + ."\n" + .'2. 若目标站点请求失败,返回 IQS 定制错误码:'."\n" + ."\n" + .' 2.1 4030:目标站点安全限制(robots.txt、安全策略等)'."\n" + .' '."\n" + .' 2.2 4080:请求超时'."\n" + .' '."\n" + .' 2.3 4290:触发站点限流策略'."\n" + .' '."\n" + .' 2.4 5010:未知异常', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'errorMessage' => ['description' => '目标 url 相关的错误', 'type' => 'string', 'example' => 'null'], + 'rawHtml' => ['description' => '目标 url 的原始 html', 'type' => 'string', 'example' => 'Example Domain

Example Domain

This domain is for use in documentation examples without needing permission. Avoid use in operations.

Learn more

\\n'], + 'html' => ['description' => '目标 url 的可读 html', 'type' => 'string', 'example' => '\\nExample Domain\\n
\\n

Example Domain

\\n

This domain is for use in documentation examples without needing permission. Avoid use in operations.

\\n

Learn more

\\n
\\n'], + 'text' => ['description' => '目标 url 的文本内容', 'type' => 'string', 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\nLearn more\\n'], + 'markdown' => ['description' => '目标 url 的 markdown 内容', 'type' => 'string', 'example' => '# Example Domain\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\n[Learn more](https://iana.org/domains/example)\\n'], + 'screenshot' => ['type' => 'string', 'description' => ''], ], ], 'ReadPageScrapeBody' => [ 'description' => 'post body(json 格式)', 'type' => 'object', 'properties' => [ - 'url' => [ - 'description' => '解析的目标地址,必须以 http:// 或 https:// 开头', - 'type' => 'string', - 'required' => true, - 'example' => 'https://www.example.com', - ], - 'timeout' => [ - 'description' => '全链路处理超时时间,单位:ms'."\n" - ."\n" - .'可选值:[0, 180000]'."\n" - ."\n" - .'默认值:60000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60000', - ], - 'pageTimeout' => [ - 'description' => '等待目标站点资源完全加载的超时时间,pageTimeout 应小于 timeout 时长'."\n" - ."\n" - .'默认值:15000', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15000', - ], - 'location' => [ - 'description' => '无需传入', - 'type' => 'string', - 'example' => 'null', - ], - 'maxAge' => [ - 'description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" - .'1. 若缓存时间小于 maxAge,则返回缓存内容;'."\n" - .'2. 若 maxAge 等于 0,则不使用缓存。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1296000', - ], + 'url' => ['description' => '解析的目标地址,必须以 http:// 或 https:// 开头', 'type' => 'string', 'required' => true, 'example' => 'https://www.example.com'], + 'timeout' => ['description' => '全链路处理超时时间,单位:ms'."\n" + ."\n" + .'可选值:[0, 180000]'."\n" + ."\n" + .'默认值:60000', 'type' => 'integer', 'format' => 'int32', 'example' => '60000'], + 'pageTimeout' => ['description' => '等待目标站点资源完全加载的超时时间,pageTimeout 应小于 timeout 时长'."\n" + ."\n" + .'默认值:15000', 'type' => 'integer', 'format' => 'int32', 'example' => '15000'], + 'location' => ['description' => '无需传入', 'type' => 'string', 'example' => 'null'], + 'maxAge' => ['description' => '最大缓存时间,单位(秒),默认值:1296000。'."\n" + .'1. 若缓存时间小于 maxAge,则返回缓存内容;'."\n" + .'2. 若 maxAge 等于 0,则不使用缓存。', 'type' => 'integer', 'format' => 'int32', 'example' => '1296000'], 'readability' => [ 'description' => '解析结果可读性配置', 'type' => 'object', 'properties' => [ - 'readabilityMode' => [ - 'description' => 'none:不删除信息,默认为 none'."\n" - ."\n" - .'normal: 基于自研算法,剔除目标页面无关信息(页头/页脚,导航等)'."\n" - ."\n" - .'article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页)', - 'type' => 'string', - 'example' => 'none', - ], - 'excludeAllImages' => [ - 'description' => '是否剔除所有图片'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], - 'excludeAllLinks' => [ - 'description' => '是否剔除所有链接'."\n" - ."\n" - .'默认值:false', - 'type' => 'boolean', - 'example' => 'false', - ], + 'readabilityMode' => ['description' => 'none:不删除信息,默认为 none'."\n" + ."\n" + .'normal: 基于自研算法,剔除目标页面无关信息(页头/页脚,导航等)'."\n" + ."\n" + .'article: 基于自研算法,获取站点主要正文内容(适用于博客、新闻站点,不适用于目录页、导航页)', 'type' => 'string', 'example' => 'none'], + 'excludeAllImages' => ['description' => '是否剔除所有图片'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], + 'excludeAllLinks' => ['description' => '是否剔除所有链接'."\n" + ."\n" + .'默认值:false', 'type' => 'boolean', 'example' => 'false'], 'excludedTags' => [ 'description' => '指定排除的标签', 'type' => 'array', - 'items' => [ - 'description' => '[]', - 'type' => 'string', - 'example' => '[\'form\', \'header\', \'footer\', \'nav\']'."\n", - ], + 'items' => ['description' => '[]', 'type' => 'string', 'example' => '[\'form\', \'header\', \'footer\', \'nav\']'."\n"], ], ], ], @@ -705,12 +484,8 @@ .'- text:html 中的文本内容'."\n" .'- screenshot: 目标站点截图', 'type' => 'array', - 'items' => [ - 'description' => '默认值:["html", "markdown", "screenshot"]', - 'type' => 'string', - 'example' => '["html", "markdown", "screenshot"]'."\n" - ."\n", - ], + 'items' => ['description' => '默认值:["html", "markdown", "screenshot"]', 'type' => 'string', 'example' => '["html", "markdown", "screenshot"]'."\n" + ."\n"], ], ], ], @@ -718,194 +493,110 @@ 'description' => '搜索请求返回字段定义', 'type' => 'object', 'properties' => [ - 'mainText' => [ - 'title' => '是否返回正文, 默认:false', - 'description' => '是否返回正文, 默认:false', - 'type' => 'boolean', - ], - 'markdownText' => [ - 'title' => '是否返回markdown, 默认:false', - 'description' => '是否返回markdown, 默认:false', - 'type' => 'boolean', - ], - 'summary' => [ - 'title' => '是否返回增强summary, 默认:false, summary会单独收费', - 'description' => '是否返回增强summary, 默认:false, summary会单独收费', - 'type' => 'boolean', - ], - 'rerankScore' => [ - 'title' => '是否开启Rerank,并返回RerankScore, 默认:true', - 'description' => '是否开启Rerank,并返回RerankScore, 默认:true', - 'type' => 'boolean', - ], - 'richMainBody' => [ - 'type' => 'boolean', - ], + 'mainText' => ['title' => '是否返回正文, 默认:false', 'description' => '是否返回正文, 默认:false', 'type' => 'boolean'], + 'markdownText' => ['title' => '是否返回markdown, 默认:false', 'description' => '是否返回markdown, 默认:false', 'type' => 'boolean'], + 'summary' => ['title' => '是否返回增强summary, 默认:false, summary会单独收费', 'description' => '是否返回增强summary, 默认:false, summary会单独收费', 'type' => 'boolean'], + 'rerankScore' => ['title' => '是否开启Rerank,并返回RerankScore, 默认:true', 'description' => '是否开启Rerank,并返回RerankScore, 默认:true', 'type' => 'boolean'], + 'richMainBody' => ['type' => 'boolean', 'description' => ''], ], ], - 'SceneItem' => [ + 'ScanFileInfo' => [ + 'description' => '扫描结果对象', 'type' => 'object', 'properties' => [ - 'detail' => [ - 'type' => 'string', - ], - 'type' => [ - 'type' => 'string', - ], + 'angle' => ['description' => '图片旋转角度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'height' => ['description' => '图片高度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'width' => ['description' => '图片宽度', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'imageBase64' => ['description' => '图片base64编码', 'type' => 'string', 'format' => 'byte', 'example' => 'erwre'], ], ], - 'ScorePageItem' => [ - 'title' => '搜索结果内容项', - 'description' => '搜索网页结果', + 'ScanFileInput' => [ + 'description' => '扫描文件请求', 'type' => 'object', 'properties' => [ - 'publishTime' => [ - 'title' => '发布时间', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1704426524000', - ], - 'score' => [ - 'title' => '分数', - 'type' => 'number', - 'format' => 'double', - 'required' => false, - 'example' => '0.234325235', - ], + 'imageUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'https://www.1241.png'], + 'imageBase64' => ['description' => '图片base64编码', 'type' => 'string', 'example' => 'wrwqr'], + 'scanFileInputConfig' => ['description' => '扫描参数', '$ref' => '#/components/schemas/ScanFileInputConfig'], + ], + ], + 'ScanFileInputConfig' => [ + 'type' => 'object', + 'properties' => [ + 'autoCrop' => ['type' => 'string'], + 'autoRotate' => ['type' => 'string'], + ], + ], + 'ScanFileOutput' => [ + 'description' => '扫描结果', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['description' => '请求id', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'searchInformation' => ['description' => '搜索执行信息', '$ref' => '#/components/schemas/UnifiedSearchInformation'], + 'scanFileInfoList' => [ + 'description' => '扫描结果对象列表', + 'type' => 'array', + 'items' => ['description' => '扫描结果对象', '$ref' => '#/components/schemas/ScanFileInfo'], + ], + ], + ], + 'SceneItem' => [ + 'type' => 'object', + 'properties' => [ + 'type' => ['type' => 'string'], + 'detail' => ['type' => 'string'], + ], + ], + 'ScorePageItem' => [ + 'title' => '搜索结果内容项', + 'description' => '搜索网页结果', + 'type' => 'object', + 'properties' => [ + 'publishTime' => ['title' => '发布时间', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1704426524000'], + 'score' => ['title' => '分数', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '0.234325235'], 'images' => [ 'title' => '图片信息', 'type' => 'array', - 'items' => [ - 'required' => false, - '$ref' => '#/components/schemas/IncludeImage', - ], + 'items' => ['required' => false, '$ref' => '#/components/schemas/IncludeImage'], 'required' => false, ], - 'htmlTitle' => [ - 'title' => '搜索结果标题(HTML格式)', - 'type' => 'string', - 'required' => true, - 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格-百家号', - ], - 'displayLink' => [ - 'title' => '此搜索结果网址的缩略版本', - 'type' => 'string', - 'required' => true, - 'example' => 'baijiahao.baidu.com', - ], - 'mime' => [ - 'title' => '搜索结果的MIME类型', - 'type' => 'string', - 'required' => false, - 'example' => 'text/html', - ], + 'htmlTitle' => ['title' => '搜索结果标题(HTML格式)', 'type' => 'string', 'required' => true, 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格-百家号'], + 'displayLink' => ['title' => '此搜索结果网址的缩略版本', 'type' => 'string', 'required' => true, 'example' => 'baijiahao.baidu.com'], + 'mime' => ['title' => '搜索结果的MIME类型', 'type' => 'string', 'required' => false, 'example' => 'text/html'], 'pageMap' => [ 'title' => '补充页面信息', 'type' => 'object', 'required' => false, - 'additionalProperties' => [ - 'title' => '补充页面信息', - 'type' => 'string', - 'required' => false, - ], - ], - 'cardType' => [ - 'title' => '搜索结果模板,不同模板返回的字段不同', - 'type' => 'string', - 'required' => true, - 'example' => 'structure_web_info', - ], - 'link' => [ - 'title' => '搜索结果指向的完整网址', - 'type' => 'string', - 'required' => true, - 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096', - ], - 'mainText' => [ - 'title' => '搜索结果的全文本,部分场景存在', - 'type' => 'string', - 'required' => false, - 'example' => '昨天 , 小米 汽车 没有 发布 , 但 相关 的 信息 透露 的 差 不 多 了 。 '."\n" - .' 在 发布 会 现场 , 雷军 直接 称 小米 S U 7 对 标 特斯拉 保时捷 , 有 100 项 行业 领先 , 可见 “ 遥遥 领先 ” 已经 不再 是 华为 专利 了 ? '."\n" - .' '."\n" - .' 而 在 介绍 技术 时 , 雷军 也 从 电机 、 电池 、 大 压铸 、 自动 驾驶 、 智能 座舱 等 五 大 方面 展开 , 充分 展示 了 小米 汽车 的 技术 以及 技术 储备 , 能 堆 的 料 , 全都 堆 上去 了 … … '."\n" - .' 大家 比较 感 兴趣 的 性能 方面 , 2 . 78 s 的 0 - 100 km / h 加速 , 265 km / h 的 最高 时速 ', - ], - 'htmlSnippet' => [ - 'title' => '搜索结果的description截取(HTML格式)', - 'type' => 'string', - 'required' => true, - 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...', - ], - 'title' => [ - 'title' => '搜索结果标题(纯文本)', - 'type' => 'string', - 'required' => true, - 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格', - ], - 'hostname' => [ - 'title' => '站点名称', - 'type' => 'string', - 'example' => '新华网', - ], - 'hostLogo' => [ - 'title' => '站点的logo', - 'type' => 'string', - 'example' => 'https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400', - ], - 'siteLabel' => [ - 'title' => '站点标签:目前支持两种,'."\n" - .'* 权威媒体'."\n" - .' * 党政机关', - 'type' => 'string', - 'example' => '权威媒体', - ], - 'markdownText' => [ - 'type' => 'string', - ], - 'snippet' => [ - 'title' => '搜索结果的description截取(文本格式)', - 'type' => 'string', - 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...', - ], - 'summary' => [ - 'type' => 'string', - ], - 'hostAuthorityScore' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'richMainBody' => [ - 'type' => 'string', - ], - 'websiteAuthorityScore' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'correlationTag' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'additionalProperties' => ['title' => '补充页面信息', 'type' => 'string', 'required' => false], + ], + 'cardType' => ['title' => '搜索结果模板,不同模板返回的字段不同', 'type' => 'string', 'required' => true, 'example' => 'structure_web_info'], + 'link' => ['title' => '搜索结果指向的完整网址', 'type' => 'string', 'required' => true, 'example' => 'https://baijiahao.baidu.com/s?id=1787881554557805096'], + 'mainText' => ['title' => '搜索结果的全文本,部分场景存在', 'type' => 'string', 'required' => false, 'example' => '昨天 , 小米 汽车 没有 发布 , 但 相关 的 信息 透露 的 差 不 多 了 。 '."\n" + .' 在 发布 会 现场 , 雷军 直接 称 小米 S U 7 对 标 特斯拉 保时捷 , 有 100 项 行业 领先 , 可见 “ 遥遥 领先 ” 已经 不再 是 华为 专利 了 ? '."\n" + .' '."\n" + .' 而 在 介绍 技术 时 , 雷军 也 从 电机 、 电池 、 大 压铸 、 自动 驾驶 、 智能 座舱 等 五 大 方面 展开 , 充分 展示 了 小米 汽车 的 技术 以及 技术 储备 , 能 堆 的 料 , 全都 堆 上去 了 … … '."\n" + .' 大家 比较 感 兴趣 的 性能 方面 , 2 . 78 s 的 0 - 100 km / h 加速 , 265 km / h 的 最高 时速 '], + 'htmlSnippet' => ['title' => '搜索结果的description截取(HTML格式)', 'type' => 'string', 'required' => true, 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...'], + 'title' => ['title' => '搜索结果标题(纯文本)', 'type' => 'string', 'required' => true, 'example' => '小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格'], + 'hostname' => ['title' => '站点名称', 'type' => 'string', 'example' => '新华网'], + 'hostLogo' => ['title' => '站点的logo', 'type' => 'string', 'example' => 'https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400'], + 'siteLabel' => ['title' => '站点标签:目前支持两种,'."\n" + .'* 权威媒体'."\n" + .' * 党政机关', 'type' => 'string', 'example' => '权威媒体'], + 'markdownText' => ['type' => 'string'], + 'snippet' => ['title' => '搜索结果的description截取(文本格式)', 'type' => 'string', 'example' => '100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...'], + 'summary' => ['type' => 'string'], + 'hostAuthorityScore' => ['type' => 'number', 'format' => 'double'], + 'richMainBody' => ['type' => 'string'], + 'websiteAuthorityScore' => ['type' => 'integer', 'format' => 'int32'], + 'correlationTag' => ['type' => 'integer', 'format' => 'int32'], ], ], 'SearchCredits' => [ 'description' => '基础搜索服务计量', 'type' => 'object', 'properties' => [ - 'genericTextSearch' => [ - 'title' => '基础版文本搜索次数', - 'description' => '基础版文本搜索次数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'liteAdvancedTextSearch' => [ - 'title' => 'LiteAdvanced搜索次数', - 'description' => 'LiteAdvanced搜索次数', - 'type' => 'integer', - 'format' => 'int32', - ], + 'genericTextSearch' => ['title' => '基础版文本搜索次数', 'description' => '基础版文本搜索次数', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'liteAdvancedTextSearch' => ['title' => 'LiteAdvanced搜索次数', 'description' => 'LiteAdvanced搜索次数', 'type' => 'integer', 'format' => 'int32'], ], ], 'SearchInformation' => [ @@ -913,88 +604,36 @@ 'description' => '搜索执行信息', 'type' => 'object', 'properties' => [ - 'total' => [ - 'title' => '总数', - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '13', - ], - 'searchTime' => [ - 'title' => '搜索时间(ms)', - 'description' => '搜索时间(ms)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '700', - ], + 'total' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int64', 'example' => '13'], + 'searchTime' => ['title' => '搜索时间(ms)', 'description' => '搜索时间(ms)', 'type' => 'integer', 'format' => 'int64', 'example' => '700'], ], ], 'UnifiedCostCredits' => [ 'description' => '搜索请求计量信息', 'type' => 'object', 'properties' => [ - 'search' => [ - 'description' => '基本搜索服务计量', - '$ref' => '#/components/schemas/SearchCredits', - ], - 'valueAdded' => [ - 'description' => '增值包服务计量', - '$ref' => '#/components/schemas/ValueAddedCredits', - ], + 'search' => ['description' => '基本搜索服务计量', '$ref' => '#/components/schemas/SearchCredits'], + 'valueAdded' => ['description' => '增值包服务计量', '$ref' => '#/components/schemas/ValueAddedCredits'], ], ], 'UnifiedImageItem' => [ 'description' => '图片信息', 'type' => 'object', 'properties' => [ - 'publishedTime' => [ - 'description' => '网页发布时间,ISO时间格式', - 'type' => 'string', - 'example' => '2022-07-05T00:54:42+08:00', - ], - 'title' => [ - 'description' => '图片标题', - 'type' => 'string', - 'example' => '阿里巴巴现在以主业上为主,以电商为主,以能够盈利的业务为主', - ], - 'imageUrl' => [ - 'description' => '图片地址', - 'type' => 'string', - 'example' => 'http://pic.rmb.bdstatic.com/bjh/bb87f566c0c/241218/f7936f25837b20211e5ef88d7980c143.jpeg', - ], - 'hostPageUrl' => [ - 'description' => '图片所属网页地址', - 'type' => 'string', - 'example' => 'http://mbd.baidu.com/newspage/data/dtlandingsuper?nid=dt_4541580238898912926', - ], - 'height' => [ - 'description' => '高度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1330', - ], - 'width' => [ - 'description' => '图片宽度', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1000', - ], + 'publishedTime' => ['description' => '网页发布时间,ISO时间格式', 'type' => 'string', 'example' => '2022-07-05T00:54:42+08:00'], + 'title' => ['description' => '图片标题', 'type' => 'string', 'example' => '阿里巴巴现在以主业上为主,以电商为主,以能够盈利的业务为主'], + 'imageUrl' => ['description' => '图片地址', 'type' => 'string', 'example' => 'http://pic.rmb.bdstatic.com/bjh/bb87f566c0c/241218/f7936f25837b20211e5ef88d7980c143.jpeg'], + 'hostPageUrl' => ['description' => '图片所属网页地址', 'type' => 'string', 'example' => 'http://mbd.baidu.com/newspage/data/dtlandingsuper?nid=dt_4541580238898912926'], + 'height' => ['description' => '高度', 'type' => 'integer', 'format' => 'int32', 'example' => '1330'], + 'width' => ['description' => '图片宽度', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], ], ], 'UnifiedOriginalQuery' => [ 'description' => '原始请求', 'type' => 'object', 'properties' => [ - 'query' => [ - 'description' => '请求Query', - 'type' => 'string', - 'example' => '杭州美食', - ], - 'timeRange' => [ - 'description' => '发布时间范围', - 'type' => 'string', - 'example' => 'NoLimit', - ], + 'query' => ['description' => '请求Query', 'type' => 'string', 'example' => '杭州美食'], + 'timeRange' => ['description' => '发布时间范围', 'type' => 'string', 'example' => 'NoLimit'], ], ], 'UnifiedPageItem' => [ @@ -1002,271 +641,160 @@ 'description' => '搜索网页结果', 'type' => 'object', 'properties' => [ - 'title' => [ - 'title' => '搜索结果指向的完整网址', - 'description' => '搜索结果指向的完整网址', - 'type' => 'string', - 'example' => '上海车展大佬齐聚 问界成为话题中心', - ], - 'link' => [ - 'title' => '搜索结果指向的完整网址', - 'description' => '搜索结果指向的完整网址', - 'type' => 'string', - 'example' => 'https://hea.china.com/articles/20250427/202504271666343.html', - ], - 'snippet' => [ - 'title' => '文本摘要', - 'description' => '文本摘要', - 'type' => 'string', - 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。 ...', - ], - 'publishedTime' => [ - 'title' => '网页发布时间,ISO时间格式', - 'description' => '网页发布时间,ISO时间格式', - 'type' => 'string', - 'example' => '2025-04-27T20:36:04+08:00', - ], - 'mainText' => [ - 'title' => '搜索网页的全文', - 'description' => '搜索网页的全文', - 'type' => 'string', - 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\n“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, (此处省略....)。\\n责任编辑:kj005\\n 文章投诉热线:157 3889 8464 投诉邮箱:7983347 16@qq.com\\n关键词:', - ], - 'markdownText' => [ - 'title' => 'markdown内容', - 'description' => 'markdown内容', - 'type' => 'string', - 'example' => '# 上海车展大佬齐聚 问界成为话题中心**来源**:财讯网 '."\n" - .'**时间**:2025-04-27 20:36:04 '."\n" - .'2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。'."\n" - .'![图片](http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png)余承东表示,问界M9、M8、M7和M5,都深受消费者喜爱!问界M9连续3个月中国纯电车型保值率第一!纯电、增程车型包揽新能源大型SUV保值率前两名!'."\n" - .'![图片](http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531312025791.jpeg)“自己是问界M9的用户'."\n" - .'*责任编辑:kj005*文章投诉热线: 157 3889 8464 '."\n" - .'投诉邮箱: 798334716@qq.com ', - ], + 'title' => ['title' => '搜索结果指向的完整网址', 'description' => '搜索结果指向的完整网址', 'type' => 'string', 'example' => '上海车展大佬齐聚 问界成为话题中心'], + 'link' => ['title' => '搜索结果指向的完整网址', 'description' => '搜索结果指向的完整网址', 'type' => 'string', 'example' => 'https://hea.china.com/articles/20250427/202504271666343.html'], + 'snippet' => ['title' => '文本摘要', 'description' => '文本摘要', 'type' => 'string', 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。 ...'], + 'publishedTime' => ['title' => '网页发布时间,ISO时间格式', 'description' => '网页发布时间,ISO时间格式', 'type' => 'string', 'example' => '2025-04-27T20:36:04+08:00'], + 'mainText' => ['title' => '搜索网页的全文', 'description' => '搜索网页的全文', 'type' => 'string', 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\n“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, (此处省略....)。\\n责任编辑:kj005\\n 文章投诉热线:157 3889 8464 投诉邮箱:7983347 16@qq.com\\n关键词:'], + 'markdownText' => ['title' => 'markdown内容', 'description' => 'markdown内容', 'type' => 'string', 'example' => '# 上海车展大佬齐聚 问界成为话题中心**来源**:财讯网 '."\n" + .'**时间**:2025-04-27 20:36:04 '."\n" + .'2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。'."\n" + .'![图片](http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png)余承东表示,问界M9、M8、M7和M5,都深受消费者喜爱!问界M9连续3个月中国纯电车型保值率第一!纯电、增程车型包揽新能源大型SUV保值率前两名!'."\n" + .'![图片](http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531312025791.jpeg)“自己是问界M9的用户'."\n" + .'*责任编辑:kj005*文章投诉热线: 157 3889 8464 '."\n" + .'投诉邮箱: 798334716@qq.com '], 'images' => [ 'title' => '搜索结果网址中的图片,最多三张', 'description' => '搜索结果网址中的图片,最多三张', 'type' => 'array', - 'items' => [ - 'description' => '图片地址', - 'type' => 'string', - 'example' => '["http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png"]', - ], - ], - 'hostname' => [ - 'title' => '站点名称', - 'description' => '站点名称', - 'type' => 'string', - 'example' => '中华网', - ], - 'hostLogo' => [ - 'title' => '站点Logo', - 'description' => '站点Logo', - 'type' => 'string', - 'example' => 'https://www.china.com/zh_cn/img1905/2023/logo.png', - ], - 'summary' => [ - 'title' => '增强摘要,400字+', - 'description' => '增强摘要,400字+', - 'type' => 'string', - 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。“自己是问界M9的用户,用车感受非常好。”陈道明表示,体验后才敢现场给大家推荐。未来,希望能实现问界M9的特别定制,让外观、内饰、座椅布局等,更符合自己的使用需求。据悉,2025款问界M9上市25天就交付超1万,已连续11个月蝉联50万元级豪车车销冠;问界M8上市4天,大定就突破了五万 台 ,深受市场任何和用户喜爱...“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, 近 期曾极限试驾问界M8,从重庆出发,历时55小时、行驶超3500公里抵达冈仁波齐。整个行程中,车辆的安全 性 和体验感都表现出色。', - ], - 'rerankScore' => [ - 'title' => 'rerank分数', - 'description' => 'rerank分数', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.7786493301391602', - ], - 'hostAuthorityScore' => [ - 'type' => 'number', - 'format' => 'double', - ], - 'richMainBody' => [ - 'type' => 'string', - ], - 'websiteAuthorityScore' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'correlationTag' => [ - 'type' => 'integer', - 'format' => 'int32', + 'items' => ['description' => '图片地址', 'type' => 'string', 'example' => '["http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png"]'], ], + 'hostname' => ['title' => '站点名称', 'description' => '站点名称', 'type' => 'string', 'example' => '中华网'], + 'hostLogo' => ['title' => '站点Logo', 'description' => '站点Logo', 'type' => 'string', 'example' => 'https://www.china.com/zh_cn/img1905/2023/logo.png'], + 'summary' => ['title' => '增强摘要,400字+', 'description' => '增强摘要,400字+', 'type' => 'string', 'example' => '2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。“自己是问界M9的用户,用车感受非常好。”陈道明表示,体验后才敢现场给大家推荐。未来,希望能实现问界M9的特别定制,让外观、内饰、座椅布局等,更符合自己的使用需求。据悉,2025款问界M9上市25天就交付超1万,已连续11个月蝉联50万元级豪车车销冠;问界M8上市4天,大定就突破了五万 台 ,深受市场任何和用户喜爱...“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, 近 期曾极限试驾问界M8,从重庆出发,历时55小时、行驶超3500公里抵达冈仁波齐。整个行程中,车辆的安全 性 和体验感都表现出色。'], + 'rerankScore' => ['title' => 'rerank分数', 'description' => 'rerank分数', 'type' => 'number', 'format' => 'double', 'example' => '0.7786493301391602'], + 'hostAuthorityScore' => ['type' => 'number', 'format' => 'double', 'description' => ''], + 'richMainBody' => ['type' => 'string', 'description' => ''], + 'websiteAuthorityScore' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'correlationTag' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'tags' => ['title' => '网页标签', 'type' => 'object'], ], ], 'UnifiedQueryContext' => [ 'description' => '搜索上下文', 'type' => 'object', 'properties' => [ - 'engineType' => [ - 'title' => '使用的搜索引擎', - 'description' => '使用的搜索引擎', - 'type' => 'string', - 'example' => 'Generic', - ], - 'originalQuery' => [ - 'title' => '初始请求', - 'description' => '初始请求', - '$ref' => '#/components/schemas/UnifiedOriginalQuery', - ], - 'rewrite' => [ - 'title' => '改写后的结果', - 'description' => '改写后的结果', - '$ref' => '#/components/schemas/UnifiedRewrite', - ], + 'engineType' => ['title' => '使用的搜索引擎', 'description' => '使用的搜索引擎', 'type' => 'string', 'example' => 'Generic'], + 'originalQuery' => ['title' => '初始请求', 'description' => '初始请求', '$ref' => '#/components/schemas/UnifiedOriginalQuery'], + 'rewrite' => ['title' => '改写后的结果', 'description' => '改写后的结果', '$ref' => '#/components/schemas/UnifiedRewrite'], ], ], 'UnifiedRewrite' => [ 'description' => '改写后请求', 'type' => 'object', 'properties' => [ - 'enabled' => [ - 'title' => '改写是否开启', - 'description' => '改写是否开启', - 'type' => 'boolean', - 'example' => 'true', - ], - 'timeRange' => [ - 'title' => '改写后的timeRange', - 'description' => '改写后的timeRange', - 'type' => 'string', - 'example' => 'OneYear', - ], + 'enabled' => ['title' => '改写是否开启', 'description' => '改写是否开启', 'type' => 'boolean', 'example' => 'true'], + 'timeRange' => ['title' => '改写后的timeRange', 'description' => '改写后的timeRange', 'type' => 'string', 'example' => 'OneYear'], ], ], 'UnifiedSceneItem' => [ 'description' => '垂直场景结果', 'type' => 'object', 'properties' => [ - 'detail' => [ - 'title' => 'Json结构的结果', - 'description' => 'Json结构的结果', - 'type' => 'string', - 'example' => '{\\"title\\": \\"伦敦时间\\", \\"targetTimeZone\\": \\"Europe/London\\", \\"targetTimeMillisecond\\": \\"1745820817178\\", \\"targetTime\\": \\"2025-04-28 14:13:37\\", \\"beijingTimeZone\\": \\"PRC\\", \\"beijingTimeMillisecond\\": \\"1745846017178\\"}', - ], - 'type' => [ - 'title' => '类型', - 'description' => '类型', - 'type' => 'string', - 'example' => 'time', - ], + 'type' => ['title' => '类型', 'description' => '类型', 'type' => 'string', 'example' => 'time'], + 'detail' => ['title' => 'Json结构的结果', 'description' => 'Json结构的结果', 'type' => 'string', 'example' => '{\\"title\\": \\"伦敦时间\\", \\"targetTimeZone\\": \\"Europe/London\\", \\"targetTimeMillisecond\\": \\"1745820817178\\", \\"targetTime\\": \\"2025-04-28 14:13:37\\", \\"beijingTimeZone\\": \\"PRC\\", \\"beijingTimeMillisecond\\": \\"1745846017178\\"}'], ], ], 'UnifiedSearchInformation' => [ 'description' => '搜索基本信息', 'type' => 'object', 'properties' => [ - 'searchTime' => [ - 'title' => '搜索耗时,ms', - 'description' => '搜索耗时,ms', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1028', - ], + 'searchTime' => ['title' => '搜索耗时,ms', 'description' => '搜索耗时,ms', 'type' => 'integer', 'format' => 'int64', 'example' => '1028'], ], ], 'UnifiedSearchInput' => [ 'type' => 'object', 'properties' => [ - 'contents' => [ - '$ref' => '#/components/schemas/RequestContents', - ], - 'query' => [ - 'title' => '查询内容,长度限制:1-100', - 'type' => 'string', - ], + 'contents' => ['$ref' => '#/components/schemas/RequestContents'], + 'query' => ['title' => '查询内容,长度限制:1-100', 'type' => 'string'], 'engineType' => [ 'title' => '引擎类型:默认:Generic;可选值:Generic/GenericAdvanced, GenericAdvanced会单独计费返回更多条记录', 'type' => 'string', - 'enum' => [ - 'Generic', - 'GenericAdvanced', - 'LiteAdvanced', - ], - ], - 'category' => [ - 'type' => 'string', + 'enum' => ['Generic', 'GenericAdvanced', 'LiteAdvanced', 'Deep'], ], + 'category' => ['type' => 'string'], 'timeRange' => [ 'title' => '内容发布时间范围', 'type' => 'string', - 'enum' => [ - 'OneDay', - 'OneWeek', - 'OneMonth', - 'OneYear', - 'NoLimit', - ], - ], - 'location' => [ - 'type' => 'string', - ], - 'locationInfo' => [ - '$ref' => '#/components/schemas/LocationInfo', - ], - 'advancedParams' => [ - 'title' => '高级搜索参数', - 'type' => 'object', + 'enum' => ['OneDay', 'OneWeek', 'OneMonth', 'OneYear', 'NoLimit'], ], + 'location' => ['type' => 'string'], + 'locationInfo' => ['$ref' => '#/components/schemas/LocationInfo'], + 'advancedParams' => ['title' => '高级搜索参数', 'type' => 'object'], ], ], 'UnifiedSearchOutput' => [ 'title' => 'requestId,用于问题排查', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => '网页结果', + 'requestId' => ['title' => '网页结果', 'type' => 'string'], + 'queryContext' => ['title' => '搜索上下文信息', '$ref' => '#/components/schemas/UnifiedQueryContext'], + 'pageItems' => [ + 'title' => '网页搜索结果', + 'type' => 'array', + 'items' => ['$ref' => '#/components/schemas/UnifiedPageItem'], + ], + 'sceneItems' => [ + 'title' => '垂直API场景化结果', + 'type' => 'array', + 'items' => ['title' => '', '$ref' => '#/components/schemas/UnifiedSceneItem'], + ], + 'costCredits' => ['title' => '消耗的次数信息', '$ref' => '#/components/schemas/UnifiedCostCredits'], + 'searchInformation' => ['title' => '搜索基本信息', '$ref' => '#/components/schemas/UnifiedSearchInformation'], + ], + ], + 'UnifiedSearchRequest' => [ + 'description' => '搜索请求参数', + 'type' => 'object', + 'properties' => [ + 'contents' => ['description' => '搜索请求返回字段定义', '$ref' => '#/components/schemas/RequestContents'], + 'query' => ['title' => '查询内容,长度限制:1-100', 'description' => '查询内容,长度限制:1-100', 'type' => 'string', 'example' => '杭州美食'], + 'engineType' => [ + 'title' => '引擎类型:默认:Generic;可选值:Generic/GenericAdvanced, GenericAdvanced会单独计费返回更多条记录', + 'description' => '引擎类型:默认:Generic;可选值:Generic/GenericAdvanced, GenericAdvanced会单独计费返回更多条记录', 'type' => 'string', + 'example' => 'Generic', + 'enum' => ['Generic', 'GenericAdvanced'], ], - 'queryContext' => [ - 'title' => '搜索上下文信息', - '$ref' => '#/components/schemas/UnifiedQueryContext', + 'category' => ['description' => '查询分类,指定后只返回分类站点的搜索结果,多个行业使用逗号分隔', 'type' => 'string', 'example' => 'finance'], + 'timeRange' => [ + 'title' => '内容发布时间范围', + 'description' => '内容发布时间范围', + 'type' => 'string', + 'example' => 'NoLimit', + 'enum' => ['OneDay', 'OneWeek', 'OneMonth', 'OneYear', 'NoLimit'], ], + ], + ], + 'UnifiedSearchResponse' => [ + 'title' => 'requestId,用于问题排查', + 'description' => 'requestId,用于问题排查', + 'type' => 'object', + 'properties' => [ + 'requestId' => ['title' => '网页结果', 'description' => '网页结果', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], + 'queryContext' => ['title' => '搜索上下文信息', 'description' => '搜索上下文信息', '$ref' => '#/components/schemas/UnifiedQueryContext'], 'pageItems' => [ 'title' => '网页搜索结果', + 'description' => '网页搜索结果', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/UnifiedPageItem', - ], + 'items' => ['description' => '召回网页内容', '$ref' => '#/components/schemas/UnifiedPageItem'], ], 'sceneItems' => [ 'title' => '垂直API场景化结果', + 'description' => '垂直API场景化结果', 'type' => 'array', - 'items' => [ - 'title' => '', - '$ref' => '#/components/schemas/UnifiedSceneItem', - ], - ], - 'costCredits' => [ - 'title' => '消耗的次数信息', - '$ref' => '#/components/schemas/UnifiedCostCredits', - ], - 'searchInformation' => [ - 'title' => '搜索基本信息', - '$ref' => '#/components/schemas/UnifiedSearchInformation', + 'items' => ['title' => '', 'description' => '场景化垂类API结构体', '$ref' => '#/components/schemas/UnifiedSceneItem'], ], + 'costCredits' => ['title' => '消耗的次数信息', 'description' => '消耗的次数信息', '$ref' => '#/components/schemas/UnifiedCostCredits'], + 'searchInformation' => ['title' => '搜索基本信息', 'description' => '搜索基本信息', '$ref' => '#/components/schemas/UnifiedSearchInformation'], ], ], 'ValueAddedCredits' => [ 'description' => '增值包计量信息', 'type' => 'object', 'properties' => [ - 'summary' => [ - 'title' => '增值包-增强摘要', - 'description' => '增值包-增强摘要', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'advanced' => [ - 'title' => '增值包-增强版搜索', - 'description' => '增值包-增强版搜索', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'summary' => ['title' => '增值包-增强摘要', 'description' => '增值包-增强摘要', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'advanced' => ['title' => '增值包-增强版搜索', 'description' => '增值包-增强版搜索', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], 'WeiboItem' => [ @@ -1277,379 +805,65 @@ 'images' => [ 'title' => '图片信息', 'type' => 'array', - 'items' => [ - 'title' => '微博的附带图片', - 'type' => 'string', - 'required' => false, - 'example' => 'http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=', - ], - 'required' => false, - ], - 'publishDisplayTime' => [ - 'title' => '发布时间', - 'type' => 'string', - 'required' => true, - 'example' => '1小时前', - ], - 'cardType' => [ - 'title' => '搜索结果模板,微博场景固定为:weibo_strong', - 'type' => 'string', - 'required' => true, - 'example' => 'weibo_strong', - ], - 'homepageLink' => [ - 'title' => '用户的微博主页', - 'type' => 'string', - 'required' => false, - 'example' => 'https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075', - ], - 'link' => [ - 'title' => '搜索结果微博地址', - 'type' => 'string', - 'required' => true, - 'example' => 'https://m.weibo.cn/detail/5024099350350075?wm=90194_90009', - ], - 'htmlSnippet' => [ - 'title' => '微博内容', - 'type' => 'string', - 'required' => true, - 'example' => '【小调查:你会买小米SU7吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接', - ], - 'username' => [ - 'title' => '微博用户名', - 'type' => 'string', + 'items' => ['title' => '微博的附带图片', 'type' => 'string', 'required' => false, 'example' => 'http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p='], 'required' => false, - 'example' => '白鹿科技', ], + 'publishDisplayTime' => ['title' => '发布时间', 'type' => 'string', 'required' => true, 'example' => '1小时前'], + 'cardType' => ['title' => '搜索结果模板,微博场景固定为:weibo_strong', 'type' => 'string', 'required' => true, 'example' => 'weibo_strong'], + 'homepageLink' => ['title' => '用户的微博主页', 'type' => 'string', 'required' => false, 'example' => 'https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075'], + 'link' => ['title' => '搜索结果微博地址', 'type' => 'string', 'required' => true, 'example' => 'https://m.weibo.cn/detail/5024099350350075?wm=90194_90009'], + 'htmlSnippet' => ['title' => '微博内容', 'type' => 'string', 'required' => true, 'example' => '【小调查:你会买小米SU7吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接'], + 'username' => ['title' => '微博用户名', 'type' => 'string', 'required' => false, 'example' => '白鹿科技'], ], ], ], ], 'apis' => [ - 'UnifiedSearch' => [ - 'summary' => '通晓统一搜索API,简单快捷的接入全网通用搜索能力。', - 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AiSearch' => [ + 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用搜索多阶段流式接口V3的方法以及参数说明', + 'path' => '/linked-retrieval/linked-retrieval-entry/v3/linkedRetrieval/commands/aiSearch', + 'methods' => ['get'], + 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpF36Z7L', - 'FEATUREalibababcpLJW8HN', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpRLTK4J', - 'FEATUREalibababcpVV9OXO', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpG3IIA0', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpRLTK4J', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'schema' => [ - 'description' => '搜索请求参数', - 'required' => false, - '$ref' => '#/components/schemas/UnifiedSearchInput', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '搜索返回参数', - '$ref' => '#/components/schemas/UnifiedSearchOutput', - ], + 'name' => 'query', + 'in' => 'query', + 'schema' => ['title' => '待查询问题', 'description' => '待查询问题', 'type' => 'string', 'required' => true, 'example' => '苹果手机'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"engineType\\": \\"\\",\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"link\\": \\"\\",\\n \\"snippet\\": \\"\\",\\n \\"publishedTime\\": \\"2025-04-07T10:15:30.123+08:00\\",\\n \\"mainText\\": \\"\\",\\n \\"markdownText\\": \\"\\",\\n \\"images\\": [\\n \\"\\"\\n ],\\n \\"hostname\\": \\"\\",\\n \\"hostLogo\\": \\"\\",\\n \\"summary\\": \\"\\",\\n \\"rerankScore\\": 0,\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"costCredits\\": {\\n \\"search\\": {\\n \\"genericTextSearch\\": 0,\\n \\"liteAdvancedTextSearch\\": 0\\n },\\n \\"valueAdded\\": {\\n \\"summary\\": 0,\\n \\"advanced\\": 0\\n }\\n },\\n \\"searchInformation\\": {\\n \\"searchTime\\": 0\\n }\\n}","type":"json"}]', - 'title' => '通晓统一搜索API', - ], - 'GenericSearch' => [ - 'summary' => '通用搜索。', - 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', + 'name' => 'sessionId', + 'in' => 'query', + 'schema' => ['title' => '网页发布时间查询范围', 'description' => '网页发布时间查询范围', 'type' => 'string', 'required' => false, 'example' => '17dc8bcd-f34a-46d1-a7a3-0fa3d1ce3824'], ], - 'tenantRelevance' => 'tenant', - ], - 'parameters' => [ [ - 'name' => 'query', + 'name' => 'timeRange', 'in' => 'query', - 'schema' => [ - 'title' => '待查询问题', - 'description' => '搜索关键字', - 'type' => 'string', - 'required' => true, - 'example' => '苹果手机', - ], + 'schema' => ['title' => '多轮交互的sessionId', 'description' => '多轮交互的sessionId', 'type' => 'string', 'required' => false, 'example' => 'OneWeek'], ], [ - 'name' => 'timeRange', + 'name' => 'industry', 'in' => 'query', - 'schema' => [ - 'title' => '网页发布时间范围', - 'description' => '时间范围', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'OneWeek' => '最近一周', - 'OneYear' => '最近一年', - 'NoLimit' => '不限制', - 'OneDay' => '最近一天', - 'OneMonth' => '最近一个月', - ], - 'example' => 'OneWeek', - ], + 'schema' => ['title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'type' => 'string', 'required' => false, 'example' => 'finance'], ], [ - 'name' => 'sessionId', + 'name' => 'page', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'title' => '多轮交互的sessionId', - 'description' => '多轮交互的sessionId', - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'industry', - 'in' => 'query', - 'schema' => [ - 'title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'title' => '页码:从1开始', - 'description' => '页码:从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'returnMainText', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'returnMarkdownText', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'returnSummary', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'enableRerank', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'returnRichMainBody', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - 'name' => 'advancedParams', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回的搜索结果', - '$ref' => '#/components/schemas/GenericSearchResult', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"width\\": 700,\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买小米SU7吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n },\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', - 'title' => '通用搜索', - ], - 'AiSearch' => [ - 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用搜索多阶段流式接口V3的方法以及参数说明', - 'path' => '/linked-retrieval/linked-retrieval-entry/v3/linkedRetrieval/commands/aiSearch', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - 'sse', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpG3IIA0', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpRLTK4J', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], - ], - 'parameters' => [ - [ - 'name' => 'query', - 'in' => 'query', - 'schema' => [ - 'title' => '待查询问题', - 'description' => '待查询问题', - 'type' => 'string', - 'required' => true, - 'example' => '苹果手机', - ], - ], - [ - 'name' => 'sessionId', - 'in' => 'query', - 'schema' => [ - 'title' => '网页发布时间查询范围', - 'description' => '网页发布时间查询范围', - 'type' => 'string', - 'required' => false, - 'example' => '17dc8bcd-f34a-46d1-a7a3-0fa3d1ce3824', - ], - ], - [ - 'name' => 'timeRange', - 'in' => 'query', - 'schema' => [ - 'title' => '多轮交互的sessionId', - 'description' => '多轮交互的sessionId', - 'type' => 'string', - 'required' => false, - 'example' => 'OneWeek', - ], - ], - [ - 'name' => 'industry', - 'in' => 'query', - 'schema' => [ - 'title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'type' => 'string', - 'required' => false, - 'example' => 'finance', - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'title' => '页码:从1开始', - 'description' => '页码:从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '{\'total_count\': 6851, \'page_number\': 54, \'page_size\': 100}', - ], + 'schema' => ['title' => '页码:从1开始', 'description' => '页码:从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '{\'total_count\': 6851, \'page_number\': 54, \'page_size\': 100}'], ], ], 'responses' => [ @@ -1663,22 +877,9 @@ 'description' => '返回结果的header', 'type' => 'object', 'properties' => [ - 'eventId' => [ - 'description' => '此次EventID', - 'type' => 'string', - 'example' => '988021f0-951a-43d0-ba4d-785359e7e7be', - ], - 'event' => [ - 'description' => 'event名称', - 'type' => 'string', - 'example' => 'on_common_search_end', - ], - 'responseTime' => [ - 'description' => '耗时(ms)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1293', - ], + 'eventId' => ['description' => '此次EventID', 'type' => 'string', 'example' => '988021f0-951a-43d0-ba4d-785359e7e7be'], + 'event' => ['description' => 'event名称', 'type' => 'string', 'example' => 'on_common_search_end'], + 'responseTime' => ['description' => '耗时(ms)', 'type' => 'integer', 'format' => 'int64', 'example' => '1293'], 'queryContext' => [ 'title' => '查询上下文', 'description' => '查询上下文', @@ -1689,27 +890,10 @@ 'description' => '原始查询', 'type' => 'object', 'properties' => [ - 'query' => [ - 'title' => '查询条件', - 'description' => '查询条件', - 'type' => 'string', - ], - 'timeRange' => [ - 'title' => '时间范围', - 'description' => '时间范围', - 'type' => 'string', - ], - 'industry' => [ - 'title' => '行业', - 'description' => '行业', - 'type' => 'string', - ], - 'page' => [ - 'title' => '页码', - 'description' => '页码', - 'type' => 'integer', - 'format' => 'int32', - ], + 'query' => ['title' => '查询条件', 'description' => '查询条件', 'type' => 'string'], + 'timeRange' => ['title' => '时间范围', 'description' => '时间范围', 'type' => 'string'], + 'industry' => ['title' => '行业', 'description' => '行业', 'type' => 'string'], + 'page' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32'], ], ], 'rewrite' => [ @@ -1717,32 +901,16 @@ 'description' => '改写后查询', 'type' => 'object', 'properties' => [ - 'enabled' => [ - 'title' => '改写是否开启', - 'description' => '改写是否开启', - 'type' => 'boolean', - ], - 'timeRange' => [ - 'title' => '改写后的TimeRange', - 'description' => '改写后的TimeRange', - 'type' => 'string', - ], + 'enabled' => ['title' => '改写是否开启', 'description' => '改写是否开启', 'type' => 'boolean'], + 'timeRange' => ['title' => '改写后的TimeRange', 'description' => '改写后的TimeRange', 'type' => 'string'], ], ], ], ], ], ], - 'payload' => [ - 'description' => '返回结果的payload,json结构,不同event结构不同', - 'type' => 'string', - 'example' => '{"header":{"eventId":"6f617de0-204f-406f-a9be-34779c06d498","event":"on_common_search_start","responseTime":120},"payload":"","requestId":"715d01a0-de7e-42c3-abca-b901fcd79b39"}', - ], - 'requestId' => [ - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364', - ], + 'payload' => ['description' => '返回结果的payload,json结构,不同event结构不同', 'type' => 'string', 'example' => '{"header":{"eventId":"6f617de0-204f-406f-a9be-34779c06d498","event":"on_common_search_start","responseTime":120},"payload":"","requestId":"715d01a0-de7e-42c3-abca-b901fcd79b39"}'], + 'requestId' => ['description' => 'Id of the request', 'type' => 'string', 'example' => 'ECB2144C-E277-5434-80E6-12D26678D364'], ], ], ], @@ -1753,448 +921,637 @@ 'AccessDeniedDetail' => [ 'type' => 'object', 'properties' => [ - 'AuthAction' => [ - 'type' => 'string', - ], - 'AuthPrincipalDisplayName' => [ - 'type' => 'string', - ], - 'AuthPrincipalOwnerId' => [ - 'type' => 'string', - ], - 'AuthPrincipalType' => [ - 'type' => 'string', - ], - 'EncodedDiagnosticMessage' => [ - 'type' => 'string', - ], - 'NoPermissionType' => [ - 'type' => 'string', - ], - 'PolicyType' => [ - 'type' => 'string', - ], + 'AuthAction' => ['type' => 'string', 'description' => ''], + 'AuthPrincipalDisplayName' => ['type' => 'string', 'description' => ''], + 'AuthPrincipalOwnerId' => ['type' => 'string', 'description' => ''], + 'AuthPrincipalType' => ['type' => 'string', 'description' => ''], + 'EncodedDiagnosticMessage' => ['type' => 'string', 'description' => ''], + 'NoPermissionType' => ['type' => 'string', 'description' => ''], + 'PolicyType' => ['type' => 'string', 'description' => ''], ], + 'description' => '', ], - 'code' => [ - 'type' => 'string', - ], - 'errorCode' => [ - 'type' => 'string', - ], - 'errorMessage' => [ - 'type' => 'string', - ], - 'httpCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'httpStatusCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'message' => [ - 'type' => 'string', - ], - 'success' => [ - 'type' => 'boolean', - ], + 'code' => ['type' => 'string', 'description' => ''], + 'errorCode' => ['type' => 'string', 'description' => ''], + 'errorMessage' => ['type' => 'string', 'description' => ''], + 'httpCode' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'httpStatusCode' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'message' => ['type' => 'string', 'description' => ''], + 'success' => ['type' => 'boolean', 'description' => ''], ], + 'description' => '', ], ], ], 'errorCodes' => [ 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Please activate AI search service.', - ], - [ - 'errorCode' => 'TestUserPeriodExpired', - 'errorMessage' => 'The test period has expired.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'Please activate AI search service.', 'description' => '请先开通搜索服务。'], + ['errorCode' => 'TestUserPeriodExpired', 'errorMessage' => 'The test period has expired.', 'description' => '测试用户测试期已失效'], ], 429 => [ - [ - 'errorCode' => 'ThrottlingUser', - 'errorMessage' => 'Request was denied due to user flow control.', - ], - [ - 'errorCode' => 'TestUserQueryPerDayExceeded', - 'errorMessage' => 'The query per day exceed the limit.', - ], + ['errorCode' => 'ThrottlingUser', 'errorMessage' => 'Request was denied due to user flow control.', 'description' => '请求因为触发流控被拒绝'], + ['errorCode' => 'TestUserQueryPerDayExceeded', 'errorMessage' => 'The query per day exceed the limit.', 'description' => '测试用户日调用量超出限额'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"header\\": {\\n \\"eventId\\": \\"988021f0-951a-43d0-ba4d-785359e7e7be\\",\\n \\"event\\": \\"on_common_search_end\\",\\n \\"responseTime\\": 1293,\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": 0\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n },\\n \\"payload\\": \\"{\\\\\\"header\\\\\\":{\\\\\\"eventId\\\\\\":\\\\\\"6f617de0-204f-406f-a9be-34779c06d498\\\\\\",\\\\\\"event\\\\\\":\\\\\\"on_common_search_start\\\\\\",\\\\\\"responseTime\\\\\\":120},\\\\\\"payload\\\\\\":\\\\\\"\\\\\\",\\\\\\"requestId\\\\\\":\\\\\\"715d01a0-de7e-42c3-abca-b901fcd79b39\\\\\\"}\\",\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '多阶段流式API', 'description' => '提供common_search,post_retrieval两个阶段流式结果供客户按需使用。'."\n" .'通用搜索结果(common_search):搜索的原始结果。覆盖网页标题、动态摘要、正文、来源网站、发布时间等关键字段。检索后处理(post_retrieval):通过使用rerank模型对上一阶段common_search结果进行重排序与过滤。检索结果相关性(Context Relevancy)的mAP指标提升约5%,时延增加约110ms。', - ], - 'GenericAdvancedSearch' => [ - 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用增强搜索接口(GenericAdvancedSearch)的方法以及参数说明。GenericAdvancedSearch相较于GenericSearch提供了更好的权威站点的召回,召回数量最大可以达到40条,可以提供更好的权威性与多样性数据。增强版接口返回参数字段与格式与GenericAdvancedSearch一致。', - 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2024-12-20T03:42:04.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:AiSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"header\\": {\\n \\"eventId\\": \\"988021f0-951a-43d0-ba4d-785359e7e7be\\",\\n \\"event\\": \\"on_common_search_end\\",\\n \\"responseTime\\": 1293,\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": 0\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n },\\n \\"payload\\": \\"{\\\\\\"header\\\\\\":{\\\\\\"eventId\\\\\\":\\\\\\"6f617de0-204f-406f-a9be-34779c06d498\\\\\\",\\\\\\"event\\\\\\":\\\\\\"on_common_search_start\\\\\\",\\\\\\"responseTime\\\\\\":120},\\\\\\"payload\\\\\\":\\\\\\"\\\\\\",\\\\\\"requestId\\\\\\":\\\\\\"715d01a0-de7e-42c3-abca-b901fcd79b39\\\\\\"}\\",\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\"\\n}","type":"json"}]', + ], + 'CommonQueryByScene' => [ + 'summary' => '自然语言通用查询。', + 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/common', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcp00UKME'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => [ + 'description' => '请求体', + 'required' => false, + 'enumValueTitles' => [], + '$ref' => '#/components/schemas/CommonAgentQuery', + ], + ], ], - 'produces' => [ - 'application/json', + 'responses' => [ + 200 => [ + 'schema' => ['description' => '返回体', '$ref' => '#/components/schemas/QueryResult'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => '通用场景查询接口', + 'description' => '自然语言搜索通用接口', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"data\\": [\\n {\\n \\"address\\": \\"\\",\\n \\"cityCode\\": \\"\\",\\n \\"cityName\\": \\"\\",\\n \\"districtCode\\": \\"\\",\\n \\"districtName\\": \\"\\",\\n \\"id\\": \\"\\",\\n \\"images\\": [\\n {\\n \\"title\\": \\"\\",\\n \\"url\\": \\"\\"\\n }\\n ],\\n \\"latitude\\": \\"\\",\\n \\"longitude\\": \\"\\",\\n \\"metadata\\": {\\n \\"businessArea\\": \\"\\",\\n \\"dailyOpeningHours\\": \\"\\",\\n \\"mainTag\\": \\"\\",\\n \\"phone\\": \\"\\",\\n \\"score\\": \\"\\",\\n \\"weeklyOpeningDays\\": \\"\\",\\n \\"averageSpend\\": \\"\\"\\n },\\n \\"name\\": \\"\\",\\n \\"provinceCode\\": \\"\\",\\n \\"provinceName\\": \\"\\",\\n \\"typeCode\\": \\"\\",\\n \\"types\\": \\"\\",\\n \\"distanceMeter\\": \\"\\"\\n }\\n ],\\n \\"requestId\\": \\"\\"\\n}","type":"json"}]', + ], + 'GenericAdvancedSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpSJV4QL', - 'FEATUREalibababcpTYS4DT', - 'FEATUREalibababcpCIGQ7X', - 'FEATUREalibababcpJ4YYLV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'query', 'in' => 'query', - 'schema' => [ - 'title' => '待查询问题', - 'description' => '待查询问题', - 'type' => 'string', - 'required' => true, - 'example' => '苹果手机', - ], + 'schema' => ['title' => '待查询问题', 'description' => '待查询问题', 'type' => 'string', 'required' => true, 'example' => '苹果手机'], ], [ 'name' => 'timeRange', 'in' => 'query', - 'schema' => [ - 'title' => '网页发布时间查询范围', - 'description' => '网页发布时间查询范围', - 'type' => 'string', - 'required' => false, - 'example' => 'OneWeek', - ], + 'schema' => ['title' => '网页发布时间查询范围', 'description' => '网页发布时间查询范围', 'type' => 'string', 'required' => false, 'example' => 'OneWeek'], ], [ 'name' => 'sessionId', 'in' => 'query', - 'schema' => [ - 'title' => '多轮交互的sessionId', - 'description' => '多轮交互的sessionId', - 'type' => 'string', - 'required' => false, - 'example' => 'job-4065bee3-e7aa-49fc-aad2-a8e3a7fd6acd', - ], + 'schema' => ['title' => '多轮交互的sessionId', 'description' => '多轮交互的sessionId', 'type' => 'string', 'required' => false, 'example' => 'job-4065bee3-e7aa-49fc-aad2-a8e3a7fd6acd'], ], [ 'name' => 'industry', 'in' => 'query', - 'schema' => [ - 'title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'type' => 'string', 'required' => false], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '请求体参数。', - '$ref' => '#/components/schemas/GenericSearchResult', - ], + 'schema' => ['description' => '请求体参数。', '$ref' => '#/components/schemas/GenericSearchResult'], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"width\\": 700,\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买小米SU7吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n },\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '增强版搜索API', + 'summary' => '本文介绍通过阿里云OpenAPI SDK调用通用增强搜索接口(GenericAdvancedSearch)的方法以及参数说明。GenericAdvancedSearch相较于GenericSearch提供了更好的权威站点的召回,召回数量最大可以达到40条,可以提供更好的权威性与多样性数据。增强版接口返回参数字段与格式与GenericAdvancedSearch一致。', 'description' => 'GenericAdvancedSearch目前处于测试阶段,后续会上线新的规格供购买使用', - ], - 'GlobalSearch' => [ - 'summary' => '通晓搜索-出海版(全球信息搜索)', - 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/global', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2025-02-27T03:25:15.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericAdvancedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"width\\": 700,\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买小米SU7吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 13,\\n \\"searchTime\\": 700\\n },\\n \\"sceneItems\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"detail\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'GenericSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpPYBUBJ', - 'FEATUREalibababcpJ4YYLV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'query', 'in' => 'query', - 'schema' => [ - 'title' => '搜索查询内容', - 'description' => '搜索查询内容', - 'type' => 'string', - 'required' => true, - 'example' => '特朗普最新关税消息', - ], + 'schema' => ['title' => '待查询问题', 'description' => '搜索关键字', 'type' => 'string', 'required' => true, 'example' => '苹果手机'], ], [ 'name' => 'timeRange', 'in' => 'query', 'schema' => [ 'title' => '网页发布时间范围', - 'description' => '网页发布时间范围', + 'description' => '时间范围', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['OneWeek' => '最近一周', 'OneYear' => '最近一年', 'NoLimit' => '不限制', 'OneDay' => '最近一天', 'OneMonth' => '最近一个月'], 'example' => 'OneWeek', ], ], + [ + 'name' => 'sessionId', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['title' => '多轮交互的sessionId', 'description' => '多轮交互的sessionId', 'type' => 'string', 'required' => false], + ], + [ + 'name' => 'industry', + 'in' => 'query', + 'schema' => ['title' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'description' => '行业,指定后只召回行业限定的站点内容,多个行业使用逗号分隔;', 'type' => 'string', 'required' => false], + ], [ 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'title' => '页码:从1开始', - 'description' => '页码:从1开始', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'allowEmptyValue' => false, + 'schema' => ['title' => '页码:从1开始', 'description' => '页码:从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'returnMainText', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'returnMarkdownText', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'returnSummary', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'enableRerank', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'returnRichMainBody', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'advancedParams', + 'in' => 'query', + 'style' => 'json', + 'schema' => ['type' => 'object', 'required' => false, 'description' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '返回的搜索结果', '$ref' => '#/components/schemas/GenericSearchResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '通用搜索', + 'summary' => '通用搜索。', + 'changeSet' => [ + ['createdAt' => '2025-10-29T05:14:03.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-10-10T02:59:28.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-03-29T04:17:51.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-15T02:32:26.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"pageItems\\": [\\n {\\n \\"publishTime\\": 1704426524000,\\n \\"score\\": 0.234325235,\\n \\"images\\": [\\n {\\n \\"width\\": 700,\\n \\"imageLink\\": \\"http://k.sinaimg.cn/n/sinakd20121/594/w2048h946/20240328/74cf-32c0d62e843df76567d760b4459d57c1.jpg/w700d1q75cms.jpg\\",\\n \\"height\\": 324\\n }\\n ],\\n \\"htmlTitle\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格-百家号\\",\\n \\"displayLink\\": \\"baijiahao.baidu.com\\",\\n \\"mime\\": \\"text/html\\",\\n \\"pageMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"cardType\\": \\"structure_web_info\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"mainText\\": \\"昨天\\\\t,\\\\t小米\\\\t汽车\\\\t没有\\\\t发布\\\\t,\\\\t但\\\\t相关\\\\t的\\\\t信息\\\\t透露\\\\t的\\\\t差\\\\t不\\\\t多\\\\t了\\\\t。\\\\t\\\\t\\\\n\\\\t\\\\t在\\\\t发布\\\\t会\\\\t现场\\\\t,\\\\t雷军\\\\t直接\\\\t称\\\\t小米\\\\tS\\\\tU\\\\t7\\\\t对\\\\t标\\\\t特斯拉\\\\t保时捷\\\\t,\\\\t有\\\\t100\\\\t项\\\\t行业\\\\t领先\\\\t,\\\\t可见\\\\t“\\\\t遥遥\\\\t领先\\\\t”\\\\t已经\\\\t不再\\\\t是\\\\t华为\\\\t专利\\\\t了\\\\t?\\\\t\\\\t\\\\n\\\\t\\\\n\\\\t\\\\t而\\\\t在\\\\t介绍\\\\t技术\\\\t时\\\\t,\\\\t雷军\\\\t也\\\\t从\\\\t电机\\\\t、\\\\t电池\\\\t、\\\\t大\\\\t压铸\\\\t、\\\\t自动\\\\t驾驶\\\\t、\\\\t智能\\\\t座舱\\\\t等\\\\t五\\\\t大\\\\t方面\\\\t展开\\\\t,\\\\t充分\\\\t展示\\\\t了\\\\t小米\\\\t汽车\\\\t的\\\\t技术\\\\t以及\\\\t技术\\\\t储备\\\\t,\\\\t\\\\t \\\\t\\\\t能\\\\t堆\\\\t的\\\\t料\\\\t,\\\\t全都\\\\t堆\\\\t上去\\\\t了\\\\t…\\\\t…\\\\t\\\\t\\\\n\\\\t\\\\t大家\\\\t比较\\\\t感\\\\t兴趣\\\\t的\\\\t性能\\\\t方面\\\\t,\\\\t2\\\\t.\\\\t78\\\\ts\\\\t的\\\\t0\\\\t-\\\\t100\\\\tkm\\\\t/\\\\th\\\\t加速\\\\t,\\\\t265\\\\tkm\\\\t/\\\\th\\\\t的\\\\t最高\\\\t时速\\\\t\\",\\n \\"htmlSnippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\",\\n \\"hostname\\": \\"新华网\\",\\n \\"hostLogo\\": \\"https://s2.zimgs.cn/ims?kt=url&at=smstruct&key=aHR0cHM6Ly9ndy5hbGljZG4uY29tL0wxLzcyMy8xNTY1MjU2NjAwLzJhL2YwL2I0LzJhZjBiNDQxMGI5YmVlMDVjOGVlNGJmODk3MTNkNTFjLnBuZw==&sign=yx:CUlNNQVJQjFrk3Kxt2F3KWhTOFU=&tv=400_400\\",\\n \\"siteLabel\\": \\"权威媒体\\",\\n \\"markdownText\\": \\"\\",\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"summary\\": \\"\\",\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0\\n }\\n ],\\n \\"requestId\\": \\"123456\\",\\n \\"weiboItems\\": [\\n {\\n \\"images\\": [\\n \\"http://s2.zimgs.cn/ims?at=sc&kt=url&key=aHR0cHM6Ly93eDIuc2luYWltZy5jbi9vcmozNjAvMDA3Umc1eHVseTFob3RsenJ5YjVkajMwaWgwYTY0M2UuanBn&sign=yx:PfSsUObz9lhnCl5gf5vY-GeYrm0=&tv=0_0&p=\\"\\n ],\\n \\"publishDisplayTime\\": \\"1小时前\\",\\n \\"cardType\\": \\"weibo_strong\\",\\n \\"homepageLink\\": \\"https://m.weibo.cn/u/7761793874?luicode=20000061&lfid=5024099350350075\\",\\n \\"link\\": \\"https://m.weibo.cn/detail/5024099350350075?wm=90194_90009\\",\\n \\"htmlSnippet\\": \\"【小调查:你会买小米SU7吗?】#小米SU7路测覆盖300多城市#4月17日,@小米汽车 发文称SU7道路测试覆盖全国300多个城市,涵盖极寒,极热天气,总里程数高达540万公里,目前仍在进行中。 网页链接\\",\\n \\"username\\": \\"白鹿科技\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 13,\\n \\"searchTime\\": 700\\n },\\n \\"sceneItems\\": [\\n {\\n \\"type\\": \\"\\",\\n \\"detail\\": \\"\\"\\n }\\n ],\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"timeRange\\": \\"\\",\\n \\"industry\\": \\"\\",\\n \\"page\\": \\"\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"\\"\\n }\\n }\\n}","type":"json"}]', + ], + 'GetIqsUsage' => [ + 'path' => '/linked-retrieval/linked-retrieval-admin/v1/iqs/usage', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpVV9OXO'], + ], + 'parameters' => [ + [ + 'name' => 'startDate', + 'in' => 'query', + 'schema' => ['description' => '开始日期。', 'type' => 'string', 'required' => false, 'example' => '20241011'], + ], + [ + 'name' => 'endDate', + 'in' => 'query', + 'schema' => ['description' => '结束日期。', 'type' => 'string', 'required' => false, 'example' => '20241017'], + ], + [ + 'name' => 'callerId', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '返回结果结构体', '$ref' => '#/components/schemas/GetIqsUsageResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '日调用量查询接口', + 'summary' => '信息查询服务接口日维度使用量查询', + 'changeSet' => [ + ['createdAt' => '2025-07-24T09:56:34.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIqsUsage'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GetIqsUsage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"records\\": [\\n {\\n \\"date\\": \\"\\",\\n \\"mainAccountId\\": \\"\\",\\n \\"subAccountId\\": \\"\\",\\n \\"api\\": \\"\\",\\n \\"engineType\\": \\"\\",\\n \\"billingQps\\": 0,\\n \\"ladderType\\": \\"\\",\\n \\"totalCalls\\": 0,\\n \\"successCalls\\": 0,\\n \\"failedCalls\\": 0,\\n \\"valueAddedSummary\\": 0,\\n \\"valueAddedAdvanced\\": 0,\\n \\"totalBillStatCalls\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'GlobalSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/global', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpJ4YYLV'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'query', + 'in' => 'query', + 'schema' => ['title' => '搜索查询内容', 'description' => '搜索查询内容', 'type' => 'string', 'required' => true, 'example' => '特朗普最新关税消息'], + ], + [ + 'name' => 'timeRange', + 'in' => 'query', + 'schema' => ['title' => '网页发布时间范围', 'description' => '网页发布时间范围', 'type' => 'string', 'required' => false, 'example' => 'OneWeek'], + ], + [ + 'name' => 'page', + 'in' => 'query', + 'schema' => ['title' => '页码:从1开始', 'description' => '页码:从1开始', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['title' => '每页条数', 'description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '指定重启参数信息。', '$ref' => '#/components/schemas/GlobalSearchResult'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '出海版搜索(待发布)', + 'summary' => '通晓搜索-出海版(全球信息搜索)', + 'description' => '本文介绍通过出海版搜索-GlobalSearch的使用方法以及参数说明', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123456\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"特朗普关税最新消息\\",\\n \\"page\\": \\"1\\",\\n \\"timeRange\\": \\"NoLimit\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\"\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"{\\\\n\\\\\\"snippet\\\\\\": \\\\\\"截至2025年3月7日,SpaceX星舰已经发射了8次,并取得4次成功及4次失败。\\\\\\",\\\\n\\\\\\"snippetHighlighted\\\\\\": [\\\\\\"8次\\\\\\"],\\\\n\\\\\\"title\\\\\\": \\\\\\"星舰发射任务列表\\\\\\"\\\\n}\\",\\n \\"type\\": \\"answerBox\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 10339,\\n \\"searchTime\\": 1200\\n }\\n}","type":"json"}]', + ], + 'MedicalAnswer' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/medical/answer', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREalibababcpPDPN5D'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数', - 'description' => '每页条数', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '搜索信息', 'required' => false, '$ref' => '#/components/schemas/MedicalAnswerInput'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '指定重启参数信息。', - '$ref' => '#/components/schemas/GlobalSearchResult', - ], + 'schema' => ['description' => '医疗问答结果', '$ref' => '#/components/schemas/MedicalAnswerResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '医疗问答', + 'summary' => '医疗问答', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"123456\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\",\\n \\"page\\": \\"\\",\\n \\"timeRange\\": \\"\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"snippet\\": \\"100km/h-0制动能力上,仅有33.3m,不黑不吹,单看这个,小米SU7确实表现不错。而续航方面,101kWh电池容量,实现CLTC续航800km,还有现5分钟补能220km,15分钟补能510km的800V高压平台。而在...\\",\\n \\"link\\": \\"https://baijiahao.baidu.com/s?id=1787881554557805096\\",\\n \\"title\\": \\"小米SU7售价22.99万元起 高管亲自辟谣:发布前不会有价格\\"\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"detail\\": \\"\\",\\n \\"type\\": \\"\\"\\n }\\n ],\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n }\\n}","type":"json"}]', - 'title' => '出海版搜索(待发布)', - 'description' => '本文介绍通过出海版搜索-GlobalSearch的使用方法以及参数说明', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n },\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"messages\\": [\\n {\\n \\"content\\": \\"\\",\\n \\"metaData\\": {}\\n }\\n ]\\n}","type":"json"}]', ], - 'GetIqsUsage' => [ - 'summary' => '信息查询服务接口日维度使用量查询', - 'path' => '/linked-retrieval/linked-retrieval-admin/v1/iqs/usage', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'MedicalKnowledge' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/medical/know', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpVV9OXO', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpPDPN5D'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'startDate', - 'in' => 'query', - 'schema' => [ - 'description' => '开始日期。', - 'type' => 'string', - 'required' => false, - 'example' => '20241011', - ], - ], - [ - 'name' => 'endDate', - 'in' => 'query', - 'schema' => [ - 'description' => '结束日期。', - 'type' => 'string', - 'required' => false, - 'example' => '20241017', - ], - ], - [ - 'name' => 'callerId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '健康图谱查询条件', 'required' => false, '$ref' => '#/components/schemas/MedicalKnowInput'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '返回结果结构体', - '$ref' => '#/components/schemas/GetIqsUsageResult', - ], + 'schema' => ['description' => '健康图谱查询结果', '$ref' => '#/components/schemas/MedicalKnowResult'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '健康图谱', + 'summary' => '健康图谱', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"records\\": [\\n {\\n \\"date\\": \\"\\",\\n \\"billingQps\\": 0,\\n \\"totalCalls\\": 0,\\n \\"valueAddedSummary\\": 0,\\n \\"failedCalls\\": 0,\\n \\"valueAddedAdvanced\\": 0,\\n \\"subAccountId\\": \\"\\",\\n \\"engineType\\": \\"\\",\\n \\"ladderType\\": \\"\\",\\n \\"api\\": \\"\\",\\n \\"successCalls\\": 0,\\n \\"mainAccountId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '日调用量查询接口', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n },\\n \\"messages\\": [\\n {\\n \\"url\\": \\"\\",\\n \\"content\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', ], 'MultimodalSearch' => [ 'summary' => '多模态搜索', 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/multimodal/unified', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '查询参数以及屏蔽站点参数', 'required' => false, '$ref' => '#/components/schemas/MultimodalSearchBody'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '图片返回信息', '$ref' => '#/components/schemas/MultimodalSearchOutput'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '多模态搜索', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'produces' => [ - 'application/json', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"sdfsd234-2vxcg345-345vc\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"searchInformation\\": {\\n \\"total\\": 13,\\n \\"searchTime\\": 700\\n },\\n \\"imageItems\\": [\\n {\\n \\"publishedTime\\": \\"2022-07-05T00:54:42+08:00\\",\\n \\"title\\": \\"阿里巴巴现在以主业上为主,以电商为主,以能够盈利的业务为主\\",\\n \\"imageUrl\\": \\"http://pic.rmb.bdstatic.com/bjh/bb87f566c0c/241218/f7936f25837b20211e5ef88d7980c143.jpeg\\",\\n \\"hostPageUrl\\": \\"http://mbd.baidu.com/newspage/data/dtlandingsuper?nid=dt_4541580238898912926\\",\\n \\"height\\": 1330,\\n \\"width\\": 1000\\n }\\n ]\\n}","type":"json"}]', + ], + 'OmniAnswer' => [ + 'summary' => '本文档介绍智能搜索问答流式接口(SearchStream)。该接口基于检索增强生成(RAG)与大语言模型技术,接收用户自然语言问题后,自动执行意图识别、查询改写、多源检索与内容生成。接口采用 Server-Sent Events (SSE) 流式协议返回数据,支持实时输出推理状态、参考来源及逐字生成的答案,适用于对低延迟、高可解释性有要求的智能问答与搜索场景。', + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/answer/omni/search', + 'methods' => ['post'], + 'schemes' => ['https', 'sse'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/octet-stream', 'application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK'], + 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => '查询参数以及屏蔽站点参数', - 'required' => false, - '$ref' => '#/components/schemas/MultimodalSearchBody', - ], + 'style' => 'json', + 'schema' => ['description' => '搜索信息', 'required' => false, '$ref' => '#/components/schemas/OmniSearchQuery'], ], ], 'responses' => [ 200 => [ - 'schema' => [ - 'description' => '图片返回信息', - '$ref' => '#/components/schemas/MultimodalSearchOutput', - ], + 'schema' => ['description' => 'SSE流式返回', 'type' => 'string', 'example' => 'data: {"type": "bizType", "data": "content"}'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'AI 问答', + 'responseParamsDescription' => '接口采用标准 SSE 协议逐行推送事件,客户端需按 text/event-stream 规范解析。每行数据格式为:'."\n" + .'data: {"type": "事件类型", "data": "负载内容"}', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"originalQuery\\": {\\n \\"query\\": \\"\\"\\n }\\n },\\n \\"searchInformation\\": {\\n \\"total\\": 0,\\n \\"searchTime\\": 0\\n },\\n \\"imageItems\\": [\\n {\\n \\"publishedTime\\": \\"\\",\\n \\"title\\": \\"\\",\\n \\"imageUrl\\": \\"\\",\\n \\"hostPageUrl\\": \\"\\",\\n \\"height\\": 0,\\n \\"width\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => '多模态搜索', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:OmniAnswer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"\\"data: {\\\\\\"type\\\\\\": \\\\\\"bizType\\\\\\", \\\\\\"data\\\\\\": \\\\\\"content\\\\\\"}\\"","type":"json"}]', ], 'ReadPageBasic' => [ - 'summary' => '快速获取 HTML 并解析静态网页内容。', 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/basic', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpG3IIA0', - 'FEATUREalibababcpPDPN5D', - 'FEATUREalibababcp7B4LYV', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpG3IIA0', 'FEATUREalibababcpPDPN5D', 'FEATUREalibababcp7B4LYV'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2202,11 +1559,7 @@ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => 'post body', - 'required' => false, - '$ref' => '#/components/schemas/ReadPageBody', - ], + 'schema' => ['description' => 'post body', 'required' => false, '$ref' => '#/components/schemas/ReadPageBody'], ], ], 'responses' => [ @@ -2216,68 +1569,59 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'description' => '请求RequestId, 排查问题时可以提供此信息', - 'type' => 'string', - ], - 'errorCode' => [ - 'description' => '错误码', - 'type' => 'string', - ], - 'errorMessage' => [ - 'description' => '错误信息', - 'type' => 'string', - ], - 'data' => [ - 'description' => '目标 url 解析结果', - '$ref' => '#/components/schemas/ReadPageItem', - ], + 'requestId' => ['description' => '请求RequestId, 排查问题时可以提供此信息', 'type' => 'string'], + 'errorCode' => ['description' => '错误码', 'type' => 'string'], + 'errorMessage' => ['description' => '错误信息', 'type' => 'string'], + 'data' => ['description' => '目标 url 解析结果', '$ref' => '#/components/schemas/ReadPageItem'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"errorCode\\": \\"\\",\\n \\"errorMessage\\": \\"\\",\\n \\"data\\": {\\n \\"statusCode\\": 0,\\n \\"errorMessage\\": \\"\\",\\n \\"rawHtml\\": \\"\\",\\n \\"html\\": \\"\\",\\n \\"text\\": \\"\\",\\n \\"markdown\\": \\"\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '静态页面解析', + 'summary' => '快速获取 HTML 并解析静态网页内容。', 'description' => '1. 当目标地址的 HTTP 响应码(httpcode)< 500 时,计为一次有效请求。'."\n" ."\n" .'2. 若目标地址的响应头中的内容类型(Content-Type)为 application/pdf,系统将自动触发 PDF 解析(pdf 处理大小不超过 20MB),此操作将额外计为一次有效请求。'."\n" ."\n" .'3. 体验说明:体验期间接口限制 5qps;体验额度为 1000次/30天;', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageBasic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"errorCode\\": \\"\\",\\n \\"errorMessage\\": \\"\\",\\n \\"data\\": {\\n \\"statusCode\\": 200,\\n \\"errorMessage\\": \\"null\\",\\n \\"rawHtml\\": \\"Example Domain

Example Domain

This domain is for use in documentation examples without needing permission. Avoid use in operations.

Learn more

\\\\\\\\n\\",\\n \\"html\\": \\"\\\\\\\\nExample Domain\\\\\\\\n
\\\\\\\\n

Example Domain

\\\\\\\\n

This domain is for use in documentation examples without needing permission. Avoid use in operations.

\\\\\\\\n

Learn more

\\\\\\\\n
\\\\\\\\n\\",\\n \\"text\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\nLearn more\\\\\\\\n\\",\\n \\"markdown\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\n[Learn more](https://iana.org/domains/example)\\\\\\\\n\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', ], 'ReadPageScrape' => [ - 'summary' => '1. 通过浏览器沙箱环境读取 HTML 并解析网页内容。'."\n" - .'2. 接口将在目标页面资源完全加载后开始解析(可通过 pageTimeout 参数调整最大等待时长),接口整体耗时将显著受目标站点资源加载情况的影响。', 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/scrape', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREalibababcpLY9PPK', - 'FEATUREalibababcpG3IIA0', - ], + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpG3IIA0'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2285,11 +1629,7 @@ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'description' => 'post body', - 'required' => false, - '$ref' => '#/components/schemas/ReadPageScrapeBody', - ], + 'schema' => ['description' => 'post body', 'required' => false, '$ref' => '#/components/schemas/ReadPageScrapeBody'], ], ], 'responses' => [ @@ -2299,46 +1639,321 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '请求RequestId, 排查问题时可以提供此信息', - 'type' => 'string', - 'example' => '7cd43c86-731a-4d4c-8385-d070cfc509a4'."\n", - ], - 'errorCode' => [ - 'description' => '错误码', - 'type' => 'string', - 'example' => 'null', - ], - 'errorMessage' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'null', - ], - 'data' => [ - 'description' => '目标 url 解析结果', - '$ref' => '#/components/schemas/ReadPageItem', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => '请求RequestId, 排查问题时可以提供此信息', 'type' => 'string', 'example' => '7cd43c86-731a-4d4c-8385-d070cfc509a4'."\n"], + 'errorCode' => ['description' => '错误码', 'type' => 'string', 'example' => 'null'], + 'errorMessage' => ['description' => '错误信息', 'type' => 'string', 'example' => 'null'], + 'data' => ['description' => '目标 url 解析结果', '$ref' => '#/components/schemas/ReadPageItem'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7cd43c86-731a-4d4c-8385-d070cfc509a4\\\\n\\",\\n \\"errorCode\\": \\"null\\",\\n \\"errorMessage\\": \\"null\\",\\n \\"data\\": {\\n \\"statusCode\\": 0,\\n \\"errorMessage\\": \\"\\",\\n \\"rawHtml\\": \\"\\",\\n \\"html\\": \\"\\",\\n \\"text\\": \\"\\",\\n \\"markdown\\": \\"\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => 'web页面解析', + 'summary' => '1. 通过浏览器沙箱环境读取 HTML 并解析网页内容。'."\n" + .'2. 接口将在目标页面资源完全加载后开始解析(可通过 pageTimeout 参数调整最大等待时长),接口整体耗时将显著受目标站点资源加载情况的影响。', 'description' => '1. 当目标地址的 HTTP 响应码(httpcode)< 500 时,计为一次有效请求。'."\n" ."\n" .'2. 若目标地址的响应头中的内容类型(Content-Type)为 application/pdf,系统将自动触发 PDF 解析(pdf 处理大小不超过 20MB),此操作将额外计为一次有效请求。'."\n" ."\n" .'3. 体验说明:体验期间接口限制 5qps;体验额度为 1000次/30天;', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageScrape', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7cd43c86-731a-4d4c-8385-d070cfc509a4\\\\n\\",\\n \\"errorCode\\": \\"null\\",\\n \\"errorMessage\\": \\"null\\",\\n \\"data\\": {\\n \\"statusCode\\": 200,\\n \\"errorMessage\\": \\"null\\",\\n \\"rawHtml\\": \\"Example Domain

Example Domain

This domain is for use in documentation examples without needing permission. Avoid use in operations.

Learn more

\\\\\\\\n\\",\\n \\"html\\": \\"\\\\\\\\nExample Domain\\\\\\\\n
\\\\\\\\n

Example Domain

\\\\\\\\n

This domain is for use in documentation examples without needing permission. Avoid use in operations.

\\\\\\\\n

Learn more

\\\\\\\\n
\\\\\\\\n\\",\\n \\"text\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\nLearn more\\\\\\\\n\\",\\n \\"markdown\\": \\"# Example Domain\\\\\\\\nThis domain is for use in documentation examples without needing permission. Avoid use in operations.\\\\\\\\n[Learn more](https://iana.org/domains/example)\\\\\\\\n\\",\\n \\"screenshot\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'ScanFile' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/scan/file', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpF36Z7L', 'FEATUREalibababcpLJW8HN', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpRLTK4J', 'FEATUREalibababcpVV9OXO', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '请求结构体。', 'required' => false, '$ref' => '#/components/schemas/ScanFileInput'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '扫描结果', '$ref' => '#/components/schemas/ScanFileOutput'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '文件扫描', + 'summary' => '扫描文件接口利用最新的AI技术,将文档图片(例如试卷、书籍、公文、证件、线稿等)转换为扫描件。接口具有强大的图像处理能力,能够有效去除噪声、矫正图片的形变,能够实现拍照替代传统扫描仪的高清扫描效果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ECB2144C-E277-5434-80E6-12D26678D364\\",\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n },\\n \\"scanFileInfoList\\": [\\n {\\n \\"angle\\": 100,\\n \\"height\\": 100,\\n \\"width\\": 100,\\n \\"imageBase64\\": \\"erwre\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UnifiedSearch' => [ + 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREalibababcpLY9PPK', 'FEATUREalibababcpF36Z7L', 'FEATUREalibababcpLJW8HN', 'FEATUREalibababcpPYBUBJ', 'FEATUREalibababcpRLTK4J', 'FEATUREalibababcpVV9OXO', 'FEATUREalibababcpSJV4QL', 'FEATUREalibababcpTYS4DT', 'FEATUREalibababcpCIGQ7X', 'FEATUREalibababcpJ4YYLV'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'schema' => ['description' => '搜索请求参数', 'required' => false, '$ref' => '#/components/schemas/UnifiedSearchInput'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => ['description' => '搜索返回参数', '$ref' => '#/components/schemas/UnifiedSearchOutput'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '通晓统一搜索API', + 'summary' => '通晓统一搜索API,简单快捷的接入全网通用搜索能力。', + 'changeSet' => [ + ['createdAt' => '2025-05-08T08:10:19.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:UnifiedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"\\",\\n \\"queryContext\\": {\\n \\"engineType\\": \\"Generic\\",\\n \\"originalQuery\\": {\\n \\"query\\": \\"杭州美食\\",\\n \\"timeRange\\": \\"NoLimit\\"\\n },\\n \\"rewrite\\": {\\n \\"enabled\\": true,\\n \\"timeRange\\": \\"OneYear\\"\\n }\\n },\\n \\"pageItems\\": [\\n {\\n \\"title\\": \\"上海车展大佬齐聚 问界成为话题中心\\",\\n \\"link\\": \\"https://hea.china.com/articles/20250427/202504271666343.html\\",\\n \\"snippet\\": \\"2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。 ...\\",\\n \\"publishedTime\\": \\"2025-04-27T20:36:04+08:00\\",\\n \\"mainText\\": \\"2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\\\\\\\n“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, (此处省略....)。\\\\\\\\n责任编辑:kj005\\\\\\\\n 文章投诉热线:157 3889 8464 投诉邮箱:7983347 16@qq.com\\\\\\\\n关键词:\\",\\n \\"markdownText\\": \\"# 上海车展大佬齐聚 问界成为话题中心**来源**:财讯网 \\\\n**时间**:2025-04-27 20:36:04 \\\\n2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。\\\\n![图片](http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png)余承东表示,问界M9、M8、M7和M5,都深受消费者喜爱!问界M9连续3个月中国纯电车型保值率第一!纯电、增程车型包揽新能源大型SUV保值率前两名!\\\\n![图片](http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531312025791.jpeg)“自己是问界M9的用户\\\\n*责任编辑:kj005*文章投诉热线: 157 3889 8464 \\\\n投诉邮箱: 798334716@qq.com \\",\\n \\"images\\": [\\n \\"[\\\\\\"http://objectnsg.oss-cn-beijing.aliyuncs.com/yhdoc/202504/27/202504272025531927023138.png\\\\\\"]\\"\\n ],\\n \\"hostname\\": \\"中华网\\",\\n \\"hostLogo\\": \\"https://www.china.com/zh_cn/img1905/2023/logo.png\\",\\n \\"summary\\": \\"2025上海车展期间,最火爆的无疑是问界品牌,成为众多大佬的话题中心。赛力斯集团董事长(创始人)张兴海、华为常务董事、终端BG董事长余承东、著名演员陈道明、宁德时代董事长曾毓群都分享了对问界的使用体验。“自己是问界M9的用户,用车感受非常好。”陈道明表示,体验后才敢现场给大家推荐。未来,希望能实现问界M9的特别定制,让外观、内饰、座椅布局等,更符合自己的使用需求。据悉,2025款问界M9上市25天就交付超1万,已连续11个月蝉联50万元级豪车车销冠;问界M8上市4天,大定就突破了五万 台 ,深受市场任何和用户喜爱...“问界M9、M8正重构 中国 豪华汽车市场格局。”张兴海说, 近 期曾极限试驾问界M8,从重庆出发,历时55小时、行驶超3500公里抵达冈仁波齐。整个行程中,车辆的安全 性 和体验感都表现出色。\\",\\n \\"rerankScore\\": 0.7786493301391602,\\n \\"hostAuthorityScore\\": 0,\\n \\"richMainBody\\": \\"\\",\\n \\"websiteAuthorityScore\\": 0,\\n \\"correlationTag\\": 0,\\n \\"tags\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n ],\\n \\"sceneItems\\": [\\n {\\n \\"type\\": \\"time\\",\\n \\"detail\\": \\"{\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"伦敦时间\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"targetTimeZone\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"Europe/London\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"targetTimeMillisecond\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1745820817178\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"targetTime\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"2025-04-28 14:13:37\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"beijingTimeZone\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"PRC\\\\\\\\\\\\\\", \\\\\\\\\\\\\\"beijingTimeMillisecond\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"1745846017178\\\\\\\\\\\\\\"}\\"\\n }\\n ],\\n \\"costCredits\\": {\\n \\"search\\": {\\n \\"genericTextSearch\\": 1,\\n \\"liteAdvancedTextSearch\\": 0\\n },\\n \\"valueAdded\\": {\\n \\"summary\\": 1,\\n \\"advanced\\": 0\\n }\\n },\\n \\"searchInformation\\": {\\n \\"searchTime\\": 1028\\n }\\n}","type":"json"}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'iqs.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'iqs-vpc.cn-zhangjiakou.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'Bad request', 'message' => 'The input bad request.', 'http_code' => 400, 'description' => '输入参数错误'], + ['code' => 'Forbidden', 'message' => 'Please recharge first.', 'http_code' => 403, 'description' => '余额不足,请先给账户充值。'], + ['code' => 'Forbidden', 'message' => 'Please authorize the AliyunImarketingFullAccess to the sub-account.', 'http_code' => 403, 'description' => '请给该子账号授予AliyunImarketingFullAccess权限'], + ['code' => 'Forbidden', 'message' => 'Please activate AI search service.', 'http_code' => 403, 'description' => '请先开通搜索服务。'], + ['code' => 'Forbidden', 'message' => 'Please authorize the AliyunIQSFullAccess to the sub-account.', 'http_code' => 403, 'description' => '请将AliyunIQSFullAccess授权给该子账号'], + ['code' => 'NotActivate', 'message' => 'Please activate AI search service.', 'http_code' => 403, 'description' => '请先开通搜索服务'], + ['code' => 'TestUserPeriodExpired', 'message' => 'The test period has expired.', 'http_code' => 403, 'description' => '测试用户测试期已失效'], + ['code' => 'TestUserQueryPerDayExceeded', 'message' => 'The query per day exceed the limit.', 'http_code' => 429, 'description' => '测试用户日调用量超出限额'], + ['code' => 'ThrottlingUser', 'message' => 'Request was denied due to user flow control.', 'http_code' => 429, 'description' => '请求因为触发流控被拒绝'], + ], + 'changeSet' => [ [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'GenericSearch'], + ], + 'createdAt' => '2025-10-29T05:14:09.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIqsUsage'], + ], + ], + 'ram' => [ + 'productCode' => 'IQS', + 'productName' => '信息查询服务', + 'ramCodes' => ['iqs'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'GenericAdvancedSearch', + 'description' => '增强版搜索API', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericAdvancedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MultimodalSearch', + 'description' => '多模态搜索', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:MultimodalSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ReadPageBasic', + 'description' => '静态页面解析', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageBasic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenericSearch', + 'description' => '通用搜索', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GenericSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'OmniAnswer', + 'description' => 'AI 问答', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:OmniAnswer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UnifiedSearch', + 'description' => '通晓统一搜索API', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:UnifiedSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ReadPageScrape', + 'description' => 'web页面解析', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:ReadPageScrape', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MedicalKnowledge', + 'description' => '健康图谱', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:MedicalKnowledge', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MedicalAnswer', + 'description' => '医疗问答', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:MedicalAnswer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetIqsUsage', + 'description' => '日调用量查询接口', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:GetIqsUsage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AiSearch', + 'description' => '多阶段流式API', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'iqs:AiSearch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'IQS', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3