summaryrefslogtreecommitdiff
path: root/data/iqs/2024-11-11/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/iqs/2024-11-11/api-docs.php')
-rw-r--r--data/iqs/2024-11-11/api-docs.php1487
1 files changed, 584 insertions, 903 deletions
diff --git a/data/iqs/2024-11-11/api-docs.php b/data/iqs/2024-11-11/api-docs.php
index 44a99b7..dc9abdb 100644
--- a/data/iqs/2024-11-11/api-docs.php
+++ b/data/iqs/2024-11-11/api-docs.php
@@ -1,69 +1,21 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'IQS',
- 'version' => '2024-11-11',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'IQS', 'version' => '2024-11-11'],
'components' => [
'schemas' => [
- 'AISearchQuery' => [
+ 'AgentBaseQuery' => [
'type' => 'object',
'properties' => [
- 'searchEngine' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'quark',
- 'bing',
- 'baidu',
- 'google',
- ],
- ],
- 'searchPlan' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'basic',
- 'advanced',
- ],
- ],
- 'query' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'cardQuery' => [
- 'type' => 'string',
- 'required' => false,
- 'enum' => [
- 'active',
- 'off',
- ],
- ],
- 'page' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'sessionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'card' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'timeRange' => [
- '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' => [
@@ -71,31 +23,19 @@
'properties' => [
'pageItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/ScorePageItem',
- ],
- ],
- 'requestId' => [
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/ScorePageItem'],
],
+ 'requestId' => ['type' => 'string'],
'weiboItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/WeiboItem',
- ],
- ],
- 'searchInformation' => [
- '$ref' => '#/components/schemas/SearchInformation',
+ 'items' => ['$ref' => '#/components/schemas/WeiboItem'],
],
+ 'searchInformation' => ['$ref' => '#/components/schemas/SearchInformation'],
'sceneItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/SceneItem',
- ],
- ],
- 'queryContext' => [
- '$ref' => '#/components/schemas/QueryContext',
+ 'items' => ['$ref' => '#/components/schemas/SceneItem'],
],
+ 'queryContext' => ['$ref' => '#/components/schemas/QueryContext'],
],
],
'GetIqsUsageResult' => [
@@ -106,48 +46,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'],
],
],
],
@@ -156,17 +67,9 @@
'GlobalPageItem' => [
'type' => 'object',
'properties' => [
- 'snippet' => [
- 'type' => 'string',
- ],
- 'link' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'title' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'snippet' => ['type' => 'string'],
+ 'link' => ['type' => 'string', 'required' => true],
+ 'title' => ['type' => 'string', 'required' => true],
],
],
'GlobalQueryContext' => [
@@ -175,15 +78,9 @@
'originalQuery' => [
'type' => 'object',
'properties' => [
- 'query' => [
- 'type' => 'string',
- ],
- 'page' => [
- 'type' => 'string',
- ],
- 'timeRange' => [
- 'type' => 'string',
- ],
+ 'query' => ['type' => 'string'],
+ 'page' => ['type' => 'string'],
+ 'timeRange' => ['type' => 'string'],
],
],
],
@@ -191,208 +88,255 @@
'GlobalSceneItem' => [
'type' => 'object',
'properties' => [
- 'detail' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
+ 'detail' => ['type' => 'string'],
+ 'type' => ['type' => 'string'],
],
],
'GlobalSearchInformation' => [
'type' => 'object',
'properties' => [
- 'total' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'searchTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'total' => ['type' => 'integer', 'format' => 'int64'],
+ 'searchTime' => ['type' => 'integer', 'format' => 'int64'],
],
],
'GlobalSearchResult' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
- 'queryContext' => [
- '$ref' => '#/components/schemas/GlobalQueryContext',
- ],
+ 'requestId' => ['type' => 'string'],
+ 'queryContext' => ['$ref' => '#/components/schemas/GlobalQueryContext'],
'pageItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/GlobalPageItem',
- ],
+ 'items' => ['$ref' => '#/components/schemas/GlobalPageItem'],
],
'sceneItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/GlobalSceneItem',
- ],
- ],
- 'searchInformation' => [
- '$ref' => '#/components/schemas/GlobalSearchInformation',
+ 'items' => ['$ref' => '#/components/schemas/GlobalSceneItem'],
],
+ 'searchInformation' => ['$ref' => '#/components/schemas/GlobalSearchInformation'],
],
],
'IncludeImage' => [
'type' => 'object',
'properties' => [
- 'imageLink' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'width' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'height' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'width' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'imageLink' => ['type' => 'string', 'required' => false],
+ 'height' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
'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' => [
'type' => 'object',
'properties' => [
- 'originalQuery' => [
- '$ref' => '#/components/schemas/MultimodalOriginalQuery',
- ],
+ 'originalQuery' => ['$ref' => '#/components/schemas/MultimodalOriginalQuery'],
],
],
'MultimodalSearchBody' => [
'type' => 'object',
'properties' => [
- 'query' => [
- 'type' => 'string',
- ],
- 'advancedParams' => [
- 'type' => 'object',
- ],
+ 'query' => ['type' => 'string'],
+ 'advancedParams' => ['type' => 'object'],
+ 'engineType' => ['type' => 'string'],
],
],
'MultimodalSearchOutput' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'type' => 'string',
- ],
- 'queryContext' => [
- '$ref' => '#/components/schemas/MultimodalQueryContext',
- ],
- 'searchInformation' => [
- '$ref' => '#/components/schemas/SearchInformation',
- ],
+ 'requestId' => ['type' => 'string'],
+ 'queryContext' => ['$ref' => '#/components/schemas/MultimodalQueryContext'],
+ 'searchInformation' => ['$ref' => '#/components/schemas/SearchInformation'],
'imageItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UnifiedImageItem',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UnifiedImageItem'],
+ ],
+ ],
+ ],
+ 'OmniSearchQuery' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'query' => ['type' => 'string', 'required' => true, 'minLength' => 1, 'maxLength' => 200],
+ 'sessionId' => ['type' => 'string'],
+ 'useCot' => ['type' => 'boolean'],
+ 'useModel' => [
+ 'type' => 'string',
+ 'enum' => ['pro', 'lite'],
],
],
],
+ 'OmniSearchResult' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['type' => 'string'],
+ 'success' => ['type' => 'string'],
+ ],
+ ],
'QueryContext' => [
'type' => 'object',
'properties' => [
'originalQuery' => [
'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' => [
- 'type' => 'boolean',
- ],
- 'timeRange' => [
- 'type' => 'string',
- ],
+ 'enabled' => ['type' => 'boolean'],
+ 'timeRange' => ['type' => 'string'],
],
],
],
],
- 'ReadPageBody' => [
+ 'QueryResult' => [
'type' => 'object',
'properties' => [
- 'url' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'pageTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'formats' => [
+ 'data' => [
'type' => 'array',
'items' => [
- 'type' => 'string',
+ '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'],
+ ],
],
],
- 'location' => [
- 'type' => 'string',
- ],
- 'maxAge' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'requestId' => ['type' => 'string'],
+ ],
+ ],
+ 'ReadPageBody' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'url' => ['type' => 'string', 'required' => true],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageTimeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'formats' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
+ 'location' => ['type' => 'string'],
+ 'maxAge' => ['type' => 'integer', 'format' => 'int32'],
'readability' => [
'type' => 'object',
'properties' => [
- 'readabilityMode' => [
- 'type' => 'string',
- ],
- 'excludeAllImages' => [
- 'type' => 'boolean',
- ],
- 'excludeAllLinks' => [
- 'type' => 'boolean',
- ],
+ 'readabilityMode' => ['type' => 'string'],
+ 'excludeAllImages' => ['type' => 'boolean'],
+ 'excludeAllLinks' => ['type' => 'boolean'],
'excludedTags' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
@@ -401,463 +345,293 @@
'ReadPageItem' => [
'type' => 'object',
'properties' => [
- 'statusCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'errorMessage' => [
- 'type' => 'string',
- ],
- 'rawHtml' => [
- 'type' => 'string',
- ],
- 'html' => [
- 'type' => 'string',
- ],
- 'text' => [
- 'type' => 'string',
- ],
- 'markdown' => [
- 'type' => 'string',
- ],
- 'screenshot' => [
- 'type' => 'string',
- ],
+ 'statusCode' => ['type' => 'integer', 'format' => 'int32'],
+ 'errorMessage' => ['type' => 'string'],
+ 'rawHtml' => ['type' => 'string'],
+ 'html' => ['type' => 'string'],
+ 'text' => ['type' => 'string'],
+ 'markdown' => ['type' => 'string'],
+ 'screenshot' => ['type' => 'string'],
],
],
'ReadPageScrapeBody' => [
'type' => 'object',
'properties' => [
- 'url' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'timeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'pageTimeout' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'location' => [
- 'type' => 'string',
- ],
- 'maxAge' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'url' => ['type' => 'string', 'required' => true],
+ 'timeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageTimeout' => ['type' => 'integer', 'format' => 'int32'],
+ 'location' => ['type' => 'string'],
+ 'maxAge' => ['type' => 'integer', 'format' => 'int32'],
'readability' => [
'type' => 'object',
'properties' => [
- 'readabilityMode' => [
- 'type' => 'string',
- ],
- 'excludeAllImages' => [
- 'type' => 'boolean',
- ],
- 'excludeAllLinks' => [
- 'type' => 'boolean',
- ],
+ 'readabilityMode' => ['type' => 'string'],
+ 'excludeAllImages' => ['type' => 'boolean'],
+ 'excludeAllLinks' => ['type' => 'boolean'],
'excludedTags' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'formats' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'RequestContents' => [
'type' => 'object',
'properties' => [
- 'mainText' => [
- 'type' => 'boolean',
- ],
- 'markdownText' => [
- 'type' => 'boolean',
- ],
- 'summary' => [
- 'type' => 'boolean',
- ],
- 'rerankScore' => [
- 'type' => 'boolean',
- ],
- 'richMainBody' => [
- 'type' => 'boolean',
+ 'mainText' => ['type' => 'boolean'],
+ 'markdownText' => ['type' => 'boolean'],
+ 'summary' => ['type' => 'boolean'],
+ 'rerankScore' => ['type' => 'boolean'],
+ 'richMainBody' => ['type' => 'boolean'],
+ ],
+ ],
+ 'ScanFileInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'angle' => ['type' => 'integer', 'format' => 'int32'],
+ 'height' => ['type' => 'integer', 'format' => 'int32'],
+ 'width' => ['type' => 'integer', 'format' => 'int32'],
+ 'imageBase64' => ['type' => 'string', 'format' => 'byte'],
+ ],
+ ],
+ 'ScanFileInput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'imageUrl' => ['type' => 'string'],
+ 'imageBase64' => ['type' => 'string'],
+ 'scanFileInputConfig' => ['$ref' => '#/components/schemas/ScanFileInputConfig'],
+ ],
+ ],
+ 'ScanFileInputConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'autoCrop' => ['type' => 'string'],
+ 'autoRotate' => ['type' => 'string'],
+ ],
+ ],
+ 'ScanFileOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['type' => 'string'],
+ 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'],
+ 'scanFileInfoList' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/ScanFileInfo'],
],
],
],
'SceneItem' => [
'type' => 'object',
'properties' => [
- 'detail' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'detail' => ['type' => 'string'],
],
],
'ScorePageItem' => [
'type' => 'object',
'properties' => [
- 'publishTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- ],
- 'score' => [
- 'type' => 'number',
- 'format' => 'double',
- 'required' => false,
- ],
+ 'publishTime' => ['type' => 'integer', 'format' => 'int64', 'required' => true],
+ 'score' => ['type' => 'number', 'format' => 'double', 'required' => false],
'images' => [
'type' => 'array',
'required' => false,
- 'items' => [
- '$ref' => '#/components/schemas/IncludeImage',
- 'required' => false,
- ],
- ],
- 'htmlTitle' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'displayLink' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'mime' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['$ref' => '#/components/schemas/IncludeImage', 'required' => false],
],
+ 'htmlTitle' => ['type' => 'string', 'required' => true],
+ 'displayLink' => ['type' => 'string', 'required' => true],
+ 'mime' => ['type' => 'string', 'required' => false],
'pageMap' => [
'type' => 'object',
'required' => false,
- 'additionalProperties' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'cardType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'link' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'mainText' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'htmlSnippet' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'title' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'hostname' => [
- 'type' => 'string',
- ],
- 'hostLogo' => [
- 'type' => 'string',
- ],
- 'siteLabel' => [
- 'type' => 'string',
- ],
- 'markdownText' => [
- 'type' => 'string',
- ],
- 'snippet' => [
- 'type' => 'string',
- ],
- 'summary' => [
- 'type' => 'string',
- ],
- 'hostAuthorityScore' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'richMainBody' => [
- 'type' => 'string',
- ],
- 'websiteAuthorityScore' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'correlationTag' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'additionalProperties' => ['type' => 'string', 'required' => false],
+ ],
+ 'cardType' => ['type' => 'string', 'required' => true],
+ 'link' => ['type' => 'string', 'required' => true],
+ 'mainText' => ['type' => 'string', 'required' => false],
+ 'htmlSnippet' => ['type' => 'string', 'required' => true],
+ 'title' => ['type' => 'string', 'required' => true],
+ 'hostname' => ['type' => 'string'],
+ 'hostLogo' => ['type' => 'string'],
+ 'siteLabel' => ['type' => 'string'],
+ 'markdownText' => ['type' => 'string'],
+ 'snippet' => ['type' => 'string'],
+ 'summary' => ['type' => 'string'],
+ 'hostAuthorityScore' => ['type' => 'number', 'format' => 'double'],
+ 'richMainBody' => ['type' => 'string'],
+ 'websiteAuthorityScore' => ['type' => 'integer', 'format' => 'int32'],
+ 'correlationTag' => ['type' => 'integer', 'format' => 'int32'],
],
],
'SearchCredits' => [
'type' => 'object',
'properties' => [
- 'genericTextSearch' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'liteAdvancedTextSearch' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'genericTextSearch' => ['type' => 'integer', 'format' => 'int32'],
+ 'liteAdvancedTextSearch' => ['type' => 'integer', 'format' => 'int32'],
],
],
'SearchInformation' => [
'type' => 'object',
'properties' => [
- 'total' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'searchTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'total' => ['type' => 'integer', 'format' => 'int64'],
+ 'searchTime' => ['type' => 'integer', 'format' => 'int64'],
],
],
'UnifiedCostCredits' => [
'type' => 'object',
'properties' => [
- 'search' => [
- '$ref' => '#/components/schemas/SearchCredits',
- ],
- 'valueAdded' => [
- '$ref' => '#/components/schemas/ValueAddedCredits',
- ],
+ 'search' => ['$ref' => '#/components/schemas/SearchCredits'],
+ 'valueAdded' => ['$ref' => '#/components/schemas/ValueAddedCredits'],
],
],
'UnifiedImageItem' => [
'type' => 'object',
'properties' => [
- 'publishedTime' => [
- 'type' => 'string',
- ],
- 'title' => [
- 'type' => 'string',
- ],
- 'imageUrl' => [
- 'type' => 'string',
- ],
- 'hostPageUrl' => [
- 'type' => 'string',
- ],
- 'height' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'width' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'publishedTime' => ['type' => 'string'],
+ 'title' => ['type' => 'string'],
+ 'imageUrl' => ['type' => 'string'],
+ 'hostPageUrl' => ['type' => 'string'],
+ 'height' => ['type' => 'integer', 'format' => 'int32'],
+ 'width' => ['type' => 'integer', 'format' => 'int32'],
],
],
'UnifiedOriginalQuery' => [
'type' => 'object',
'properties' => [
- 'query' => [
- 'type' => 'string',
- ],
- 'timeRange' => [
- 'type' => 'string',
- ],
+ 'query' => ['type' => 'string'],
+ 'timeRange' => ['type' => 'string'],
],
],
'UnifiedPageItem' => [
'type' => 'object',
'properties' => [
- 'title' => [
- 'type' => 'string',
- ],
- 'link' => [
- 'type' => 'string',
- ],
- 'snippet' => [
- 'type' => 'string',
- ],
- 'publishedTime' => [
- 'type' => 'string',
- ],
- 'mainText' => [
- 'type' => 'string',
- ],
- 'markdownText' => [
- 'type' => 'string',
- ],
+ 'title' => ['type' => 'string'],
+ 'link' => ['type' => 'string'],
+ 'snippet' => ['type' => 'string'],
+ 'publishedTime' => ['type' => 'string'],
+ 'mainText' => ['type' => 'string'],
+ 'markdownText' => ['type' => 'string'],
'images' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'hostname' => [
- 'type' => 'string',
- ],
- 'hostLogo' => [
- 'type' => 'string',
- ],
- 'summary' => [
- 'type' => 'string',
- ],
- 'rerankScore' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'hostAuthorityScore' => [
- 'type' => 'number',
- 'format' => 'double',
- ],
- 'richMainBody' => [
- 'type' => 'string',
- ],
- 'websiteAuthorityScore' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'correlationTag' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'items' => ['type' => 'string'],
],
+ 'hostname' => ['type' => 'string'],
+ 'hostLogo' => ['type' => 'string'],
+ 'summary' => ['type' => 'string'],
+ 'rerankScore' => ['type' => 'number', 'format' => 'double'],
+ 'hostAuthorityScore' => ['type' => 'number', 'format' => 'double'],
+ 'richMainBody' => ['type' => 'string'],
+ 'websiteAuthorityScore' => ['type' => 'integer', 'format' => 'int32'],
+ 'correlationTag' => ['type' => 'integer', 'format' => 'int32'],
+ 'tags' => ['type' => 'object'],
],
],
'UnifiedQueryContext' => [
'type' => 'object',
'properties' => [
- 'engineType' => [
- 'type' => 'string',
- ],
- 'originalQuery' => [
- '$ref' => '#/components/schemas/UnifiedOriginalQuery',
- ],
- 'rewrite' => [
- '$ref' => '#/components/schemas/UnifiedRewrite',
- ],
+ 'engineType' => ['type' => 'string'],
+ 'originalQuery' => ['$ref' => '#/components/schemas/UnifiedOriginalQuery'],
+ 'rewrite' => ['$ref' => '#/components/schemas/UnifiedRewrite'],
],
],
'UnifiedRewrite' => [
'type' => 'object',
'properties' => [
- 'enabled' => [
- 'type' => 'boolean',
- ],
- 'timeRange' => [
- 'type' => 'string',
- ],
+ 'enabled' => ['type' => 'boolean'],
+ 'timeRange' => ['type' => 'string'],
],
],
'UnifiedSceneItem' => [
'type' => 'object',
'properties' => [
- 'detail' => [
- 'type' => 'string',
- ],
- 'type' => [
- 'type' => 'string',
- ],
+ 'type' => ['type' => 'string'],
+ 'detail' => ['type' => 'string'],
],
],
'UnifiedSearchInformation' => [
'type' => 'object',
'properties' => [
- 'searchTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'searchTime' => ['type' => 'integer', 'format' => 'int64'],
],
],
'UnifiedSearchInput' => [
'type' => 'object',
'properties' => [
- 'contents' => [
- '$ref' => '#/components/schemas/RequestContents',
- ],
- 'query' => [
- 'type' => 'string',
- ],
+ 'contents' => ['$ref' => '#/components/schemas/RequestContents'],
+ 'query' => ['type' => 'string'],
'engineType' => [
'type' => 'string',
- 'enum' => [
- 'Generic',
- 'GenericAdvanced',
- 'LiteAdvanced',
- ],
- ],
- 'category' => [
- 'type' => 'string',
+ 'enum' => ['Generic', 'GenericAdvanced', 'LiteAdvanced', 'Deep'],
],
+ 'category' => ['type' => 'string'],
'timeRange' => [
'type' => 'string',
- 'enum' => [
- 'OneDay',
- 'OneWeek',
- 'OneMonth',
- 'OneYear',
- 'NoLimit',
- ],
- ],
- 'location' => [
- 'type' => 'string',
+ 'enum' => ['OneDay', 'OneWeek', 'OneMonth', 'OneYear', 'NoLimit'],
],
- 'locationInfo' => [
- '$ref' => '#/components/schemas/LocationInfo',
+ 'location' => ['type' => 'string'],
+ 'locationInfo' => ['$ref' => '#/components/schemas/LocationInfo'],
+ 'advancedParams' => ['type' => 'object'],
+ ],
+ ],
+ 'UnifiedSearchOutput' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['type' => 'string'],
+ 'queryContext' => ['$ref' => '#/components/schemas/UnifiedQueryContext'],
+ 'pageItems' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/UnifiedPageItem'],
],
- 'advancedParams' => [
- 'type' => 'object',
+ 'sceneItems' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/UnifiedSceneItem'],
],
+ 'costCredits' => ['$ref' => '#/components/schemas/UnifiedCostCredits'],
+ 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'],
],
],
- 'UnifiedSearchOutput' => [
+ 'UnifiedSearchRequest' => [
'type' => 'object',
'properties' => [
- 'requestId' => [
+ 'contents' => ['$ref' => '#/components/schemas/RequestContents'],
+ 'query' => ['type' => 'string'],
+ 'engineType' => [
'type' => 'string',
+ 'enum' => ['Generic', 'GenericAdvanced'],
],
- 'queryContext' => [
- '$ref' => '#/components/schemas/UnifiedQueryContext',
+ 'category' => ['type' => 'string'],
+ 'timeRange' => [
+ 'type' => 'string',
+ 'enum' => ['OneDay', 'OneWeek', 'OneMonth', 'OneYear', 'NoLimit'],
],
+ ],
+ ],
+ 'UnifiedSearchResponse' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => ['type' => 'string'],
+ 'queryContext' => ['$ref' => '#/components/schemas/UnifiedQueryContext'],
'pageItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UnifiedPageItem',
- ],
+ 'items' => ['$ref' => '#/components/schemas/UnifiedPageItem'],
],
'sceneItems' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/UnifiedSceneItem',
- ],
- ],
- 'costCredits' => [
- '$ref' => '#/components/schemas/UnifiedCostCredits',
- ],
- 'searchInformation' => [
- '$ref' => '#/components/schemas/UnifiedSearchInformation',
+ 'items' => ['$ref' => '#/components/schemas/UnifiedSceneItem'],
],
+ 'costCredits' => ['$ref' => '#/components/schemas/UnifiedCostCredits'],
+ 'searchInformation' => ['$ref' => '#/components/schemas/UnifiedSearchInformation'],
],
],
'ValueAddedCredits' => [
'type' => 'object',
'properties' => [
- 'summary' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'advanced' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'summary' => ['type' => 'integer', 'format' => 'int32'],
+ 'advanced' => ['type' => 'integer', 'format' => 'int32'],
],
],
'WeiboItem' => [
@@ -866,506 +640,413 @@
'images' => [
'type' => 'array',
'required' => false,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'publishDisplayTime' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'cardType' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'homepageLink' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'link' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'htmlSnippet' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'username' => [
- 'type' => 'string',
- 'required' => false,
+ 'items' => ['type' => 'string', 'required' => false],
],
+ 'publishDisplayTime' => ['type' => 'string', 'required' => true],
+ 'cardType' => ['type' => 'string', 'required' => true],
+ 'homepageLink' => ['type' => 'string', 'required' => false],
+ 'link' => ['type' => 'string', 'required' => true],
+ 'htmlSnippet' => ['type' => 'string', 'required' => true],
+ 'username' => ['type' => 'string', 'required' => false],
],
],
],
],
'apis' => [
- 'UnifiedSearch' => [
- 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AiSearch' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v3/linkedRetrieval/commands/aiSearch',
+ 'methods' => ['get'],
+ 'schemes' => ['https', 'sse'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'sessionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'timeRange',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'industry',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'CommonQueryByScene' => [
+ 'path' => '/amap-function-call-agent/iqs-agent-service/v2/nl/common',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/UnifiedSearchInput',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/CommonAgentQuery', 'required' => false],
],
],
],
- 'GenericSearch' => [
- 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GenericAdvancedSearch' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'timeRange',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'sessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'industry',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
+ ],
+ ],
+ 'GenericSearch' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericSearch',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'page',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'returnMainText',
+ 'name' => 'query',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
- 'name' => 'returnMarkdownText',
+ 'name' => 'timeRange',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'returnSummary',
+ 'name' => 'sessionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'enableRerank',
+ 'name' => 'industry',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'returnRichMainBody',
+ 'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
- 'name' => 'advancedParams',
+ 'name' => 'returnMainText',
'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
- ],
- ],
- 'AiSearch' => [
- 'path' => '/linked-retrieval/linked-retrieval-entry/v3/linkedRetrieval/commands/aiSearch',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- 'sse',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
- 'deprecated' => false,
- 'parameters' => [
[
- 'name' => 'query',
+ 'name' => 'returnMarkdownText',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'sessionId',
+ 'name' => 'returnSummary',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'timeRange',
+ 'name' => 'enableRerank',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'industry',
+ 'name' => 'returnRichMainBody',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
[
- 'name' => 'page',
+ 'name' => 'advancedParams',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'style' => 'json',
+ 'schema' => ['type' => 'object', 'required' => false],
],
],
],
- 'GenericAdvancedSearch' => [
- 'path' => '/linked-retrieval/linked-retrieval-entry/v2/linkedRetrieval/commands/genericAdvancedSearch',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'GetIqsUsage' => [
+ 'path' => '/linked-retrieval/linked-retrieval-admin/v1/iqs/usage',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'query',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'timeRange',
+ 'name' => 'startDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'sessionId',
+ 'name' => 'endDate',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
- 'name' => 'industry',
+ 'name' => 'callerId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
],
],
'GlobalSearch' => [
'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/global',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'query',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'timeRange',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'page',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
- 'GetIqsUsage' => [
- 'path' => '/linked-retrieval/linked-retrieval-admin/v1/iqs/usage',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'MedicalAnswer' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/medical/answer',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
- 'name' => 'startDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/MedicalAnswerInput', 'required' => false],
],
+ ],
+ ],
+ 'MedicalKnowledge' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/medical/know',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'endDate',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
[
- 'name' => 'callerId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/MedicalKnowInput', 'required' => false],
],
],
],
'MultimodalSearch' => [
'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'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/MultimodalSearchBody', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'OmniAnswer' => [
+ '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'],
'deprecated' => false,
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/MultimodalSearchBody',
- 'required' => false,
- ],
+ 'style' => 'json',
+ 'schema' => ['$ref' => '#/components/schemas/OmniSearchQuery', 'required' => false],
],
],
],
'ReadPageBasic' => [
'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'],
'deprecated' => false,
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/ReadPageBody',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/ReadPageBody', 'required' => false],
],
],
],
'ReadPageScrape' => [
'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/readpage/scrape',
- 'methods' => [
- 'post',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/ReadPageScrapeBody', 'required' => false],
+ ],
],
+ ],
+ 'ScanFile' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/domain/scan/file',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => ['$ref' => '#/components/schemas/ScanFileInput', 'required' => false],
+ ],
],
- 'produces' => [
- 'application/json',
+ ],
+ 'UnifiedSearch' => [
+ 'path' => '/linked-retrieval/linked-retrieval-entry/v1/iqs/search/unified',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'deprecated' => false,
'parameters' => [
[
'name' => 'body',
'in' => 'body',
- 'schema' => [
- '$ref' => '#/components/schemas/ReadPageScrapeBody',
- 'required' => false,
- ],
+ 'schema' => ['$ref' => '#/components/schemas/UnifiedSearchInput', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'iqs.cn-zhangjiakou.aliyuncs.com',
- ],
+ ['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'],
],
];