summaryrefslogtreecommitdiff
path: root/data/zh_cn/dianjin/2024-06-28
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/zh_cn/dianjin/2024-06-28
downloadacs-metadata-full-1.0.0+20260212.tar.gz
acs-metadata-full-1.0.0+20260212.zip
Diffstat (limited to 'data/zh_cn/dianjin/2024-06-28')
-rw-r--r--data/zh_cn/dianjin/2024-06-28/api-docs.php13780
1 files changed, 13780 insertions, 0 deletions
diff --git a/data/zh_cn/dianjin/2024-06-28/api-docs.php b/data/zh_cn/dianjin/2024-06-28/api-docs.php
new file mode 100644
index 0000000..959be0e
--- /dev/null
+++ b/data/zh_cn/dianjin/2024-06-28/api-docs.php
@@ -0,0 +1,13780 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'DianJin',
+ 'version' => '2024-06-28',
+ ],
+ 'directories' => [
+ [
+ 'id' => 194986,
+ 'title' => '平台能力-文档库',
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateDocumentChunk',
+ 'GetAppConfig',
+ 'CreateLibrary',
+ 'GetLibraryList',
+ 'GetLibrary',
+ 'UploadDocument',
+ 'GetDocumentUrl',
+ 'PreviewDocument',
+ 'GetFilterDocumentList',
+ 'GetDocumentList',
+ 'DeleteDocument',
+ 'UpdateDocument',
+ 'CreatePredefinedDocument',
+ 'GetDocumentChunkList',
+ 'RecallDocument',
+ 'GetParseResult',
+ 'ReIndex',
+ 'UpdateLibrary',
+ 'DeleteLibrary',
+ 'RunLibraryChatGeneration',
+ 'GetHistoryListByBizType',
+ 'InvokePlugin',
+ ],
+ ],
+ [
+ 'id' => 195037,
+ 'title' => '平台能力-应用',
+ 'type' => 'directory',
+ 'children' => [
+ 'EndToEndRealTimeDialog',
+ 'RunDialogAnalysis',
+ 'RunAgent',
+ 'CreateDialog',
+ 'RealTimeDialog',
+ 'RealtimeDialogAssist',
+ 'GetDialogDetail',
+ 'GetDialogLog',
+ 'GetDialogAnalysisResult',
+ 'CreateDialogAnalysisTask',
+ 'RebuildTask',
+ 'EvictTask',
+ 'GetTaskStatus',
+ 'CreateDocsSummaryTask',
+ 'CreateAnnualDocSummaryTask',
+ 'CreatePdfTranslateTask',
+ 'CreateFinReportSummaryTask',
+ 'GetSummaryTaskResult',
+ 'GetTaskResult',
+ 'CreateQualityCheckTask',
+ 'GetQualityCheckTaskResult',
+ 'RecognizeIntention',
+ 'GenDocQaResult',
+ 'UpdateQaLibrary',
+ 'SubmitChatQuestion',
+ 'GetChatQuestionResp',
+ 'RunChatResultGeneration',
+ ],
+ ],
+ [
+ 'id' => 361341,
+ 'title' => '其他',
+ 'type' => 'directory',
+ 'children' => [
+ 'DashscopeAsyncTaskFinishEvent',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'UpdateDocumentChunk' => [
+ 'summary' => '更新文档中的文档块文本内容。',
+ 'path' => '/{workspaceId}/api/library/updateDocumentChunk',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'libraryId' => [
+ 'title' => '文档库ID',
+ 'description' => '文档库ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sjdgdsfg',
+ ],
+ 'chunks' => [
+ 'title' => '文档块列表',
+ 'description' => '文档块列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '文档块',
+ 'description' => '文档块',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkId' => [
+ 'title' => '文档块ID',
+ 'description' => '文档块ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1987834755763847',
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '这是一段测试文本',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<ResultCodeEnum>',
+ 'description' => 'ResultCode<ResultCodeEnum>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'string',
+ 'example' => 'SUCCESS',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '003D019A-1BB3-53EC-A0D2-CE76DA5D73B1',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": \\"SUCCESS\\",\\n \\"requestId\\": \\"003D019A-1BB3-53EC-A0D2-CE76DA5D73B1\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '更新文档块内容',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetAppConfig' => [
+ 'summary' => '获取app配置。',
+ 'path' => '/{workspaceId}/api/app/config',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<AppConfigBO>',
+ 'description' => 'ResultCode<AppConfigBO>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'embeddingTypeList' => [
+ 'title' => 'embedding类型列表',
+ 'description' => 'embedding类型列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'k-v对',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => 'value',
+ 'example' => 'DashScope',
+ ],
+ ],
+ ],
+ 'frontendConfig' => [
+ 'title' => '前端配置',
+ 'description' => '前端配置',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'boolean',
+ 'example' => 'true',
+ 'description' => '是否开启',
+ ],
+ ],
+ 'libraryDocumentStatusList' => [
+ 'title' => '文档状态列表',
+ 'description' => '文档库文档状态列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'k-v对',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => 'value',
+ 'example' => 'Completed',
+ ],
+ ],
+ ],
+ 'llmHelperTypeList' => [
+ 'title' => '大模型类型列表',
+ 'description' => '大模型类型列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'k-v对',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'example' => 'qwen-max',
+ 'description' => 'value',
+ ],
+ ],
+ ],
+ 'textIndexCategoryList' => [
+ 'title' => '文本索引类型列表',
+ 'description' => '文本索引类别列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本索引类别',
+ 'type' => 'string',
+ 'example' => 'ElasticSearch',
+ ],
+ ],
+ 'vectorIndexCategoryList' => [
+ 'title' => '向量索引类型列表',
+ 'description' => '向量索引类别列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '向量索引类别',
+ 'type' => 'string',
+ 'example' => 'ADB',
+ ],
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'None',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"embeddingTypeList\\": [\\n {\\n \\"key\\": \\"DashScope\\"\\n }\\n ],\\n \\"frontendConfig\\": {\\n \\"key\\": true\\n },\\n \\"libraryDocumentStatusList\\": [\\n {\\n \\"key\\": \\"Completed\\"\\n }\\n ],\\n \\"llmHelperTypeList\\": [\\n {\\n \\"key\\": \\"qwen-max\\"\\n }\\n ],\\n \\"textIndexCategoryList\\": [\\n \\"ElasticSearch\\"\\n ],\\n \\"vectorIndexCategoryList\\": [\\n \\"ADB\\"\\n ]\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"None\\",\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '获取配置信息',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'CreateLibrary' => [
+ 'summary' => '创建文档库。创建一个新的文档库,文档库用作隔离文档信息、索引信息,如果使用场景中需要经常按类别去做自然语言检索,建议创建多个文档库,来隔离不同类型的数据。支持按照格式自定义向量索引和文本索引。',
+ 'path' => '/{workspaceId}/api/library/create',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-ik******RVYCKzt',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '文档库的描述',
+ 'description' => '文档库的描述',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '描述文档库的具体作用',
+ ],
+ 'indexSetting' => [
+ 'title' => '文档库的索引设置',
+ 'description' => '文档库的索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkStrategy' => [
+ 'title' => '分段策略',
+ 'description' => '分段策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'docTreeSplit' => [
+ 'title' => '版面切分',
+ 'description' => '版面切分',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'docTreeSplitSize' => [
+ 'title' => '版面切分大小',
+ 'description' => '版面切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '300',
+ ],
+ 'enhanceGraph' => [
+ 'title' => '是否增强图片',
+ 'description' => '是否解析文档中的图片内容',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enhanceTable' => [
+ 'title' => '是否增强表格',
+ 'description' => '是否解析文档中的表格内容',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'overlap' => [
+ 'title' => 'chunk重叠长度',
+ 'description' => 'chunk重叠长度',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'sentenceSplit' => [
+ 'title' => '按句子切分',
+ 'description' => '按句子切分',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'sentenceSplitSize' => [
+ 'title' => '按句子切分大小',
+ 'description' => '按句子切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '300',
+ ],
+ 'size' => [
+ 'title' => 'chunk大小',
+ 'description' => 'chunk大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '300',
+ ],
+ 'split' => [
+ 'title' => '是否切块',
+ 'description' => '是否切块',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'modelConfig' => [
+ 'title' => '模型配置',
+ 'description' => '模型配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'temperature' => [
+ 'title' => '温度',
+ 'description' => '用于控制模型回复的随机性和多样性。具体来说,temperature值控制了生成文本时对每个候选词的概率分布进行平滑的程度。较高的temperature值会降低概率分布的峰值,使得更多的低概率词被选择,生成结果更加多样化;而较低的temperature值则会增强概率分布的峰值,使得高概率词更容易被选择,生成结果更加确定。'."\n"
+ ."\n"
+ .'取值范围: [0, 2),不建议取值为0,无意义。',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.8',
+ ],
+ 'topP' => [
+ 'title' => 'topP',
+ 'description' => '生成过程中的核采样方法概率阈值,例如,取值为0.8时,仅保留概率加起来大于等于0.8的最可能token的最小集合作为候选集。取值范围为(0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高。',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.8',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'promptRoleStyle' => [
+ 'title' => 'prompt角色风格',
+ 'description' => 'prompt风格角色。通过指定角色,描述语气风格,来控制最终回答质量。如:文档分析专家、温柔的客服、专业的金融行业分析师。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你是一位信息处理专家,耐心、友好、逻辑清晰。',
+ ],
+ 'queryEnhancer' => [
+ 'title' => 'query增强配置',
+ 'description' => '问题增强配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'enableFollowUp' => [
+ 'title' => '多轮增强',
+ 'description' => '是否根据历史记录改写问题',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableMultiQuery' => [
+ 'title' => '是否利用大模型知识拆解问题',
+ 'description' => '是否利用大模型知识拆解问题',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableOpenQa' => [
+ 'title' => '是否利用大模型知识回答问题',
+ 'description' => '是否利用大模型知识回答问题',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableQueryRewrite' => [
+ 'title' => '是否开启query改写',
+ 'description' => '是否使用问题改写',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableSession' => [
+ 'title' => '记录session',
+ 'description' => '是否开启多轮对话',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'localKnowledgeId' => [
+ 'title' => '知识改写使用的文档库id',
+ 'description' => '知识改写使用的文档库id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxxx',
+ ],
+ 'withDocumentReference' => [
+ 'title' => '是否带文档引用',
+ 'description' => '是否带文档引用',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'recallStrategy' => [
+ 'title' => '召回策略',
+ 'description' => '召回策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'documentRankType' => [
+ 'title' => '合并&排序策略',
+ 'description' => '合并&排序策略',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'linear' => 'linear',
+ 'model' => 'model',
+ ],
+ 'example' => 'model',
+ ],
+ 'limit' => [
+ 'title' => '两路合并总结的结果数',
+ 'description' => '两路合并总结的结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'textIndexSetting' => [
+ 'title' => '文本索引配置',
+ 'description' => '文本索引配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '文本索引类型',
+ 'description' => '文本索引类型,目前只支持ElasticSearch。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'ElasticSearch' => 'ElasticSearch',
+ ],
+ 'example' => 'ElasticSearch',
+ 'pattern' => '^ElasticSearch$',
+ 'default' => 'ElasticSearch',
+ ],
+ 'enable' => [
+ 'title' => '文本索引是否开启',
+ 'description' => '是否启用文本索引。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ 'indexAnalyzer' => [
+ 'title' => 'Standard: *, IkMaxWord, Whitespace, IkSmart',
+ 'description' => '文本索引的索引分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'IkSmart' => 'IkSmart',
+ 'IkMaxWord' => 'IkMaxWord',
+ 'Standard' => 'Standard',
+ ],
+ 'example' => 'Standard',
+ ],
+ 'rankThreshold' => [
+ 'title' => '文本索引排序阈值',
+ 'description' => '文本索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ 'searchAnalyzer' => [
+ 'title' => 'Standard: *, IkMaxWord, Whitespace, IkSmart',
+ 'description' => '文本索引的搜索分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'IkSmart' => 'IkSmart',
+ 'IkMaxWord' => 'IkMaxWord',
+ 'Standard' => 'Standard',
+ ],
+ 'example' => 'Standard',
+ ],
+ 'topK' => [
+ 'title' => '文本索引最后总结结果数',
+ 'description' => '文本索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'vectorIndexSetting' => [
+ 'title' => '向量索引设置',
+ 'description' => '向量索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '向量索引来源:建议填写 ADB',
+ 'description' => '向量索引来源:目前只支持 ADB',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'ADB' => 'ADB',
+ ],
+ 'example' => 'ADB',
+ 'pattern' => '^ADB$',
+ 'default' => 'ADB',
+ ],
+ 'embeddingType' => [
+ 'title' => '向量索引文本Embedding模型',
+ 'description' => '向量索引文本Embedding类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'DashScope' => 'DashScope',
+ ],
+ 'example' => 'DashScope',
+ ],
+ 'enable' => [
+ 'title' => '是否开启',
+ 'description' => '是否开启',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'true' => 'true',
+ 'false' => 'false',
+ ],
+ 'example' => 'true',
+ ],
+ 'rankThreshold' => [
+ 'title' => '向量索引排序阈值',
+ 'description' => '向量索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ 'topK' => [
+ 'title' => '向量索引最后总结结果数',
+ 'description' => '向量索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'libraryName' => [
+ 'title' => '文档库的名称',
+ 'description' => '文档库的名称',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '金融知识文档库',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '300',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据',
+ 'type' => 'string',
+ 'example' => 'a1b2c3',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => '成功',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'xxxx-xxxx-xxxx-xxxx',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 300,\\n \\"data\\": \\"a1b2c3\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"成功\\",\\n \\"requestId\\": \\"xxxx-xxxx-xxxx-xxxx\\",\\n \\"success\\": true,\\n \\"time\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => '创建文档库',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetLibraryList' => [
+ 'summary' => '获取文档库列表,包含文档名称、描述、唯一标识等信息。',
+ 'path' => '/{workspaceId}/api/library/list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '每页记录的数量',
+ 'description' => '每页记录的数量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'query',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '搜索的关键词,支持文档库名称和描述',
+ 'description' => '搜索的关键词,支持文档库名称和描述',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试文档库',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<PageVO<LibraryVO>>',
+ 'description' => 'ResultCode<PageVO<LibraryVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '返回数据',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'currentPage' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '页面记录数',
+ 'description' => '页面记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'records' => [
+ 'title' => '记录数',
+ 'description' => '记录列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '记录',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '文档库描述',
+ 'description' => '文档库描述',
+ 'type' => 'string',
+ 'example' => '文档库',
+ ],
+ 'documentCount' => [
+ 'title' => '文档数量',
+ 'description' => '文档数量',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'gmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00'."\n",
+ ],
+ 'gmtModified' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00'."\n",
+ ],
+ 'id' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => '24vs4aa42jv1rg7',
+ ],
+ 'indexSetting' => [
+ 'title' => '文档库索引设置',
+ 'description' => '文档库索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkStrategy' => [
+ 'title' => '分块策略',
+ 'description' => '分块策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'docTreeSplit' => [
+ 'title' => '版面切分',
+ 'description' => '版面切分',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'docTreeSplitSize' => [
+ 'title' => '版面切分大小',
+ 'description' => '版面切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '160',
+ ],
+ 'enhanceGraph' => [
+ 'title' => '是否增强图片',
+ 'description' => '是否增强图片',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enhanceTable' => [
+ 'title' => '是否增强表格',
+ 'description' => '是否增强表格',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'overlap' => [
+ 'title' => 'chunk重叠长度',
+ 'description' => 'chunk重叠长度',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'sentenceSplit' => [
+ 'title' => '按句子切分',
+ 'description' => '按句子切分',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'sentenceSplitSize' => [
+ 'title' => '按句子切分大小',
+ 'description' => '按句子切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '160',
+ ],
+ 'size' => [
+ 'title' => 'chunk大小',
+ 'description' => 'chunk大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '256',
+ ],
+ 'split' => [
+ 'title' => '是否切块',
+ 'description' => '是否切块',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'modelConfig' => [
+ 'title' => '模型配置',
+ 'description' => '模型配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'temperature' => [
+ 'title' => '温度',
+ 'description' => '温度',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.8',
+ ],
+ 'topP' => [
+ 'title' => 'topP',
+ 'description' => 'topP',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.8',
+ ],
+ ],
+ ],
+ 'promptRoleStyle' => [
+ 'title' => 'prompt角色风格',
+ 'description' => 'prompt角色风格',
+ 'type' => 'string',
+ 'example' => '你是一个信息处理专家。'."\n",
+ ],
+ 'queryEnhancer' => [
+ 'title' => 'query增强',
+ 'description' => 'query增强',
+ 'type' => 'object',
+ 'properties' => [
+ 'enableFollowUp' => [
+ 'title' => '多轮增强',
+ 'description' => '多轮增强',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableMultiQuery' => [
+ 'title' => '是否利用大模型知识拆解问题',
+ 'description' => '是否利用大模型知识拆解问题',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableOpenQa' => [
+ 'title' => '是否利用大模型知识回答问题',
+ 'description' => '是否利用大模型知识回答问题',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableQueryRewrite' => [
+ 'title' => '是否根据领域知识改写问题',
+ 'description' => '是否根据领域知识改写问题',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableSession' => [
+ 'title' => '记录session',
+ 'description' => '记录session',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'localKnowledgeId' => [
+ 'title' => '知识改写使用的文档库id',
+ 'description' => '知识改写使用的文档库id',
+ 'type' => 'string',
+ 'example' => 'sdbcjsbc',
+ ],
+ 'withDocumentReference' => [
+ 'title' => '是否带文档引用',
+ 'description' => '是否带文档引用',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'recallStrategy' => [
+ 'title' => '召回策略',
+ 'description' => '召回策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'documentRankType' => [
+ 'title' => '合并&排序策略',
+ 'description' => '合并&排序策略',
+ 'type' => 'string',
+ 'example' => 'model',
+ ],
+ 'limit' => [
+ 'title' => '两路合并总结的结果数',
+ 'description' => '两路合并总结的结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'textIndexSetting' => [
+ 'title' => '文本索引设置',
+ 'description' => '文本索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '文本索引类型',
+ 'description' => '文本索引类型',
+ 'type' => 'string',
+ 'example' => 'ElasticSearch',
+ ],
+ 'enable' => [
+ 'title' => '文本索引是否开启',
+ 'description' => '文本索引是否开启',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'indexAnalyzer' => [
+ 'title' => '文本索引索引分析器: (Standard: *, IkMaxWord, Whitespace, IkSmart)',
+ 'description' => '文本索引的索引分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'rankThreshold' => [
+ 'title' => '文本索引排序阈值',
+ 'description' => '文本索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => 'null',
+ ],
+ 'searchAnalyzer' => [
+ 'title' => '文本索引搜索分析器: (Standard: *, IkMaxWord, Whitespace, IkSmart)',
+ 'description' => '文本索引的搜索分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'topK' => [
+ 'title' => '文本索引最后总结结果数',
+ 'description' => '文本索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'vectorIndexSetting' => [
+ 'title' => '向量索引设置',
+ 'description' => '向量索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '向量索引来源:建议填写 ADB',
+ 'description' => '向量索引来源:建议填写 ADB',
+ 'type' => 'string',
+ 'example' => 'ADB',
+ ],
+ 'embeddingType' => [
+ 'title' => '向量索引文本Embedding模型',
+ 'description' => '向量索引文本Embedding模型',
+ 'type' => 'string',
+ 'example' => 'DashScope',
+ ],
+ 'enable' => [
+ 'title' => '是否开启',
+ 'description' => '是否开启',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'rankThreshold' => [
+ 'title' => '向量索引排序阈值',
+ 'description' => '向量索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => 'null',
+ ],
+ 'topK' => [
+ 'title' => '向量索引最后总结结果数',
+ 'description' => '向量索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ ],
+ ],
+ ],
+ 'totalPages' => [
+ 'title' => '总页数',
+ 'description' => '总页数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'totalRecords' => [
+ 'title' => '总记录数',
+ 'description' => '总记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '0a06dfe817156528535968405edce3',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"description\\": \\"文档库\\",\\n \\"documentCount\\": 10,\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"id\\": \\"24vs4aa42jv1rg7\\",\\n \\"indexSetting\\": {\\n \\"chunkStrategy\\": {\\n \\"docTreeSplit\\": true,\\n \\"docTreeSplitSize\\": 160,\\n \\"enhanceGraph\\": true,\\n \\"enhanceTable\\": true,\\n \\"overlap\\": 40,\\n \\"sentenceSplit\\": true,\\n \\"sentenceSplitSize\\": 160,\\n \\"size\\": 256,\\n \\"split\\": true\\n },\\n \\"modelConfig\\": {\\n \\"temperature\\": 0.8,\\n \\"topP\\": 0.8\\n },\\n \\"promptRoleStyle\\": \\"你是一个信息处理专家。\\\\n\\",\\n \\"queryEnhancer\\": {\\n \\"enableFollowUp\\": true,\\n \\"enableMultiQuery\\": true,\\n \\"enableOpenQa\\": true,\\n \\"enableQueryRewrite\\": true,\\n \\"enableSession\\": true,\\n \\"localKnowledgeId\\": \\"sdbcjsbc\\",\\n \\"withDocumentReference\\": true\\n },\\n \\"recallStrategy\\": {\\n \\"documentRankType\\": \\"model\\",\\n \\"limit\\": 10\\n },\\n \\"textIndexSetting\\": {\\n \\"category\\": \\"ElasticSearch\\",\\n \\"enable\\": true,\\n \\"indexAnalyzer\\": \\"Standard\\",\\n \\"rankThreshold\\": 0,\\n \\"searchAnalyzer\\": \\"Standard\\",\\n \\"topK\\": 10\\n },\\n \\"vectorIndexSetting\\": {\\n \\"category\\": \\"ADB\\",\\n \\"embeddingType\\": \\"DashScope\\",\\n \\"enable\\": true,\\n \\"rankThreshold\\": 0,\\n \\"topK\\": 10\\n }\\n },\\n \\"libraryName\\": \\"测试文档库\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0a06dfe817156528535968405edce3\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '获取文档库列表',
+ 'description' => '前提条件'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetLibrary' => [
+ 'summary' => '查看文档库的详细配置,包括文档库名称、描述以及索引等详细配置信息。',
+ 'path' => '/{workspaceId}/api/library/get',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'libraryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cjshcxxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<LibraryVO>',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '返回数据',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '文档库描述',
+ 'description' => '文档库描述',
+ 'type' => 'string',
+ 'example' => '文档库的描述',
+ ],
+ 'documentCount' => [
+ 'title' => '文档数量',
+ 'description' => '文档数量',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'gmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'gmtModified' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00'."\n",
+ ],
+ 'id' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => '19386728376',
+ ],
+ 'indexSetting' => [
+ 'title' => '文档库索引设置',
+ 'description' => '文档库索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkStrategy' => [
+ 'title' => '分块策略',
+ 'description' => '分块策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'docTreeSplit' => [
+ 'title' => '版面切分',
+ 'description' => '版面切分',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'docTreeSplitSize' => [
+ 'title' => '版面切分大小',
+ 'description' => '版面切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '160',
+ ],
+ 'enhanceGraph' => [
+ 'title' => '是否增强图片',
+ 'description' => '是否增强图片',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enhanceTable' => [
+ 'title' => '是否增强表格',
+ 'description' => '是否增强表格',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'overlap' => [
+ 'title' => 'chunk重叠长度',
+ 'description' => 'chunk重叠长度',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'sentenceSplit' => [
+ 'title' => '按句子切分',
+ 'description' => '按句子切分',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'sentenceSplitSize' => [
+ 'title' => '按句子切分大小',
+ 'description' => '按句子切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '160',
+ ],
+ 'size' => [
+ 'title' => 'chunk大小',
+ 'description' => 'chunk大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '256',
+ ],
+ 'split' => [
+ 'title' => '是否切块',
+ 'description' => '是否切块',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'modelConfig' => [
+ 'title' => '模型配置',
+ 'description' => '模型配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'temperature' => [
+ 'title' => '温度',
+ 'description' => '温度',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.8',
+ ],
+ 'topP' => [
+ 'title' => 'topP',
+ 'description' => 'topP',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '0.8',
+ ],
+ ],
+ ],
+ 'promptRoleStyle' => [
+ 'title' => 'prompt角色风格',
+ 'description' => 'prompt角色风格',
+ 'type' => 'string',
+ 'example' => '你是一个信息处理专家。',
+ ],
+ 'queryEnhancer' => [
+ 'title' => 'query增强',
+ 'description' => 'query增强',
+ 'type' => 'object',
+ 'properties' => [
+ 'enableFollowUp' => [
+ 'title' => '多轮增强',
+ 'description' => '多轮增强',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableMultiQuery' => [
+ 'title' => '是否利用大模型知识拆解问题',
+ 'description' => '是否利用大模型知识拆解问题',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableOpenQa' => [
+ 'title' => '是否利用大模型知识回答问题',
+ 'description' => '是否利用大模型知识回答问题',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableQueryRewrite' => [
+ 'title' => '是否根据领域知识改写问题',
+ 'description' => '是否根据领域知识改写问题',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'enableSession' => [
+ 'title' => '记录session',
+ 'description' => '记录session',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'localKnowledgeId' => [
+ 'title' => '知识改写使用的文档库id',
+ 'description' => '知识改写使用的文档库id',
+ 'type' => 'string',
+ 'example' => '2836482634',
+ ],
+ 'withDocumentReference' => [
+ 'title' => '是否带文档引用',
+ 'description' => '是否带文档引用',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'recallStrategy' => [
+ 'title' => '召回策略',
+ 'description' => '召回策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'documentRankType' => [
+ 'title' => '合并&排序策略',
+ 'description' => '合并&排序策略',
+ 'type' => 'string',
+ 'example' => 'model',
+ ],
+ 'limit' => [
+ 'title' => '两路合并总结的结果数',
+ 'description' => '两路合并总结的结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'textIndexSetting' => [
+ 'title' => '文本索引设置',
+ 'description' => '文本索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '文本索引类型',
+ 'description' => '文本索引类型',
+ 'type' => 'string',
+ 'example' => 'ElasticSearch',
+ ],
+ 'enable' => [
+ 'title' => '文本索引是否开启',
+ 'description' => '文本索引是否开启',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'indexAnalyzer' => [
+ 'title' => '文本索引索引分析器: (Standard: *, IkMaxWord, Whitespace, IkSmart)',
+ 'description' => '文本索引的索引分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'example' => 'IkMaxWord',
+ ],
+ 'rankThreshold' => [
+ 'title' => '文本索引排序阈值',
+ 'description' => '文本索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => 'null',
+ ],
+ 'searchAnalyzer' => [
+ 'title' => '文本索引搜索分析器: (Standard: *, IkMaxWord, Whitespace, IkSmart)',
+ 'description' => '文本索引的搜索分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'example' => 'Standard',
+ ],
+ 'topK' => [
+ 'title' => '文本索引最后总结结果数',
+ 'description' => '文本索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'vectorIndexSetting' => [
+ 'title' => '向量索引设置',
+ 'description' => '向量索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '向量索引来源:建议填写 ADB',
+ 'description' => '向量索引来源:建议填写 ADB',
+ 'type' => 'string',
+ 'example' => 'ADB',
+ ],
+ 'embeddingType' => [
+ 'title' => '向量索引文本Embedding模型',
+ 'description' => '向量索引文本Embedding模型',
+ 'type' => 'string',
+ 'example' => 'DashScope',
+ ],
+ 'enable' => [
+ 'title' => '是否开启',
+ 'description' => '是否开启',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'rankThreshold' => [
+ 'title' => '向量索引排序阈值',
+ 'description' => '向量索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => 'null',
+ ],
+ 'topK' => [
+ 'title' => '向量索引最后总结结果数',
+ 'description' => '向量索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误类型',
+ 'description' => '错误类型',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"description\\": \\"文档库的描述\\",\\n \\"documentCount\\": 10,\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"id\\": \\"19386728376\\",\\n \\"indexSetting\\": {\\n \\"chunkStrategy\\": {\\n \\"docTreeSplit\\": true,\\n \\"docTreeSplitSize\\": 160,\\n \\"enhanceGraph\\": true,\\n \\"enhanceTable\\": true,\\n \\"overlap\\": 40,\\n \\"sentenceSplit\\": true,\\n \\"sentenceSplitSize\\": 160,\\n \\"size\\": 256,\\n \\"split\\": true\\n },\\n \\"modelConfig\\": {\\n \\"temperature\\": 0.8,\\n \\"topP\\": 0.8\\n },\\n \\"promptRoleStyle\\": \\"你是一个信息处理专家。\\",\\n \\"queryEnhancer\\": {\\n \\"enableFollowUp\\": true,\\n \\"enableMultiQuery\\": true,\\n \\"enableOpenQa\\": true,\\n \\"enableQueryRewrite\\": true,\\n \\"enableSession\\": true,\\n \\"localKnowledgeId\\": \\"2836482634\\",\\n \\"withDocumentReference\\": true\\n },\\n \\"recallStrategy\\": {\\n \\"documentRankType\\": \\"model\\",\\n \\"limit\\": 10\\n },\\n \\"textIndexSetting\\": {\\n \\"category\\": \\"ElasticSearch\\",\\n \\"enable\\": true,\\n \\"indexAnalyzer\\": \\"IkMaxWord\\",\\n \\"rankThreshold\\": 0,\\n \\"searchAnalyzer\\": \\"Standard\\",\\n \\"topK\\": 10\\n },\\n \\"vectorIndexSetting\\": {\\n \\"category\\": \\"ADB\\",\\n \\"embeddingType\\": \\"DashScope\\",\\n \\"enable\\": true,\\n \\"rankThreshold\\": 0,\\n \\"topK\\": 10\\n }\\n },\\n \\"libraryName\\": \\"测试文档库\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '获取文档库详情',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'UploadDocument' => [
+ 'summary' => '上传文档至文档库,会对文档进行解析、分块、构建索引等一系列操作。',
+ 'path' => '/{workspaceId}/api/library/document/upload',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'data' => [
+ 'title' => '文档元数据',
+ 'description' => '文件元数据,可以用作召回时的筛选',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"cateogry\\": \\"报告\\"}',
+ ],
+ 'fileName' => [
+ 'title' => '完整文件名(包含后缀)',
+ 'description' => '完整文件名(包含后缀)。目前支持pdf, doc, docx, markdown, ppt, pptx。文件大小限制100MB,pdf, doc, docx, ppt, pptx文件页数限制500页。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test.pdf',
+ ],
+ 'fileUrl' => [
+ 'title' => '文件Oss地址',
+ 'description' => '文件Oss地址。如果文件为非公开读,fileUrl需要携带签名参数。'."\n"
+ ."\n"
+ .'如果使用sdk进行文件上传,可以直接上传文件,无需提供oss地址,具体参考sdk使用说明文档。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'https://oss-xxx.hangzhou.com/test.pdf',
+ 'isFileTransferUrl' => true,
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sjdhbcsj',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => '返回结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据',
+ 'type' => 'string',
+ 'example' => '1782981430906818562',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'ff3fef67-48d9-4379-a237-9ba8143fe739',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"1782981430906818562\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"ff3fef67-48d9-4379-a237-9ba8143fe739\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '上传文档',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetDocumentUrl' => [
+ 'summary' => '获取文档的下载链接,链接过期时间为1小时。',
+ 'path' => '/{workspaceId}/api/library/document/url',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'documentId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '12681367362',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据,为文档下载链接,链接过期时间为1小时。',
+ 'type' => 'string',
+ 'example' => 'https://path_to_file',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '66249B43-8C2B-5EE7-AE78-B382306621C6',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"https://path_to_file\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"66249B43-8C2B-5EE7-AE78-B382306621C6\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '获取文档的下载链接',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'PreviewDocument' => [
+ 'summary' => '预览文档,可获取文档的下载链接,文档类型、标题等信息,可用于文档预览。',
+ 'path' => '/{workspaceId}/api/library/document/preview',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间',
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'documentId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '8326472354762354',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DocumentPreviewVO>',
+ 'description' => 'ResultCode<DocumentPreviewVO>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '返回数据',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'previewType' => [
+ 'title' => '预览类型',
+ 'description' => '预览类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'uploadTime' => [
+ 'title' => '上传时间',
+ 'description' => '上传时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'url' => [
+ 'title' => '文档url',
+ 'description' => '文档url',
+ 'type' => 'string',
+ 'example' => 'https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'example' => 'ff551395-1c8a-4f30-8ffd-ef7e87c70b4c',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间',
+ 'description' => '时间',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"previewType\\": \\"pdf\\",\\n \\"title\\": \\"test\\",\\n \\"uploadTime\\": \\"2024-01-01 00:00:00\\",\\n \\"url\\": \\"https://agi.alicdn.com/user/d0o/d3c1f50d-a6c2-49b3-b0c8-3e613c3f20ee_16872_3236784461.png\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"ff551395-1c8a-4f30-8ffd-ef7e87c70b4c\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '预览文档',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetFilterDocumentList' => [
+ 'summary' => '获取文档列表(可按元信息过滤查询,也支持分页查询)。',
+ 'path' => '/{workspaceId}/api/library/filterDocument',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求body。',
+ 'type' => 'object',
+ 'properties' => [
+ 'and' => [
+ 'title' => 'and表达式,用于筛选文档/文档块',
+ 'description' => 'and表达式,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '一系列约束条件,为三元组,用“与”连接',
+ 'type' => 'object',
+ 'properties' => [
+ 'boost' => [
+ 'description' => 'value在文本召回引擎中的权重。默认是1。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'key' => [
+ 'description' => '文档库中,元信息的key',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'company',
+ ],
+ 'operator' => [
+ 'description' => '### 文档库元信息key存储的value和输入的value之间的关系'."\n"
+ .'- eq:文档库元信息key存储的value = 输入的value'."\n"
+ .'- contains:文档库元信息key存储的value列表 "包含" 您输入的value',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eq',
+ ],
+ 'value' => [
+ 'description' => '输入的元信息的值',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alibaba',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'docIdList' => [
+ 'title' => '文档id列表,用于筛选文档/文档块',
+ 'description' => '文档id列表,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '3553835752369972270',
+ ],
+ 'required' => false,
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id用于筛选文档/文档块',
+ 'description' => '文档库id用于筛选文档/文档块',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cjshcxxxx',
+ ],
+ 'or' => [
+ 'title' => 'or表达式,用于筛选文档/文档块',
+ 'description' => 'or表达式,用于筛选文档/文档块。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '一系列约束条件,为三元组,用“或”连接',
+ 'type' => 'object',
+ 'properties' => [
+ 'boost' => [
+ 'description' => 'value在文本召回引擎中的权重。默认是1。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'key' => [
+ 'description' => '文档库中,元信息的key',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'company',
+ ],
+ 'operator' => [
+ 'description' => '### 文档库元信息key存储的value和输入的value之间的关系'."\n"
+ .'- eq:文档库元信息key存储的value = 输入的value'."\n"
+ .'- contains:文档库元信息key存储的value列表 "包含" 您输入的value',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'contains',
+ ],
+ 'value' => [
+ 'description' => '输入的元信息的值',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'alibaba',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'page' => [
+ 'title' => '页码,用于分页',
+ 'description' => '页码,用于分页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '每页大小,用于分页',
+ 'description' => '每页大小,用于分页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ 'status' => [
+ 'title' => '文档状态,用于筛选文档',
+ 'description' => '文档状态列表,用于筛选文档。'."\n"
+ ."\n"
+ .'### 文档解析状态列表,'."\n"
+ .'*StatusCode:WaitRefresh、InQueue、FetchingData、Embedding、Completed、FormatError、Error*'."\n"
+ .'- Completed:可用,文档解析完毕。'."\n"
+ .'- Error:不可用,文档解析错误。'."\n"
+ .'- FormatError:文件格式错误。例如文件加密或不完整时需要重新上传正确格式的文件。'."\n"
+ .'- InQueue:待处理,文档待解析。'."\n"
+ .'- Parsed:已解析完成。'."\n"
+ .'- 其他状态:为系统内部状态,WaitRefresh任务被调度,FetchingData正在解析中,Embedding正在构建索引。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档状态,用于筛选文档。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Completed',
+ ],
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'Parsed' => 'Parsed',
+ 'InQueue' => 'InQueue',
+ 'WaitRefresh' => 'WaitRefresh',
+ 'FetchingData' => 'FetchingData',
+ 'Completed' => 'Completed',
+ 'Error' => 'Error',
+ 'Embedding' => 'Embedding',
+ 'FormatError' => 'FormatError',
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<PageVO<LibraryDocumentVO>>',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'currentPage' => [
+ 'title' => '当前页',
+ 'description' => '当前页',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '每页记录数',
+ 'description' => '每页记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'records' => [
+ 'title' => '记录',
+ 'description' => '记录',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '29368126816',
+ ],
+ 'documentMeta' => [
+ 'title' => '文档元数据',
+ 'description' => '文档元数据',
+ 'type' => 'object',
+ 'example' => '{"a": "1"}',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'gmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'gmtModified' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'libraryId' => [
+ 'title' => '文档所属库id',
+ 'description' => '文档所属库id',
+ 'type' => 'string',
+ 'example' => 'sdfgsjdfg',
+ ],
+ 'statusCode' => [
+ 'title' => '文档状态 (WaitRefresh: 等待刷新, InQueue: 待处理, FetchingData: 数据获取中, Embedding: 文档处理中, Error: 错误, Completed: 可用, Null: 未知)',
+ 'description' => '文档状态(WaitRefresh:等待刷新,InQueue:待处理,FetchingData:数据获取中,Embedding:文档处理中,Error:错误,Completed:可用,Null:未知)',
+ 'type' => 'string',
+ 'example' => 'WaitRefresh',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => '公司文档',
+ ],
+ 'url' => [
+ 'title' => '文档链接',
+ 'description' => '文档链接',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ 'totalPages' => [
+ 'title' => '总页数',
+ 'description' => '总页数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'totalRecords' => [
+ 'title' => '总记录数',
+ 'description' => '总记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '7ADF010C-FD89-569D-A079-2D4D5247E943',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"docId\\": \\"29368126816\\",\\n \\"documentMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"fileType\\": \\"pdf\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\",\\n \\"libraryId\\": \\"sdfgsjdfg\\",\\n \\"statusCode\\": \\"WaitRefresh\\",\\n \\"title\\": \\"公司文档\\",\\n \\"url\\": \\"null\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"7ADF010C-FD89-569D-A079-2D4D5247E943\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '按元信息过滤查询文档列表',
+ 'description' => '前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetDocumentList' => [
+ 'summary' => '获取文档库内文档列表,可分页查询,也根据文档状态进行过滤查询。',
+ 'path' => '/{workspaceId}/api/library/listDocument',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页数',
+ 'description' => '页数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档状态',
+ 'description' => '文档状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '即将可用',
+ ],
+ ],
+ [
+ 'name' => 'libraryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3akzl28vap',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<PageVO<LibraryDocumentVO>>',
+ 'description' => '返回结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'currentPage' => [
+ 'title' => '当前页',
+ 'description' => '当前页码(分页参数)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '每页记录数',
+ 'description' => '页面大小(分页参数)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'records' => [
+ 'title' => '记录',
+ 'description' => '记录',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '8326748346',
+ ],
+ 'documentMeta' => [
+ 'title' => '文档元数据',
+ 'description' => '文档元数据',
+ 'type' => 'object',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'gmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'gmtModified' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'libraryId' => [
+ 'title' => '文档所属库id',
+ 'description' => '文档所属库id',
+ 'type' => 'string',
+ 'example' => 'skjdhshbv',
+ ],
+ 'statusCode' => [
+ 'title' => '文档状态 (WaitRefresh: 等待刷新, InQueue: 待处理, FetchingData: 数据获取中, Embedding: 文档处理中, Error: 错误, Completed: 可用, Null: 未知)',
+ 'description' => '文档状态 (WaitRefresh: 等待刷新, InQueue: 待处理, FetchingData: 数据获取中, Embedding: 文档处理中, Error: 错误, Completed: 可用, Null: 未知)',
+ 'type' => 'string',
+ 'example' => 'WaitRefresh',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'url' => [
+ 'title' => '文档链接',
+ 'description' => '文档链接(该字段即将废弃),该值为空,如需要获取文档链接,可使用GetDocumentUrl获取该值。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ 'totalPages' => [
+ 'title' => '总页数',
+ 'description' => '总页数(分页参数)。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'totalRecords' => [
+ 'title' => '总记录数',
+ 'description' => '总记录数量。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"docId\\": \\"8326748346\\",\\n \\"documentMeta\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"fileType\\": \\"pdf\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\",\\n \\"libraryId\\": \\"skjdhshbv\\",\\n \\"statusCode\\": \\"WaitRefresh\\",\\n \\"title\\": \\"test\\",\\n \\"url\\": \\"null\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '获取文档列表',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'DeleteDocument' => [
+ 'summary' => '删除文档,删除后将无法查看原始文档,无法召回该文档。',
+ 'path' => '/{workspaceId}/api/library/document/delete',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx'."\n",
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docIds' => [
+ 'title' => '文档的id列表',
+ 'description' => '文档的id列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1782981430906818562',
+ ],
+ 'required' => true,
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3akzl28vap',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<Boolean>',
+ 'description' => 'ResultCode<Boolean>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据',
+ 'type' => 'boolean',
+ 'example' => 'True',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '67C7021A-D268-553D-8C15-A087B9604028',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"67C7021A-D268-553D-8C15-A087B9604028\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '删除文档',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'UpdateDocument' => [
+ 'summary' => '更新文档,用于更新文档的标题、元数据等信息。',
+ 'path' => '/{workspaceId}/api/library/document/updateDocument',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'abc123',
+ ],
+ 'meta' => [
+ 'title' => '文档meta数据',
+ 'description' => '文档meta数据',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "businessId": "12321"'."\n"
+ .' }',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => '返回结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"null\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '更新文档',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'CreatePredefinedDocument' => [
+ 'summary' => '根据业务场景灵活构建文档块。',
+ 'path' => '/{workspaceId}/api/library/document/createPredefinedDocument',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '路径参数,业务空间id',
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunks' => [
+ 'title' => '文档块列表',
+ 'description' => '文档块列表',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkMeta' => [
+ 'title' => '文档块元信息',
+ 'description' => '文档块元信息',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{"a": "1"}',
+ ],
+ 'chunkOrder' => [
+ 'title' => '顺序,可以不填',
+ 'description' => '顺序,可以不填',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '这是一段测试文本',
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型',
+ 'description' => '文档块类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ 'default' => 'text',
+ 'enum' => [
+ 'text',
+ 'table',
+ 'faq',
+ 'graph',
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'a1b2c3',
+ ],
+ 'metadata' => [
+ 'title' => '元数据',
+ 'description' => '元数据',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{"a": "1"}',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试文档',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '返回数据',
+ 'type' => 'string',
+ 'example' => '1782981430906818562',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '0a06dfe617018288881568684e2937',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"1782981430906818562\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0a06dfe617018288881568684e2937\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '创建预定义文档',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ ."\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetDocumentChunkList' => [
+ 'summary' => '获取文档块列表,可根据查询条件过滤。',
+ 'path' => '/{workspaceId}/api/library/getDocumentChunk',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkIdList' => [
+ 'title' => '文档块id列表',
+ 'description' => '文档块id列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档块id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '83648326438746',
+ ],
+ 'required' => false,
+ ],
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '182364872346',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dsjgfdjgfxxx',
+ ],
+ 'order' => [
+ 'title' => '排序方式',
+ 'description' => '排序方式',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'desc',
+ ],
+ 'orderBy' => [
+ 'title' => '排序字段',
+ 'description' => '排序字段',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'gmtCreate',
+ ],
+ 'page' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '每页大小',
+ 'description' => '每页大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ 'searchQuery' => [
+ 'title' => '搜索查询关键词',
+ 'description' => '搜索查询关键词',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<PageVO<ChunkModelVO>>',
+ 'description' => 'ResultCode<PageVO<ChunkModelVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'currentPage' => [
+ 'title' => '当前页',
+ 'description' => '当前页',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '每页记录数',
+ 'description' => '每页记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'records' => [
+ 'title' => '记录',
+ 'description' => '记录',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkId' => [
+ 'title' => '文档块id',
+ 'description' => '文档块id',
+ 'type' => 'string',
+ 'example' => '28377468263482764',
+ ],
+ 'chunkMeta' => [
+ 'title' => '文档块元数据',
+ 'description' => '文档块元数据',
+ 'type' => 'object',
+ 'example' => '{"a":"1"}',
+ ],
+ 'chunkOssUrl' => [
+ 'title' => '文档块oss地址',
+ 'description' => '文档块oss地址',
+ 'type' => 'string',
+ 'example' => 'oss-xxxx-hangzhou.com/test.pdf',
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'example' => '这是一段测试文本',
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型',
+ 'description' => '文档块类型',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'faq' => 'faq',
+ 'text' => 'text',
+ 'graph' => 'graph',
+ 'table' => 'table',
+ 'structure' => 'structure',
+ ],
+ 'example' => 'text',
+ ],
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '8947387648356',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => 'jhsdvne',
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ 'nextChunkId' => [
+ 'title' => '后一个文档块id',
+ 'description' => '后一个文档块id',
+ 'type' => 'string',
+ 'example' => '947538465',
+ ],
+ 'pos' => [
+ 'title' => '文档块位置',
+ 'description' => '文档块位置',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '版面的位置信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'axisArray' => [
+ 'title' => '坐标',
+ 'description' => '坐标',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '394.3',
+ ],
+ ],
+ 'page' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'textHighlightArea' => [
+ 'title' => '文本高亮区域,用于文本类型的文件高亮',
+ 'description' => '文本高亮区域,用于文本类型的文件高亮',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本高亮区域',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '38',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'preChunkId' => [
+ 'title' => '前一个文档块id',
+ 'description' => '前一个文档块id',
+ 'type' => 'string',
+ 'example' => '9848346548365',
+ ],
+ 'score' => [
+ 'title' => '文档块分数',
+ 'description' => '文档块分数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.5',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'totalPages' => [
+ 'title' => '总页数',
+ 'description' => '总页数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'totalRecords' => [
+ 'title' => '总记录数',
+ 'description' => '总记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"chunkId\\": \\"28377468263482764\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"oss-xxxx-hangzhou.com/test.pdf\\",\\n \\"chunkText\\": \\"这是一段测试文本\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"8947387648356\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"jhsdvne\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"947538465\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 394.3\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 38\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"9848346548365\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"test\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"2B8F6DC9-6FAF-576F-9095-CCD90FB2BDDF\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '获取文档块列表',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'RecallDocument' => [
+ 'summary' => '文档召回,可根据文本从文档库中召回文档块。并可设置召回文档块数量、也可根据元信息条件进行过滤,同时可选择是否进行文档块的补全。',
+ 'path' => '/{workspaceId}/api/library/recallDocument',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'filters' => [
+ 'title' => '元信息过滤条件',
+ 'description' => '元信息过滤条件',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '过滤',
+ 'type' => 'object',
+ 'properties' => [
+ 'and' => [
+ 'title' => 'and表达式,用于筛选文档/文档块',
+ 'description' => 'and表达式,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'and表达式',
+ 'type' => 'object',
+ 'properties' => [
+ 'boost' => [
+ 'description' => '关键词权重',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'key' => [
+ 'description' => '文档库中,元信息的key',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'docType',
+ ],
+ 'operator' => [
+ 'description' => '文档库元信息key存储的value和您输入的value之间的关系'."\n"
+ ."\n"
+ .'- eq: 文档库元信息key存储的value = 您输入的value'."\n"
+ .'- lte:文档库元信息key存储的value <= 您输入的value'."\n"
+ .'- gte:文档库元信息key存储的value >= 您输入的value'."\n"
+ .'- lt:文档库元信息key存储的value < 您输入的value'."\n"
+ .'- gt:文档库元信息key存储的value > 您输入的value'."\n"
+ .'- contains: 文档库元信息key存储的value列表 "包含" 您输入的value',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'contains',
+ ],
+ 'value' => [
+ 'description' => '输入的元信息的值',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '策略报告',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型 用于筛选文档块 (Text: *, Graph, Table, FAQ)',
+ 'description' => '文档块类型,用于筛选文档块,包括:Text、Graph、Table、FAQ',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Text',
+ ],
+ 'docIdList' => [
+ 'title' => '文档id列表,用于筛选文档/文档块',
+ 'description' => '文档id列表,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '8372458573692819933',
+ ],
+ 'required' => false,
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id用于筛选文档/文档块',
+ 'description' => '文档库id用于筛选文档/文档块',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sdbjhvs',
+ ],
+ 'or' => [
+ 'title' => 'or表达式,用于筛选文档/文档块',
+ 'description' => 'or表达式,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'or表达式',
+ 'type' => 'object',
+ 'properties' => [
+ 'boost' => [
+ 'description' => '关键词权重',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '30',
+ ],
+ 'key' => [
+ 'description' => '文档库中,元信息的key',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'researcher',
+ ],
+ 'operator' => [
+ 'description' => '文档库元信息key存储的value和您输入的value之间的关系'."\n"
+ ."\n"
+ .'- eq: 文档库元信息key存储的value = 您输入的value'."\n"
+ .'- lte:文档库元信息key存储的value <= 您输入的value'."\n"
+ .'- gte:文档库元信息key存储的value >= 您输入的value'."\n"
+ .'- lt:文档库元信息key存储的value < 您输入的value'."\n"
+ .'- gt:文档库元信息key存储的value > 您输入的value'."\n"
+ .'- contains: 文档库元信息key存储的value列表 "包含" 您输入的value',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eq',
+ ],
+ 'value' => [
+ 'description' => '输入的元信息的值',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'zhangsan',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'status' => [
+ 'title' => '文档状态,用于筛选文档',
+ 'description' => '文档状态列表,用于筛选文档',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档状态',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'WaitRefresh',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'query' => [
+ 'title' => '文本',
+ 'description' => '文本',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '欧洲杯历史上有哪些球队因为球员的适应新文化而受益',
+ ],
+ 'rearrangement' => [
+ 'title' => '是否开启父子文档块召回',
+ 'description' => '是否开启父子文档块召回。'."\n"
+ .'- 父子文档块:文档解析过程中,一个完整的语义块,比如一个自然段,一个小节,可能会被切分成多个文档块,这取决于您配置的切分策略。开启父子文档召回之后,系统会尝试补全召回文档块所属的语义块,这样在构造prompt时,可以使得语料的语义更加完整,进而提升答案的完整性和准确性。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'topK' => [
+ 'title' => '为召回文档块的数量',
+ 'description' => '为召回文档块的数量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<LibraryDocumentRecallVO>',
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '0',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkList' => [
+ 'title' => 'chunk列表',
+ 'description' => 'chunk列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'chunk',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkId' => [
+ 'title' => '文档块id',
+ 'description' => '文档块id',
+ 'type' => 'string',
+ 'example' => '823746762354',
+ ],
+ 'chunkMeta' => [
+ 'title' => '文档块元数据',
+ 'description' => '文档块元数据',
+ 'type' => 'object',
+ 'example' => '{"a":"1"}',
+ ],
+ 'chunkOssUrl' => [
+ 'title' => '文档块oss地址',
+ 'description' => '文档块oss地址',
+ 'type' => 'string',
+ 'example' => 'http://oss-xxx-hangzhou.com/xxx',
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'example' => '测试文档块',
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型',
+ 'description' => '文档块类型',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '839468263472',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => 'dscsbdsk',
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ 'nextChunkId' => [
+ 'title' => '后一个文档块id',
+ 'description' => '后一个文档块id',
+ 'type' => 'string',
+ 'example' => '982374872364',
+ ],
+ 'pos' => [
+ 'title' => '文档块位置',
+ 'description' => '文档块位置',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档块位置坐标',
+ 'type' => 'object',
+ 'properties' => [
+ 'axisArray' => [
+ 'title' => '坐标',
+ 'description' => '坐标',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20.8',
+ ],
+ ],
+ 'page' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'textHighlightArea' => [
+ 'title' => '文本高亮区域,用于文本类型的文件高亮',
+ 'description' => '文本高亮区域,用于文本类型的文件高亮',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本高亮区域数据',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'preChunkId' => [
+ 'title' => '前一个文档块id',
+ 'description' => '前一个文档块id',
+ 'type' => 'string',
+ 'example' => '827364827364832',
+ ],
+ 'score' => [
+ 'title' => '文档块分数',
+ 'description' => '文档块分数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.5',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'chunkPartList' => [
+ 'title' => 'chunk part(版面识别结果)列表',
+ 'description' => 'chunk part(版面识别结果)列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'chunk part(版面识别结果)',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkId' => [
+ 'title' => '文档块id',
+ 'description' => '文档块id',
+ 'type' => 'string',
+ 'example' => '98327482364',
+ ],
+ 'chunkMeta' => [
+ 'title' => '文档块元数据',
+ 'description' => '文档块元数据',
+ 'type' => 'object',
+ 'example' => '{"a":"1"}',
+ ],
+ 'chunkOssUrl' => [
+ 'title' => '文档块oss地址',
+ 'description' => '文档块oss地址',
+ 'type' => 'string',
+ 'example' => 'http://oss-xxx-hangzhou.com/xxx'."\n",
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'example' => '测试文档块'."\n",
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型',
+ 'description' => '文档块类型',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '92837482364',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => 'sjdhgjsd',
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ 'nextChunkId' => [
+ 'title' => '后一个文档块id',
+ 'description' => '后一个文档块id',
+ 'type' => 'string',
+ 'example' => '2387648263542',
+ ],
+ 'pos' => [
+ 'title' => '文档块位置',
+ 'description' => '文档块位置',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档块位置数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'axisArray' => [
+ 'title' => '坐标',
+ 'description' => '坐标',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标数值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '1',
+ ],
+ ],
+ 'page' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'textHighlightArea' => [
+ 'title' => '文本高亮区域,用于文本类型的文件高亮',
+ 'description' => '文本高亮区域,用于文本类型的文件高亮',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本高亮区域位置数据',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'preChunkId' => [
+ 'title' => '前一个文档块id',
+ 'description' => '前一个文档块id',
+ 'type' => 'string',
+ 'example' => '32874682764',
+ ],
+ 'score' => [
+ 'title' => '文档块分数',
+ 'description' => '文档块分数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.5',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => '测试文档标题',
+ ],
+ ],
+ ],
+ ],
+ 'chunkTextList' => [
+ 'title' => 'chunk text列表',
+ 'description' => 'chunk text列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档块',
+ 'type' => 'string',
+ 'example' => '这是一段测试文档块',
+ ],
+ ],
+ 'documents' => [
+ 'title' => '文档列表',
+ 'description' => '文档列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '92837482364',
+ ],
+ 'documentMeta' => [
+ 'title' => '文档元数据',
+ 'description' => '文档元数据',
+ 'type' => 'object',
+ 'example' => '{"a":"1"}'."\n",
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'gmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => 'sjdhgjsd'."\n",
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'url' => [
+ 'title' => '文档链接',
+ 'description' => '文档链接',
+ 'type' => 'string',
+ 'example' => 'http://oss-xxx-hangzhou.com/test.pdf',
+ ],
+ ],
+ ],
+ ],
+ 'embeddingElapsedMs' => [
+ 'title' => '向量计算耗时',
+ 'description' => '向量计算耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'textChunkList' => [
+ 'title' => '从文本索引召回的chunk列表',
+ 'description' => '从文本索引召回的chunk列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '从文本索引召回的chunk',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkId' => [
+ 'title' => '文档块id',
+ 'description' => '文档块id',
+ 'type' => 'string',
+ 'example' => '32874682364',
+ ],
+ 'chunkMeta' => [
+ 'title' => '文档块元数据',
+ 'description' => '文档块元数据',
+ 'type' => 'object',
+ 'example' => '{"a":"1"}'."\n",
+ ],
+ 'chunkOssUrl' => [
+ 'title' => '文档块oss地址',
+ 'description' => '文档块oss地址',
+ 'type' => 'string',
+ 'example' => 'http://oss-xxx-hangzhou.com/xxx'."\n",
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'example' => '这是一段测试文档块'."\n",
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型',
+ 'description' => '文档块类型',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '8372467263542',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => 'djsgfsjd',
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ 'nextChunkId' => [
+ 'title' => '后一个文档块id',
+ 'description' => '后一个文档块id',
+ 'type' => 'string',
+ 'example' => '23874682432',
+ ],
+ 'pos' => [
+ 'title' => '文档块位置',
+ 'description' => '文档块位置',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档块位置',
+ 'type' => 'object',
+ 'properties' => [
+ 'axisArray' => [
+ 'title' => '坐标',
+ 'description' => '坐标',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ 'page' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'textHighlightArea' => [
+ 'title' => '文本高亮区域,用于文本类型的文件高亮',
+ 'description' => '文本高亮区域,用于文本类型的文件高亮',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本高亮区域数据',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'preChunkId' => [
+ 'title' => '前一个文档块id',
+ 'description' => '前一个文档块id',
+ 'type' => 'string',
+ 'example' => '89473868346',
+ ],
+ 'score' => [
+ 'title' => '文档块分数',
+ 'description' => '文档块分数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.5',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => '测试文档标题',
+ ],
+ ],
+ ],
+ ],
+ 'textSearchElapsedMs' => [
+ 'title' => '文本搜索耗时',
+ 'description' => '文本搜索耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ 'totalElapsedMs' => [
+ 'title' => '总耗时 包括向量计算耗时、向量搜索耗时、文本搜索耗时等(取决于召回参数)',
+ 'description' => '总耗时 包括向量计算耗时、向量搜索耗时、文本搜索耗时等(取决于召回参数)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '400',
+ ],
+ 'vectorChunkList' => [
+ 'title' => '从向量索引召回的chunk列表',
+ 'description' => '从向量索引召回的chunk列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '从向量索引召回的chunk',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkId' => [
+ 'title' => '文档块id',
+ 'description' => '文档块id',
+ 'type' => 'string',
+ 'example' => '8723642345276',
+ ],
+ 'chunkMeta' => [
+ 'title' => '文档块元数据',
+ 'description' => '文档块元数据',
+ 'type' => 'object',
+ 'example' => '{"a":"1"}',
+ ],
+ 'chunkOssUrl' => [
+ 'title' => '文档块oss地址',
+ 'description' => '文档块oss地址',
+ 'type' => 'string',
+ 'example' => 'https://oss-xxxx-hangzhou.com/test.pdf',
+ ],
+ 'chunkText' => [
+ 'title' => '文档块文本',
+ 'description' => '文档块文本',
+ 'type' => 'string',
+ 'example' => '这是一段测试文本',
+ ],
+ 'chunkType' => [
+ 'title' => '文档块类型',
+ 'description' => '文档块类型',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'example' => '78326476235675372',
+ ],
+ 'fileType' => [
+ 'title' => '文档类型',
+ 'description' => '文档类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'example' => 'djsgfsjd',
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'example' => '测试文档库',
+ ],
+ 'nextChunkId' => [
+ 'title' => '后一个文档块id',
+ 'description' => '后一个文档块id',
+ 'type' => 'string',
+ 'example' => '293846872343',
+ ],
+ 'pos' => [
+ 'title' => '文档块位置',
+ 'description' => '文档块位置',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档块位置坐标',
+ 'type' => 'object',
+ 'properties' => [
+ 'axisArray' => [
+ 'title' => '坐标',
+ 'description' => '坐标',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '坐标值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '48.8',
+ ],
+ ],
+ 'page' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'textHighlightArea' => [
+ 'title' => '文本高亮区域,用于文本类型的文件高亮',
+ 'description' => '文本高亮区域,用于文本类型的文件高亮',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文本高亮区域',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'preChunkId' => [
+ 'title' => '前一个文档块id',
+ 'description' => '前一个文档块id',
+ 'type' => 'string',
+ 'example' => '873647326542',
+ ],
+ 'score' => [
+ 'title' => '文档块分数',
+ 'description' => '文档块分数',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '0.5',
+ ],
+ 'title' => [
+ 'title' => '文档标题',
+ 'description' => '文档标题',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ ],
+ 'vectorSearchElapsedMs' => [
+ 'title' => '向量搜索耗时',
+ 'description' => '向量搜索耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '0bc13a9517168617617186457e401f',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"chunkList\\": [\\n {\\n \\"chunkId\\": \\"823746762354\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"http://oss-xxx-hangzhou.com/xxx\\",\\n \\"chunkText\\": \\"测试文档块\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"839468263472\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"dscsbdsk\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"982374872364\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 20.8\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 1\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"827364827364832\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"test\\"\\n }\\n ],\\n \\"chunkPartList\\": [\\n {\\n \\"chunkId\\": \\"98327482364\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"http://oss-xxx-hangzhou.com/xxx\\\\n\\",\\n \\"chunkText\\": \\"测试文档块\\\\n\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"92837482364\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"sjdhgjsd\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"2387648263542\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 1\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 1\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"32874682764\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"测试文档标题\\"\\n }\\n ],\\n \\"chunkTextList\\": [\\n \\"这是一段测试文档块\\"\\n ],\\n \\"documents\\": [\\n {\\n \\"docId\\": \\"92837482364\\",\\n \\"documentMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"fileType\\": \\"pdf\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"libraryId\\": \\"sjdhgjsd\\\\n\\",\\n \\"title\\": \\"test\\",\\n \\"url\\": \\"http://oss-xxx-hangzhou.com/test.pdf\\"\\n }\\n ],\\n \\"embeddingElapsedMs\\": 100,\\n \\"textChunkList\\": [\\n {\\n \\"chunkId\\": \\"32874682364\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"http://oss-xxx-hangzhou.com/xxx\\\\n\\",\\n \\"chunkText\\": \\"这是一段测试文档块\\\\n\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"8372467263542\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"djsgfsjd\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"23874682432\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 10\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 1\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"89473868346\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"测试文档标题\\"\\n }\\n ],\\n \\"textSearchElapsedMs\\": 100,\\n \\"totalElapsedMs\\": 400,\\n \\"vectorChunkList\\": [\\n {\\n \\"chunkId\\": \\"8723642345276\\",\\n \\"chunkMeta\\": {\\n \\"a\\": \\"1\\"\\n },\\n \\"chunkOssUrl\\": \\"https://oss-xxxx-hangzhou.com/test.pdf\\",\\n \\"chunkText\\": \\"这是一段测试文本\\",\\n \\"chunkType\\": \\"text\\",\\n \\"docId\\": \\"78326476235675372\\",\\n \\"fileType\\": \\"pdf\\",\\n \\"libraryId\\": \\"djsgfsjd\\",\\n \\"libraryName\\": \\"测试文档库\\",\\n \\"nextChunkId\\": \\"293846872343\\",\\n \\"pos\\": [\\n {\\n \\"axisArray\\": [\\n 48.8\\n ],\\n \\"page\\": 1,\\n \\"textHighlightArea\\": [\\n 10\\n ]\\n }\\n ],\\n \\"preChunkId\\": \\"873647326542\\",\\n \\"score\\": 0.5,\\n \\"title\\": \\"test\\"\\n }\\n ],\\n \\"vectorSearchElapsedMs\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0bc13a9517168617617186457e401f\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '文档召回',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetParseResult' => [
+ 'summary' => '获取文档解析结果。可查询文档的解析状态以及获取文档的解析结果。',
+ 'path' => '/{workspaceId}/api/library/document/getParseResult',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求body。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '873648346573245',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sjdgdsfg',
+ ],
+ 'useUrlResult' => [
+ 'description' => '是否以URL形式返回结果。为true时,返回的解析结果在resultUrl中,result为空。为false时,返回的解析结果在result中,resultUrl为空。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DocumentParseResultVO>',
+ 'description' => 'ResultCode<DocumentParseResultVO>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'fileType' => [
+ 'title' => '文件类型',
+ 'description' => '文件类型',
+ 'type' => 'string',
+ 'example' => 'pdf',
+ ],
+ 'providerType' => [
+ 'title' => '供应商类型',
+ 'description' => '供应商类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'b0a202e2-5031-4589-a6d7-39185f0d8d01',
+ ],
+ 'result' => [
+ 'title' => '解析结果',
+ 'description' => '解析结果',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "Status": "Success",'."\n"
+ .' "Data": {},'."\n"
+ .' "Message": null,'."\n"
+ .' "TaskId": "docmind-20240601-123abc"'."\n"
+ .' }',
+ ],
+ 'status' => [
+ 'title' => '文档解析状态',
+ 'description' => '文档解析状态',
+ 'type' => 'string',
+ 'example' => 'WaitRefresh',
+ ],
+ 'resultUrl' => [
+ 'description' => '以URL形式返回的解析结果,可直接下载。注意:仅pdf、doc、docx、ppt、pptx类型文件会有解析结果。',
+ 'type' => 'string',
+ 'example' => 'https://xxx.oss-cn-beijing.aliyuncs.com/library/3mjeoywx7z/1826661605606129665.json',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '0abb793617204049360065953ec6dd',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"fileType\\": \\"pdf\\",\\n \\"providerType\\": \\"null\\",\\n \\"requestId\\": \\"b0a202e2-5031-4589-a6d7-39185f0d8d01\\",\\n \\"result\\": {\\n \\"Status\\": \\"Success\\",\\n \\"Data\\": {},\\n \\"Message\\": null,\\n \\"TaskId\\": \\"docmind-20240601-123abc\\"\\n },\\n \\"status\\": \\"WaitRefresh\\",\\n \\"resultUrl\\": \\"https://xxx.oss-cn-beijing.aliyuncs.com/library/3mjeoywx7z/1826661605606129665.json\\"\\n },\\n \\"requestId\\": \\"0abb793617204049360065953ec6dd\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '获取文档解析结果',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'ReIndex' => [
+ 'summary' => '重建索引,会对指定文档重新进行文档解析、分块、构建索引等流程。',
+ 'path' => '/{workspaceId}/api/library/document/reIndex',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间',
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'documentId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '8326472354762354',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<ResultCodeEnum>',
+ 'description' => '返回结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'string',
+ 'example' => 'True',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '32FFC91D-0A9F-585A-B84F-8A54C5187035',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"True\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"32FFC91D-0A9F-585A-B84F-8A54C5187035\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '重建索引',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'UpdateLibrary' => [
+ 'summary' => '更新文档库,可用于更新文档库的名称、描述、索引配置等信息。',
+ 'path' => '/{workspaceId}/api/library/update',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '文档库描述',
+ 'description' => '文档库描述',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '文档库描述',
+ ],
+ 'indexSetting' => [
+ 'title' => '文档库索引配置',
+ 'description' => '文档库索引配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'chunkStrategy' => [
+ 'title' => '分块策略',
+ 'description' => '分块策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'docTreeSplit' => [
+ 'title' => '版面切分',
+ 'description' => '版面切分',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'docTreeSplitSize' => [
+ 'title' => '版面切分大小',
+ 'description' => '版面切分大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '160',
+ ],
+ 'enhanceGraph' => [
+ 'title' => '是否增强图片',
+ 'description' => '是否增强图片',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enhanceTable' => [
+ 'title' => '是否增强表格',
+ 'description' => '是否增强表格',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'overlap' => [
+ 'title' => 'chunk重叠长度',
+ 'description' => 'chunk重叠长度',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ 'sentenceSplit' => [
+ 'title' => '按句子切分',
+ 'description' => '是否按照句子切分:默认为true',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'sentenceSplitSize' => [
+ 'title' => '版面切分大小',
+ 'description' => '按照句子切分的平均长度',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '160',
+ ],
+ 'size' => [
+ 'title' => 'chunk大小',
+ 'description' => '定长切分的chunk长度',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '256',
+ ],
+ 'split' => [
+ 'title' => '是否切块',
+ 'description' => '是否切块',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'modelConfig' => [
+ 'title' => '模型配置',
+ 'description' => '模型配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'temperature' => [
+ 'title' => '温度',
+ 'description' => '温度',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.8',
+ ],
+ 'topP' => [
+ 'title' => 'topP',
+ 'description' => 'topP',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.8',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'promptRoleStyle' => [
+ 'title' => 'prompt角色风格',
+ 'description' => 'prompt角色风格',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你是一位文档分析专家,非常善于从给定的知识中,找到重点,像老师给学生讲课一样把问题回答清晰。你的回答富有逻辑性,遇到复杂问题,你善于一步一步思考。',
+ ],
+ 'queryEnhancer' => [
+ 'title' => 'query增强',
+ 'description' => 'query增强',
+ 'type' => 'object',
+ 'properties' => [
+ 'enableFollowUp' => [
+ 'title' => '多轮增强',
+ 'description' => '多轮增强',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableMultiQuery' => [
+ 'title' => '是否利用大模型知识拆解问题',
+ 'description' => '是否利用大模型知识拆解问题',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableOpenQa' => [
+ 'title' => '是否利用大模型知识回答问题',
+ 'description' => '是否利用大模型知识回答问题',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableQueryRewrite' => [
+ 'title' => '是否根据领域知识改写问题',
+ 'description' => '是否根据领域知识改写问题',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'enableSession' => [
+ 'title' => '记录session',
+ 'description' => '记录session',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'localKnowledgeId' => [
+ 'title' => '知识改写使用的文档库id',
+ 'description' => '知识改写使用的文档库id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sjdhgfc',
+ ],
+ 'withDocumentReference' => [
+ 'title' => '是否带文档引用',
+ 'description' => '是否带文档引用',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'recallStrategy' => [
+ 'title' => '召回策略',
+ 'description' => '召回策略',
+ 'type' => 'object',
+ 'properties' => [
+ 'documentRankType' => [
+ 'title' => '合并&排序策略',
+ 'description' => '合并&排序策略',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'model' => '使用BGE进行排序',
+ 'llm' => '使用大模型进行排序',
+ ],
+ 'example' => 'model',
+ ],
+ 'limit' => [
+ 'title' => '两路合并总结的结果数',
+ 'description' => '两路合并总结的结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'textIndexSetting' => [
+ 'title' => '文本索引设置',
+ 'description' => '文本索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '文本索引类型',
+ 'description' => '文本索引类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ElasticSearch',
+ 'pattern' => '^ElasticSearch$',
+ 'default' => 'ElasticSearch',
+ ],
+ 'enable' => [
+ 'title' => '文本索引是否开启',
+ 'description' => '文本索引是否开启',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'indexAnalyzer' => [
+ 'title' => '文本索引索引分析器: (Standard: *, IkMaxWord, Whitespace, IkSmart)',
+ 'description' => '文本索引的索引分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Standard',
+ ],
+ 'rankThreshold' => [
+ 'title' => '文本索引排序阈值',
+ 'description' => '文本索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ 'searchAnalyzer' => [
+ 'title' => '文本索引搜索分析器: (Standard: *, IkMaxWord, Whitespace, IkSmart)',
+ 'description' => '文本索引的搜索分析器: (Standard, IkMaxWord, IkSmart)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Standard',
+ ],
+ 'topK' => [
+ 'title' => '文本索引最后总结结果数',
+ 'description' => '文本索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'vectorIndexSetting' => [
+ 'title' => '向量索引设置',
+ 'description' => '向量索引设置',
+ 'type' => 'object',
+ 'properties' => [
+ 'category' => [
+ 'title' => '向量索引来源:建议填写 ADB',
+ 'description' => '向量索引来源:建议填写 ADB',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ADB',
+ 'pattern' => '^ADB$',
+ 'default' => 'ADB',
+ ],
+ 'embeddingType' => [
+ 'title' => '向量索引文本Embedding模型',
+ 'description' => '向量索引文本Embedding模型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'DashScope',
+ ],
+ 'enable' => [
+ 'title' => '是否开启',
+ 'description' => '是否开启',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'rankThreshold' => [
+ 'title' => '向量索引排序阈值',
+ 'description' => '向量索引排序阈值',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ 'topK' => [
+ 'title' => '向量索引最后总结结果数',
+ 'description' => '向量索引最后总结结果数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dsfbashdbb',
+ ],
+ 'libraryName' => [
+ 'title' => '文档库名称',
+ 'description' => '文档库名称',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '测试文档库',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"null\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '更新文档库',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'DeleteLibrary' => [
+ 'summary' => '删除文档库,注意⚠️,此接口将会删除文档库及其关联的所有文档。',
+ 'path' => '/{workspaceId}/api/library/delete',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间',
+ 'description' => '业务空间',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'libraryId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'skdfefxxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'description' => '返回数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '30F6AD44-F078-540D-B5A5-1E519C8E9E6D',
+ ],
+ 'success' => [
+ 'title' => '请求是否成功',
+ 'description' => '请求是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"30F6AD44-F078-540D-B5A5-1E519C8E9E6D\\",\\n \\"success\\": true\\n}","type":"json"}]',
+ 'title' => '删除文档库',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'RunLibraryChatGeneration' => [
+ 'summary' => '文档库会话生成,用自然语言提问,检索文档库相关信息,总结回答。',
+ 'path' => '/{workspaceId}/api/run/library/chat/generation',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docIdList' => [
+ 'title' => '文档列表',
+ 'description' => '文档id列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1273827636xxx',
+ ],
+ 'required' => false,
+ ],
+ 'enableFollowUp' => [
+ 'title' => '是否开启多轮增强',
+ 'description' => '是否开启多轮增强',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'enableMultiQuery' => [
+ 'title' => '是否开启query拆分',
+ 'description' => '是否开启query拆分',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'enableOpenQa' => [
+ 'title' => '是否开启openQA',
+ 'description' => '是否开启openQA',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'followUpLlm' => [
+ 'title' => 'query多轮增强使用的llm',
+ 'description' => 'query多轮增强使用的llm',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'qwen-max',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3akzl28vap',
+ ],
+ 'llmType' => [
+ 'title' => '大模型类型',
+ 'description' => '大模型类型',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qwen-max',
+ ],
+ 'multiQueryLlm' => [
+ 'title' => 'query拆分使用的llm',
+ 'description' => 'query拆分使用的llm',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'qwen-max',
+ ],
+ 'query' => [
+ 'title' => '用户输入的query',
+ 'description' => '用户输入的query',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '这两天北京气候怎么样',
+ ],
+ 'queryCriteria' => [
+ 'title' => '属性过滤器',
+ 'description' => '属性过滤器',
+ 'type' => 'object',
+ 'properties' => [
+ 'and' => [
+ 'title' => 'and表达式,用于筛选文档/文档块',
+ 'description' => 'and表达式,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'and表达式的内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'boost' => [
+ 'title' => '标签的权重',
+ 'description' => '标签的权重。当该值小于1时,则降低对应关键词的权重;反之,大于1时,增大对应关键词的权重。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ 'key' => [
+ 'title' => '标签的key',
+ 'description' => '标签的key',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'city',
+ ],
+ 'operator' => [
+ 'title' => '标签的操作符:文档库元信息key存储的value和您输入的value之间的关系',
+ 'description' => '标签的操作符:文档库元信息key存储的value和您输入的value之间的关系'."\n"
+ ."\n"
+ .'- eq: 文档库元信息key存储的value = 您输入的value'."\n"
+ .'- lte:文档库元信息key存储的value <= 您输入的value'."\n"
+ .'- gte:文档库元信息key存储的value >= 您输入的value'."\n"
+ .'- lt:文档库元信息key存储的value < 您输入的value'."\n"
+ .'- gt:文档库元信息key存储的value > 您输入的value',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eq',
+ ],
+ 'value' => [
+ 'title' => '标签的值',
+ 'description' => '标签的值',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '北京',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'or' => [
+ 'title' => 'or表达式,用于筛选文档/文档块',
+ 'description' => 'or表达式,用于筛选文档/文档块',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'or表达式的内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'boost' => [
+ 'title' => '标签的权重',
+ 'description' => '标签的权重。当该值小于1时,则降低对应关键词的权重;反之,大于1时,增大对应关键词的权重。',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'required' => false,
+ 'example' => '0.5',
+ ],
+ 'key' => [
+ 'title' => '标签的key',
+ 'description' => '标签的key',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'city',
+ ],
+ 'operator' => [
+ 'title' => '标签的操作符:文档库元信息key存储的value和您输入的value之间的关系',
+ 'description' => '标签的操作符:文档库元信息key存储的value和您输入的value之间的关系'."\n"
+ ."\n"
+ .'- eq: 文档库元信息key存储的value = 您输入的value'."\n"
+ .'- lte:文档库元信息key存储的value <= 您输入的value'."\n"
+ .'- gte:文档库元信息key存储的value >= 您输入的value'."\n"
+ .'- lt:文档库元信息key存储的value < 您输入的value'."\n"
+ .'- gt:文档库元信息key存储的value > 您输入的value',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eq',
+ ],
+ 'value' => [
+ 'title' => '标签的值',
+ 'description' => '标签的值',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '北京',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'rerankType' => [
+ 'title' => '排序策略类型:linear/model (linear: 基于规则排序, model: 模型排序, llm)',
+ 'description' => '排序策略类型:linear/model (linear: 基于规则排序, model: 模型排序, llm)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'linear',
+ ],
+ 'sessionId' => [
+ 'title' => 'sessionId',
+ 'description' => 'sessionId',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'stream' => [
+ 'title' => '流式/非流式',
+ 'description' => '流式/非流式',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'subQueryList' => [
+ 'title' => '子查询query',
+ 'description' => '子查询query列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子查询query',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '北京最近气温如何?',
+ ],
+ 'required' => false,
+ ],
+ 'textSearchParameter' => [
+ 'title' => '搜索引擎参数--文本搜索参数',
+ 'description' => '搜索引擎参数--文本搜索参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'limit' => [
+ 'title' => '返回行数',
+ 'description' => '返回行数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ 'searchAnalyzerType' => [
+ 'title' => '搜索分词器,根据业务需求灵活配置,如果留空,使用文档库绑定的搜索分词器',
+ 'description' => '搜索分词器(Standard, IkMaxWord, IkSmart),根据业务需求灵活配置,如果留空,使用文档库绑定的搜索分词器。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'IkMaxWord',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'topK' => [
+ 'title' => '最终召回的语料数量',
+ 'description' => '最终召回的语料数量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'vectorSearchParameter' => [
+ 'title' => '搜索引擎参数--向量搜索参数',
+ 'description' => '搜索引擎参数--向量搜索参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'limit' => [
+ 'title' => '返回行数',
+ 'description' => '返回行数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'withDocumentReference' => [
+ 'title' => '是否返回文档引用',
+ 'description' => '是否返回文档引用',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<Object>',
+ 'description' => 'ResultCode<Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据(非流式)。',
+ 'type' => 'any',
+ 'example' => '{'."\n"
+ .' "finish":true,'."\n"
+ .' "text":"是的,记名预付卡的有效期不得低于3年。",'."\n"
+ .' "message": "是的,记名预付卡的有效期不得低于3年。",'."\n"
+ .' "queryResult":{'."\n"
+ .' "errCode": "0", //接口协议层面的错误码,正常为0,未授权,参数错误,服务器异常时会发生变化,可以忽略不处理'."\n"
+ .' "message": "ok", //接口协议层面的消息'."\n"
+ .' "data":{'."\n"
+ .' "success": true, //有回答true 无回答false'."\n"
+ .' "answer": null, //大模型生成的回答结果'."\n"
+ .' "embeddingElapsedMs": 127,'."\n"
+ .' "vectorSearchElapsedMs": 2745,'."\n"
+ .' "llmElapsedMs": 7911,'."\n"
+ .' "totalElapsedMs": 10820,'."\n"
+ .' "chunks": [ //召回的分块信息,一般为top5或top10,可联系我们调整效果'."\n"
+ .' {'."\n"
+ .' "chunkId": "470182177892469799", //分块信息的编号'."\n"
+ .' "docId": "22666332", //分块关联的文档编号'."\n"
+ .' "chunkText": "Profits plummeted in the first quarter, can\'t you bear it? In fact, previous rounds of price cuts have indeed had a certain impact on Tesla\'s financial data. Tesla has just released its financial report for the first quarter of this year. The data shows that in Q1 2023, Tesla achieved revenue of 23.33 billion US dollars, an increase of 24% over the previous year; Tesla delivered more than 422,000 electric vehicles worldwide in the first quarter, an increase of 36% over the previous year", //新闻原始内容'."\n"
+ .' "chunkMeta": { // demo数据中的其他metadata'."\n"
+ .' "language": "en",'."\n"
+ .' "unique_id": "news_22666332_13",'."\n"
+ .' "content_type": "news",'."\n"
+ .' "stock_id_list": []'."\n"
+ .' }'."\n"
+ .' }],'."\n"
+ .' "documents": [{'."\n"
+ .' "docId": "1686637056086872065", //文档编号'."\n"
+ .' "gmtCreate": "2023-08-02 15:16:25", //文档的创建时间'."\n"
+ .' "libraryId": "a1b2c3", //文档关联的知识库编号'."\n"
+ .' "title": "2023年工银信用卡微信、京东绑卡消费累计积分活动", //文档标题'."\n"
+ .' "url": null //文档连接,如有'."\n"
+ .' }] //块文本关联的文档'."\n"
+ .' },'."\n"
+ .' "success": true //接口协议层面的成功/失败状态 true就是errCode为0'."\n"
+ .' }'."\n"
+ .' }',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"{\\\\n \\\\\\"finish\\\\\\":true,\\\\n \\\\\\"text\\\\\\":\\\\\\"是的,记名预付卡的有效期不得低于3年。\\\\\\",\\\\n \\\\\\"message\\\\\\": \\\\\\"是的,记名预付卡的有效期不得低于3年。\\\\\\",\\\\n \\\\\\"queryResult\\\\\\":{\\\\n \\\\\\"errCode\\\\\\": \\\\\\"0\\\\\\",\\\\t//接口协议层面的错误码,正常为0,未授权,参数错误,服务器异常时会发生变化,可以忽略不处理\\\\n \\\\\\"message\\\\\\": \\\\\\"ok\\\\\\",\\\\t//接口协议层面的消息\\\\n \\\\\\"data\\\\\\":{\\\\n \\\\\\"success\\\\\\": true,\\\\t//有回答true 无回答false\\\\n \\\\\\"answer\\\\\\": null,\\\\t//大模型生成的回答结果\\\\n \\\\\\"embeddingElapsedMs\\\\\\": 127,\\\\n \\\\\\"vectorSearchElapsedMs\\\\\\": 2745,\\\\n \\\\\\"llmElapsedMs\\\\\\": 7911,\\\\n \\\\\\"totalElapsedMs\\\\\\": 10820,\\\\n \\\\\\"chunks\\\\\\": [\\\\t//召回的分块信息,一般为top5或top10,可联系我们调整效果\\\\n {\\\\n \\\\\\"chunkId\\\\\\": \\\\\\"470182177892469799\\\\\\",\\\\t//分块信息的编号\\\\n \\\\\\"docId\\\\\\": \\\\\\"22666332\\\\\\",\\\\t//分块关联的文档编号\\\\n \\\\\\"chunkText\\\\\\": \\\\\\"Profits plummeted in the first quarter, can\'t you bear it? In fact, previous rounds of price cuts have indeed had a certain impact on Tesla\'s financial data. Tesla has just released its financial report for the first quarter of this year. The data shows that in Q1 2023, Tesla achieved revenue of 23.33 billion US dollars, an increase of 24% over the previous year; Tesla delivered more than 422,000 electric vehicles worldwide in the first quarter, an increase of 36% over the previous year\\\\\\",\\\\t//新闻原始内容\\\\n \\\\\\"chunkMeta\\\\\\": {\\\\t// demo数据中的其他metadata\\\\n \\\\\\"language\\\\\\": \\\\\\"en\\\\\\",\\\\n \\\\\\"unique_id\\\\\\": \\\\\\"news_22666332_13\\\\\\",\\\\n \\\\\\"content_type\\\\\\": \\\\\\"news\\\\\\",\\\\n \\\\\\"stock_id_list\\\\\\": []\\\\n }\\\\n }],\\\\n \\\\\\"documents\\\\\\": [{\\\\n \\\\\\"docId\\\\\\": \\\\\\"1686637056086872065\\\\\\",\\\\t//文档编号\\\\n \\\\\\"gmtCreate\\\\\\": \\\\\\"2023-08-02 15:16:25\\\\\\",\\\\t//文档的创建时间\\\\n \\\\\\"libraryId\\\\\\": \\\\\\"a1b2c3\\\\\\",\\\\t//文档关联的知识库编号\\\\n \\\\\\"title\\\\\\": \\\\\\"2023年工银信用卡微信、京东绑卡消费累计积分活动\\\\\\",\\\\t//文档标题\\\\n \\\\\\"url\\\\\\": null\\\\t//文档连接,如有\\\\n }]\\\\t//块文本关联的文档\\\\n },\\\\n \\\\\\"success\\\\\\": true\\\\t//接口协议层面的成功/失败状态 true就是errCode为0\\\\n }\\\\n }\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '文档库会话生成',
+ 'responseParamsDescription' => '## 流式接口返回说明'."\n"
+ .'### 根据历史对话改写结果'."\n"
+ .'```json'."\n"
+ .'{'."\n"
+ .' "success": true,'."\n"
+ .' "dataType": "copilotStep",'."\n"
+ .' "time": "2024-08-26 11:28:10",'."\n"
+ .' "errCode": "0",'."\n"
+ .' "message": "ok",'."\n"
+ .' "data": {'."\n"
+ .' "stepName": "start_followup_query", // 开始改写'."\n"
+ .' "data": "业绩表现如何"'."\n"
+ .' },'."\n"
+ .' "requestId": null,'."\n"
+ .' "cost": null'."\n"
+ .'}'."\n"
+ ."\n\n"
+ .'{'."\n"
+ .' "success": true,'."\n"
+ .' "dataType": "copilotStep",'."\n"
+ .' "time": "2024-08-26 11:28:10",'."\n"
+ .' "errCode": "0",'."\n"
+ .' "message": "ok",'."\n"
+ .' "data": {'."\n"
+ .' "stepName": "completed_followup_query", // 完成改写'."\n"
+ .' "data": "业绩表现如何"'."\n"
+ .' },'."\n"
+ .' "requestId": null,'."\n"
+ .' "cost": null'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ .'### query分解'."\n"
+ .'```json'."\n"
+ .'{'."\n"
+ .' "success": true,'."\n"
+ .' "dataType": "copilotStep",'."\n"
+ .' "time": "2024-08-26 11:28:10",'."\n"
+ .' "errCode": "0",'."\n"
+ .' "message": "ok",'."\n"
+ .' "data": {'."\n"
+ .' "stepName": "start_understand_query", // 开始拆分'."\n"
+ .' "data": "业绩表现如何"'."\n"
+ .' },'."\n"
+ .' "requestId": null,'."\n"
+ .' "cost": null'."\n"
+ .'}'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "success": true,'."\n"
+ .' "dataType": "copilotStep",'."\n"
+ .' "time": "2024-08-26 11:28:12",'."\n"
+ .' "errCode": "0",'."\n"
+ .' "message": "ok",'."\n"
+ .' "data": {'."\n"
+ .' "stepName": "completed_understand_query", // 完成拆分'."\n"
+ .' "data": ['."\n"
+ .' "业绩表现的具体时间段是什么?",'."\n"
+ .' "是指哪一行业的业绩表现,或者哪个公司的业绩表现?",'."\n"
+ .' "业绩表现的数据指标有哪些?例如营收、利润、市场份额等。"'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "requestId": null,'."\n"
+ .' "cost": null'."\n"
+ .'}'."\n"
+ ."\n"
+ .'```'."\n"
+ ."\n"
+ .'### 召回结果'."\n"
+ .'```json'."\n"
+ .'{'."\n"
+ .' "success": true,'."\n"
+ .' "dataType": "queryResult",'."\n"
+ .' "time": "2023-09-20 16:36:04",'."\n"
+ .' "errCode": "0",'."\n"
+ .' "message": "retriever completed",'."\n"
+ .' "data": {'."\n"
+ .' "success": true,'."\n"
+ .' "answer": null,'."\n"
+ .' "prompt": "请使用以下上下文来回答最后的问题。\\n以下是上下文内容:\\n回,本办法另有规定的除外。不记名预付卡有效期不得低于3年。\\n预付卡不得具有透支功能。\\n发卡机构发行销售预付卡时,应向持卡人告知预付卡的有效 期及计算方法。超过有效期尚有资金余额的预付卡,发卡机构应 当提供延期、激活、换卡等服务,保障持卡人继续使用。\\n第九条预付卡卡面应当记载预付卡名称、发卡机构名称、 是否记名、卡号、有效期限或有效期截止日、持卡人注意事项、 客户服务电话等要素。\\n第十条个人或单位购买记名预付卡或一次性购买不记名预 付卡1万元以上的,应当使用实名并提供有效身份证件。\\n发卡机构应当识别购卡人、单位经办人的身份,\\n\\n息。\\n对于记名预付卡,发卡机构还应当在预付卡核心业务处理系 统中记载持卡人的有效身份证件信息、预付卡卡号、金额等信息。\\n第十二条单位一次性购买预付卡5000元以上,个人一次性购 买预付卡5万元以上的,应当通过银行转账等非现金结算方式购 买,不得使用现金。\\n购卡人不得使用信用卡购买预付卡。\\n第十三条采用银行转账等非现金结算方式购买预付卡的, 付款人银行账户名称和购卡人名称应当一致。\\n发卡机构应当核对账户信息和身份信息的一致性,在预付卡 核心业务处理系统中记载付款人银行账户名称和账号、收款人银 行账户名称和账号、转账金额等信息。\\n第十四\\n\\n\\n\\n基于上下文理解作出回答,保持回答尽可能简洁。如果你不知道答案,直接回答我不知道。\\n问题:记名预付卡有效期不得低于3年吗?\\n答案:",'."\n"
+ .' "embeddingElapsedMs": 1423,'."\n"
+ .' "vectorSearchElapsedMs": 115,'."\n"
+ .' "textSearchElapsedMs": 0,'."\n"
+ .' "llmElapsedMs": null,'."\n"
+ .' "totalElapsedMs": 1626,'."\n"
+ .' "reRankElapsedMs": 8,'."\n"
+ .' "chunks": ['."\n"
+ .' {'."\n"
+ .' "libraryId": "5rdxr3dxmk",'."\n"
+ .' "libraryName": "富滇银行测试知识库",'."\n"
+ .' "title": "《支付机构预付卡业务管理办法》(中国人民银行公告〔2012〕第12号)",'."\n"
+ .' "chunkId": "478245189908103170",'."\n"
+ .' "docId": "1701838553380655106",'."\n"
+ .' "chunkText": "回,本办法另有规定的除外。不记名预付卡有效期不得低于3年。\\n预付卡不得具有透支功能。\\n发卡机构发行销售预付卡时,应向持卡人告知预付卡的有效 期及计算方法。超过有效期尚有资金余额的预付卡,发卡机构应 当提供延期、激活、换卡等服务,保障持卡人继续使用。\\n第九条预付卡卡面应当记载预付卡名称、发卡机构名称、 是否记名、卡号、有效期限或有效期截止日、持卡人注意事项、 客户服务电话等要素。\\n第十条个人或单位购买记名预付卡或一次性购买不记名预 付卡1万元以上的,应当使用实名并提供有效身份证件。\\n发卡机构应当识别购卡人、单位经办人的身份,",'."\n"
+ .' "fileType": "pdf",'."\n"
+ .' "chunkMeta": {},'."\n"
+ .' "score": 0.92747295'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "libraryId": "5rdxr3dxmk",'."\n"
+ .' "libraryName": "富滇银行测试知识库",'."\n"
+ .' "title": "《支付机构预付卡业务管理办法》(中国人民银行公告〔2012〕第12号)",'."\n"
+ .' "chunkId": "478245189908234242",'."\n"
+ .' "docId": "1701838553380655106",'."\n"
+ .' "chunkText": "息。\\n对于记名预付卡,发卡机构还应当在预付卡核心业务处理系 统中记载持卡人的有效身份证件信息、预付卡卡号、金额等信息。\\n第十二条单位一次性购买预付卡5000元以上,个人一次性购 买预付卡5万元以上的,应当通过银行转账等非现金结算方式购 买,不得使用现金。\\n购卡人不得使用信用卡购买预付卡。\\n第十三条采用银行转账等非现金结算方式购买预付卡的, 付款人银行账户名称和购卡人名称应当一致。\\n发卡机构应当核对账户信息和身份信息的一致性,在预付卡 核心业务处理系统中记载付款人银行账户名称和账号、收款人银 行账户名称和账号、转账金额等信息。\\n第十四",'."\n"
+ .' "fileType": "pdf",'."\n"
+ .' "chunkMeta": {},'."\n"
+ .' "score": 0.8335201'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "vectorChunks": ['."\n"
+ .' {'."\n"
+ .' "libraryId": "5rdxr3dxmk",'."\n"
+ .' "libraryName": null,'."\n"
+ .' "title": null,'."\n"
+ .' "chunkId": "478245189908103170",'."\n"
+ .' "docId": "1701838553380655106",'."\n"
+ .' "chunkText": "回,本办法另有规定的除外。不记名预付卡有效期不得低于3年。\\n预付卡不得具有透支功能。\\n发卡机构发行销售预付卡时,应向持卡人告知预付卡的有效 期及计算方法。超过有效期尚有资金余额的预付卡,发卡机构应 当提供延期、激活、换卡等服务,保障持卡人继续使用。\\n第九条预付卡卡面应当记载预付卡名称、发卡机构名称、 是否记名、卡号、有效期限或有效期截止日、持卡人注意事项、 客户服务电话等要素。\\n第十条个人或单位购买记名预付卡或一次性购买不记名预 付卡1万元以上的,应当使用实名并提供有效身份证件。\\n发卡机构应当识别购卡人、单位经办人的身份,",'."\n"
+ .' "fileType": null,'."\n"
+ .' "chunkMeta": {},'."\n"
+ .' "score": 0.85494584'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "libraryId": "5rdxr3dxmk",'."\n"
+ .' "libraryName": null,'."\n"
+ .' "title": null,'."\n"
+ .' "chunkId": "478245189908234242",'."\n"
+ .' "docId": "1701838553380655106",'."\n"
+ .' "chunkText": "息。\\n对于记名预付卡,发卡机构还应当在预付卡核心业务处理系 统中记载持卡人的有效身份证件信息、预付卡卡号、金额等信息。\\n第十二条单位一次性购买预付卡5000元以上,个人一次性购 买预付卡5万元以上的,应当通过银行转账等非现金结算方式购 买,不得使用现金。\\n购卡人不得使用信用卡购买预付卡。\\n第十三条采用银行转账等非现金结算方式购买预付卡的, 付款人银行账户名称和购卡人名称应当一致。\\n发卡机构应当核对账户信息和身份信息的一致性,在预付卡 核心业务处理系统中记载付款人银行账户名称和账号、收款人银 行账户名称和账号、转账金额等信息。\\n第十四",'."\n"
+ .' "fileType": null,'."\n"
+ .' "chunkMeta": {},'."\n"
+ .' "score": 0.6670402'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "textChunks": [],'."\n"
+ .' "chunkParts": [],'."\n"
+ .' "chunkTextList": ['."\n"
+ .' "回,本办法另有规定的除外。不记名预付卡有效期不得低于3年。\\n预付卡不得具有透支功能。\\n发卡机构发行销售预付卡时,应向持卡人告知预付卡的有效 期及计算方法。超过有效期尚有资金余额的预付卡,发卡机构应 当提供延期、激活、换卡等服务,保障持卡人继续使用。\\n第九条预付卡卡面应当记载预付卡名称、发卡机构名称、 是否记名、卡号、有效期限或有效期截止日、持卡人注意事项、 客户服务电话等要素。\\n第十条个人或单位购买记名预付卡或一次性购买不记名预 付卡1万元以上的,应当使用实名并提供有效身份证件。\\n发卡机构应当识别购卡人、单位经办人的身份,",'."\n"
+ .' "息。\\n对于记名预付卡,发卡机构还应当在预付卡核心业务处理系 统中记载持卡人的有效身份证件信息、预付卡卡号、金额等信息。\\n第十二条单位一次性购买预付卡5000元以上,个人一次性购 买预付卡5万元以上的,应当通过银行转账等非现金结算方式购 买,不得使用现金。\\n购卡人不得使用信用卡购买预付卡。\\n第十三条采用银行转账等非现金结算方式购买预付卡的, 付款人银行账户名称和购卡人名称应当一致。\\n发卡机构应当核对账户信息和身份信息的一致性,在预付卡 核心业务处理系统中记载付款人银行账户名称和账号、收款人银 行账户名称和账号、转账金额等信息。\\n第十四"'."\n"
+ .' ],'."\n"
+ .' "documents": ['."\n"
+ .' {'."\n"
+ .' "docId": "1701838553380655106",'."\n"
+ .' "gmtCreate": "2023-09-13 14:01:44",'."\n"
+ .' "libraryId": null,'."\n"
+ .' "title": "《支付机构预付卡业务管理办法》(中国人民银行公告〔2012〕第12号)",'."\n"
+ .' "url": null,'."\n"
+ .' "fileType": "pdf"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' "cost": null'."\n"
+ .'}'."\n"
+ .'``` '."\n"
+ .'### 模型总结的结果'."\n"
+ .'```json'."\n"
+ .'{'."\n"
+ .' "success": true,'."\n"
+ .' "dataType": "message",'."\n"
+ .' "time": "2023-09-20 16:36:05",'."\n"
+ .' "errCode": "0",'."\n"
+ .' "message": "ok",'."\n"
+ .' "data": {'."\n"
+ .' "message": "是的,",// 增量答案'."\n"
+ .' "text": "是的,", // 累计答案'."\n"
+ .' "finish": false'."\n"
+ .' },'."\n"
+ .' "cost": null'."\n"
+ .'}'."\n"
+ .'```',
+ ],
+ 'GetHistoryListByBizType' => [
+ 'summary' => '根据业务类型获取对话历史记录。',
+ 'path' => '/{workspaceId}/api/history/list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页码',
+ 'description' => '页码',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页面大小',
+ 'description' => '页面大小',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '10',
+ ],
+ ],
+ [
+ 'name' => 'bizType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务类型,目前支持:模型问答(LlmChat)、文档库问答(LibraryChat)',
+ 'description' => '业务类型,目前支持:模型问答(LlmChat)、文档库问答(LibraryChat)',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'LlmChat' => 'LlmChat',
+ 'LibraryChat' => 'LibraryChat',
+ ],
+ 'example' => 'LibraryChat',
+ ],
+ ],
+ [
+ 'name' => 'bizId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '业务唯一标识,当bizType为LibraryChat时,bizId指的是文档库id',
+ 'description' => '业务唯一标识,当bizType为LibraryChat时,bizId指的是文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'GysYBsxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<PageVO<LlmHistoryVO>>',
+ 'description' => 'ResultCode<PageVO<LlmHistoryVO>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'currentPage' => [
+ 'title' => '当前页',
+ 'description' => '当前页',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'pageSize' => [
+ 'title' => '每页记录数',
+ 'description' => '每页记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'records' => [
+ 'title' => '记录',
+ 'description' => '记录',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'bizId' => [
+ 'title' => '业务id',
+ 'description' => '业务id',
+ 'type' => 'string',
+ 'example' => 'GysYBsxx',
+ ],
+ 'bizType' => [
+ 'title' => '业务类型',
+ 'description' => '业务类型',
+ 'type' => 'string',
+ 'example' => 'LibraryChat',
+ ],
+ 'extraMessage' => [
+ 'title' => '扩展信息',
+ 'description' => '扩展信息',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ 'gmtCreate' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'gmtModified' => [
+ 'title' => '修改时间',
+ 'description' => '修改时间',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00'."\n",
+ ],
+ 'id' => [
+ 'title' => '历史记录id',
+ 'description' => '历史记录id',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '210',
+ ],
+ 'llmAnswer' => [
+ 'title' => '大模型回答',
+ 'description' => '大模型回答',
+ 'type' => 'string',
+ 'example' => '你好。',
+ ],
+ 'llmPrompt' => [
+ 'title' => '大模型提示词',
+ 'description' => '大模型提示词',
+ 'type' => 'string',
+ 'example' => '请使用以下上下文来回答最后的问题。\\n以下是上下文内容:',
+ ],
+ 'llmType' => [
+ 'title' => '大模型类型',
+ 'description' => '大模型类型',
+ 'type' => 'string',
+ 'example' => 'qwen-max',
+ ],
+ 'sessionId' => [
+ 'title' => '会话id',
+ 'description' => '会话id',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'userQuery' => [
+ 'title' => '用户问题',
+ 'description' => '用户问题',
+ 'type' => 'string',
+ 'example' => '你是谁',
+ ],
+ ],
+ ],
+ ],
+ 'totalPages' => [
+ 'title' => '总页数',
+ 'description' => '总页数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ 'totalRecords' => [
+ 'title' => '总记录数',
+ 'description' => '总记录数',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"currentPage\\": 1,\\n \\"pageSize\\": 10,\\n \\"records\\": [\\n {\\n \\"bizId\\": \\"GysYBsxx\\",\\n \\"bizType\\": \\"LibraryChat\\",\\n \\"extraMessage\\": \\"null\\",\\n \\"gmtCreate\\": \\"2024-01-01 00:00:00\\",\\n \\"gmtModified\\": \\"2024-01-01 00:00:00\\\\n\\",\\n \\"id\\": 210,\\n \\"llmAnswer\\": \\"你好。\\",\\n \\"llmPrompt\\": \\"请使用以下上下文来回答最后的问题。\\\\\\\\n以下是上下文内容:\\",\\n \\"llmType\\": \\"qwen-max\\",\\n \\"sessionId\\": \\"null\\",\\n \\"userQuery\\": \\"你是谁\\"\\n }\\n ],\\n \\"totalPages\\": 10,\\n \\"totalRecords\\": 100\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"9DF9B3F3-9FFE-52CB-A8DC-F7BD5F842F0E\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '根据业务类型获取对话历史记录',
+ ],
+ 'InvokePlugin' => [
+ 'summary' => '调用插件,获取插件返回结果。',
+ 'path' => '/{workspaceId}/api/plugin/invoke',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'params' => [
+ 'title' => '请求参数',
+ 'description' => '请求参数',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "query": "介绍一下贵金属业务",'."\n"
+ .' "filters": ['."\n"
+ .' {'."\n"
+ .' "libraryId": "9xznrxw"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "topK": 1'."\n"
+ .' }',
+ ],
+ 'pluginId' => [
+ 'title' => '插件标识符',
+ 'description' => '插件标识符',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '3mj87da7zr',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<JSONObject>',
+ 'description' => 'ResultCode<JSONObject>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'example' => '{\'jobWaiting\': [0, 0], \'timestamps\': [1713383820, 1713383880], \'jobUsage\': [0, 0], \'quotaUsage\': [123, 32]}',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '915AAAB9-4908-5224-9E53-9E9D7D0AA94B',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"915AAAB9-4908-5224-9E53-9E9D7D0AA94B\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '调用插件',
+ 'description' => '**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'EndToEndRealTimeDialog' => [
+ 'summary' => '本接口通过 WebSocket 协议实现实时语音对话转写、意图识别、话术语音合成返回等功能,支持多种音频格式的输入输出,满足实时性与高兼容性需求。',
+ 'path' => '/{workspaceId}/ws/realtime/dialog',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'websocket',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'text/event-stream',
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'autoTest' => false,
+ 'notSupportAutoTestReason' => 'websocket不支持自动化测试',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx'."\n",
+ ],
+ ],
+ [
+ 'name' => 'asrModelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '语音识别模型id。默认为nls-base。目前支持paraformer-realtime-v2、paraformer-realtime-8k-v2等。',
+ 'description' => '语音识别模型id。默认为nls-base。目前支持paraformer-realtime-v2、paraformer-realtime-8k-v2等。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'paraformer-realtime-v1' => 'paraformer-realtime-v1',
+ 'nls-base' => 'nls-base',
+ ],
+ 'example' => 'nls-base',
+ 'default' => 'nls-base',
+ ],
+ ],
+ [
+ 'name' => 'ttsModelId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '语音合成模型id。默认为nls-base。支持cosyvoice-v2。',
+ 'description' => '语音合成模型id。默认为nls-base。支持cosyvoice-v2。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'cosyvoice-v2' => 'cosyvoice-v2',
+ 'nls-base' => 'nls-base',
+ ],
+ 'example' => 'nls-base',
+ 'default' => 'pcm',
+ ],
+ ],
+ [
+ 'name' => 'inputFormat',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '输入音频格式,支持pcm/wav/mp3',
+ 'description' => '输入音频格式,支持pcm/wav/mp3',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pcm',
+ 'default' => 'pcm',
+ ],
+ ],
+ [
+ 'name' => 'outputFormat',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '输出音频格式',
+ 'description' => '输出音频格式',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'wav',
+ 'default' => 'wav',
+ ],
+ ],
+ [
+ 'name' => 'sampleRate',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '采样率',
+ 'description' => '采样率',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SAMPLE_RATE_16K',
+ 'default' => 'SAMPLE_RATE_16K',
+ 'enum' => [
+ 'SAMPLE_RATE_16K',
+ 'SAMPLE_RATE_8K',
+ 'SAMPLE_RATE_24K',
+ 'SAMPLE_RATE_48K',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'voiceCode',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '音色参数值,仅限于支持字/句级别时间戳。',
+ 'description' => '音色参数值,仅限于支持字/句级别时间戳。',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'longxiaochun_v2',
+ ],
+ ],
+ [
+ 'name' => 'volume',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '音量,范围是0~100,可选,默认50。',
+ 'description' => '音量,范围是0~100,可选,默认50。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '50',
+ 'default' => '50',
+ ],
+ ],
+ [
+ 'name' => 'speechRate',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '朗读语速。'."\n"
+ .'● 当ttsModelId为nls-base时:范围是-500~500,默认是0。'."\n"
+ .'● 当ttsModelId为cosyvoice-v2时:'."\n"
+ .'指定合成音频的语速,取值范围:0.5~2。'."\n"
+ .' ○ 0.5:表示默认语速的0.5倍速。'."\n"
+ .' ○ 1:表示默认语速。默认语速是指模型默认输出的合成语速,语速会因发音人不同而略有不同。约每秒钟4个字。'."\n"
+ .' ○ 2:表示默认语速的2倍速。',
+ 'description' => '朗读语速。'."\n"
+ .'● 当ttsModelId为nls-base时:范围是-500~500,默认是0。'."\n"
+ .'● 当ttsModelId为cosyvoice-v2时:'."\n"
+ .'指定合成音频的语速,取值范围:0.5~2。'."\n"
+ .' ○ 0.5:表示默认语速的0.5倍速。'."\n"
+ .' ○ 1:表示默认语速。默认语速是指模型默认输出的合成语速,语速会因发音人不同而略有不同。约每秒钟4个字。'."\n"
+ .' ○ 2:表示默认语速的2倍速。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'pitchRate',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '朗读语调。'."\n"
+ .'● 当ttsModelId为nls-base时:'."\n"
+ .'范围是-500~500,默认是0。'."\n"
+ .'● 当ttsModelId为cosyvoice-v2时:指定合成音频的语调,取值范围:0.5~2。',
+ 'description' => '朗读语调。'."\n"
+ .'● 当ttsModelId为nls-base时:'."\n"
+ .'范围是-500~500,默认是0。'."\n"
+ .'● 当ttsModelId为cosyvoice-v2时:指定合成音频的语调,取值范围:0.5~2。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'RealTimeDialogResp',
+ 'description' => 'RealTimeDialogResp',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '1C98B466-D6E0-5252-A60B-F345CBB33DDB',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1C98B466-D6E0-5252-A60B-F345CBB33DDB\\"\\n}","type":"json"}]',
+ 'title' => '语音实时对话',
+ 'requestParamsDescription' => '# 客户端请求消息'."\n"
+ .'## 通用字段说明'."\n"
+ .'| 字段名 | 说明 |'."\n"
+ .'|------------|-----------------|'."\n"
+ .'| type | 消息类型 |'."\n"
+ .'| seq | 消息序列号 |'."\n"
+ .'| timestamp | 毫秒时间戳 |'."\n"
+ ."\n"
+ .'## StartTranscription (开始实时转录)'."\n"
+ .'### 作用:开始实时转录,并创建实时会话。'."\n"
+ .'```json'."\n"
+ .'type:StartTranscription'."\n"
+ .'seq:1'."\n"
+ .'timestamp:1719242591197'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "playCode": "c00aa8467a", // 场景编码'."\n"
+ .' "metaData": {}, // 元数据,此处可添加一些k-v对,用于开场白占位等。如在场景管理中的开场白中设置了占位符${name},此处可传入{"name": "张三"}。'."\n"
+ .' "selfDirected": true // 是否开启自主问答(当意图识别为其它时,会使用模型自主回答的能力)'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ ."\n\n"
+ .'## ProcessTranscription(发送音频数据)'."\n"
+ ."\n"
+ .'### 作用:上传一段音频数据'."\n"
+ .'```json'."\n"
+ .'type:ProcessTranscription'."\n"
+ .'seq:1'."\n"
+ .'timestamp:1719242591197'."\n"
+ .'ack:required'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "dataSourceType": "customer", // 数据源类型'."\n"
+ .' "data": [0,0,0,0,0] // 二进制音频流'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ ."\n"
+ .'- dataSourceType 标识数据来源(如“customer”, “service”)'."\n"
+ .' - customer表示客户音频数据'."\n"
+ .' - service表示运营商等三方提示音的音频数据'."\n"
+ .' - 请注意进行区分,可只发送客户的音频数据,该接口暂不处理来源为service的音频数据。'."\n"
+ ."\n"
+ .'## StopTranscription(停止转录)'."\n"
+ .'### 作用:主动结束实时会话'."\n"
+ .'```json'."\n"
+ .'type:StopTranscription'."\n"
+ .'seq:1'."\n"
+ .'timestamp:1719242591197'."\n"
+ ."\n"
+ .'{}'."\n"
+ .'```'."\n"
+ .'payload为空',
+ 'responseParamsDescription' => '# 服务端返回(推送)消息'."\n"
+ .'## TranscriptionStarted(会话/转录已开始)'."\n"
+ .'```json'."\n"
+ .'type:TranscriptionStarted'."\n"
+ .'seq:1'."\n"
+ .'timestamp:1752922002409'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "sessionId": "1752922001S001nojxboa26z", // 业务会话唯一标识'."\n"
+ .' "openingRemarks": "你好,请问你是李先生吗" // 开场白文本'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ ."\n"
+ .'- sessionId:业务会会话唯一标识 '."\n"
+ .'- openingRemarks:开场白内容;文本内容。'."\n"
+ ."\n"
+ .'## TranscriptionResultChanged(转写文本变化「ASR结果」)'."\n"
+ .'```json'."\n"
+ .'type:TranscriptionResultChanged '."\n"
+ .'seq:29 '."\n"
+ .'timestamp:1754659632826 '."\n"
+ ."\n"
+ .'{'."\n"
+ .' "content": "是的,你",'."\n"
+ .' "messageId":"5da6a7211fd54f7087f74f2f028308e7"'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ .'- content:当前转写文本内容 '."\n"
+ .'- messageId:消息唯一标识'."\n"
+ ."\n"
+ .'## SentenceEnd(一句话转写完成「流式返回客服回复的音频数据」)'."\n"
+ .'```json'."\n"
+ .'type:SentenceEnd '."\n"
+ .'seq: 3 '."\n"
+ .'timestamp: 1754659629166'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "data": [73,68,51,4,0,0,0], // 语音的二进制数据'."\n"
+ .' "messageId": "", // 消息唯一标识'."\n"
+ .' "messageEnd": true // 本轮消息结束标识'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ ."\n"
+ .'## BizProcessing(业务意图识别结果)'."\n"
+ .'```json'."\n"
+ .'type:BizProcessing '."\n"
+ .'seq: 3 '."\n"
+ .'timestamp: 1754659629166'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "id": "175465963554371b6ffdea5eb446188fc366df451b23b",'."\n"
+ .' "choices": ['."\n"
+ .' {'."\n"
+ .' "index": 0,'."\n"
+ .' "finishReason": "stop",'."\n"
+ .' "delta": {'."\n"
+ .' "intentionCode": "1940679612569849856",'."\n"
+ .' "intentionScript": "您好,这里这边是xxx”,我们看到您有一笔x万的预审额度,所以提醒您到咱们微信小程序或APP看一下呢。",'."\n"
+ .' "intentionName": "客户询问来电身份",'."\n"
+ .' "callTime": "819",'."\n"
+ .' "hangUpDialog": false,'."\n"
+ .' "interrupt": false'."\n"
+ .' }'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "created": "1754659635543",'."\n"
+ .' "success": true'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ .'- 主要输出意图识别相关文本内容,输出字段描述请参考API: [RealTimeDialog](https://help.aliyun.com/zh/model-studio/api-dianjin-2024-06-28-realtimedialog?spm=a2c4g.11186623.0.i2#:~:text=%E5%AE%9E%E6%97%B6%E4%BC%9A%E8%AF%9D-,RealTimeDialog%20%2D%20%E5%AE%9E%E6%97%B6%E4%BC%9A%E8%AF%9D,-%E6%9B%B4%E6%96%B0%E6%97%B6%E9%97%B4%EF%BC%9A)'."\n"
+ ."\n"
+ .'## SentenceInterrupted(句子中断「需清理音频缓存」)'."\n"
+ .'```json'."\n"
+ .'type:SentenceInterrupted '."\n"
+ .'seq: 32 '."\n"
+ .'timestamp: 1754659635543 '."\n"
+ ."\n"
+ .'{}'."\n"
+ .'```'."\n"
+ .'- body内容为空 收到此消息需清空音频缓存、终止播放之前的音频内容,以实现打断效果。'."\n"
+ ."\n"
+ .'## TranscriptionEnd(转录结束「会话建议结束:智能体判断会话可结束」)'."\n"
+ .'```json'."\n"
+ .'type:TranscriptionEnd '."\n"
+ .'seq: 367 '."\n"
+ .'timestamp: 1754659669964 '."\n"
+ ."\n"
+ .'{}'."\n"
+ .'```'."\n"
+ ."\n"
+ .'## TranscriptionCompleted(转写完全结束,可主动断开 WebSocket连接)'."\n"
+ .'```json'."\n"
+ .'type:TranscriptionCompleted'."\n"
+ .'seq:3'."\n"
+ .'timestamp:1752922030325'."\n"
+ ."\n"
+ .'{}'."\n"
+ .'```'."\n"
+ ."\n"
+ .'## 状态码与错误处理'."\n"
+ .'若连接/发送消息出错,服务端返回标准格式Error消息:'."\n"
+ .'```json'."\n"
+ .'type:Error'."\n"
+ .'seq:3'."\n"
+ .'timestamp:1752922030325'."\n"
+ ."\n"
+ .'{'."\n"
+ .' "code": "401",'."\n"
+ .' "message": "Token无效或已过期"'."\n"
+ .'}'."\n"
+ .'```'."\n"
+ .'常见错误码:'."\n"
+ .'| code | 描述 |'."\n"
+ .'|------|----------------------|'."\n"
+ .'| 400 | 请求参数错误 |'."\n"
+ .'| 401 | 鉴权失败 |'."\n"
+ .'| 500 | 服务内部出错 |',
+ 'extraInfo' => '## 交互流程'."\n"
+ .'![](data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22us-ascii%22%20standalone%3D%22no%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20contentStyleType%3D%22text%2Fcss%22%20height%3D%22896px%22%20preserveAspectRatio%3D%22none%22%20style%3D%22width%3A462px%3Bheight%3A896px%3Bbackground%3A%23FFFFFF%3B%22%20version%3D%221.1%22%20viewBox%3D%220%200%20462%20896%22%20width%3D%22462px%22%20zoomAndPan%3D%22magnify%22%3E%3Cdefs%2F%3E%3Cg%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3Bstroke-dasharray%3A5.0%2C5.0%3B%22%20x1%3D%2233%22%20x2%3D%2233%22%20y1%3D%2236.2969%22%20y2%3D%22860.8828%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3Bstroke-dasharray%3A5.0%2C5.0%3B%22%20x1%3D%22354%22%20x2%3D%22354%22%20y1%3D%2236.2969%22%20y2%3D%22860.8828%22%2F%3E%3Crect%20fill%3D%22%23E2E2F0%22%20height%3D%2230.2969%22%20rx%3D%222.5%22%20ry%3D%222.5%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%20width%3D%2256%22%20x%3D%225%22%20y%3D%225%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2214%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2242%22%20x%3D%2212%22%20y%3D%2224.9951%22%3E%26%2323458%3B%26%2325143%3B%26%2331471%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23E2E2F0%22%20height%3D%2230.2969%22%20rx%3D%222.5%22%20ry%3D%222.5%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%20width%3D%2256%22%20x%3D%225%22%20y%3D%22859.8828%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2214%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2242%22%20x%3D%2212%22%20y%3D%22879.8779%22%3E%26%2323458%3B%26%2325143%3B%26%2331471%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23FFA500%22%20height%3D%2230.2969%22%20rx%3D%222.5%22%20ry%3D%222.5%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%20width%3D%2256%22%20x%3D%22326%22%20y%3D%225%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2214%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2242%22%20x%3D%22333%22%20y%3D%2224.9951%22%3E%26%2326381%3B%26%2321153%3B%26%2331471%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23FFA500%22%20height%3D%2230.2969%22%20rx%3D%222.5%22%20ry%3D%222.5%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%20width%3D%2256%22%20x%3D%22326%22%20y%3D%22859.8828%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2214%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2242%22%20x%3D%22333%22%20y%3D%22879.8779%22%3E%26%2326381%3B%26%2321153%3B%26%2331471%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%223%22%20style%3D%22stroke%3A%23EEEEEE%3Bstroke-width%3A1.0%3B%22%20width%3D%22455%22%20x%3D%220%22%20y%3D%2266.8633%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%2266.8633%22%20y2%3D%2266.8633%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%2269.8633%22%20y2%3D%2269.8633%22%2F%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%2223.1328%22%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A2.0%3B%22%20width%3D%22108%22%20x%3D%22173.5%22%20y%3D%2256.2969%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2289%22%20x%3D%22179.5%22%20y%3D%2272.3638%22%3E1.%20%26%2321457%3B%26%2336215%3B%26%2321644%3B%26%2330830%3B%26%2335748%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C117.1289%2C352%2C121.1289%2C342%2C125.1289%2C346%2C121.1289%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22121.1289%22%20y2%3D%22121.1289%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2240%22%20y%3D%22116.063%22%3E1%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22131%22%20x%3D%2253%22%20y%3D%22116.063%22%3E%26%2324314%3B%26%2331435%3B%20WebSocket%20%26%2336830%3B%26%2325509%3B%3C%2Ftext%3E%3Cpath%20d%3D%22M359%2C94.4297%20L359%2C134.4297%20L432%2C134.4297%20L432%2C104.4297%20L422%2C94.4297%20L359%2C94.4297%20%22%20fill%3D%22%23FEFFDD%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%2F%3E%3Cpath%20d%3D%22M422%2C94.4297%20L422%2C104.4297%20L432%2C104.4297%20L422%2C94.4297%20%22%20fill%3D%22%23FEFFDD%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2252%22%20x%3D%22365%22%20y%3D%22111.4966%22%3E%26%2327492%3B%26%2322788%3B%26%2330465%3B%26%2330053%3B%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2252%22%20x%3D%22365%22%20y%3D%22126.6294%22%3E%26%2325569%3B%26%2325163%3B%26%2330830%3B%26%2335748%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C156.8281%2C352%2C160.8281%2C342%2C164.8281%2C346%2C160.8281%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22160.8281%22%20y2%3D%22160.8281%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2240%22%20y%3D%22155.7622%22%3E2%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22166%22%20x%3D%2253%22%20y%3D%22155.7622%22%3E%26%2325351%3B%26%2320196%3B%26%2312304%3BStartTranscription%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C185.9609%2C34%2C189.9609%2C44%2C193.9609%2C40%2C189.9609%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22189.9609%22%20y2%3D%22189.9609%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2250%22%20y%3D%22184.895%22%3E3%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22182%22%20x%3D%2263%22%20y%3D%22184.895%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BTranscriptionStarted%26%2312305%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%223%22%20style%3D%22stroke%3A%23EEEEEE%3Bstroke-width%3A1.0%3B%22%20width%3D%22455%22%20x%3D%220%22%20y%3D%22218.5273%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%22218.5273%22%20y2%3D%22218.5273%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%22221.5273%22%20y2%3D%22221.5273%22%2F%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%2223.1328%22%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A2.0%3B%22%20width%3D%22108%22%20x%3D%22173.5%22%20y%3D%22207.9609%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2289%22%20x%3D%22179.5%22%20y%3D%22224.0278%22%3E2.%20%26%2321457%3B%26%2336865%3B%26%2321644%3B%26%2335782%3B%26%2321035%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C258.2266%2C352%2C262.2266%2C342%2C266.2266%2C346%2C262.2266%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22262.2266%22%20y2%3D%22262.2266%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2240%22%20y%3D%22257.1606%22%3E4%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22275%22%20x%3D%2253%22%20y%3D%22257.1606%22%3E%26%2325351%3B%26%2320196%3B%26%2312304%3BProcessTranscription%26%2312305%3B%26%2365288%3B%26%2321253%3B%26%2321547%3B%26%2338899%3B%26%2339057%3B%26%2327969%3B%26%2365289%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C287.3594%2C34%2C291.3594%2C44%2C295.3594%2C40%2C291.3594%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22291.3594%22%20y2%3D%22291.3594%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2250%22%20y%3D%22286.2935%22%3E5%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22230%22%20x%3D%2263%22%20y%3D%22286.2935%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BTranscriptionResultChanged%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C316.4922%2C34%2C320.4922%2C44%2C324.4922%2C40%2C320.4922%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22320.4922%22%20y2%3D%22320.4922%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2250%22%20y%3D%22315.4263%22%3E6%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22140%22%20x%3D%2263%22%20y%3D%22315.4263%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BBizProcessing%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C345.625%2C34%2C349.625%2C44%2C353.625%2C40%2C349.625%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22349.625%22%20y2%3D%22349.625%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2250%22%20y%3D%22344.5591%22%3E7%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22137%22%20x%3D%2263%22%20y%3D%22344.5591%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BSentenceEnd%26%2312305%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%223%22%20style%3D%22stroke%3A%23EEEEEE%3Bstroke-width%3A1.0%3B%22%20width%3D%22455%22%20x%3D%220%22%20y%3D%22378.1914%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%22378.1914%22%20y2%3D%22378.1914%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%22381.1914%22%20y2%3D%22381.1914%22%2F%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%2223.1328%22%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A2.0%3B%22%20width%3D%22108%22%20x%3D%22173.5%22%20y%3D%22367.625%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2289%22%20x%3D%22179.5%22%20y%3D%22383.6919%22%3E3.%20%26%2321457%3B%26%2336865%3B%26%2321644%3B%26%2325171%3B%26%2326029%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C417.8906%2C352%2C421.8906%2C342%2C425.8906%2C346%2C421.8906%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22421.8906%22%20y2%3D%22421.8906%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2240%22%20y%3D%22416.8247%22%3E8%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22275%22%20x%3D%2253%22%20y%3D%22416.8247%22%3E%26%2325351%3B%26%2320196%3B%26%2312304%3BProcessTranscription%26%2312305%3B%26%2365288%3B%26%2321253%3B%26%2321547%3B%26%2338899%3B%26%2339057%3B%26%2327969%3B%26%2365289%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C447.0234%2C34%2C451.0234%2C44%2C455.0234%2C40%2C451.0234%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22451.0234%22%20y2%3D%22451.0234%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%229%22%20x%3D%2250%22%20y%3D%22445.9575%22%3E9%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22230%22%20x%3D%2263%22%20y%3D%22445.9575%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BTranscriptionResultChanged%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C476.1563%2C34%2C480.1563%2C44%2C484.1563%2C40%2C480.1563%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22480.1563%22%20y2%3D%22480.1563%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22475.0903%22%3E10%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22140%22%20x%3D%2272%22%20y%3D%22475.0903%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BBizProcessing%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C523.4219%2C34%2C527.4219%2C44%2C531.4219%2C40%2C527.4219%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22527.4219%22%20y2%3D%22527.4219%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22522.356%22%3E11%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22184%22%20x%3D%2272%22%20y%3D%22522.356%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BSentenceInterrupted%26%2312305%3B%3C%2Ftext%3E%3Cpath%20d%3D%22M359%2C493.1563%20L359%2C548.1563%20L432%2C548.1563%20L432%2C503.1563%20L422%2C493.1563%20L359%2C493.1563%20%22%20fill%3D%22%23FEFFDD%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%2F%3E%3Cpath%20d%3D%22M422%2C493.1563%20L422%2C503.1563%20L432%2C503.1563%20L422%2C493.1563%20%22%20fill%3D%22%23FEFFDD%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2252%22%20x%3D%22365%22%20y%3D%22510.2231%22%3E%26%2325171%3B%26%2326029%3B%26%2320449%3B%26%2321495%3B%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2252%22%20x%3D%22365%22%20y%3D%22525.356%22%3E%26%2338656%3B%26%2335201%3B%26%2328165%3B%26%2331354%3B%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2252%22%20x%3D%22365%22%20y%3D%22540.4888%22%3E%26%2338899%3B%26%2339057%3B%26%2332531%3B%26%2323384%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C570.6875%2C34%2C574.6875%2C44%2C578.6875%2C40%2C574.6875%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22574.6875%22%20y2%3D%22574.6875%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22569.6216%22%3E12%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22137%22%20x%3D%2272%22%20y%3D%22569.6216%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BSentenceEnd%26%2312305%3B%3C%2Ftext%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%223%22%20style%3D%22stroke%3A%23EEEEEE%3Bstroke-width%3A1.0%3B%22%20width%3D%22455%22%20x%3D%220%22%20y%3D%22603.2539%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%22603.2539%22%20y2%3D%22603.2539%22%2F%3E%3Cline%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A1.0%3B%22%20x1%3D%220%22%20x2%3D%22455%22%20y1%3D%22606.2539%22%20y2%3D%22606.2539%22%2F%3E%3Crect%20fill%3D%22%23EEEEEE%22%20height%3D%2223.1328%22%20style%3D%22stroke%3A%23000000%3Bstroke-width%3A2.0%3B%22%20width%3D%22108%22%20x%3D%22173.5%22%20y%3D%22592.6875%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2289%22%20x%3D%22179.5%22%20y%3D%22608.7544%22%3E4.%20%26%2320572%3B%26%2327490%3B%26%2321644%3B%26%2323436%3B%26%2325104%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C642.9531%2C352%2C646.9531%2C342%2C650.9531%2C346%2C646.9531%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22646.9531%22%20y2%3D%22646.9531%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2240%22%20y%3D%22641.8872%22%3E13%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22275%22%20x%3D%2262%22%20y%3D%22641.8872%22%3E%26%2325351%3B%26%2320196%3B%26%2312304%3BProcessTranscription%26%2312305%3B%26%2365288%3B%26%2321253%3B%26%2321547%3B%26%2338899%3B%26%2339057%3B%26%2327969%3B%26%2365289%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C672.0859%2C34%2C676.0859%2C44%2C680.0859%2C40%2C676.0859%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22676.0859%22%20y2%3D%22676.0859%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22671.02%22%3E14%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22230%22%20x%3D%2272%22%20y%3D%22671.02%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BTranscriptionResultChanged%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C701.2188%2C34%2C705.2188%2C44%2C709.2188%2C40%2C705.2188%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22705.2188%22%20y2%3D%22705.2188%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22700.1528%22%3E15%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22140%22%20x%3D%2272%22%20y%3D%22700.1528%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BBizProcessing%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C740.918%2C34%2C744.918%2C44%2C748.918%2C40%2C744.918%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22744.918%22%20y2%3D%22744.918%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22739.8521%22%3E16%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22158%22%20x%3D%2272%22%20y%3D%22739.8521%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BTranscriptionEnd%26%2312305%3B%3C%2Ftext%3E%3Cpath%20d%3D%22M359%2C718.2188%20L359%2C758.2188%20L445%2C758.2188%20L445%2C728.2188%20L435%2C718.2188%20L359%2C718.2188%20%22%20fill%3D%22%23FEFFDD%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%2F%3E%3Cpath%20d%3D%22M435%2C718.2188%20L435%2C728.2188%20L445%2C728.2188%20L435%2C718.2188%20%22%20fill%3D%22%23FEFFDD%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A0.5%3B%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2251%22%20x%3D%22365%22%20y%3D%22735.2856%22%3ELLM%26%2321028%3B%26%2326029%3B%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2265%22%20x%3D%22365%22%20y%3D%22750.4185%22%3E%26%2320250%3B%26%2335805%3B%26%2321487%3B%26%2325346%3B%26%2326029%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C780.6172%2C352%2C784.6172%2C342%2C788.6172%2C346%2C784.6172%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22784.6172%22%20y2%3D%22784.6172%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2240%22%20y%3D%22779.5513%22%3E17%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22164%22%20x%3D%2262%22%20y%3D%22779.5513%22%3E%26%2325351%3B%26%2320196%3B%26%2312304%3BStopTranscription%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%2244%2C809.75%2C34%2C813.75%2C44%2C817.75%2C40%2C813.75%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2238%22%20x2%3D%22353%22%20y1%3D%22813.75%22%20y2%3D%22813.75%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2250%22%20y%3D%22808.6841%22%3E18%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22204%22%20x%3D%2272%22%20y%3D%22808.6841%22%3E%26%2320107%3B%26%2320214%3B%26%2312304%3BTranscriptionCompleted%26%2312305%3B%3C%2Ftext%3E%3Cpolygon%20fill%3D%22%23181818%22%20points%3D%22342%2C838.8828%2C352%2C842.8828%2C342%2C846.8828%2C346%2C842.8828%22%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%2F%3E%3Cline%20style%3D%22stroke%3A%23181818%3Bstroke-width%3A1.0%3B%22%20x1%3D%2233%22%20x2%3D%22348%22%20y1%3D%22842.8828%22%20y2%3D%22842.8828%22%2F%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20font-weight%3D%22bold%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%2218%22%20x%3D%2240%22%20y%3D%22837.8169%22%3E19%3C%2Ftext%3E%3Ctext%20fill%3D%22%23000000%22%20font-family%3D%22sans-serif%22%20font-size%3D%2213%22%20lengthAdjust%3D%22spacing%22%20textLength%3D%22131%22%20x%3D%2262%22%20y%3D%22837.8169%22%3E%26%2320851%3B%26%2338381%3B%20WebSocket%20%26%2336830%3B%26%2325509%3B%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E)'."\n"
+ ."\n"
+ .'## Java Sdk Demo'."\n"
+ .'请注意:当前示例为通用SDK,后续会有API专属SDK。'."\n"
+ .'### 添加依赖'."\n"
+ .'```yaml'."\n"
+ .'<dependency>'."\n"
+ .' <groupId>com.aliyun</groupId>'."\n"
+ .' <artifactId>aliyun-gateway-pop</artifactId>'."\n"
+ .' <version>${version}</version> '."\n"
+ .'</dependency>'."\n"
+ .'```'."\n"
+ .'版本号请联系点金开发人员获取'."\n"
+ ."\n"
+ .'### 代码示例'."\n"
+ .'```java'."\n"
+ .'String WORKSPACE_ID = "xxx";'."\n"
+ ."\n"
+ .'//构造身份提供器, 匿名调用可使用 AnonymousCredentialProvider'."\n"
+ .'StaticCredentialProvider provider = StaticCredentialProvider.create('."\n"
+ .' Credential.builder()'."\n"
+ .' .accessKeyId("xxx")'."\n"
+ .' .accessKeySecret("xxx")'."\n"
+ .' .build()'."\n"
+ .');'."\n"
+ ."\n"
+ .'//构造WebSocket客户端'."\n"
+ .'CommonWebSocketClient client = CommonWebSocketClient.builder()'."\n"
+ .' .credentialsProvider(provider)'."\n"
+ .' .overrideConfiguration('."\n"
+ .' ClientOverrideConfiguration.create()'."\n"
+ .' .setProtocol("wss")'."\n"
+ .' .setEndpointOverride("dianjin.cn-beijing.aliyuncs.com") //设置产品域名'."\n"
+ .' ).build();'."\n"
+ ."\n"
+ .'//构造握手请求'."\n"
+ .'CommonRequest commonRequest = CommonRequest.builder()'."\n"
+ .' .product("Dianjin")'."\n"
+ .' .version("2024-06-28")'."\n"
+ .' .action("EndToEndRealTimeDialog")'."\n"
+ .' .path(String.format("/%s/ws/realtime/dialog", WORKSPACE_ID))'."\n"
+ .' .putQueryParameters("asrModelId", "paraformer-realtime-v1")'."\n"
+ .' .putQueryParameters("ttsModelId", "cosyvoice-v2")'."\n"
+ .' .putQueryParameters("voiceCode", "longxiaochun_v2")'."\n"
+ .' .putQueryParameters("speechRate", 1)'."\n"
+ .' .putQueryParameters("pitchRate", 1)'."\n"
+ .' .build();'."\n"
+ ."\n"
+ .'//通过CommonWebSocketClient构造适配awap协议的专用子协议客户端或适配general协议的客户端'."\n"
+ .'//这里的WebSocketClient其实可以理解为一个会话,其内部保存了连接状态,可以手动重连,使用完毕后需要主动close'."\n"
+ .'WebSocketClient session = client.awapClient(commonRequest);'."\n"
+ .'WebSocketClient session = client.generalClient(commonRequest);'."\n"
+ ."\n\n"
+ .'// 添加事件监听器'."\n"
+ .'session.addEventListener(WebSocketEvent.CONNECTION_OPENED, event -> {'."\n"
+ .' ConnectionOpenedEvent openedEvent = (ConnectionOpenedEvent)event;'."\n"
+ .' //连接建立时打印会话信息,其中的sessionId即为握手请求的RequestId,可用于链路诊断'."\n"
+ .' System.out.println("Connection established: " + openedEvent.getSessionInfo());'."\n"
+ .'});'."\n"
+ .'session.addEventListener(WebSocketEvent.CONNECTION_CLOSED, event -> {'."\n"
+ .' ConnectionClosedEvent closedEvent = (ConnectionClosedEvent)event;'."\n"
+ .' System.out.println("Connection closed: " + closedEvent.getReason());'."\n"
+ .'});'."\n"
+ .'session.addEventListener(WebSocketEvent.CONNECTION_ERROR, event -> {'."\n"
+ .' ConnectionErrorEvent errorEvent = (ConnectionErrorEvent)event;'."\n"
+ .' System.err.println("Connection error: " + errorEvent.getError());'."\n"
+ .'});'."\n"
+ .'session.addEventListener(WebSocketEvent.MESSAGE_SENT, event -> {'."\n"
+ .' MessageSentEvent sentEvent = (MessageSentEvent)event;'."\n"
+ .' System.out.println("Message sent: " + sentEvent.getMessageId());'."\n"
+ .'});'."\n"
+ ."\n"
+ .'//接收消息的逻辑通过添加MESSAGE_RECEIVED事件监听来实现'."\n"
+ .'session.addEventListener(WebSocketEvent.MESSAGE_RECEIVED, event -> {'."\n"
+ .' MessageReceivedEvent receiveEvent = (MessageReceivedEvent)event;'."\n"
+ .' IncomingMessage message = (IncomingMessage)receiveEvent.getMessage();'."\n"
+ .' //对于awap协议,可以获取消息的header,general协议没有header'."\n"
+ .' Map<String, String> awapHeaders = message.getHeaders();'."\n"
+ .' String type = awapHeaders.get("type"); //业务侧定义的消息类型'."\n"
+ .' String timestamp = awapHeaders.get("timestamp"); //服务端消息生成的时间'."\n"
+ .' String id = awapHeaders.get("id"); //消息唯一id,可为空'."\n"
+ .' System.out.println("Receive message, type: " + type + ", receiveTime: " + receiveEvent.getTimestamp());'."\n"
+ .' '."\n"
+ .' ByteBuffer data = message.getData();'."\n"
+ .' byte[] bytes = new byte[data.remaining()];'."\n"
+ .' data.get(bytes);'."\n"
+ .' if ("json".equals(message.getFormat())) { //这里的format有json和binary两种'."\n"
+ .' //可以根据type将payload反序列化为对应的对象结构'."\n"
+ .' System.out.println("Receive text payload: " + new String(bytes, StandardCharsets.UTF_8));'."\n"
+ .' } else {'."\n"
+ .' System.out.println("Receive binary payload,length: " + bytes.length);'."\n"
+ .' }'."\n"
+ .'});'."\n"
+ ."\n"
+ .'//发起握手,这里为了方便,直接用CompletableFuture.join()同步等待响应'."\n"
+ .'HandshakeResult result = session.connect().join();'."\n"
+ .'if (!result.isSuccess()) {'."\n"
+ .' throw new RuntimeException("Connect fail", result.getError());'."\n"
+ .'}'."\n"
+ ."\n\n"
+ .'//发送文本消息'."\n"
+ .'SendOptions sendOptions = SendOptions.builder()'."\n"
+ .' .format("string") //文本消息format=string'."\n"
+ .' .header("type", "StartTranscription") //awap协议的消息需要通过header()方法设置消息类型,general协议不需要'."\n"
+ .' .build();'."\n"
+ ."\n"
+ .'String json = "{\\"playCode\\":\\"xxx\\", \\"selfDirected\\":true}";'."\n"
+ .'SendResult sendResult = session.send(json, sendOptions).join();'."\n"
+ .'if (sendResult.isSuccess()) {'."\n"
+ .' System.out.println("text message sent: " + sendResult.getMessageId());'."\n"
+ .'} else {'."\n"
+ .' throw new RuntimeException("send message error", sendResult.getError());'."\n"
+ .'}'."\n"
+ ."\n"
+ .'```',
+ ],
+ 'RunDialogAnalysis' => [
+ 'summary' => '流式接口,获取会话分析结果。',
+ 'path' => '/{workspaceId}/api/virtualHuman/dialog/stream/analysis',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/octet-stream',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求体参数。',
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1759457905S001vejpvd6vej',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DialogAnalysisResult>',
+ 'description' => 'ResultCode<DialogAnalysisResult>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'dialogAnalysisRespList' => [
+ 'title' => '会话分析结果列表',
+ 'description' => '会话分析结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '会话分析结果',
+ 'description' => '会话分析结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'example' => '1759457905S001vejpvd6vej',
+ ],
+ 'gmtCreate' => [
+ 'title' => '会话的创建时间',
+ 'description' => '会话的创建时间',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34'."\n",
+ ],
+ 'status' => [
+ 'title' => '会话分析的任务执行状态',
+ 'description' => '会话分析的任务执行状态',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'success' => 'success',
+ 'pending' => 'pending',
+ 'error' => 'error',
+ ],
+ 'example' => 'success',
+ ],
+ 'analysisResp' => [
+ 'title' => '会话分析的结果',
+ 'description' => '会话分析的结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'dialogLabels' => [
+ 'title' => '会话标签列表',
+ 'description' => '会话标签列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '会话标签',
+ 'description' => '会话标签',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'title' => '标签名称',
+ 'description' => '标签名称',
+ 'type' => 'string',
+ 'example' => '二级标签',
+ ],
+ 'value' => [
+ 'title' => '标签值',
+ 'description' => '标签值',
+ 'type' => 'string',
+ 'example' => '协商还款',
+ ],
+ ],
+ ],
+ ],
+ 'dialogSummary' => [
+ 'title' => '会话摘要',
+ 'description' => '会话摘要',
+ 'type' => 'string',
+ 'example' => '- 是否有资金需求:否\\\\n- 是否有意向:否,客户认为自己已经解决,对当前状态表示不解\\\\n- 是否可营销:否,对话中未表现出对营销信息的兴趣或接受度\\\\n- 待满足需求:客户希望在三天内解决问题',
+ ],
+ 'dialogExecPlan' => [
+ 'title' => '会话执行计划',
+ 'description' => '会话执行计划',
+ 'type' => 'string',
+ 'example' => '1. 核实客户账户信息,确认还款情况。\\\\n2. 若未收到还款,联系财务部门确认是否到账延迟。\\\\n3. 若已还款,更新客户记录并致歉。\\\\n4. 跟进客户,确保问题解决。',
+ ],
+ 'dialogSop' => [
+ 'title' => '会话SOP',
+ 'description' => '会话SOP',
+ 'type' => 'string',
+ 'example' => '营销',
+ ],
+ 'dialogProcessAnalysis' => [
+ 'title' => '会话过程分析',
+ 'description' => '会话过程分析',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'title' => '会话过程分析内容',
+ 'description' => '会话过程分析内容',
+ 'type' => 'any',
+ 'example' => '{'."\n"
+ .' "dialogues": ['."\n"
+ .' {'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "value": "开场白",'."\n"
+ .' "key": "客服"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "value": "拒绝",'."\n"
+ .' "key": "客户"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "round": 1.0'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "value": "挽留",'."\n"
+ .' "key": "客服"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "value": "中性",'."\n"
+ .' "key": "客户"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "round": 2.0'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "dialogProcessAnalysisStr": "第一轮对话:客服-开场白,客户-拒绝\\\\n第二轮对话:客服-挽留,客户-中性"'."\n"
+ .'}',
+ ],
+ ],
+ 'dialogOpenAnalysis' => [
+ 'title' => '会话开放分析',
+ 'description' => '会话开放分析',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'title' => '会话开放分析内容',
+ 'description' => '会话开放分析内容',
+ 'type' => 'any',
+ 'example' => '{'."\n"
+ .' "dialogues": ['."\n"
+ .' {'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "value": "开场白",'."\n"
+ .' "key": "客服"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "value": "拒绝",'."\n"
+ .' "key": "客户"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "round": 1.0'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "value": "挽留",'."\n"
+ .' "key": "客服"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "value": "中性",'."\n"
+ .' "key": "客户"'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "round": 2.0'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "dialogProcessAnalysisStr": "第一轮对话:客服-开场白,客户-拒绝\\\\n第二轮对话:客服-挽留,客户-中性"'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ ],
+ 'failNode' => [
+ 'title' => '失败节点列表',
+ 'description' => '失败节点列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '失败节点',
+ 'description' => '失败节点',
+ 'type' => 'string',
+ 'example' => 'DIALOG_OPEN_ANALYSIS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '02CD4454-3F2C-57D0-9060-68DEAA1F6993',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"dialogAnalysisRespList\\": [\\n {\\n \\"sessionId\\": \\"1759457905S001vejpvd6vej\\",\\n \\"gmtCreate\\": \\"2024-04-24 11:54:34\\\\n\\",\\n \\"status\\": \\"success\\",\\n \\"analysisResp\\": {\\n \\"dialogLabels\\": [\\n {\\n \\"name\\": \\"二级标签\\",\\n \\"value\\": \\"协商还款\\"\\n }\\n ],\\n \\"dialogSummary\\": \\"- 是否有资金需求:否\\\\\\\\\\\\\\\\n- 是否有意向:否,客户认为自己已经解决,对当前状态表示不解\\\\\\\\\\\\\\\\n- 是否可营销:否,对话中未表现出对营销信息的兴趣或接受度\\\\\\\\\\\\\\\\n- 待满足需求:客户希望在三天内解决问题\\",\\n \\"dialogExecPlan\\": \\"1. 核实客户账户信息,确认还款情况。\\\\\\\\\\\\\\\\n2. 若未收到还款,联系财务部门确认是否到账延迟。\\\\\\\\\\\\\\\\n3. 若已还款,更新客户记录并致歉。\\\\\\\\\\\\\\\\n4. 跟进客户,确保问题解决。\\",\\n \\"dialogSop\\": \\"营销\\",\\n \\"dialogProcessAnalysis\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"dialogues\\\\\\": [\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"开场白\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"拒绝\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 1.0\\\\n },\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"挽留\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"中性\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 2.0\\\\n }\\\\n ],\\\\n \\\\\\"dialogProcessAnalysisStr\\\\\\": \\\\\\"第一轮对话:客服-开场白,客户-拒绝\\\\\\\\\\\\\\\\n第二轮对话:客服-挽留,客户-中性\\\\\\"\\\\n}\\"\\n },\\n \\"dialogOpenAnalysis\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"dialogues\\\\\\": [\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"开场白\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"拒绝\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 1.0\\\\n },\\\\n {\\\\n \\\\\\"result\\\\\\": [\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"挽留\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客服\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\"value\\\\\\": \\\\\\"中性\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"客户\\\\\\"\\\\n }\\\\n ],\\\\n \\\\\\"round\\\\\\": 2.0\\\\n }\\\\n ],\\\\n \\\\\\"dialogProcessAnalysisStr\\\\\\": \\\\\\"第一轮对话:客服-开场白,客户-拒绝\\\\\\\\\\\\\\\\n第二轮对话:客服-挽留,客户-中性\\\\\\"\\\\n}\\"\\n }\\n },\\n \\"failNode\\": [\\n \\"DIALOG_OPEN_ANALYSIS\\"\\n ]\\n }\\n ]\\n },\\n \\"requestId\\": \\"02CD4454-3F2C-57D0-9060-68DEAA1F6993\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '会话分析结果生成',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'RunAgent' => [
+ 'summary' => '运行智能体,支持流式和非流式。',
+ 'path' => '/{workspaceId}/api/bot/thread/run',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/octet-stream',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求体参数',
+ 'description' => '请求体参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'modelId' => [
+ 'title' => '模型id',
+ 'description' => '模型id。非必填。若为空,则从智能体配置中读取。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'qwen-plus',
+ ],
+ 'threadId' => [
+ 'title' => '会话id',
+ 'description' => '会话id。非必填,为空时,将新建一个会话。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '4vlag5ken3',
+ ],
+ 'botId' => [
+ 'title' => '智能体id',
+ 'description' => '智能体id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'd6zxykawk9',
+ ],
+ 'userContent' => [
+ 'title' => '用户输入',
+ 'description' => '用户输入',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '你是谁',
+ ],
+ 'stream' => [
+ 'title' => '是否流式,默认为true',
+ 'description' => '是否流式,默认为true',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'versionId' => [
+ 'title' => '运行版本Id',
+ 'description' => '运行版本Id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'w4paqoezm2',
+ ],
+ 'useDraft' => [
+ 'title' => '是否使用草稿版本,草稿是指编辑区域最新的,没有发布的版本,不稳定',
+ 'description' => '是否使用草稿版本,草稿是指编辑区域最新的,没有发布的版本,不稳定。默认为false。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'userInputs' => [
+ 'title' => '用户定义的更复杂的输入参数',
+ 'description' => '用户定义的更复杂的输入参数',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{"name": "zhangsan"}',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<AgentResponse>',
+ 'description' => 'ResultCode<AgentResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'versionId' => [
+ 'title' => '智能体版本Id',
+ 'description' => '智能体版本Id',
+ 'type' => 'string',
+ 'example' => 'w4paqoezm2',
+ ],
+ 'traceId' => [
+ 'title' => '链路Id',
+ 'description' => '链路Id',
+ 'type' => 'string',
+ 'example' => '5bdb9809856c58acb92001f8ae65773c',
+ ],
+ 'threadId' => [
+ 'title' => '会话Id',
+ 'description' => '会话Id',
+ 'type' => 'string',
+ 'example' => '4vlag5ken3',
+ ],
+ 'functionCallResponses' => [
+ 'title' => '工具调用响应',
+ 'description' => '工具调用响应',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '工具调用响应',
+ 'description' => '工具调用响应',
+ 'type' => 'object',
+ 'properties' => [
+ 'functionName' => [
+ 'title' => '工具函数名称',
+ 'description' => '工具函数名称',
+ 'type' => 'string',
+ 'example' => 'web_search',
+ ],
+ 'displayName' => [
+ 'title' => '工具函数展示名称',
+ 'description' => '工具函数展示名称',
+ 'type' => 'string',
+ 'example' => '搜索引擎',
+ ],
+ 'functionArgs' => [
+ 'title' => '工具函数参数',
+ 'description' => '工具函数参数',
+ 'type' => 'string',
+ 'example' => '{\\"query\\":\\"2025年1月28日到2月3日天气预报\\"}',
+ ],
+ 'result' => [
+ 'title' => '工具调用结果',
+ 'description' => '工具调用结果',
+ 'type' => 'string',
+ 'example' => '下周天气晴朗',
+ ],
+ 'startTime' => [
+ 'title' => '开始时间',
+ 'description' => '开始时间',
+ 'type' => 'string',
+ 'example' => '2025-01-21 16:37:14',
+ ],
+ 'endTime' => [
+ 'title' => '结束时间',
+ 'description' => '结束时间',
+ 'type' => 'string',
+ 'example' => '2025-01-21 16:37:14',
+ ],
+ ],
+ ],
+ ],
+ 'response' => [
+ 'title' => '模型响应',
+ 'description' => '模型响应',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => [
+ 'title' => '系统生成的标识本次调用的id。',
+ 'description' => '系统生成的标识本次调用的id。',
+ 'type' => 'string',
+ 'example' => 'd91d9afa-7cfc-4235-b012-a6f8e6ffa443',
+ ],
+ 'modelId' => [
+ 'title' => '本次调用的模型名。',
+ 'description' => '本次调用的模型名。',
+ 'type' => 'string',
+ 'example' => 'qwen-plus',
+ ],
+ 'choices' => [
+ 'title' => '模型生成内容的详情。',
+ 'description' => '模型生成内容的详情。',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '模型生成内容的详情。',
+ 'description' => '模型生成内容的详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'index' => [
+ 'title' => '生成的结果序列编号,默认为0。',
+ 'description' => '生成的结果序列编号,默认为0。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '模型输出的消息。',
+ 'description' => '模型输出的消息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'role' => [
+ 'title' => '模型的角色,固定为assistant。',
+ 'description' => '模型的角色,固定为assistant。',
+ 'type' => 'string',
+ 'example' => 'assistant',
+ ],
+ 'roleDisplayName' => [
+ 'title' => '模型的角色的展示名称。',
+ 'description' => '模型的角色的展示名称。',
+ 'type' => 'string',
+ 'example' => 'assistant',
+ ],
+ 'content' => [
+ 'title' => '模型生成的文本。',
+ 'description' => '模型生成的文本。',
+ 'type' => 'string',
+ 'example' => '下周天气都不错',
+ ],
+ ],
+ ],
+ 'finishReason' => [
+ 'title' => '模型生成内容结束原因。',
+ 'description' => '模型生成内容结束原因。',
+ 'type' => 'string',
+ 'example' => 'stop',
+ ],
+ ],
+ ],
+ ],
+ 'created' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1737448637',
+ ],
+ 'time' => [
+ 'title' => '时间',
+ 'description' => '时间',
+ 'type' => 'string',
+ 'example' => '2025-01-21T16:37:17.497206762',
+ ],
+ ],
+ ],
+ 'inputTokens' => [
+ 'title' => '输入token',
+ 'description' => '输入token',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '766',
+ ],
+ 'outputTokens' => [
+ 'title' => '输出token',
+ 'description' => '输出token',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '988',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"versionId\\": \\"w4paqoezm2\\",\\n \\"traceId\\": \\"5bdb9809856c58acb92001f8ae65773c\\",\\n \\"threadId\\": \\"4vlag5ken3\\",\\n \\"functionCallResponses\\": [\\n {\\n \\"functionName\\": \\"web_search\\",\\n \\"displayName\\": \\"搜索引擎\\",\\n \\"functionArgs\\": \\"{\\\\\\\\\\\\\\"query\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2025年1月28日到2月3日天气预报\\\\\\\\\\\\\\"}\\",\\n \\"result\\": \\"下周天气晴朗\\",\\n \\"startTime\\": \\"2025-01-21 16:37:14\\",\\n \\"endTime\\": \\"2025-01-21 16:37:14\\"\\n }\\n ],\\n \\"response\\": {\\n \\"id\\": \\"d91d9afa-7cfc-4235-b012-a6f8e6ffa443\\",\\n \\"modelId\\": \\"qwen-plus\\",\\n \\"choices\\": [\\n {\\n \\"index\\": 0,\\n \\"message\\": {\\n \\"role\\": \\"assistant\\",\\n \\"roleDisplayName\\": \\"assistant\\",\\n \\"content\\": \\"下周天气都不错\\"\\n },\\n \\"finishReason\\": \\"stop\\"\\n }\\n ],\\n \\"created\\": 1737448637,\\n \\"time\\": \\"2025-01-21T16:37:17.497206762\\"\\n },\\n \\"inputTokens\\": 766,\\n \\"outputTokens\\": 988\\n },\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '运行智能体',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ 'responseParamsDescription' => '## 流式接口调用示例:'."\n"
+ .'### messageType表示每一帧消息的类型'."\n"
+ .'- toolDiscovery(工具发现)'."\n"
+ .'- functionCall(工具调用)'."\n"
+ .'- toolResponse(工具响应)'."\n"
+ .'- toolStartStep(开始一个工具处理步骤)'."\n"
+ .'- toolEmitStepData(每步执行过程中向外发送的细节数据)'."\n"
+ .'- completeStep(完成一个工具处理步骤)'."\n"
+ .'- **answer(答案)**'."\n"
+ .'```'."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"ToolDiscovery","contentGroup":"","content":"{\\"toolName\\":\\"web_search\\",\\"displayName\\":\\"搜索引擎\\"}","contentType":"JSON","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:19"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"FunctionCall","contentGroup":"","content":"{\\"functionArgs\\":\\"{\\\\\\"query\\\\\\":\\\\\\"下周的天气\\\\\\"}\\",\\"functionName\\":\\"web_search\\",\\"displayName\\":\\"搜索引擎\\"}","contentType":"JSON","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:19"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"ToolResponse","contentGroup":"","content":"{\\"toolName\\":\\"web_search\\",\\"result\\":\\"{\\\\\\"items\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"sc_name\\\\\\":\\\\\\"weather_moji\\\\\\",\\\\\\"weather_moji\\\\\\":{\\\\\\"sc_stype\\\\\\":\\\\\\"BOOK\\\\\\",\\\\\\"wisdomData\\\\\\":{\\\\\\"country\\\\\\":\\\\\\"中国\\\\\\",\\\\\\"province\\\\\\":\\\\\\"浙江省\\\\\\",\\\\\\"city\\\\\\":\\\\\\"杭州市\\\\\\",\\\\\\"district\\\\\\":\\\\\\"杭州市\\\\\\",\\\\\\"realtime_data\\\\\\":{\\\\\\"current\\\\\\":{\\\\\\"real_feel\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"vis\\\\\\":\\\\\\"5000\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"霾\\\\\\",\\\\\\"comfort\\\\\\":\\\\\\"54\\\\\\",\\\\\\"daytime\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.31\\\\\\",\\\\\\"tips\\\\\\":\\\\\\"略微偏凉,还是蛮舒适的。\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-3.0\\\\\\",\\\\\\"icon_weak\\\\\\":\\\\\\"16_weak\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"2\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-21 06:55:00\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"obs_time\\\\\\":\\\\\\"2025-01-21 16:45:08\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1015\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"15.0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-21 17:26:00\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"34\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"30\\\\\\",\\\\\\"precip_1h\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 16:15:03\\\\\\"}},\\\\\\"weather_forecast_data\\\\\\":{\\\\\\"lowest_temp\\\\\\":\\\\\\"-3\\\\\\",\\\\\\"hourly\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"real_feel\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"霾\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 16:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"36\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-4.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"2\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"16\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"16\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1014\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"15.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"34\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"30\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 17:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"31\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.1\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"17\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"32\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"11.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 18:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"36\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"18\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"41\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 19:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"28\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.1\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"19\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"12.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"52\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 20:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"25\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"20\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"62\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 21:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"26\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.2\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"21\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"69\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 22:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"11\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.9\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"22\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"71\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-21 23:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"2\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"4\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"18\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"23\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"5\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"73\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 0:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"21\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"45\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"3\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"0\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"75\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 1:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"31\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.5\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"225\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"11\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"西南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"1\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"76\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 2:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"38\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"225\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"10\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"西南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"2\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"76\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 3:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"46\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"225\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"10\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"西南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"3\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"74\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 4:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"52\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"180\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"9\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"4\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"72\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 5:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"65\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"180\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"9\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"5\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"70\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 6:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"63\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"180\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"9\\\\\\",\\\\\\"day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"19\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"6\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"73\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 7:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"60\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.7\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"7\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"73\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 8:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"48\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.6\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"8\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"71\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 9:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"48\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.8\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"9\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"61\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 10:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"38\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"10\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"11.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"48\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"11.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 11:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"47\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"-1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"11\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"43\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 12:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"31\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"12\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1021\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"39\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"16.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 13:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"29\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"2.2\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"13\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1019\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"16.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"38\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 14:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"30\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.9\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"14\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1018\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"37\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"18.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 15:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"29\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"1.3\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"8\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"1\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"15\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1018\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"82\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"36\\\\\\"},{\\\\\\"real_feel\\\\\\":\\\\\\"19.0\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"weather\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"predict_time\\\\\\":\\\\\\"2025-01-22 16:00:00\\\\\\",\\\\\\"sky\\\\\\":\\\\\\"21\\\\\\",\\\\\\"snow\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"wspd\\\\\\":\\\\\\"0.9\\\\\\",\\\\\\"wind_level\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees\\\\\\":\\\\\\"135\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 16:06:02\\\\\\",\\\\\\"dewpoint\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"wind_dir_id\\\\\\":\\\\\\"7\\\\\\",\\\\\\"day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_dir\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"icon\\\\\\":\\\\\\"0\\\\\\",\\\\\\"predict_hour\\\\\\":\\\\\\"16\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1018\\\\\\",\\\\\\"temp\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id\\\\\\":\\\\\\"5\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"30\\\\\\"}]},\\\\\\"days_15_diff\\\\\\":\\\\\\"21\\\\\\",\\\\\\"highest_temp\\\\\\":\\\\\\"18\\\\\\",\\\\\\"daily\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-20\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-20 10:26:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-20 22:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-20 06:55:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningGibbous\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"4.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-20 23:22:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-20 17:25:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"34\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"15.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-20 22:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-21 10:52:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-21 06:55:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningGibbous\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-21 00:00:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-21 17:26:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"50\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"5\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"135\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-22\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"1\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-22 11:20:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"0.9\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"90\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-22 06:55:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"Last\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-22 00:16:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-22 17:27:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"54\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"17.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-23\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-23 11:51:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-23 06:54:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1020\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-23 01:12:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-23 17:28:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"67\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"18.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"60\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-24\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-24 12:27:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"51\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"小雨\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-24 06:54:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-24 02:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-24 17:29:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"7\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"82\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"14.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"50\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-25\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-25 13:10:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"51\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"小雨\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-25 06:54:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"小雨\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-25 03:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-25 17:30:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"7\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"75\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"13.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"51\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"15\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"4.9\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"60\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"1\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-26\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-26 14:01:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"51\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"小雨\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"315\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"15\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-26 06:53:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"小雨\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1026\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"2.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-26 04:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-26 17:31:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"7\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"80\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"9.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"51\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"15\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-27\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-27 15:00:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"315\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"15\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-27 06:53:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1030\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"4.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-27 05:07:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-27 17:31:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"42\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"8\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"4\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-28\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-28 16:04:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"14\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-28 06:52:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaningCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1031\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-28 06:01:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-28 17:32:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"30\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"36\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-29\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-29 17:12:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"1\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-29 06:52:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"New\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1029\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-29 06:48:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-29 17:33:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"30\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"40\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"16\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"60\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"0\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"135\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-30\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-30 18:20:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"49\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"雨夹雪\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"315\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"7\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-30 06:51:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东南风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"晴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-30 07:29:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-30 17:34:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"6\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"51\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"10.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"1\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"4\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"70\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"5\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"315\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-31\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-01-31 19:28:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"16\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-01-31 06:51:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"西北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"雨夹雪\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1022\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-2.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-01-31 08:06:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-01-31 17:35:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"56\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"3.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"49\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-01\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-01 20:34:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"8\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"多云\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-01 06:50:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1023\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-3.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-01 08:39:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-01 17:36:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"31\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"66\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"3\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-02\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-02 21:40:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-02 06:49:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1023\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"-2.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-02 09:10:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-02 17:37:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"74\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"6.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"0\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-03\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-03 22:46:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"13\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"3\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-03 06:49:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"阴\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"1.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-03 09:42:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-03 17:38:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"67\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"5.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"13\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"},{\\\\\\"wind_dir_id_night\\\\\\":\\\\\\"3\\\\\\",\\\\\\"qpf\\\\\\":\\\\\\"8.0\\\\\\",\\\\\\"pop\\\\\\":\\\\\\"80\\\\\\",\\\\\\"icon_day\\\\\\":\\\\\\"9\\\\\\",\\\\\\"uvi\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_degrees_day\\\\\\":\\\\\\"45\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-02-04\\\\\\",\\\\\\"wind_dir_night\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"wind_level_night\\\\\\":\\\\\\"2\\\\\\",\\\\\\"moon_down\\\\\\":\\\\\\"2025-02-04 23:53:00\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 13:00:00\\\\\\",\\\\\\"weather_id_night\\\\\\":\\\\\\"49\\\\\\",\\\\\\"weather_night\\\\\\":\\\\\\"雨夹雪\\\\\\",\\\\\\"wspd_night\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"wind_degrees_night\\\\\\":\\\\\\"45\\\\\\",\\\\\\"wind_level_day\\\\\\":\\\\\\"2\\\\\\",\\\\\\"wind_dir_id_day\\\\\\":\\\\\\"4\\\\\\",\\\\\\"sun_rise\\\\\\":\\\\\\"2025-02-04 06:48:00\\\\\\",\\\\\\"wind_dir_day\\\\\\":\\\\\\"东北风\\\\\\",\\\\\\"weather_day\\\\\\":\\\\\\"雨\\\\\\",\\\\\\"moon_phase\\\\\\":\\\\\\"WaxingCrescent\\\\\\",\\\\\\"mslp\\\\\\":\\\\\\"1024\\\\\\",\\\\\\"wspd_day\\\\\\":\\\\\\"2.4\\\\\\",\\\\\\"temp_low\\\\\\":\\\\\\"0.0\\\\\\",\\\\\\"moon_rise\\\\\\":\\\\\\"2025-02-04 10:15:00\\\\\\",\\\\\\"sun_down\\\\\\":\\\\\\"2025-02-04 17:38:00\\\\\\",\\\\\\"icon_night\\\\\\":\\\\\\"6\\\\\\",\\\\\\"humidity\\\\\\":\\\\\\"60\\\\\\",\\\\\\"temp_high\\\\\\":\\\\\\"7.0\\\\\\",\\\\\\"weather_id_day\\\\\\":\\\\\\"78\\\\\\",\\\\\\"get_time\\\\\\":\\\\\\"2025-01-21 14:50:03\\\\\\"}]}},\\\\\\"index_data\\\\\\":{\\\\\\"index\\\\\\":{\\\\\\"item\\\\\\":[{\\\\\\"index_level\\\\\\":\\\\\\"4\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"12\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"感冒容易发生,少去人群密集的场所有利于降低感冒的几率。\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"感冒指数\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"易发\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"7\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"17\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"较不宜洗车,未来一天无雨,风力较大,如果执意擦洗汽车,要做好蒙上污垢的心理准备。\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"洗车指数\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"较不适宜\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"5\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"20\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"天气偏凉,增加衣物厚度。\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"穿衣指数\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"温凉\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"21\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"辐射较弱,请涂擦SPF12-15、PA+护肤品。\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"紫外线指数\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"弱\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"},{\\\\\\"index_level\\\\\\":\\\\\\"2\\\\\\",\\\\\\"index_type_id\\\\\\":\\\\\\"32\\\\\\",\\\\\\"update_time\\\\\\":\\\\\\"2025-01-21 14:22:02\\\\\\",\\\\\\"index_desc\\\\\\":\\\\\\"未来一段时间的气象条件下,不利于主要过敏源的飞散,出现过敏症状的可能性较小。\\\\\\",\\\\\\"index_type\\\\\\":\\\\\\"息斯敏过敏指数\\\\\\",\\\\\\"index_level_desc\\\\\\":\\\\\\"不易发\\\\\\",\\\\\\"predict_date\\\\\\":\\\\\\"2025-01-21\\\\\\"}]}}}}},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://3g.china.com/act/news/10000169/20250120/47893150.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737363220\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"中华网\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"西安下周将迎雨雪降温天气 大范围雨雪来袭\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://3g.china.com/act/news/10000169/20250120/47893150.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"3g.china.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"西安\\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e将迎雨雪降温\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e 大范围雨雪来袭-中华网\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"陕西省气象局于1月19日发布重要\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e报告,预计1月24日至26日将出现大范围雨雪、降温及大风\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e。雨雪主要集中在24日至25日,而降温则从24日持续至26日。此次\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e过程的特点是雨雪范围广、强度大且雨雪相态复杂,同时伴有大幅...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"陕西省气象局于1月19日发布重要天气报告,预计1月24日至26日将出现大范围雨雪、降温及大风天气。雨雪主要集中在24日至25日,而降温则从24日持续至26日。此次天气过程的特点是雨雪范围广、强度大且雨雪相态复杂,同时伴有大幅降温及强风。\\\\\\\\n24日陕北北部将有中到大雪(2~5毫米),陕北南部、关中和商洛地区会有雨夹雪转大到暴雪(5~15毫米)。汉中和安康则可能出现小到中雨或雨夹雪转小到中雪(3~15毫米)。25日陕北有小到中雪(1~3毫米),关中有中到大雪(3~5毫米),陕南雨夹雪转中到大雪(4~15毫米)。\\\\\\\\n预计积雪深度方面,陕北为5~8厘米,关中1~6厘米,陕南0~5厘米,秦巴山区可达10~20厘米。24日至26日期间,陕北、秦岭山区的日平均气温将下降12~14℃,局部地区甚至达到16℃;关中下降10~14℃;陕南下降10~12℃。最低气温出现在27日清晨,陕北-22~-20℃,关中北部-18~-16℃,关中南部-10~-8℃,商洛-14~-12℃,汉中和安康-7~-5℃,秦巴山区-18~-13℃,部分地区可能低于-20℃。24日夜至26日,陕北、关中大部分地区、商洛以及秦岭山区将有5...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://c.m.163.com/news/a/JM90PUQI0514CILT.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737260160\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"网易新闻客户端\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"下周天气大反转,一大波阴雨要来,小年夜最低-2℃\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://c.m.163.com/news/a/JM90PUQI0514CILT.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"c.m.163.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"\\\\u003cem\\\\u003e下周天气\\\\u003c/em\\\\u003e大反转,一大波阴雨要来,小年夜最低-2℃-网易新闻客户端\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"区气象台2025年1月19日6时发布\\\\u003cem\\\\u003e的天气\\\\u003c/em\\\\u003e预报:晴到多云,今天上午以前局部地区有雾,明天多云。偏西风,明天转 西北风,风力都是3~4级。今天最高气温15℃,明天最低气温-1℃,有薄冰。这波回暖席卷我国大部分地区。到21日之前,...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"这个双休日\\\\\\\\n金山保持晴到多云\\\\\\\\n天空晴朗日照充足\\\\\\\\n是回暖的主基调\\\\\\\\n区气象台2025年1月19日6时发布的天气预报:晴到多云,今天上午以前局部地区有雾,明天多云。偏西风,明天转 西北风 ,风力都是3~4级。今天最高气温15℃,明天最低气温-1℃,有薄冰。\\\\\\\\n这波回暖席卷我国大部分地区。到21日之前,我国大部地区最高气温累计升幅可达6℃~12℃, 19日至21日,是此轮过程最暖热时段 ,最高气温10℃线将抵达华北南部,长江以南普遍超过20℃,华南不少地方超过25℃。\\\\\\\\n打开网易新闻 查看更多图片 \\\\\\\\n图源花开海上生态园\\\\\\\\n从目前预报来看, 南方多地温暖程度堪比常年4月上中旬 ,其中江南一带暖热尤为突出,最高气温将普遍比常年 同期偏高10℃甚至15℃以上。\\\\\\\\n这波大回暖过后\\\\\\\\n“纠偏型”冷空气会南下\\\\\\\\n春节前期气温可能会回归\\\\\\\\n冬天本来的模样\\\\\\\\n下周四 起云量明显增多\\\\\\\\n带来一波连续阴雨\\\\\\\\n已经延续了一个多月的\\\\\\\\n干燥天气会有所缓解\\\\\\\\n下周日前后\\\\\\\\n一股强劲的冷空气抵达\\\\\\\\n气温骤跌\\\\\\\\n重点是在小年夜那天\\\\\\\\n(注意看1月27日)\\\\\\\\n气温骤跌到-2℃\\\\\\\\n最高温度显示的也只有4℃\\\\\\\\n最近几天的昼夜温差\\\\\\\\n可能有近10℃\\\\\\\\n白天暖意十足\\\\\\\\n早晚仍...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjExMA.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737277064\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"齐鲁网\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"下周,天气有变!山东将迎冷空气,大风+降温,部分地区有小雨\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjExMA.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"sdxw.iqilu.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"\\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e,\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e有变!山东将迎冷空气,大风+降温,部分地区有小雨-齐鲁网\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"今天,我国大部地区\\\\u003cem\\\\u003e的天气\\\\u003c/em\\\\u003e主题依然是:干巴。下周天气要变,山东迎冷空气 据山东...总之,\\\\u003cem\\\\u003e下周的\\\\u003c/em\\\\u003e雨雪和降温影响范围较广,冬天该有冷或再度回归,正处于春运返乡高峰,有出行计划的朋友衣服要带足,并根据天气变化及时调整行程。...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"原标题:下周,天气有变!山东将迎冷空气,大风+降温,部分地区有小雨\\\\\\\\n来源:山东广播电视台\\\\\\\\n今天是“四九”第三天,一场持续时间长、气温偏高幅度大、同期少有的暖意正在袭来。\\\\\\\\n今天,我国大部地区的天气主题依然是: 干巴 。\\\\\\\\n下周天气要变,山东迎冷空气\\\\\\\\n据山东省气象台最新预报,19日白天到夜间全省天气晴到少云,20日白天到夜间全省天气晴到少云。 21~24日有弱冷空气影响,全省天气以多云为主,鲁南地区局部有小雨。\\\\\\\\n未来7天具体预报:\\\\\\\\n18日夜间到19日白天,全省天气晴间多云。半岛地区南风4~5级阵风6级转北风3~4级,其他地区南风3~4级转北风2~3级。\\\\\\\\n最低气温:鲁西北和半岛内陆地区-5℃左右,其他地区-3℃左右。\\\\\\\\n最高气温:鲁南地区11℃左右,北部沿海地区5℃左右,其他地区8℃左右。\\\\\\\\n19日夜间到20日白天,全省天气晴到少云。北风转南风,半岛地区3~4级,其他地区3级左右。\\\\\\\\n最低气温:鲁西北和鲁中山区-5℃左右,其他地区-3℃左右。\\\\\\\\n最高气温:菏泽和聊城13℃左右,半岛地区7℃左右,其他地区10℃左右。\\\\\\\\n20日夜间到21日白天,全省天气晴转多云。半岛地区南风3~4级,其他地区南风转北风3~...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjY4NA.html\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737298306\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"齐鲁网\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"雨雪降温!有大雾!德州下周天气预报→\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://sdxw.iqilu.com/share/YS0yMS0xNjE5NjY4NA.html\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"sdxw.iqilu.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"雨雪降温!有大雾!德州\\\\u003cem\\\\u003e下周天气\\\\u003c/em\\\\u003e预报→-齐鲁网\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"齐鲁网·闪电新闻1月19日讯 德州市气象台19日下午发布最新\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e预报,预计1月20—24日以晴到多云\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e为主,气温回升,其中23—24日早晨可能出现大雾;25—26日有一次雨雪降温\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e过程。周最低气温-7℃,出现在20日早晨,周最高...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":0},\\\\\\"MainBody\\\\\\":\\\\\\"齐鲁网·闪电新闻1月19日讯 德州市气象台19日下午发布最新天气预报,预计1月20—24日以晴到多云天气为主,气温回升,其中23—24日早晨可能出现大雾;25—26日有一次雨雪降温天气过程。周最低气温-7℃,出现在20日早晨,周最高气温11℃,出现在20—21日。\\\\\\\\n具体预报\\\\\\\\n今天夜间晴,东南风1级,最低气温-6℃。\\\\\\\\n明天白天晴,南风2级,最高气温11℃。\\\\\\\\n20日夜间晴,西南风1级,最低气温-4℃。\\\\\\\\n21日白天晴间多云,东北风2级,最高气温10℃。\\\\\\\\n21日夜间晴,东北风2级,最低气温-1℃。\\\\\\\\n22日白天晴,东北风2级,最高气温10℃。\\\\\\\\n22日夜间晴,北风1级,最低气温-5℃。\\\\\\\\n23日白天晴,东北风2级,最高气温8℃。\\\\\\\\n德州台 孙玖鑫\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://mparticle.uc.cn/article.html?uc_param_str\\\\u003dfrdnsnpfvecpntnwprdssskt#!wm_aid\\\\u003d32cfb6517da7454c90e50a00e84dc7ab!!wm_id\\\\u003d64e2b4f2a9dc49a4be162b53d6572fd9\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737292453\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"资讯超市\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"返乡要趁早! 短期内干燥天气仍持续! 下周后期大范围雨雪趋势可信\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://mparticle.uc.cn/article.html?uc_param_str\\\\u003dfrdnsnpfvecpntnwprdssskt#!wm_aid\\\\u003d32cfb6517da7454c90e50a00e84dc7ab!!wm_id\\\\u003d64e2b4f2a9dc49a4be162b53d6572fd9\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"mparticle.uc.cn\\\\\\",\\\\\\"title\\\\\\":\\\\\\"返乡要趁早! 短期内干燥\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e仍持续! \\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e后期大范围雨雪趋势可信-资讯超市\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"但之后再度转少,后半周大部地区\\\\u003cem\\\\u003e的天气\\\\u003c/em\\\\u003e,晴朗干燥为主。另外,周初的宁夏等地,可能有沙尘来扰。全国降水量预报图(中央气象台/发) 专家表示,监测数据表明,今天(19日)下午的青藏高原以及中东部多地,空气依然干燥。其中,...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"△ 全国降水量预报图(中央气象台/发)\\\\\\\\n民声天下1月19日北京快讯 转眼间,传统二十四节气的“小寒”已近尾声。本周(1月13日-1月19日)的全国天气舞台,在专家看来,冷空气先强后弱,气温呈探底回升的格局;大部地区呈现中间低、周初和周末明显偏高的“V型”走势。此外,周初在南支槽以及冷锋过境的影响下,降水暂时增多。但之后再度转少,后半周大部地区的天气,晴朗干燥为主。另外,周初的宁夏等地,可能有沙尘来扰。\\\\\\\\n△ 全国降水量预报图(中央气象台/发)\\\\\\\\n专家表示,监测数据表明,今天(19日)下午的青藏高原以及中东部多地,空气依然干燥。其中,拉萨和丽江的空气相对湿度不足10%。此外,统计还显示,郑州、石家庄、北京、天津、太原、济南的空气相对湿度不足20%。而根据最新的气象资料分析,未来的3天,雨雪依然不多;但下周四(23日)以后,中东部可能出现大范围的降水。\\\\\\\\n△ 全国降水量预报图(中央气象台/发)\\\\\\\\n值得注意的是,业内人士强调指出,形势上研判同样不难发现,如专家所言,从目前欧美气象机构数值模式预报对于降雪的范围、强度来看,还存有分歧;因此,公众在后期临近时需关注气象部门对于水汽输送和动力配合的修订。尽...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/2369612657/8d3d6b71019018vom?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737286740\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"财经头条\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"大范围降雪+降温!下周天气有变化→\\\\\\",\\\\\\"url\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/2369612657/8d3d6b71019018vom?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"cj.sina.cn\\\\\\",\\\\\\"title\\\\\\":\\\\\\"大范围降雪+降温!\\\\u003cem\\\\u003e下周天气\\\\u003c/em\\\\u003e有变化→-财经头条\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"眼下已进入四九寒天,然而内蒙古大部气温偏高、晴朗干燥\\\\u003cem\\\\u003e的天气\\\\u003c/em\\\\u003e格局却仍在继续。预计未来几天,冷空气将继续消极怠工,全区各地气温稳中有升,雨雪难觅。展望后期,24日开始,会有一股较强冷空气影响我区,并带来 大范围雨雪、...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":0},\\\\\\"MainBody\\\\\\":\\\\\\"准格尔旗未来一周\\\\\\\\n天气预报\\\\\\\\n(1月20日-1月26日)\\\\\\\\n▪ 周一至周四 (1月20日-1月23日) ,准格尔旗 以晴为主 ,气温缓慢上升;\\\\\\\\n▪ 周五至周六 (1月24日-1月25日) , 准格尔旗 有一次大范围降雪过程 ,降雪期间风力较大, 雪后气温下降8~10℃ ;\\\\\\\\n▪ 周日 (1月26日) ,多云,最低气温降至 零下19~零 下1 5℃ 。\\\\\\\\n眼下已进入四九寒天,然而内蒙古大部气温偏高、晴朗干燥的天气格局却仍在继续。预计未来几天,冷空气将继续消极怠工,全区各地气温稳中有升,雨雪难觅。展望后期, 24日开始,会有一股较强冷空气影响我区,并带来 大范围雨雪、降温天气,中西部多地有大雪,鄂尔多斯市西部和南部有暴雪; 西部大部、东北部偏西地区气温下降6到8℃,局地气温下降8℃以上, 并伴有5、6级短时7、8及西北风。\\\\\\\\n临近春节,正值春运高峰,公众需及时关注临近天气预报,注意防范雨雪降温天气对交通出行的不利影响。\\\\\\\\n来源:准格尔旗融媒体中心综合\\\\\\\\n0 条评论 | 0 人参与 网友评论\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://m.163.com/dy/article/JMA24PJU0530JPVV.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737295147\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"网易订阅\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"-6℃+雨夹雪!淄博下周天气→\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://m.163.com/dy/article/JMA24PJU0530JPVV.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"m.163.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"-6℃+雨夹雪!淄博\\\\u003cem\\\\u003e下周天气\\\\u003c/em\\\\u003e→-网易订阅\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"\\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e,山东局部地区有小雨雪 据山东省气象台预报,20—21日全省\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e晴转多云,气温回升;22—25日有弱冷空气影响,云量增多,局部地区有小...21日夜间到22日白天,菏泽、济宁和聊城\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e多云转阴局部有小雨,其他地区\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e多云。...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"明天(1月20日)\\\\\\\\n将迎来大寒节气\\\\\\\\n大寒是二十四节气中的\\\\\\\\n最后一个节气\\\\\\\\n接下来天气如何\\\\\\\\n一起来看\\\\\\\\n23日起强冷空气携雨雪降温登场\\\\\\\\n据@中国天气 预报,1月19日至21日,全国大部气温依然稳中有升,并将以更暖的“姿态”迎来大寒节气。此轮回暖持续时间长、范围广,各地气温将陆续到达近期高点。23日起,一股强冷空气将影响我国大部地区,并带来大范围雨雪天气。恰逢春运期间,公众需密切关注天气变化,提前做好相应的防范工作。\\\\\\\\n下周,山东局部地区有小雨雪\\\\\\\\n据山东省气象台预报,20—21日全省天气晴转多云,气温回升;22—25日有弱冷空气影响,云量增多,局部地区有小雨雪。\\\\\\\\n具体预报\\\\\\\\n19日夜间到20日白天, 全省天气晴到少云。北风转南风3~4级。 最低气温: 鲁西北和鲁中山区-5℃左右,其他地区-3℃左右。 最高气温: 聊城、菏泽和济宁12℃左右,北部沿海地区6℃左右,其他地区9℃左右。\\\\\\\\n20日夜间到21日白天, 全省天气晴转多云。南风转北风3~4级。 最低气温: 沿海地区-1℃左右,其他地区-3℃左右。 最高气温: 鲁西北和半岛地区10℃左右,其他地区13℃左右。\\\\\\\\n21日夜间到22日白天, 菏泽、济宁和...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/1931238691/731c5d2301901pjje?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737286980\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"财经头条\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"雨雪大风降温来袭!下周,青岛天气有变!\\\\\\",\\\\\\"url\\\\\\":\\\\\\"http://cj.sina.cn/articles/view/1931238691/731c5d2301901pjje?finpagefr\\\\u003dp_104\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"cj.sina.cn\\\\\\",\\\\\\"title\\\\\\":\\\\\\"雨雪大风降温来袭!\\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e,青岛\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e有变!-财经头条\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"未来两天,继续晴暖\\\\u003cem\\\\u003e的天气\\\\u003c/em\\\\u003e趋势,全市最高气温可达7~11度之间,有利于节前清洗和春运出行。总体来说,\\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e多数时间没有明显冷空气影响,风力偏弱,气温波动较小。不过,对内陆地区来说,虽然白天暖的不像四九,但昼夜温差大,...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"时处三四九\\\\\\\\n寒尽春将生 1月20日4时00分我们将迎来二十四节气中的最后一个节气——大寒\\\\\\\\n预计1月19日至21日,\\\\\\\\n全国大部气温依然稳中有升,\\\\\\\\n并将以更暖的“姿态”迎来大寒节气。\\\\\\\\n此轮回暖持续时间长、范围广,\\\\\\\\n各地气温将陆续到达近期高点。\\\\\\\\n23日起,\\\\\\\\n一股强冷空气将影响我国大部地区,\\\\\\\\n并带来大范围雨雪天气。\\\\\\\\n给大部地区带来6至10℃降温,\\\\\\\\n部分地区降幅可达12℃以上,\\\\\\\\n并伴有4至6级风。\\\\\\\\n山东省气象台2025年1月19日16时\\\\\\\\n发布省内短时天气预报\\\\\\\\n19日夜间到20日白天,全省天气晴到少云。北风转南风3~4级。\\\\\\\\n最低气温:鲁西北和鲁中山区-5℃左右,其他地区-3℃左右。\\\\\\\\n最高气温:聊城、菏泽和济宁12℃左右,北部沿海地区6℃左右,其他地区9℃左右。\\\\\\\\n20日夜间到21日白天,全省天气晴转多云。南风转北风3~4级。\\\\\\\\n最低气温:沿海地区-1℃左右,其他地区-3℃左右。\\\\\\\\n最高气温:鲁西北和半岛地区10℃左右,其他地区13℃左右。\\\\\\\\n21日夜间到22日白天,菏泽、济宁和聊城天气多云转阴局部有小雨,其他地区天气多云。北风3~4级。\\\\\\\\n最低气温:鲁南和沿海地区1℃左右,其他地区-2℃左右。\\\\\\\\n最高气温:内...\\\\\\"},{\\\\\\"RawUrl\\\\\\":\\\\\\"https://m.163.com/dy/article/JM9AHHJC0550E6NG.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"sc_name\\\\\\":\\\\\\"structure_web_info\\\\\\",\\\\\\"time\\\\\\":\\\\\\"1737270399\\\\\\",\\\\\\"hostname\\\\\\":\\\\\\"网易订阅\\\\\\",\\\\\\"article_title\\\\\\":\\\\\\"雨雪!降温!下周,临沂天气要变!\\\\\\",\\\\\\"url\\\\\\":\\\\\\"https://m.163.com/dy/article/JM9AHHJC0550E6NG.html?spss\\\\u003ddy_author\\\\\\",\\\\\\"shorturl\\\\\\":\\\\\\"m.163.com\\\\\\",\\\\\\"title\\\\\\":\\\\\\"雨雪!降温!\\\\u003cem\\\\u003e下周\\\\u003c/em\\\\u003e,临沂\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e要变!-网易订阅\\\\\\",\\\\\\"desc\\\\\\":\\\\\\"总之,\\\\u003cem\\\\u003e下周的\\\\u003c/em\\\\u003e雨雪和降温影响范围较广,冬天该有冷或再度回归,正处于春运返乡高峰,有出行计划的朋友衣服要带足,并根据\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e变化及时调整行程。不过目前时效较远,\\\\u003cem\\\\u003e天气\\\\u003c/em\\\\u003e仍有变数,需密切保持关注。扩散!周知!视频号上新啦 ...\\\\\\",\\\\\\"attributes\\\\\\":{\\\\\\"desc_truncate\\\\\\":0,\\\\\\"MainBody_truncate\\\\\\":1},\\\\\\"MainBody\\\\\\":\\\\\\"虽然已进入四九寒天\\\\\\\\n但临沂升温明显\\\\\\\\n今天最高气温达到12℃\\\\\\\\n具体天气预报\\\\\\\\n今天下午到夜间 ,晴到少云,偏北风3级,气温12~-3℃;\\\\\\\\n20日白天到夜间 ,晴间多云,偏北风转偏南风3级,气温11~-1℃;\\\\\\\\n21日白天到夜间 ,晴转多云,偏南风转偏东风3~4级,气温12~-1℃。\\\\\\\\n不过\\\\\\\\n下周,天气要变\\\\\\\\n据山东省气象台最新预报\\\\\\\\n19—21日全省天气晴转多云\\\\\\\\n气温回升\\\\\\\\n22—25日有弱冷空气影响\\\\\\\\n鲁南地区有小雨雪\\\\\\\\n未来三天全省天气预报\\\\\\\\n19日白天到夜间,全省天气晴到少云。半岛地区北风3~4级,其他地区北风转南风3~4级。\\\\\\\\n夜间最低气温 :鲁西北和鲁中山区-5°C左右,其他地区-3°C左右。\\\\\\\\n最高气温 :鲁南地区11°C左右,北部沿海地区5°C左右,其他地区8°C左右。\\\\\\\\n20日白天到夜间,全省天气晴转多云。半岛地区北风转南风3~4级,其他地区南风3~4级。\\\\\\\\n夜间最低气温 :沿海地区-1°C左右,其他地区-3°C左右。\\\\\\\\n最高气温 :菏泽和聊城13°C左右,半岛地区7°C左右,其他地区10°C左右。\\\\\\\\n21日白天到夜间,鲁西北地区天气多云转阴,其他地区天气多云。南风转北风3~4级。\\\\\\\\n夜间最低气温 :沿...\\\\\\"}],\\\\\\"@attributes\\\\\\":{\\\\\\"total\\\\\\":760082,\\\\\\"searchtime\\\\\\":339,\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}}}\\"}","contentType":"JSON","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:20"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"根据","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"搜索","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"结果","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":",下周的天气","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"预报如下:\\n\\n-","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" **1月2","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:24"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"2日(周一","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":")**:多","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"云,气温逐渐","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"回升,白天最高","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"气温约为17","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"℃,夜间最低","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"气温约为7℃","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:25"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"。\\n- **1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"月23日","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"(周二)**","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":":多云,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:26"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"气温继续回升,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"白天最高气温约为","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"18℃,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"夜间最低气温约为","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"8℃。\\n-","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":" **1月2","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:27"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"4日(周三","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":")**:多","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"云转阴,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"部分地区有小雨","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":",白天最高气温","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:28"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"约为14℃","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:29"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":",夜间最低气温","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:29"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"约为7℃。\\n","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:29"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"- **1月","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"25日(","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"周四)**:","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"阴转小雨","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":",白天最高气温","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"约为13℃","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:30"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":",夜间最低气温","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"约为5℃。\\n","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"- **1月","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"26日(","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"周五)**:","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"小雨,白天","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"最高气温约为9","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:31"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"℃,夜间最低","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:32"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"气温约为2℃","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:33"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"。\\n- **1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:33"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"月27日","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:33"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"(周六)**","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":":阴转晴","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":",白天最高气温","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"约为8℃,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"夜间最低气温约为","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"-1℃。\\n","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"- **1月","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:34"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"28日(","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"周日)**","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":":晴,白天","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"最高气温约为1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"0℃,夜间","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"最低气温约为1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"℃。\\n\\n此外,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:35"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"从1月2","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"4日开始,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"将有一股较强的","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"冷空气影响,","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"带来大范围的","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"雨雪和降温","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:36"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"天气。特别是1","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"月27日","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"(周六)和","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"1月28","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"日(周日","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"),气温将显著","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:37"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"下降,建议大家","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:38"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"注意保暖,合理","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:38"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":"安排出行。","contentType":"TEXT","extraInfo":null,"stop":false,"time":"2025-01-21 16:57:38"}'."\n"
+ ."\n"
+ .'data:{"versionId":"439xzzdxwg","modelId":"qwen2.5-72b-instruct","threadId":"wx4nvjkvad","replayId":"7x6p2wrbav","role":"assistant","roleDisplayName":"","messageType":"Answer","contentGroup":"","content":null,"contentType":"TEXT","extraInfo":null,"stop":true,"time":"2025-01-21 16:57:38"}'."\n"
+ .'```',
+ ],
+ 'CreateDialog' => [
+ 'summary' => '创建外呼会话。',
+ 'path' => '/{workspaceId}/api/virtualHuman/dialog/create',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'playCode' => [
+ 'title' => '剧本编码',
+ 'description' => '剧本编码',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'live_broadcast_qa',
+ ],
+ 'channel' => [
+ 'title' => '渠道',
+ 'description' => '渠道',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'taobao',
+ ],
+ 'metaData' => [
+ 'title' => '其他信息',
+ 'description' => '其他信息',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => 'null',
+ ],
+ 'qaLibraryList' => [
+ 'title' => 'QA问答库ID列表,enableLibrary为true时,不得为空。',
+ 'description' => 'QA问答库ID列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'QA问答库ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'd86a4b9cd3',
+ ],
+ 'required' => false,
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ebf83826-dc1c-46f8-9759-0fb6da4c8xxx'."\n",
+ ],
+ 'enableLibrary' => [
+ 'title' => '是否开启意图库,默认是false。',
+ 'description' => '是否开启意图库',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'true',
+ ],
+ 'selfDirected' => [
+ 'title' => '是否开启自主问答,默认是false。',
+ 'description' => '是否开启自主问答',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DiaBaseResult>',
+ 'description' => 'ResultCode<DiaBaseResult>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'example' => '1728545917713234',
+ ],
+ 'openingRemarks' => [
+ 'title' => '开场白',
+ 'description' => '开场白',
+ 'type' => 'string',
+ 'example' => '你好,我是XX客服人员。',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '003D019A-1BB3-53EC-A0D2-CE76DA5D73B1',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"sessionId\\": \\"1728545917713234\\",\\n \\"openingRemarks\\": \\"你好,我是XX客服人员。\\"\\n },\\n \\"requestId\\": \\"003D019A-1BB3-53EC-A0D2-CE76DA5D73B1\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '创建外呼会话',
+ ],
+ 'RealTimeDialog' => [
+ 'summary' => '实时会话,通过API CreateDialog创建会话后,可使用该API进行实时会话。',
+ 'path' => '/{workspaceId}/api/realtime/dialog/chat',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'text/event-stream',
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求体参数。',
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'bizType' => [
+ 'title' => '业务类型,默认mixIntentChat。',
+ 'description' => '业务类型,默认mixIntentChat。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'mixIntentChat',
+ 'default' => 'mixIntentChat',
+ ],
+ 'analysis' => [
+ 'title' => '是否分析',
+ 'description' => '是否分析',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'recommend' => [
+ 'title' => '推荐意图',
+ 'description' => '推荐意图',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'metaData' => [
+ 'title' => '元信息,用于封装提示词。',
+ 'description' => '元信息,用于封装提示词。',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "phoneTailNumber": "机主尾号:98X1",'."\n"
+ .' "preScreeningQuota": "预审额度:3万",'."\n"
+ .' "generalInterest": "平台一般利息:20.4%"'."\n"
+ .' }',
+ ],
+ 'stream' => [
+ 'title' => '是否流式返回',
+ 'description' => '是否流式返回',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'conversationModel' => [
+ 'title' => '对话列表',
+ 'description' => '对话列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '对话',
+ 'description' => '对话',
+ 'type' => 'object',
+ 'properties' => [
+ 'role' => [
+ 'title' => '角色。0表示客户,1表示坐席。',
+ 'description' => '角色。0表示客户,1表示坐席。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'intentionCode' => [
+ 'title' => '意图编码',
+ 'description' => '意图编码',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '198379874354',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型,0: 机器人,1: 人工。',
+ 'description' => '坐席类型,0: 机器人,1: 人工。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0',
+ 'enum' => [
+ '0',
+ '1',
+ ],
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID,**必填**。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1374683645635',
+ ],
+ 'customerId' => [
+ 'title' => '对话角色的唯一标识',
+ 'description' => '对话角色的唯一标识,**必填**。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '98457834685635',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '人工客服',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型[Text(文本),Audio(音频),Image(图片)]',
+ 'description' => '对话内容的类型[text(文本),audio(音频),image(图片)]',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'audio',
+ 'enum' => [
+ 'text',
+ 'audio',
+ 'image',
+ ],
+ ],
+ 'beginTime' => [
+ 'title' => '这句话的开始时间',
+ 'description' => '这句话的开始时间',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-11-08 09:51:16',
+ ],
+ 'begin' => [
+ 'title' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '5',
+ ],
+ 'end' => [
+ 'title' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '237645726354',
+ ],
+ 'dialogMemoryTurns' => [
+ 'title' => '携带的会话历史轮数',
+ 'description' => '携带的会话历史轮数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '3',
+ ],
+ 'userVad' => [
+ 'title' => '是否用户打断',
+ 'description' => '是否用户打断',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ 'scriptContentPlayed' => [
+ 'title' => '上一句客服话术已经播报的部分',
+ 'description' => '上一句客服话术已经播报的部分',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你好,我是',
+ ],
+ 'opType' => [
+ 'title' => '操作类型,目前支持common/hierarchical',
+ 'description' => '操作类型:目前仅支持common/hierarchical',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'common',
+ 'default' => 'common',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'IntentionChatResp',
+ 'description' => 'IntentionChatResp',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => [
+ 'title' => '本次调用的唯一标识符。每个chunk对象有相同的id。',
+ 'description' => '本次调用的唯一标识符。每个chunk对象有相同的id。',
+ 'type' => 'string',
+ 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032',
+ ],
+ 'choices' => [
+ 'title' => '生成内容的数组,可包含一个或多个choices对象。',
+ 'description' => '生成内容的数组,可包含一个或多个choices对象。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '生成内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'index' => [
+ 'title' => '在choices列表中的序列编号。',
+ 'description' => '在choices列表中的序列编号。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'finishReason' => [
+ 'title' => '会话结束时为stop,会话正在进行中为null;当success为false时,为错误信息。',
+ 'description' => '会话结束时为stop,会话正在进行中为null;当success为false时,为错误信息。',
+ 'type' => 'string',
+ 'example' => 'stop',
+ ],
+ 'message' => [
+ 'title' => '非流式时,返回的全量结果。',
+ 'description' => '非流式时,返回的全量结果。流式时为空。',
+ 'type' => 'object',
+ 'properties' => [
+ 'intentionCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'example' => '1853360771162058752',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术',
+ 'description' => '意图话术',
+ 'type' => 'string',
+ 'example' => '抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。',
+ ],
+ 'intentionName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '其它',
+ ],
+ 'recommendIntention' => [
+ 'title' => '推荐意图',
+ 'description' => '推荐意图',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'recommendScript' => [
+ 'title' => '推荐话术',
+ 'description' => '推荐话术',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'analysisProcess' => [
+ 'title' => '分析过程',
+ 'description' => '分析过程',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'selfDirectedScript' => [
+ 'title' => '自主问答话术 增量数据',
+ 'description' => '自主问答话术,增量数据。流式时为空。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'callTime' => [
+ 'title' => 'time',
+ 'description' => 'time',
+ 'type' => 'string',
+ 'example' => '1735139569523',
+ ],
+ 'hangUpDialog' => [
+ 'title' => '挂断对话',
+ 'description' => '挂断对话',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'selfDirectedScriptFullContent' => [
+ 'title' => '自主问答话术 全量数据',
+ 'description' => '自主问答话术,全量数据',
+ 'type' => 'string',
+ 'example' => '关于宇宙的大小,这是一个非常深奥的科学话题'."\n",
+ ],
+ 'interrupt' => [
+ 'title' => '是否打断',
+ 'description' => '是否打断',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'skipCurrentRecognize' => [
+ 'title' => '是否跳过当前识别',
+ 'description' => '是否跳过当前识别',
+ 'type' => 'boolean',
+ 'default' => 'false',
+ ],
+ ],
+ ],
+ 'delta' => [
+ 'title' => '流式时,返回的增量结果。',
+ 'description' => '流式时,返回的增量结果。非流式时为空。',
+ 'type' => 'object',
+ 'properties' => [
+ 'intentionCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'example' => '1853360771162058752',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术',
+ 'description' => '意图话术',
+ 'type' => 'string',
+ 'example' => '抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。',
+ ],
+ 'intentionName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '其他',
+ ],
+ 'recommendIntention' => [
+ 'title' => '推荐意图',
+ 'description' => '推荐意图',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'recommendScript' => [
+ 'title' => '推荐话术',
+ 'description' => '推荐话术',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'analysisProcess' => [
+ 'title' => '分析过程',
+ 'description' => '分析过程',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'selfDirectedScript' => [
+ 'title' => '自主问答话术 增量数据',
+ 'description' => '自主问答话术,增量数据',
+ 'type' => 'string',
+ 'example' => '话题',
+ ],
+ 'callTime' => [
+ 'title' => 'time',
+ 'description' => 'time',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'hangUpDialog' => [
+ 'title' => '挂断对话',
+ 'description' => '挂断对话',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'selfDirectedScriptFullContent' => [
+ 'title' => '自主问答话术 全量数据',
+ 'description' => '自主问答话术,全量数据',
+ 'type' => 'string',
+ 'example' => '关于宇宙的大小,这是一个非常深奥的科学话题',
+ ],
+ 'interrupt' => [
+ 'title' => '是否打断',
+ 'description' => '是否打断',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'skipCurrentRecognize' => [
+ 'title' => '是否跳过当前识别',
+ 'description' => '是否跳过当前识别',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'created' => [
+ 'title' => '本次请求被创建的时间戳',
+ 'description' => '本次请求被创建的时间戳',
+ 'type' => 'string',
+ 'example' => '1735139569523',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"id\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"choices\\": [\\n {\\n \\"index\\": 0,\\n \\"finishReason\\": \\"stop\\",\\n \\"message\\": {\\n \\"intentionCode\\": \\"1853360771162058752\\",\\n \\"intentionScript\\": \\"抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。\\",\\n \\"intentionName\\": \\"其它\\",\\n \\"recommendIntention\\": \\"null\\",\\n \\"recommendScript\\": \\"null\\",\\n \\"analysisProcess\\": \\"null\\",\\n \\"selfDirectedScript\\": \\"null\\",\\n \\"callTime\\": \\"1735139569523\\",\\n \\"hangUpDialog\\": false,\\n \\"selfDirectedScriptFullContent\\": \\"关于宇宙的大小,这是一个非常深奥的科学话题\\\\n\\",\\n \\"interrupt\\": false,\\n \\"skipCurrentRecognize\\": true\\n },\\n \\"delta\\": {\\n \\"intentionCode\\": \\"1853360771162058752\\",\\n \\"intentionScript\\": \\"抱歉,我没有明白您的意思,或者您可以拨打我们的客服热线,请客服人员为您解答。\\",\\n \\"intentionName\\": \\"其他\\",\\n \\"recommendIntention\\": \\"null\\",\\n \\"recommendScript\\": \\"null\\",\\n \\"analysisProcess\\": \\"null\\",\\n \\"selfDirectedScript\\": \\"话题\\",\\n \\"callTime\\": \\"null\\",\\n \\"hangUpDialog\\": false,\\n \\"selfDirectedScriptFullContent\\": \\"关于宇宙的大小,这是一个非常深奥的科学话题\\",\\n \\"interrupt\\": false,\\n \\"skipCurrentRecognize\\": false\\n }\\n }\\n ],\\n \\"created\\": \\"1735139569523\\",\\n \\"success\\": true,\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\"\\n}","type":"json"}]',
+ 'title' => '实时会话',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'RealtimeDialogAssist' => [
+ 'summary' => '实时会话辅助,使用CreateDialog创建会话后,可进行实时的会话辅助。注意:与实时会话不同,会话辅助可返回多个意图、标签和SOP流程等,但不支持流式返回。',
+ 'path' => '/{workspaceId}/api/realtime/dialog/assist',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'text/event-stream',
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ 'bizType' => [
+ 'title' => '业务类型,IntentionBizTypeEnum[COMMON(通用意图识别),ATTITUDE(客户态度意图识别),BUSINESS(协商还款意图识别),MIX_INTENT_CHAT(混合问答),SIGNAL_LABLE(信令标签意图识别),DIALOG_ASSIST(对话辅助),code(code),desc(描述)]',
+ 'description' => '业务类型,目前只支持dialogAssist。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'dialogAssist',
+ ],
+ 'analysis' => [
+ 'title' => '是否分析',
+ 'description' => '是否分析',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'metaData' => [
+ 'title' => 'metaData',
+ 'description' => 'metaData',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "phoneTailNumber": "机主尾号:98X1",'."\n"
+ .' "preScreeningQuota": "预审额度:3万",'."\n"
+ .' "generalInterest": "平台一般利息:20.4%"'."\n"
+ .' }',
+ ],
+ 'conversationModel' => [
+ 'title' => '对话列表',
+ 'description' => '对话列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话',
+ 'type' => 'object',
+ 'properties' => [
+ 'role' => [
+ 'title' => '角色',
+ 'description' => '角色。0表示客户,1表示坐席。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型',
+ 'description' => '坐席类型,0: 机器人,1: 人工。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1374683645635',
+ ],
+ 'customerId' => [
+ 'title' => '对话角色的唯一标识',
+ 'description' => '对话角色的唯一标识',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '98457834685635',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '你好',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型,DialogueTypeEnum[Text(文本),Audio(音频),Image(图片),code,desc]',
+ 'description' => '对话内容的类型,目前只支持text。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'text',
+ 'default' => 'text',
+ ],
+ 'beginTime' => [
+ 'title' => '这句话的开始时间',
+ 'description' => '这句话的开始时间',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2025-12-12 09:00:00',
+ ],
+ 'begin' => [
+ 'title' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'end' => [
+ 'title' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1915593248420413441',
+ ],
+ 'dialogMemoryTurns' => [
+ 'title' => '携带的会话历史轮数',
+ 'description' => '携带的会话历史轮数',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ 'default' => '0',
+ ],
+ 'userVad' => [
+ 'title' => '是否用户打断',
+ 'description' => '是否用户打断',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ 'scriptContentPlayed' => [
+ 'title' => '上一句客服话术已经播报的部分',
+ 'description' => '上一句客服话术已经播报的部分',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你好',
+ ],
+ 'hangUpDialog' => [
+ 'title' => '挂断会话',
+ 'description' => '挂断会话',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DialogAssistResult>',
+ 'description' => 'ResultCode<DialogAssistResult>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => '请求唯一ID',
+ 'description' => '请求唯一ID。该请求ID与入参中的请求ID一致。',
+ 'type' => 'string',
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'example' => '"1915593248420413441"',
+ ],
+ 'interrupt' => [
+ 'title' => '是否打断',
+ 'description' => '是否打断',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'conversationModel' => [
+ 'title' => '本轮对话内容',
+ 'description' => '本轮对话内容',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话的具体内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'role' => [
+ 'title' => '角色',
+ 'description' => '角色。0表示客户,1表示坐席。',
+ 'type' => 'string',
+ 'example' => '"0"',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型',
+ 'description' => '坐席类型,0: 机器人,1: 人工。',
+ 'type' => 'string',
+ 'example' => '"0"',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'example' => '"1374683645635"',
+ ],
+ 'customerId' => [
+ 'title' => '对话角色的唯一标识',
+ 'description' => '对话角色的唯一标识',
+ 'type' => 'string',
+ 'example' => '"98457834685635"',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'example' => '你好',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型',
+ 'description' => '对话内容的类型',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ ],
+ ],
+ ],
+ 'assistScripts' => [
+ 'title' => '话术辅助结果',
+ 'description' => '话术辅助结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '话术辅助结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'intentCode' => [
+ 'title' => '意图编码',
+ 'description' => '意图编码',
+ 'type' => 'string',
+ 'example' => '"1920005488515465216"',
+ ],
+ 'intentName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '礼貌问答',
+ ],
+ 'intentLabels' => [
+ 'title' => '意图标签',
+ 'description' => '意图标签',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'assistScript' => [
+ 'title' => '推荐话术',
+ 'description' => '推荐话术',
+ 'type' => 'string',
+ 'example' => '可按照SOP流程回应。',
+ ],
+ 'isDefault' => [
+ 'title' => '是否意图逃逸',
+ 'description' => '是否意图逃逸',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 'assistSop' => [
+ 'title' => '流程辅助结果',
+ 'description' => '流程辅助结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '流程辅助结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'intentCode' => [
+ 'title' => '意图编码',
+ 'description' => '意图编码',
+ 'type' => 'string',
+ 'example' => 'XXX',
+ ],
+ 'intentName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => 'XXX',
+ ],
+ 'assistSop' => [
+ 'title' => '推荐流程',
+ 'description' => '推荐流程',
+ 'type' => 'string',
+ 'example' => 'XXX',
+ ],
+ 'isDefault' => [
+ 'title' => '是否意图逃逸',
+ 'description' => '是否意图逃逸',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 'analysisProcess' => [
+ 'title' => '分析过程',
+ 'description' => '分析过程',
+ 'type' => 'string',
+ 'example' => '客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id,该请求ID为系统记录请求ID,有问题时可提供该ID给点金研发进行定位排查。',
+ 'type' => 'string',
+ 'example' => '67C7021A-D268-553D-8C15-A087B9604028',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"requestId\\": \\"0FC6636E-380A-5369-AE01-D1C15BB9B254\\",\\n \\"sessionId\\": \\"\\\\\\"1915593248420413441\\\\\\"\\",\\n \\"interrupt\\": true,\\n \\"conversationModel\\": [\\n {\\n \\"role\\": \\"\\\\\\"0\\\\\\"\\",\\n \\"customerServiceType\\": \\"\\\\\\"0\\\\\\"\\",\\n \\"customerServiceId\\": \\"\\\\\\"1374683645635\\\\\\"\\",\\n \\"customerId\\": \\"\\\\\\"98457834685635\\\\\\"\\",\\n \\"content\\": \\"你好\\",\\n \\"type\\": \\"text\\"\\n }\\n ],\\n \\"assistScripts\\": [\\n {\\n \\"intentCode\\": \\"\\\\\\"1920005488515465216\\\\\\"\\",\\n \\"intentName\\": \\"礼貌问答\\",\\n \\"intentLabels\\": \\"null\\",\\n \\"assistScript\\": \\"可按照SOP流程回应。\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"assistSop\\": [\\n {\\n \\"intentCode\\": \\"XXX\\",\\n \\"intentName\\": \\"XXX\\",\\n \\"assistSop\\": \\"XXX\\",\\n \\"isDefault\\": true\\n }\\n ],\\n \\"analysisProcess\\": \\"客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。\\"\\n },\\n \\"requestId\\": \\"67C7021A-D268-553D-8C15-A087B9604028\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '实时会话辅助',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和[价格](https://help.aliyun.com/zh/model-studio/tongyi-dianjin-overview?spm=a2c4g.11186623.help-menu-2400256.d_1_6_6_0.15e77499sSMTGb)。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetDialogDetail' => [
+ 'summary' => '获取会话详情信息。',
+ 'path' => '/{workspaceId}/api/virtualHuman/dialog/detail',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间Id',
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'sessionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1906623923815534xxx',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DialogDetailQueryResponse>',
+ 'description' => 'ResultCode<DialogDetailQueryResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalDialogTurns' => [
+ 'title' => '总对话轮次',
+ 'description' => '总对话轮次。总交互轮次按AI与客户的对话次数计算,AI或客户的连续多句算作一轮。最后一句若由AI说出且非挂机,则整体轮次减1。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'validDialogTurns' => [
+ 'title' => '有效对话轮次',
+ 'description' => '有效对话轮次。 AI、客户一问一答算一轮的,有效交互轮次指一问一答算一次,不同于总轮次的统计方式。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'dialogueList' => [
+ 'title' => '对话明细',
+ 'description' => '对话明细列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话明细',
+ 'type' => 'object',
+ 'properties' => [
+ 'role' => [
+ 'title' => '角色',
+ 'description' => '角色:'."\n"
+ .'- 0:客户'."\n"
+ .'- 1:坐席',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型',
+ 'description' => '坐席类型:'."\n"
+ .'- 0: 机器人'."\n"
+ .'- 1: 人工',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'example' => 'BOT',
+ ],
+ 'customerId' => [
+ 'title' => '客户ID',
+ 'description' => '客户ID',
+ 'type' => 'string',
+ 'example' => '123761283',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'example' => '请问具体怎么操作呢?',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型',
+ 'description' => '对话内容的类型:text(文本);audio(语音);image(图片)。目前仅支持文本类型。',
+ 'type' => 'string',
+ 'example' => 'text',
+ ],
+ 'id' => [
+ 'title' => '本句话的唯一标识,内部赋值',
+ 'description' => '本句话的唯一标识,内部赋值。可能为空,建议使用recordId。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1742869659849',
+ ],
+ 'recordId' => [
+ 'title' => '本句话的唯一标识,内部赋值,String类型。',
+ 'description' => '本句话的唯一标识,内部赋值,String类型。',
+ 'type' => 'string',
+ 'example' => '19387872364736xdhcb',
+ ],
+ 'intentCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'example' => '193874634xxx',
+ ],
+ 'intentName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '客户询问如何操作',
+ ],
+ 'hangUpDialog' => [
+ 'title' => '是否挂断:当句是否挂断会话标识',
+ 'description' => '是否挂断:当句是否挂断会话标识',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ 'status' => [
+ 'title' => '会话状态',
+ 'description' => '会话状态',
+ 'type' => 'string',
+ 'example' => 'COMPLETED',
+ 'enum' => [
+ 'INIT',
+ 'PROCESSING',
+ 'COMPLETED',
+ 'ERROR',
+ ],
+ ],
+ 'gmtCreate' => [
+ 'title' => '会话时间',
+ 'description' => '会话时间',
+ 'type' => 'string',
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"totalDialogTurns\\": 10,\\n \\"validDialogTurns\\": 5,\\n \\"dialogueList\\": [\\n {\\n \\"role\\": \\"0\\",\\n \\"customerServiceType\\": \\"0\\",\\n \\"customerServiceId\\": \\"BOT\\",\\n \\"customerId\\": \\"123761283\\",\\n \\"content\\": \\"请问具体怎么操作呢?\\",\\n \\"type\\": \\"text\\",\\n \\"id\\": 1742869659849,\\n \\"recordId\\": \\"19387872364736xdhcb\\",\\n \\"intentCode\\": \\"193874634xxx\\",\\n \\"intentName\\": \\"客户询问如何操作\\",\\n \\"hangUpDialog\\": true\\n }\\n ],\\n \\"status\\": \\"COMPLETED\\",\\n \\"gmtCreate\\": \\"2024-09-27 11:23:20\\"\\n },\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '获取会话详情',
+ ],
+ 'GetDialogLog' => [
+ 'summary' => '用于获取实时对话的记录及意图分析结果。',
+ 'path' => '/{workspaceId}/api/dialog/log',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求体内容',
+ 'description' => '请求体内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'id' => [
+ 'title' => '实时对话接口返回参数中id字段',
+ 'description' => '实时对话接口返回参数中id字段',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '175600129454077743fb03ac54955a4be72ec08f9c216',
+ ],
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '1758010668S001w4paq82azm',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<IntentRecognize>',
+ 'description' => 'ResultCode<IntentRecognize>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'recallList' => [
+ 'title' => '召回列表',
+ 'description' => '召回列表',
+ 'type' => 'string',
+ 'example' => '## Example:\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:暂时没有了。谢谢。\\"时,用户意图为:\\"客户想要挂断电话\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:哎你好。\\"时,用户意图为:\\"客户询问来电目的\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:我现在财务状况很好,谢谢关心。\\"时,用户意图为:\\"客户拒绝贷款\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:不用了,谢谢,不要再打电话了,谢谢。\\"时,用户意图为:\\"投诉/退订/不要打电话/骂人\\"\\n- 对话内容为:\\"##客服##:您好,请问有什么可以帮到您?\\n ##客户##:你好。\\"时,用户意图为:\\"客户询问来电目的\\"',
+ ],
+ 'intentionList' => [
+ 'title' => '意图列表',
+ 'description' => '意图列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '意图',
+ 'description' => '意图',
+ 'type' => 'object',
+ 'properties' => [
+ 'intentionName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '客户明确表示拒绝营销',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术(命中意图列表字段存在,并且 命中“其它”且开启自主问答,这里返回的是自主问答生成的话术)',
+ 'description' => '`intentionScript` 字段包含了针对不同用户意图的客服回复脚本。'."\n",
+ 'type' => 'string',
+ 'example' => '非常抱歉,给您带来了不好的体验。如您无需再接受我们的官方来电,请回复“我要退订”四个字!',
+ ],
+ 'description' => [
+ 'title' => '意图描述',
+ 'description' => '`description` 字段提供了对用户意图的详细描述。'."\n",
+ 'type' => 'string',
+ 'example' => '客户明确表示投诉/退订/不要打电话/骂人等拒绝营销',
+ ],
+ ],
+ ],
+ ],
+ 'conversationList' => [
+ 'title' => '对话内容',
+ 'description' => '`conversationList` 字段记录了对话内容。'."\n",
+ 'type' => 'string',
+ 'example' => '##客服##:您好,请问是张三先生是吧?\\n ##客户##:人工客服\\n ##客服##:您好,我是2804,很高兴为您服务!\\n ##客服##:您好,请问有什么可以帮到您?\\n ##客户##:好的 谢谢\\n ',
+ ],
+ 'hitIntentionList' => [
+ 'title' => '命中意图列表',
+ 'description' => '命中意图列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '命中意图',
+ 'description' => '命中意图',
+ 'type' => 'object',
+ 'properties' => [
+ 'intentionName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '客户要求转人工',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术(命中意图列表字段存在,并且 命中“其它”且开启自主问答,这里返回的是自主问答生成的话术)',
+ 'description' => '根据客户意图提供的脚本回复内容。'."\n",
+ 'type' => 'string',
+ 'example' => '很抱歉,我这里无法直接为您转接,您可以拨打我司客服热线进行咨询。'."\n",
+ ],
+ 'description' => [
+ 'title' => '意图描述',
+ 'description' => '客户意图的描述信息。'."\n",
+ 'type' => 'string',
+ 'example' => '客户希望与真人接触,不想和AI客服继续对话。',
+ ],
+ ],
+ ],
+ ],
+ 'analysisProcess' => [
+ 'title' => '分析过程(实时对话时开启分析过程开关则有值)',
+ 'description' => '分析过程(实时对话时开启分析过程开关则有值)',
+ 'type' => 'string',
+ 'example' => '客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。',
+ ],
+ 'modelCostTime' => [
+ 'title' => '模型调用耗时时间',
+ 'description' => '模型处理时间(毫秒)。'."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1382',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求ID。'."\n",
+ 'type' => 'string',
+ 'example' => '051EEB18-049A-17FF-A5E0-14A5B127C798',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"recallList\\": \\"## Example:\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:暂时没有了。谢谢。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户想要挂断电话\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:哎你好。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户询问来电目的\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:我现在财务状况很好,谢谢关心。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户拒绝贷款\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:不用了,谢谢,不要再打电话了,谢谢。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"投诉/退订/不要打电话/骂人\\\\\\\\\\\\\\"\\\\\\\\n- 对话内容为:\\\\\\\\\\\\\\"##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:你好。\\\\\\\\\\\\\\"时,用户意图为:\\\\\\\\\\\\\\"客户询问来电目的\\\\\\\\\\\\\\"\\",\\n \\"intentionList\\": [\\n {\\n \\"intentionName\\": \\"客户明确表示拒绝营销\\",\\n \\"intentionScript\\": \\"非常抱歉,给您带来了不好的体验。如您无需再接受我们的官方来电,请回复“我要退订”四个字!\\",\\n \\"description\\": \\"客户明确表示投诉/退订/不要打电话/骂人等拒绝营销\\"\\n }\\n ],\\n \\"conversationList\\": \\"##客服##:您好,请问是张三先生是吧?\\\\\\\\n ##客户##:人工客服\\\\\\\\n ##客服##:您好,我是2804,很高兴为您服务!\\\\\\\\n ##客服##:您好,请问有什么可以帮到您?\\\\\\\\n ##客户##:好的 谢谢\\\\\\\\n \\",\\n \\"hitIntentionList\\": [\\n {\\n \\"intentionName\\": \\"客户要求转人工\\",\\n \\"intentionScript\\": \\"很抱歉,我这里无法直接为您转接,您可以拨打我司客服热线进行咨询。\\\\n\\",\\n \\"description\\": \\"客户希望与真人接触,不想和AI客服继续对话。\\"\\n }\\n ],\\n \\"analysisProcess\\": \\"客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。\\",\\n \\"modelCostTime\\": 1382\\n },\\n \\"requestId\\": \\"051EEB18-049A-17FF-A5E0-14A5B127C798\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '获取对话日志',
+ 'description' => '## 请求说明'."\n"
+ .'该 API 旨在提供客户与客服之间的对话记录以及通过模型分析得出的客户意图内容。',
+ ],
+ 'GetDialogAnalysisResult' => [
+ 'summary' => '获取会话分析结果。可批量获取,根据会话ID列表或时间范围。',
+ 'path' => '/{workspaceId}/api/virtualHuman/dialog/analysis',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求体参数。',
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionIds' => [
+ 'title' => '会话id列表。useUrl为true时,返回ossUrl;支持1000个会话,超过1000个,返回前1000个会话的分析结果。useUrl为false时,返回会话分析结果;仅支持10个会话,超过10个,返回前10个会话的分析结果。非必填。sessionIds为空时根据起始时间和结束时间查询会话分析结果。不为空时,根据sessionIds查询会话分析结果。二者不可同时为空。',
+ 'description' => '会话id列表。useUrl为true时,返回ossUrl;支持1000个会话,超过1000个,返回前1000个会话的分析结果。useUrl为false时,返回会话分析结果;仅支持10个会话,超过10个,返回前10个会话的分析结果。非必填。sessionIds为空时根据起始时间和结束时间查询会话分析结果。不为空时,根据sessionIds查询会话分析结果。二者不可同时为空。',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '会话ID。',
+ 'description' => '会话ID。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '183764873624',
+ ],
+ 'required' => false,
+ ],
+ 'useUrl' => [
+ 'title' => '返回结果是否为ossUrl。为true时,返回结果ossUrl,链接有效期为1小时。默认为true;支持1000个会话,超过1000个,返回前1000个会话的分析结果。为false时,返回会话分析结果;仅支持10个会话,超过10个,返回前10个会话的分析结果。',
+ 'description' => '返回结果是否为ossUrl。为true时,返回结果ossUrl,链接有效期为1小时。默认为true;支持1000个会话,超过1000个,返回前1000个会话的分析结果。为false时,返回会话分析结果;仅支持10个会话,超过10个,返回前10个会话的分析结果。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ 'startTime' => [
+ 'title' => '起始时间, 格式为yyyy-MM-dd HH:mm:ss。sessionIds不为空时,根据sessionIds查询会话分析结果。',
+ 'description' => '起始时间, 格式为yyyy-MM-dd HH:mm:ss。sessionIds不为空时,根据sessionIds查询会话分析结果。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-09-14 09:11:00',
+ ],
+ 'endTime' => [
+ 'title' => '结束时间, 格式为yyyy-MM-dd HH:mm:ss。sessionIds不为空时,根据sessionIds查询会话分析结果。',
+ 'description' => '结束时间, 格式为yyyy-MM-dd HH:mm:ss。sessionIds不为空时,根据sessionIds查询会话分析结果。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-09-23 09:20:02',
+ ],
+ 'asc' => [
+ 'title' => '是否升序, 默认为true,按会话创建时间升序排序。为false时,按会话创建时间降序排序。',
+ 'description' => '是否升序, 默认为true,按会话创建时间升序排序。为false时,按会话创建时间降序排序。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '响应体参数。',
+ 'description' => '响应体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'dialogAnalysisRespList' => [
+ 'title' => '会话分析结果列表',
+ 'description' => '会话分析结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '会话分析结果',
+ 'description' => '会话分析结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '会话ID',
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'example' => '183764873624',
+ ],
+ 'gmtCreate' => [
+ 'title' => '会话的创建时间',
+ 'description' => '会话的创建时间',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34'."\n",
+ ],
+ 'status' => [
+ 'title' => '会话分析的任务执行状态。'."\n"
+ .'- init 表示未开始'."\n"
+ .'- pending 表示会话分析任务正在排队中'."\n"
+ .'- running 表示会话分析任务正在进行中'."\n"
+ .'- error 表示会话分析任务执行失败'."\n"
+ .'- success 表示会话分析任务执行成功',
+ 'description' => '会话分析的任务执行状态。'."\n"
+ .'- init 表示未开始'."\n"
+ .'- pending 表示会话分析任务正在排队中'."\n"
+ .'- running 表示会话分析任务正在进行中'."\n"
+ .'- error 表示会话分析任务执行失败'."\n"
+ .'- success 表示会话分析任务执行成功',
+ 'type' => 'string',
+ 'example' => 'running',
+ 'enum' => [
+ 'init',
+ 'pending',
+ 'running',
+ 'error',
+ 'success',
+ ],
+ ],
+ 'ossUrl' => [
+ 'title' => '会话分析的结果,ossUrl形式,过期时间为一小时。',
+ 'description' => '会话分析的结果,ossUrl形式,过期时间为一小时。',
+ 'type' => 'string',
+ 'example' => 'https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665',
+ ],
+ 'analysisResp' => [
+ 'title' => '会话分析的结果',
+ 'description' => '会话分析的结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'dialogLabels' => [
+ 'title' => '会话标签列表',
+ 'description' => '会话标签列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '会话标签',
+ 'description' => '会话标签',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'title' => '标签名称',
+ 'description' => '标签名称',
+ 'type' => 'string',
+ 'example' => '额度不足',
+ ],
+ 'value' => [
+ 'title' => '标签值',
+ 'description' => '标签值',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ ],
+ ],
+ ],
+ 'dialogSummary' => [
+ 'title' => '会话摘要',
+ 'description' => '会话摘要',
+ 'type' => 'string',
+ 'example' => '- 是否有资金需求:不确定,客户未明确表示有无资金需求。\\n- 是否有意向:不确定,客户未明确表达意向。\\n- 是否可营销:不可营销,客户对客服的多次询问未表现出兴趣,且对话中提到因不适希望减少联系。\\n- 待满足需求:客户希望了解具体的预审额度信息。',
+ ],
+ 'dialogExecPlan' => [
+ 'title' => '会话执行计划',
+ 'description' => '会话执行计划',
+ 'type' => 'string',
+ 'example' => '1. 客服应再次确认客户的疑问是否已解决,特别是关于额度的具体数额。\\n2. 如果客户仍有疑问,提供客服热线电话,建议客户直接拨打以获取更详细的帮助。\\n3. 提醒客户检查短信中的链接,以便快速查看和操作。\\n4. 记录此次通话中客户表现出的任何不适或不便,确保后续跟进时更加体贴。\\n5. 发送一条包含操作指南的短信,确保客户能够轻松找到并使用服务。\\n6. 结束通话前,再次感谢客户的支持,并表达希望客户早日康复的愿望。',
+ ],
+ 'dialogSop' => [
+ 'title' => '会话SOP',
+ 'description' => '会话SOP',
+ 'type' => 'string',
+ 'example' => '产品介绍',
+ ],
+ 'dialogProcessAnalysis' => [
+ 'title' => '会话过程分析',
+ 'description' => '会话过程分析',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "dialogues": ['."\n"
+ .' {'."\n"
+ .' "round": 1,'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "key": "客服",'."\n"
+ .' "value": "客服回应标签"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客户",'."\n"
+ .' "value": "客户回应态度标签"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "round": 2,'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "key": "客服",'."\n"
+ .' "value": "客服回应标签"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客户",'."\n"
+ .' "value": "客户回应态度标签"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .'"dialogProcessAnalysisStr":"第一轮对话:客服-客服回应标签,客户-客户回应态度标签'."\n"
+ .'第二轮对话:客服-客服回应标签,客户-客户回应态度标签"'."\n"
+ .'}',
+ ],
+ 'dialogOpenAnalysis' => [
+ 'title' => '会话开放分析',
+ 'description' => '会话开放分析',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "dialogues": ['."\n"
+ .' {'."\n"
+ .' "round": 1,'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "key": "对话主题",'."\n"
+ .' "value": "XX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客户反应",'."\n"
+ .' "value": "XXX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客户反应分析",'."\n"
+ .' "value": "XXX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客服话术",'."\n"
+ .' "value": "XXX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "本轮客服话术修改建议",'."\n"
+ .' "value": "XXX"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "round": 2,'."\n"
+ .' "result": ['."\n"
+ .' {'."\n"
+ .' "key": "对话主题",'."\n"
+ .' "value": "XX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客户反应",'."\n"
+ .' "value": "XXX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客户反应分析",'."\n"
+ .' "value": "XXX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "客服话术",'."\n"
+ .' "value": "XXX"'."\n"
+ .' },'."\n"
+ .' {'."\n"
+ .' "key": "本轮客服话术修改建议",'."\n"
+ .' "value": "XXX"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' ],'."\n"
+ .' "dialogOpenAnalysisStr":"第一轮对话:对话主题-xx##客户反应-xx##客户反应分析-xx##客服话术-xx##本轮客服话术修改建议-xx'."\n"
+ .'第二轮对话:对话主题-xx##客户反应-xx##客户反应分析-xx##客服话术-xx##本轮客服话术修改建议-xx"'."\n"
+ .'}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '88A006F0-B565-53BA-B38A-DBDF9D0B2935',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"dialogAnalysisRespList\\": [\\n {\\n \\"sessionId\\": \\"183764873624\\",\\n \\"gmtCreate\\": \\"2024-04-24 11:54:34\\\\n\\",\\n \\"status\\": \\"running\\",\\n \\"ossUrl\\": \\"https://xxx.oss-cn-beijing.aliyuncs.com/dialog-analysis/2024-12-30/2/1826661605606129665\\",\\n \\"analysisResp\\": {\\n \\"dialogLabels\\": [\\n {\\n \\"name\\": \\"额度不足\\",\\n \\"value\\": \\"0\\"\\n }\\n ],\\n \\"dialogSummary\\": \\"- 是否有资金需求:不确定,客户未明确表示有无资金需求。\\\\\\\\n- 是否有意向:不确定,客户未明确表达意向。\\\\\\\\n- 是否可营销:不可营销,客户对客服的多次询问未表现出兴趣,且对话中提到因不适希望减少联系。\\\\\\\\n- 待满足需求:客户希望了解具体的预审额度信息。\\",\\n \\"dialogExecPlan\\": \\"1. 客服应再次确认客户的疑问是否已解决,特别是关于额度的具体数额。\\\\\\\\n2. 如果客户仍有疑问,提供客服热线电话,建议客户直接拨打以获取更详细的帮助。\\\\\\\\n3. 提醒客户检查短信中的链接,以便快速查看和操作。\\\\\\\\n4. 记录此次通话中客户表现出的任何不适或不便,确保后续跟进时更加体贴。\\\\\\\\n5. 发送一条包含操作指南的短信,确保客户能够轻松找到并使用服务。\\\\\\\\n6. 结束通话前,再次感谢客户的支持,并表达希望客户早日康复的愿望。\\",\\n \\"dialogSop\\": \\"产品介绍\\",\\n \\"dialogProcessAnalysis\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"dialogOpenAnalysis\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n }\\n }\\n }\\n ]\\n },\\n \\"requestId\\": \\"88A006F0-B565-53BA-B38A-DBDF9D0B2935\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '获取会话分析结果',
+ ],
+ 'CreateDialogAnalysisTask' => [
+ 'summary' => '创建会话分析任务,创建成功后可根据会话ID使用GetDialogAnalysisResult查询结果',
+ 'path' => '/{workspaceId}/api/virtualHuman/dialog/analysis/submit',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'metaData' => [
+ 'title' => '元数据,用于会话分析过程中需要消费的一些业务相关的属性,由业务系统在发起会话分析任务的时候实时传入。',
+ 'description' => '元数据,用于会话分析过程中需要消费的一些业务相关的属性,由业务系统在发起会话分析任务的时候实时传入。'."\n"
+ .'```'."\n"
+ .'{'."\n"
+ .' "labels": "XXX", // 标签'."\n"
+ .' "summaryConstraints": "XXX", // 摘要维度'."\n"
+ .' "sopInfo": "XXX" // SOP信息'."\n"
+ .'}'."\n"
+ .'```',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .'"labels": "XXX",'."\n"
+ .'"summaryConstraints": "XXX",'."\n"
+ .'"sopInfo": "XXX"'."\n"
+ .'}',
+ ],
+ 'playCode' => [
+ 'title' => '会话场景编码,关联会话分析配置',
+ 'description' => '会话场景编码,关联会话分析配置',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'common',
+ ],
+ 'analysisNodes' => [
+ 'title' => '分析节点,默认为空,表示全部节点。可传入一个或者多个。',
+ 'description' => '分析节点列表,默认为空,表示全部节点。可传入一个或者多个。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '分析节点',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'DIALOG_EXECUTION_PLAN' => '执行计划',
+ 'DIALOG_SUMMARY' => '会话小结',
+ 'DIALOG_SOP' => '会话SOP',
+ 'DIALOG_LABEL' => '会话标签',
+ ],
+ 'example' => 'DIALOG_LABEL',
+ ],
+ 'required' => false,
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ 'conversationList' => [
+ 'description' => '会话内容,可传入多个会话。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '会话内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'dialogueList' => [
+ 'description' => '对话列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话',
+ 'type' => 'object',
+ 'properties' => [
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '您好,我是2001,很高兴为您服务!',
+ ],
+ 'role' => [
+ 'title' => '角色(0: 客户;1: 坐席)',
+ 'description' => '角色(0: 客户;1: 坐席)',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ '客户',
+ '坐席',
+ ],
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<List<String>>',
+ 'description' => 'ResultCode<List<String>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据,返回会话ID列表。',
+ 'description' => '响应数据,返回会话ID列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '会话ID',
+ 'type' => 'string',
+ 'example' => '1876540295480209409',
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": [\\n \\"1876540295480209409\\"\\n ],\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '创建会话分析任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'RebuildTask' => [
+ 'summary' => '对已有任务进行重建,但在队列中或执行中的任务不可重建。',
+ 'path' => '/{workspaceId}/api/task/rebuild',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeNodes' => [
+ 'FEATUREsfmJIZ0TW',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskIds' => [
+ 'title' => '任务id列表',
+ 'description' => '任务ID列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '任务ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '3894763764',
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<List<Map<String, Object>>>',
+ 'description' => 'ResultCode<List<Map<String, Object>>>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '',
+ 'description' => '重建任务操作的响应结果。其中taskId表示任务id,status表示操作的状态(success为成功,error为失败),message为详细信息。'."\n"
+ .'```'."\n"
+ .'{'."\n"
+ .' "message": "任务正在执行中,不能重新构建",'."\n"
+ .' "taskId": "-253103935",'."\n"
+ .' "status": "error"'."\n"
+ .'}'."\n"
+ .'```',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "message": "任务正在执行中,不能重新构建",'."\n"
+ .' "taskId": "-253103935",'."\n"
+ .' "status": "error"'."\n"
+ .'}',
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": [\\n {\\n \\"message\\": \\"任务正在执行中,不能重新构建\\",\\n \\"taskId\\": \\"-253103935\\",\\n \\"status\\": \\"error\\"\\n }\\n ],\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '重建任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'EvictTask' => [
+ 'summary' => '中断任务。',
+ 'path' => '/{workspaceId}/api/task/evict',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间Id',
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '任务Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '17071319',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据,返回任务id。',
+ 'type' => 'string',
+ 'example' => '17071319',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => '返回任务取消的结果,成功/失败。',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"17071319\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"返回任务取消的结果,成功/失败。\\",\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '取消任务',
+ ],
+ 'GetTaskStatus' => [
+ 'summary' => '获取任务状态。',
+ 'path' => '/{workspaceId}/api/task/status',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间Id',
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '任务Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '17071319',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据,任务状态。',
+ 'description' => '响应数据,任务状态。'."\n"
+ .'- invalid:参数/依赖的资源状态不可用。'."\n"
+ .'- success:成功。'."\n"
+ .'- evict: 被取消。'."\n"
+ .'- error:失败。'."\n"
+ .'- running:运行中。'."\n"
+ .'- pending:排队中。',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'running' => 'running',
+ 'pending' => 'pending',
+ 'invalid' => 'invalid',
+ 'error' => 'error',
+ 'evict' => 'evict',
+ ],
+ 'example' => 'running',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '30F6AD44-F078-540D-B5A5-1E519C8E9E6D',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"running\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"30F6AD44-F078-540D-B5A5-1E519C8E9E6D\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '获取任务状态',
+ ],
+ 'CreateDocsSummaryTask' => [
+ 'summary' => '创建多文档总结任务。',
+ 'path' => '/{workspaceId}/api/task/summary/docs',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx'."\n",
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docInfos' => [
+ 'title' => '文档信息列表',
+ 'description' => '文档信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '198386463432',
+ ],
+ 'endPage' => [
+ 'title' => '结束页',
+ 'description' => '结束页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rdxrmo6amk',
+ ],
+ 'startPage' => [
+ 'title' => '起始页',
+ 'description' => '起始页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'enableTable' => [
+ 'title' => '是否启用表格,默认为true,表示启用。',
+ 'description' => '是否启用表格。默认为true,为启用表格。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ 'instruction' => [
+ 'title' => '指令',
+ 'description' => '指令',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你是资深的证券研究员,对xx年上市公司进行业绩分析。根据参考信息从如下方面详细分析:'."\n"
+ .'1. 整体业绩变化情况,包括营收,利润等详细指标变化情况'."\n"
+ .'2. 业绩变化情况具体原因,包括各个业务变化情况'."\n"
+ .'严格只输出xx年情况。',
+ ],
+ 'modelId' => [
+ 'title' => '模型id',
+ 'description' => '模型id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qwen-plus',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据。任务ID。',
+ 'type' => 'string',
+ 'example' => '765675376',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '32FFC91D-0A9F-585A-B84F-8A54C5187035',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"765675376\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"32FFC91D-0A9F-585A-B84F-8A54C5187035\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '创建多文档总结任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'CreateAnnualDocSummaryTask' => [
+ 'summary' => '创建按年份总结文档任务。',
+ 'path' => '/{workspaceId}/api/task/summary/doc/annual',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'anaYears' => [
+ 'title' => '分析年份',
+ 'description' => '分析年份列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '分析年份',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '2023',
+ ],
+ 'required' => true,
+ ],
+ 'docInfos' => [
+ 'title' => '文档信息列表',
+ 'description' => '文档信息列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '文档信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '198386463432',
+ ],
+ 'docYear' => [
+ 'title' => '文档年份',
+ 'description' => '文档年份',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '2023',
+ ],
+ 'endPage' => [
+ 'title' => '结束页',
+ 'description' => '结束页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rdxrmo6amk',
+ ],
+ 'startPage' => [
+ 'title' => '起始页',
+ 'description' => '起始页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'enableTable' => [
+ 'title' => '是否启用表格,默认为true,表示启用。',
+ 'description' => '是否启用表格,默认为true,表示启用。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ 'instruction' => [
+ 'title' => '指令',
+ 'description' => '指令',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你是资深的证券研究员,对xx年上市公司进行业绩分析。根据参考信息从如下方面详细分析:'."\n"
+ .'1. 整体业绩变化情况,包括营收,利润等详细指标变化情况'."\n"
+ .'2. 业绩变化情况具体原因,包括各个业务变化情况'."\n"
+ .'严格只输出xx年情况。',
+ ],
+ 'modelId' => [
+ 'title' => '模型id',
+ 'description' => '模型id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qwen-plus',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据。即任务ID。',
+ 'description' => '响应数据。即任务ID。',
+ 'type' => 'string',
+ 'example' => '3284627354',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '32FFC91D-0A9F-585A-B84F-8A54C5187035',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"3284627354\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"32FFC91D-0A9F-585A-B84F-8A54C5187035\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '创建按年份总结文档任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'CreatePdfTranslateTask' => [
+ 'summary' => '创建pdf文档翻译任务。提交翻译任务,异步执行翻译过程。',
+ 'path' => '/{workspaceId}/api/task/pdfTranslate',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-ik******RVYCKzt',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '873648346573245',
+ ],
+ 'knowledge' => [
+ 'title' => '知识:翻译时参考的领域知识',
+ 'description' => '知识:翻译时参考的领域知识',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '净利润 (Net Profit)'."\n"
+ .'英文:Net Profit'."\n"
+ .'中文:净利润(通常指扣除所有费用和税后的利润)',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'cjshcxxxx',
+ ],
+ 'modelId' => [
+ 'title' => '模型id',
+ 'description' => '模型id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qwen-plus',
+ ],
+ 'translateTo' => [
+ 'title' => '目标语言:默认为中文',
+ 'description' => '目标语言:默认为中文',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '中文',
+ 'default' => '中文',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '接口的响应耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据。返回任务Id。可使用该Id查询任务状态和结果。',
+ 'type' => 'string',
+ 'example' => '3284627354',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"3284627354\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '创建pdf文档翻译任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'CreateFinReportSummaryTask' => [
+ 'summary' => '创建财报总结接口。',
+ 'path' => '/{workspaceId}/api/task/summary',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档id',
+ 'description' => '文档id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ 'enableTable' => [
+ 'title' => '是否启用表格',
+ 'description' => '是否启用表格',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ ],
+ 'endPage' => [
+ 'title' => '结束页',
+ 'description' => '结束页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ 'instruction' => [
+ 'title' => '指令',
+ 'description' => '指令',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '请帮我总结一下。',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库id',
+ 'description' => '文档库id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '3akzl28vap',
+ ],
+ 'modelId' => [
+ 'title' => '模型id',
+ 'description' => '模型id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qwen-max',
+ ],
+ 'startPage' => [
+ 'title' => '起始页',
+ 'description' => '起始页',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'taskType' => [
+ 'title' => '任务类型',
+ 'description' => '任务类型,可不传,默认为finance_report。'."\n"
+ .'当传custom时,需要传入instruction',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'custom' => 'custom',
+ 'finance_report' => 'finance_report',
+ ],
+ 'example' => 'custom',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<String>',
+ 'description' => 'ResultCode<String>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据,任务id。用于后续查询任务状态和结果。',
+ 'type' => 'string',
+ 'example' => '3284627354',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": \\"3284627354\\",\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"5E3FBAF1-17AF-53B7-AF0A-CDCEEB6DE658\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '创建财报总结任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetSummaryTaskResult' => [
+ 'summary' => '获取财报总结任务结果。',
+ 'path' => '/{workspaceId}/api/task/summary/result',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间Id',
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '任务Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '17071319',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<ChatModelResponse>',
+ 'description' => 'ResultCode<ChatModelResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'choices' => [
+ 'title' => '模型生成内容的详情。',
+ 'description' => '模型生成内容的详情。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话消息',
+ 'type' => 'object',
+ 'properties' => [
+ 'finishReason' => [
+ 'title' => '模型生成内容结束原因。',
+ 'description' => '模型生成内容结束原因。',
+ 'type' => 'string',
+ 'example' => 'stop',
+ ],
+ 'index' => [
+ 'title' => '生成的结果序列编号,默认为0。',
+ 'description' => '生成的结果序列编号,默认为0。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '模型输出的消息。',
+ 'description' => '模型输出的消息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'content' => [
+ 'title' => '模型生成的文本。',
+ 'description' => '模型生成的文本。',
+ 'type' => 'string',
+ 'example' => '### **报告期经营业绩概述**\\n截至2024年3月31日止三个月的未经审核综合业绩显示强劲增长.',
+ ],
+ 'role' => [
+ 'title' => '模型的角色,固定为assistant。',
+ 'description' => '模型的角色,固定为assistant。',
+ 'type' => 'string',
+ 'example' => 'assistant',
+ ],
+ 'toolCalls' => [
+ 'title' => '工具调用',
+ 'description' => '工具调用',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '工具调用',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'created' => [
+ 'title' => '创建时间',
+ 'description' => '创建时间',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1726285125915',
+ ],
+ 'id' => [
+ 'title' => '系统生成的标识本次调用的id。',
+ 'description' => '系统生成的标识本次调用的id。',
+ 'type' => 'string',
+ 'example' => '1202',
+ ],
+ 'modelId' => [
+ 'title' => '本次调用的模型名。',
+ 'description' => '本次调用的模型名。',
+ 'type' => 'string',
+ 'example' => 'qwen-max',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '0bc13a9517168617617186457e401f',
+ ],
+ 'time' => [
+ 'title' => '时间',
+ 'description' => '时间',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'totalTokens' => [
+ 'title' => 'token量',
+ 'description' => 'token量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'usage' => [
+ 'title' => '消耗token量',
+ 'description' => '消耗token量',
+ 'type' => 'object',
+ 'properties' => [
+ 'imageCount' => [
+ 'title' => '图片数量,wanx等模型',
+ 'description' => '图片数量,wanx等模型',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'imageTokens' => [
+ 'title' => '图片token量,qwen-vl等模型',
+ 'description' => '图片token量,qwen-vl等模型',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'inputTokens' => [
+ 'title' => '输入token量',
+ 'description' => '输入token量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'outputTokens' => [
+ 'title' => '输出token量',
+ 'description' => '输出token量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'totalTokens' => [
+ 'title' => '总token量',
+ 'description' => '总token量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '0bc13a9517168617617186457e401f',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"choices\\": [\\n {\\n \\"finishReason\\": \\"stop\\",\\n \\"index\\": 0,\\n \\"message\\": {\\n \\"content\\": \\"### **报告期经营业绩概述**\\\\\\\\n截至2024年3月31日止三个月的未经审核综合业绩显示强劲增长.\\",\\n \\"role\\": \\"assistant\\",\\n \\"toolCalls\\": [\\n null\\n ]\\n }\\n }\\n ],\\n \\"created\\": 1726285125915,\\n \\"id\\": \\"1202\\",\\n \\"modelId\\": \\"qwen-max\\",\\n \\"requestId\\": \\"0bc13a9517168617617186457e401f\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"totalTokens\\": 300,\\n \\"usage\\": {\\n \\"imageCount\\": 0,\\n \\"imageTokens\\": 0,\\n \\"inputTokens\\": 100,\\n \\"outputTokens\\": 200,\\n \\"totalTokens\\": 300\\n }\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"0bc13a9517168617617186457e401f\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '获取财报总结任务结果',
+ ],
+ 'GetTaskResult' => [
+ 'summary' => '获取异步任务结果。',
+ 'path' => '/{workspaceId}/api/task/result',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间Id',
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务Id',
+ 'description' => '任务Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '17071319',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<ChatModelResponse>',
+ 'description' => 'ResultCode<ChatModelResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'description' => '异步任务的执行结果。'."\n"
+ .'## pdf翻译任务'."\n"
+ .'返回结果file_url是一个可下载的文件地址。'."\n"
+ .'```'."\n"
+ .'{'."\n"
+ .' "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"'."\n"
+ .'}'."\n"
+ .'```',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "file_url": "https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf"'."\n"
+ .'}',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"file_url\\": \\"https://finllmworks.oss-cn-zhangjiakou.aliyuncs.com/render_pdf/5336180997111160501.pdf\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"9D5D6BB5-BEAE-53C8-A70A-7275CC1F856C\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '获取结果',
+ ],
+ 'CreateQualityCheckTask' => [
+ 'summary' => '创建质检任务。',
+ 'path' => '/{workspaceId}/api/qualitycheck/task/submit',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'conversationList' => [
+ 'title' => '会话内容,关联质检场景需要传入多个会话,否则只有一个会话',
+ 'description' => '会话内容,关联质检场景需要传入多个会话,否则只有一个会话',
+ 'type' => 'object',
+ 'properties' => [
+ 'callType' => [
+ 'title' => '呼叫类型:',
+ 'description' => '呼叫类型:',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 1 => '呼入',
+ '呼出',
+ ],
+ 'example' => '1',
+ ],
+ 'customerId' => [
+ 'title' => '客户ID',
+ 'description' => '客户ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'customerName' => [
+ 'title' => '客户名称',
+ 'description' => '客户名称',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '张三',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'xxx',
+ ],
+ 'customerServiceName' => [
+ 'title' => '客服名称',
+ 'description' => '客服名称',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '李四',
+ ],
+ 'dialogueList' => [
+ 'title' => '对话明细',
+ 'description' => '对话明细列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话明细',
+ 'type' => 'object',
+ 'properties' => [
+ 'begin' => [
+ 'title' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'beginTime' => [
+ 'title' => '这句话的开始时间',
+ 'description' => '这句话的开始时间',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-05-23 14:57:50',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '您好,我是2001,很高兴为您服务!',
+ ],
+ 'customerId' => [
+ 'title' => '对话角色的唯一标识',
+ 'description' => '对话角色的唯一标识',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2348234',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '23874627346',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型',
+ 'description' => '坐席类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ '机器人',
+ '人工',
+ ],
+ 'example' => '0',
+ ],
+ 'end' => [
+ 'title' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'role' => [
+ 'title' => '角色',
+ 'description' => '角色',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ '客户',
+ '坐席',
+ ],
+ 'example' => '1',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型',
+ 'description' => '对话内容的类型',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'IMAGE' => '图片',
+ 'TEXT' => '文本',
+ 'AUDIO' => '语音',
+ ],
+ 'example' => 'TEXT',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'gmtService' => [
+ 'title' => '会话时间',
+ 'description' => '会话时间',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'gmtService' => [
+ 'title' => '业务发生时间,用于系统记录提交时间,任务调度优先级决策等',
+ 'description' => '业务发生时间,用于系统记录提交时间,任务调度优先级决策等',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ 'metaData' => [
+ 'title' => '元数据,用于规则执行过程中需要消费的一些业务相关的属性,由业务系统在发起质检的时候实时传入。',
+ 'description' => '元数据,用于规则执行过程中需要消费的一些业务相关的属性,由业务系统在发起质检的时候实时传入。',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'type' => 'string',
+ 'description' => '元数据',
+ 'example' => '{'."\n"
+ .' "isSpecialArchive": false,'."\n"
+ .' "hasProcessingWorkOrder": false,'."\n"
+ .' "primaryArchiveType": "其他",'."\n"
+ .' "businessType": "预警",'."\n"
+ .' "workOrderActionType":"业务升级"'."\n"
+ .' }',
+ ],
+ ],
+ 'qualityGroup' => [
+ 'title' => '质检规则组',
+ 'description' => '质检规则组',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '质检规则',
+ 'description' => '质检规则',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'warning_customers',
+ ],
+ 'required' => false,
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ 'type' => [
+ 'title' => '质检类型',
+ 'description' => '质检类型',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ '离线文本会话质检',
+ ],
+ 'example' => '0',
+ ],
+ 'sceneCode' => [
+ 'title' => '场景Code,如同playCode。',
+ 'description' => '场景编码。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'o9c8u8',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<QualitySubmitResponse>',
+ 'description' => 'ResultCode<QualitySubmitResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'taskId' => [
+ 'title' => 'taskId',
+ 'description' => 'taskId',
+ 'type' => 'string',
+ 'example' => '172373500521',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"taskId\\": \\"172373500521\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '创建质检任务',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetQualityCheckTaskResult' => [
+ 'summary' => '获取质检结果。',
+ 'path' => '/{workspaceId}/api/qualitycheck/task/query',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间Id',
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '任务ID',
+ 'description' => '任务ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '17071319',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<QualityQueryResponse>',
+ 'description' => 'ResultCode<QualityQueryResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'conversationList' => [
+ 'title' => '原始会话内容',
+ 'description' => '原始会话内容',
+ 'type' => 'object',
+ 'properties' => [
+ 'callType' => [
+ 'title' => '呼叫类型:',
+ 'description' => '呼叫类型:',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 1 => '呼入',
+ '呼出',
+ ],
+ 'example' => '1',
+ ],
+ 'customerId' => [
+ 'title' => '客户ID',
+ 'description' => '客户ID',
+ 'type' => 'string',
+ 'example' => '234234',
+ ],
+ 'customerName' => [
+ 'title' => '客户名称',
+ 'description' => '客户名称',
+ 'type' => 'string',
+ 'example' => '张三',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'example' => '23984763826',
+ ],
+ 'customerServiceName' => [
+ 'title' => '客服名称',
+ 'description' => '客服名称',
+ 'type' => 'string',
+ 'example' => '李四',
+ ],
+ 'dialogueList' => [
+ 'title' => '对话明细',
+ 'description' => '对话明细列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '对话明细',
+ 'type' => 'object',
+ 'properties' => [
+ 'begin' => [
+ 'title' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'beginTime' => [
+ 'title' => '这句话的开始时间',
+ 'description' => '这句话的开始时间',
+ 'type' => 'string',
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'example' => '您好,我是2001,很高兴为您服务!',
+ ],
+ 'customerId' => [
+ 'title' => '对话角色的唯一标识',
+ 'description' => '对话角色的唯一标识',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'example' => '李四',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型',
+ 'description' => '坐席类型',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ '机器人',
+ '人工',
+ ],
+ 'example' => '0',
+ ],
+ 'end' => [
+ 'title' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'id' => [
+ 'title' => '本句话的唯一标识,内部赋值',
+ 'description' => '本句话的唯一标识,内部赋值',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'role' => [
+ 'title' => '角色',
+ 'description' => '角色',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ '客户',
+ '坐席',
+ ],
+ 'example' => '0',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型',
+ 'description' => '对话内容的类型',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'IMAGE' => '图片',
+ 'TEXT' => '文本',
+ 'AUDIO' => '语音',
+ ],
+ 'example' => 'TEXT',
+ ],
+ ],
+ ],
+ ],
+ 'gmtService' => [
+ 'title' => '会话时间',
+ 'description' => '会话时间',
+ 'type' => 'string',
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ ],
+ ],
+ 'gmtCreate' => [
+ 'title' => '任务创建时间 提交任务的时间',
+ 'description' => '任务创建时间,提交任务的时间',
+ 'type' => 'string',
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ 'gmtEnd' => [
+ 'title' => '系统执行结束时间',
+ 'description' => '系统执行结束时间',
+ 'type' => 'string',
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ 'gmtStart' => [
+ 'title' => '系统执行开始时间',
+ 'description' => '系统执行开始时间',
+ 'type' => 'string',
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ 'qualityCheckList' => [
+ 'title' => '质检结果集',
+ 'description' => '质检结果集',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '质检结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'checkExplanation' => [
+ 'title' => '通过或者不通过的原因解释',
+ 'description' => '通过或者不通过的原因解释',
+ 'type' => 'string',
+ 'example' => '暂无',
+ ],
+ 'checkPassed' => [
+ 'title' => '是否质检通过',
+ 'description' => '是否质检通过',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'NOT_PASSED' => '不通过',
+ 'PASSED' => '通过',
+ ],
+ 'example' => 'PASSED',
+ ],
+ 'checkProcess' => [
+ 'title' => '质检过程描述',
+ 'description' => '质检过程描述',
+ 'type' => 'string',
+ 'example' => '暂无',
+ ],
+ 'checked' => [
+ 'title' => '是否命中',
+ 'description' => '是否命中',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'HIT' => '命中',
+ 'NOT_HIT' => '未命中',
+ ],
+ 'example' => 'HIT',
+ ],
+ 'gmtEnd' => [
+ 'title' => '质检完成时间',
+ 'description' => '质检完成时间',
+ 'type' => 'string',
+ 'example' => '2024-05-23 14:57:50',
+ ],
+ 'gmtStart' => [
+ 'title' => '质检开始时间',
+ 'description' => '质检开始时间',
+ 'type' => 'string',
+ 'example' => '2024-05-23 14:57:50',
+ ],
+ 'mode' => [
+ 'title' => '内部质检模式',
+ 'description' => '内部质检模式',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ '大模型质检',
+ ],
+ 'example' => '0',
+ ],
+ 'originDialogue' => [
+ 'title' => '原始对话列表',
+ 'description' => '原始对话列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '原始对话',
+ 'type' => 'object',
+ 'properties' => [
+ 'begin' => [
+ 'title' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的开始时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'beginTime' => [
+ 'title' => '这句话的开始时间',
+ 'description' => '这句话的开始时间',
+ 'type' => 'string',
+ 'example' => '2024-05-23 14:57:50',
+ ],
+ 'content' => [
+ 'title' => '对话的具体内容',
+ 'description' => '对话的具体内容',
+ 'type' => 'string',
+ 'example' => '您好,我是2001,很高兴为您服务!',
+ ],
+ 'customerId' => [
+ 'title' => '对话角色的唯一标识',
+ 'description' => '对话角色的唯一标识',
+ 'type' => 'string',
+ 'example' => 'xxx',
+ ],
+ 'customerServiceId' => [
+ 'title' => '客服ID',
+ 'description' => '客服ID',
+ 'type' => 'string',
+ 'example' => '23876432',
+ ],
+ 'customerServiceType' => [
+ 'title' => '坐席类型',
+ 'description' => '坐席类型',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ '机器人',
+ '人工',
+ ],
+ 'example' => '0',
+ ],
+ 'end' => [
+ 'title' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'description' => '本句话的结束时间,相对于会话开始点的偏移时间ms',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'id' => [
+ 'title' => '本句话的唯一标识,内部赋值',
+ 'description' => '本句话的唯一标识,内部赋值',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'role' => [
+ 'title' => '角色',
+ 'description' => '角色',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ '客户',
+ '坐席',
+ ],
+ 'example' => '0',
+ ],
+ 'type' => [
+ 'title' => '对话内容的类型',
+ 'description' => '对话内容的类型',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'IMAGE' => '图片',
+ 'TEXT' => '文本',
+ 'AUDIO' => '语音',
+ ],
+ 'example' => 'TEXT',
+ ],
+ ],
+ ],
+ ],
+ 'qualityGroupId' => [
+ 'title' => '质检组ID',
+ 'description' => '质检组ID',
+ 'type' => 'string',
+ 'example' => 'warning_customers',
+ ],
+ 'ruleDescription' => [
+ 'title' => '质检项描述',
+ 'description' => '质检项描述',
+ 'type' => 'string',
+ 'example' => '进入检测预警客户流程',
+ ],
+ 'ruleId' => [
+ 'title' => '质检项ID',
+ 'description' => '质检项ID',
+ 'type' => 'string',
+ 'example' => 'wcm_start',
+ ],
+ 'bizType' => [
+ 'title' => '规则业务类型',
+ 'description' => '规则业务类型',
+ 'type' => 'string',
+ 'example' => 'No',
+ ],
+ 'ruleType' => [
+ 'title' => '规则正负向类型 0:负向,1:正向。',
+ 'description' => '规则正负向类型 0:负向,1:正向。',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'subNodeCol' => [
+ 'title' => '子节点',
+ 'description' => '子节点',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '子节点的质检结果,结构与qualityCheckList相同',
+ 'type' => 'any',
+ 'example' => '{'."\n"
+ .' "ruleId": "wxx_regulatory_authorities",'."\n"
+ .' "ruleDescription": "具体某机构预警",'."\n"
+ .' "checked": "HIT",'."\n"
+ .' "checkProcess": "通过审查对话记录,客户主要询问了关于贷款资方信息和结清证明的问题,并表达了想要注销账户的意愿。在整个对话过程中,客户并未提及任何具体的部门名称,也没有明确表示要向部门投诉的意图。",'."\n"
+ .' "originDialogue": null,'."\n"
+ .' "checkPassed": "NOT_PASSED",'."\n"
+ .' "checkExplanation": null,'."\n"
+ .' "mode": "0",'."\n"
+ .' "gmtStart": "2024-12-02 10:38:39",'."\n"
+ .' "gmtEnd": "2024-12-02 10:38:43",'."\n"
+ .' "qualityGroupId": "warning_customers",'."\n"
+ .' "bizType": null,'."\n"
+ .' "ruleType": "0",'."\n"
+ .' "subNodeCol": null'."\n"
+ .' }',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'status' => [
+ 'title' => '任务状态',
+ 'description' => '任务状态',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'CANCELLED' => '已取消',
+ 'INIT' => '初始化',
+ 'COMPLETED' => '已结束',
+ 'PROCESSING' => '进行中',
+ 'FAIL' => '失败',
+ ],
+ 'example' => 'INIT',
+ ],
+ 'taskId' => [
+ 'title' => '任务ID',
+ 'description' => '任务ID',
+ 'type' => 'string',
+ 'example' => '1703557101831',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '67C7021A-D268-553D-8C15-A087B9604028',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"conversationList\\": {\\n \\"callType\\": \\"1\\",\\n \\"customerId\\": \\"234234\\",\\n \\"customerName\\": \\"张三\\",\\n \\"customerServiceId\\": \\"23984763826\\",\\n \\"customerServiceName\\": \\"李四\\",\\n \\"dialogueList\\": [\\n {\\n \\"begin\\": 0,\\n \\"beginTime\\": \\"2024-09-27 11:23:20\\",\\n \\"content\\": \\"您好,我是2001,很高兴为您服务!\\",\\n \\"customerId\\": \\"null\\",\\n \\"customerServiceId\\": \\"李四\\",\\n \\"customerServiceType\\": \\"0\\",\\n \\"end\\": 0,\\n \\"id\\": 1,\\n \\"role\\": \\"0\\",\\n \\"type\\": \\"TEXT\\"\\n }\\n ],\\n \\"gmtService\\": \\"2024-09-27 11:23:20\\"\\n },\\n \\"gmtCreate\\": \\"2024-09-27 11:23:20\\",\\n \\"gmtEnd\\": \\"2024-09-27 11:23:20\\",\\n \\"gmtStart\\": \\"2024-09-27 11:23:20\\",\\n \\"qualityCheckList\\": [\\n {\\n \\"checkExplanation\\": \\"暂无\\",\\n \\"checkPassed\\": \\"PASSED\\",\\n \\"checkProcess\\": \\"暂无\\",\\n \\"checked\\": \\"HIT\\",\\n \\"gmtEnd\\": \\"2024-05-23 14:57:50\\",\\n \\"gmtStart\\": \\"2024-05-23 14:57:50\\",\\n \\"mode\\": \\"0\\",\\n \\"originDialogue\\": [\\n {\\n \\"begin\\": 0,\\n \\"beginTime\\": \\"2024-05-23 14:57:50\\",\\n \\"content\\": \\"您好,我是2001,很高兴为您服务!\\",\\n \\"customerId\\": \\"xxx\\",\\n \\"customerServiceId\\": \\"23876432\\",\\n \\"customerServiceType\\": \\"0\\",\\n \\"end\\": 0,\\n \\"id\\": 1,\\n \\"role\\": \\"0\\",\\n \\"type\\": \\"TEXT\\"\\n }\\n ],\\n \\"qualityGroupId\\": \\"warning_customers\\",\\n \\"ruleDescription\\": \\"进入检测预警客户流程\\",\\n \\"ruleId\\": \\"wcm_start\\",\\n \\"bizType\\": \\"No\\",\\n \\"ruleType\\": \\"0\\",\\n \\"subNodeCol\\": [\\n \\"{\\\\n \\\\\\"ruleId\\\\\\": \\\\\\"wxx_regulatory_authorities\\\\\\",\\\\n \\\\\\"ruleDescription\\\\\\": \\\\\\"具体某机构预警\\\\\\",\\\\n \\\\\\"checked\\\\\\": \\\\\\"HIT\\\\\\",\\\\n \\\\\\"checkProcess\\\\\\": \\\\\\"通过审查对话记录,客户主要询问了关于贷款资方信息和结清证明的问题,并表达了想要注销账户的意愿。在整个对话过程中,客户并未提及任何具体的部门名称,也没有明确表示要向部门投诉的意图。\\\\\\",\\\\n \\\\\\"originDialogue\\\\\\": null,\\\\n \\\\\\"checkPassed\\\\\\": \\\\\\"NOT_PASSED\\\\\\",\\\\n \\\\\\"checkExplanation\\\\\\": null,\\\\n \\\\\\"mode\\\\\\": \\\\\\"0\\\\\\",\\\\n \\\\\\"gmtStart\\\\\\": \\\\\\"2024-12-02 10:38:39\\\\\\",\\\\n \\\\\\"gmtEnd\\\\\\": \\\\\\"2024-12-02 10:38:43\\\\\\",\\\\n \\\\\\"qualityGroupId\\\\\\": \\\\\\"warning_customers\\\\\\",\\\\n \\\\\\"bizType\\\\\\": null,\\\\n \\\\\\"ruleType\\\\\\": \\\\\\"0\\\\\\",\\\\n \\\\\\"subNodeCol\\\\\\": null\\\\n }\\"\\n ]\\n }\\n ],\\n \\"status\\": \\"INIT\\",\\n \\"taskId\\": \\"1703557101831\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"67C7021A-D268-553D-8C15-A087B9604028\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-01-01 00:00:00\\"\\n}","type":"json"}]',
+ 'title' => '获取质检结果',
+ ],
+ 'RecognizeIntention' => [
+ 'summary' => '意图识别,支持意图识别(全局+分层)、态度识别、企业识别。',
+ 'path' => '/{workspaceId}/api/recog/intent',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'analysis' => [
+ 'title' => '是否分析',
+ 'description' => '是否分析',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'bizType' => [
+ 'title' => '业务类型,[COMMON(通用意图识别),ATTITUDE(客户态度意图识别),BUSINESS(协商还款意图识别)]',
+ 'description' => '业务类型。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => [
+ 'common' => '意图识别',
+ 'business' => '企业识别',
+ 'attitude' => '态度识别',
+ ],
+ 'example' => 'common',
+ ],
+ 'conversation' => [
+ 'title' => '对话内容',
+ 'description' => '对话内容。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '##客服##:您好,请问是朱杰先生吗?这里是诚信财务的周莉。我们发现您有一项款项昨天是账单日,但您还没还款,这很可能是一个小小的疏忽。来电是提醒您尽快完成还款,避免影响您的信用记录。\\n ##客户##:今天天气怎么样呢?',
+ ],
+ 'globalIntentionList' => [
+ 'title' => '全局意图列表',
+ 'description' => '全局意图列表,当操作类型opType为分层hierarchical时,必填。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '全局意图',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '意图描述',
+ 'description' => '意图描述',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '正常付款3',
+ ],
+ 'intention' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '正常付款3',
+ ],
+ 'intentionCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1810566978021232640',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术',
+ 'description' => '意图话术',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '好的,那先不打扰您了,祝您生活愉快!再见!',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'hierarchicalIntentionList' => [
+ 'title' => '分层意图列表',
+ 'description' => '分层意图列表,当操作类型opType为分层hierarchical时,必填。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '分层意图',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '意图描述',
+ 'description' => '意图描述',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '询问股票价格',
+ ],
+ 'intention' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '询问股票价格',
+ ],
+ 'intentionCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1810929291010150400',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术',
+ 'description' => '意图话术',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '好的,那先不打扰您了,祝您生活愉快!再见!',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'intentionList' => [
+ 'title' => '意图列表',
+ 'description' => '意图列表,当业务类型**不为**态度识别时,必填。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '意图',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '意图描述',
+ 'description' => '意图描述',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '客户表示忘记还款',
+ ],
+ 'intention' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '客户表示忘记还款',
+ ],
+ 'intentionCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1808766224000262144',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术',
+ 'description' => '意图话术',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '好的,那先不打扰您了,祝您生活愉快!再见!',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'opType' => [
+ 'title' => '操作类型,[COMMON(通用),HIERARCHICAL(分层)]',
+ 'description' => '操作类型。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'common' => '通用',
+ 'hierarchical' => '分层',
+ ],
+ 'example' => 'common',
+ 'default' => 'common',
+ ],
+ 'recommend' => [
+ 'title' => '推荐意图',
+ 'description' => '推荐意图',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ 'intentionDomainCode' => [
+ 'title' => '意图库: 本地意图库code',
+ 'description' => '意图库: 本地意图库code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'collection',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<RecogResult>',
+ 'description' => 'ResultCode<RecogResult>',
+ 'type' => 'object',
+ 'properties' => [
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'analysisProcess' => [
+ 'title' => '分析过程',
+ 'description' => '分析过程',
+ 'type' => 'string',
+ 'example' => '客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。',
+ ],
+ 'intentionCode' => [
+ 'title' => '意图code',
+ 'description' => '意图code',
+ 'type' => 'string',
+ 'example' => '-1',
+ ],
+ 'intentionName' => [
+ 'title' => '意图名称',
+ 'description' => '意图名称',
+ 'type' => 'string',
+ 'example' => '其它',
+ ],
+ 'recommendIntention' => [
+ 'title' => '推荐意图',
+ 'description' => '推荐意图',
+ 'type' => 'string',
+ 'example' => '客户试图回避谈论逾期还款的话题',
+ ],
+ 'recommendScript' => [
+ 'title' => '推荐话术',
+ 'description' => '推荐话术',
+ 'type' => 'string',
+ 'example' => '朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。',
+ ],
+ 'intentionScript' => [
+ 'title' => '意图话术',
+ 'description' => '意图话术',
+ 'type' => 'string',
+ 'example' => '朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。',
+ ],
+ ],
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '003D019A-1BB3-53EC-A0D2-CE76DA5D73B1',
+ ],
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"cost\\": 0,\\n \\"data\\": {\\n \\"analysisProcess\\": \\"客户回答的内容与提供的意图列表描述均不匹配,没有表达出对账单、还款、天气或其他服务的具体需求或问题。\\",\\n \\"intentionCode\\": \\"-1\\",\\n \\"intentionName\\": \\"其它\\",\\n \\"recommendIntention\\": \\"客户试图回避谈论逾期还款的话题\\",\\n \\"recommendScript\\": \\"朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。\\",\\n \\"intentionScript\\": \\"朱先生,理解您可能对天气感兴趣,但更重要的是您的账户情况。请让我们专注于您未偿还的款项,这对您的信用健康至关重要。\\"\\n },\\n \\"dataType\\": \\"null\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"requestId\\": \\"003D019A-1BB3-53EC-A0D2-CE76DA5D73B1\\",\\n \\"success\\": true,\\n \\"time\\": \\"2024-04-24 11:54:34\\"\\n}","type":"json"}]',
+ 'title' => '意图识别',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GenDocQaResult' => [
+ 'summary' => '根据文档解析问答QA,可在API UpdateQaLibrary进行QA对的更新。',
+ 'path' => '/{workspaceId}/api/virtualHuman/qa/parse',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'docId' => [
+ 'title' => '文档ID',
+ 'description' => '文档ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '182364872346',
+ ],
+ 'libraryId' => [
+ 'title' => '文档库ID',
+ 'description' => '文档库ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'sjdgdsfg',
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID。该请求ID作为请求的唯一标识,首次请求会进行问答QA的解析,后续请求,相同的请求ID会查询对应的解析状态和结果。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'QA对',
+ 'description' => 'QA对',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'libraryId' => [
+ 'title' => '文档库ID',
+ 'description' => '文档库ID',
+ 'type' => 'string',
+ 'example' => '7wxwrjpabj',
+ ],
+ 'docId' => [
+ 'title' => '文档ID',
+ 'description' => '文档ID',
+ 'type' => 'string',
+ 'example' => '873648346573245',
+ ],
+ 'currentStatus' => [
+ 'title' => '当前状态[INIT(初始化),PROCESSING(处理中),COMPLETED(已结束),FAIL(失败)]',
+ 'description' => '当前状态[INIT(初始化),PROCESSING(处理中),COMPLETED(已结束),FAIL(失败)]',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'INIT' => '初始化',
+ 'COMPLETED' => '已结束',
+ 'PROCESSING' => '处理中',
+ 'FAIL' => '失败',
+ ],
+ 'example' => 'PROCESSING',
+ ],
+ 'parseQaResults' => [
+ 'title' => '问答解析的QA结果',
+ 'description' => '问答解析的QA结果',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'question' => [
+ 'title' => '问题',
+ 'description' => '问题',
+ 'type' => 'string',
+ 'example' => '今天的天气怎么样?',
+ ],
+ 'answer' => [
+ 'title' => '解答',
+ 'description' => '解答',
+ 'type' => 'string',
+ 'example' => '今天的天气不错,多云转晴。'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"libraryId\\": \\"7wxwrjpabj\\",\\n \\"docId\\": \\"873648346573245\\",\\n \\"currentStatus\\": \\"PROCESSING\\",\\n \\"parseQaResults\\": [\\n {\\n \\"question\\": \\"今天的天气怎么样?\\",\\n \\"answer\\": \\"今天的天气不错,多云转晴。\\\\n\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '根据文档解析问答QA ',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'UpdateQaLibrary' => [
+ 'summary' => '更新QA问答库。更新后,可通过API GenDocQaResult来解析QA。',
+ 'path' => '/{workspaceId}/api/virtualHuman/qa/upload',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间Id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体。',
+ 'type' => 'object',
+ 'properties' => [
+ 'parseQaResults' => [
+ 'title' => '问答解析的QA结果',
+ 'description' => '问答解析的QA结果列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '问答解析的QA结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'question' => [
+ 'title' => '问题',
+ 'description' => '问题',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '这款**糯米大烧麦的净含量是多少?'."\n",
+ ],
+ 'answer' => [
+ 'title' => '解答',
+ 'description' => '解答',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '这款**糯米大烧麦的净含量是900g。'."\n",
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'qaLibraryId' => [
+ 'title' => 'QA问答库ID',
+ 'description' => 'QA问答库ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '6jh378d',
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DiaChatQaUploadResponse>',
+ 'description' => 'ResultCode<DiaChatQaUploadResponse>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'qaLibraryId' => [
+ 'title' => 'QA库ID',
+ 'description' => 'QA库ID',
+ 'type' => 'string',
+ 'example' => '6jh378d',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"qaLibraryId\\": \\"6jh378d\\"\\n },\\n \\"requestId\\": \\"EF4B5C9B-3BC8-5171-A47B-4C5CF3DC3258\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '更新QA问答库',
+ ],
+ 'SubmitChatQuestion' => [
+ 'summary' => '提交问题列表,通过API GetChatQuestionResp获取结果。',
+ 'path' => '/{workspaceId}/api/virtualHuman/chat/submit',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '所属的会话ID',
+ 'description' => '所属的会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '237645726354',
+ ],
+ 'gmtService' => [
+ 'title' => '当前时间',
+ 'description' => '当前时间',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-09-27 11:23:20',
+ ],
+ 'liveScriptContent' => [
+ 'title' => '直播脚本',
+ 'description' => '直播脚本',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '我们家的酒全都是老酒,酒厂直售【当前用户问句】,保证正儿八经的自家酿造,地址都能告诉大家,品质实实在在的有保障。我们家这款酒入口非常绵柔顺滑,酱香、粮食香、花果香层层递进,空杯留香能持续48小时,不会有上头的感觉。今天我们是厂家直销,大家平时买酒在烟酒店要经过好几个环节的中间商,每个环节都要加价,今天在这里拍下,只会让你省不少冤枉钱。如果说你拿去存酒的话, 拍蓝瓶的云端系列也可以,越存的话会越香,你拿去托人办事、请人吃饭、商务宴请、搞接待送礼,直接带白瓶云悠系列。'."\n",
+ ],
+ 'openSmallTalk' => [
+ 'title' => '是否开启闲聊 默认是:true 开启',
+ 'description' => '是否开启闲聊。默认是:true 开启',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ 'default' => 'true',
+ ],
+ 'questionList' => [
+ 'title' => '问题列表',
+ 'description' => '问题列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '问题',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '所属会话ID',
+ 'description' => '所属会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1869300950603128834',
+ ],
+ 'userId' => [
+ 'title' => '直播间提问用户的唯一ID',
+ 'description' => '直播间提问用户的唯一ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '39485783475638465',
+ ],
+ 'userName' => [
+ 'title' => '直播间提问用户的名称',
+ 'description' => '直播间提问用户的名称',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '张**'."\n",
+ ],
+ 'content' => [
+ 'title' => '问题内容',
+ 'description' => '问题内容',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '这是多大的体积'."\n",
+ ],
+ 'gmtCreate' => [
+ 'title' => '原始提问时间',
+ 'description' => '原始提问时间',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-11-17 10:05:00'."\n",
+ ],
+ 'type' => [
+ 'title' => '问题类型,DialogueChatQuestionTypeEnum[PRODUCT_QA(音频提交),GOSSIP(操作提交),UNKNOWN(未知),code,desc]',
+ 'description' => '问题类型:PRODUCT_QA(音频提交),GOSSIP(操作提交),UNKNOWN(未知)',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'PRODUCT_QA' => '音频提交',
+ 'GOSSIP' => '操作提交',
+ 'UNKNOWN' => '未知',
+ ],
+ 'example' => 'PRODUCT_QA'."\n",
+ ],
+ 'reply' => [
+ 'title' => '答复内容,回复的内容',
+ 'description' => '答复内容,回复的内容',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '这是三升的。'."\n",
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'requestId' => [
+ 'title' => '请求ID',
+ 'description' => '请求ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0FC6636E-380A-5369-AE01-D1C15BB9B254',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'ResultCode<DiaChatSubmitVO>',
+ 'description' => 'ResultCode<DiaChatSubmitVO>',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'batchId' => [
+ 'title' => '批次ID',
+ 'description' => '批次ID',
+ 'type' => 'string',
+ 'example' => '1869307330227937280',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '915AAAB9-4908-5224-9E53-9E9D7D0AA94B',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"batchId\\": \\"1869307330227937280\\"\\n },\\n \\"requestId\\": \\"915AAAB9-4908-5224-9E53-9E9D7D0AA94B\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '提交问题列表',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'前提条件'."\n"
+ ."\n"
+ .'已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'GetChatQuestionResp' => [
+ 'summary' => '获取问答结果,即API SubmitChatQuestion的结果。',
+ 'path' => '/{workspaceId}/api/virtualHuman/chat/query',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '业务空间id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求',
+ 'description' => '请求体',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '所属会话ID',
+ 'description' => '所属会话ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '237645726354',
+ ],
+ 'batchId' => [
+ 'title' => '问题批次ID',
+ 'description' => '问题批次ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1869307330227937280',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '结果',
+ 'description' => '结果',
+ 'type' => 'object',
+ 'properties' => [
+ 'success' => [
+ 'title' => '是否成功',
+ 'description' => '是否成功',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'dataType' => [
+ 'title' => '数据类型',
+ 'description' => '数据类型',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'time' => [
+ 'title' => '时间戳',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-01-01 00:00:00',
+ ],
+ 'errCode' => [
+ 'title' => '错误码',
+ 'description' => '错误码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '错误信息',
+ 'description' => '错误信息',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'data' => [
+ 'title' => '响应数据',
+ 'description' => '响应数据',
+ 'type' => 'object',
+ 'properties' => [
+ 'currentState' => [
+ 'title' => '当前状态[INIT(初始化),PROCESSING(处理中),COMPLETED(已结束)]',
+ 'description' => '当前状态[INIT(初始化),PROCESSING(处理中),COMPLETED(已结束)]',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'INIT' => '初始化',
+ 'COMPLETED' => '已结束',
+ 'PROCESSING' => '处理中',
+ ],
+ 'example' => 'PROCESSING',
+ ],
+ 'questionList' => [
+ 'title' => '问题列表',
+ 'description' => '问题列表',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '问题',
+ 'description' => '问题',
+ 'type' => 'object',
+ 'properties' => [
+ 'sessionId' => [
+ 'title' => '所属会话ID',
+ 'description' => '所属会话ID',
+ 'type' => 'string',
+ 'example' => '1732846760323001'."\n",
+ ],
+ 'userId' => [
+ 'title' => '直播间提问用户的唯一ID',
+ 'description' => '直播间提问用户的唯一ID',
+ 'type' => 'string',
+ 'example' => '39847834568436'."\n",
+ ],
+ 'userName' => [
+ 'title' => '直播间提问用户的名称',
+ 'description' => '直播间提问用户的名称',
+ 'type' => 'string',
+ 'example' => '张*',
+ ],
+ 'content' => [
+ 'title' => '问题内容',
+ 'description' => '问题内容',
+ 'type' => 'string',
+ 'example' => '今天天气怎么样',
+ ],
+ 'gmtCreate' => [
+ 'title' => '原始提问时间',
+ 'description' => '原始提问时间',
+ 'type' => 'string',
+ 'example' => '2024-11-17 10:05:00',
+ ],
+ 'type' => [
+ 'title' => '问题类型[PRODUCT_QA(音频提交),GOSSIP(操作提交),UNKNOWN(未知)]',
+ 'description' => '问题类型[PRODUCT_QA(音频提交),GOSSIP(操作提交),UNKNOWN(未知)]',
+ 'type' => 'string',
+ 'enumValueTitles' => [
+ 'PRODUCT_QA' => '音频提交',
+ 'GOSSIP' => '操作提交',
+ 'UNKNOWN' => '未知',
+ ],
+ 'example' => 'PRODUCT_QA',
+ ],
+ 'reply' => [
+ 'title' => '答复内容,回复的内容',
+ 'description' => '答复内容,回复的内容',
+ 'type' => 'string',
+ 'example' => '感谢您的支持!',
+ ],
+ 'oriContent' => [
+ 'title' => '原始问题',
+ 'description' => '原始问题',
+ 'type' => 'string',
+ 'example' => '今天天气怎么样',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => '44BD277A-87F9-5310-8D63-3E6645F1DA85',
+ ],
+ 'cost' => [
+ 'title' => '耗时',
+ 'description' => '耗时',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"success\\": true,\\n \\"dataType\\": \\"null\\",\\n \\"time\\": \\"2024-01-01 00:00:00\\",\\n \\"errCode\\": \\"0\\",\\n \\"message\\": \\"ok\\",\\n \\"data\\": {\\n \\"currentState\\": \\"PROCESSING\\",\\n \\"questionList\\": [\\n {\\n \\"sessionId\\": \\"1732846760323001\\\\n\\",\\n \\"userId\\": \\"39847834568436\\\\n\\",\\n \\"userName\\": \\"张*\\",\\n \\"content\\": \\"今天天气怎么样\\",\\n \\"gmtCreate\\": \\"2024-11-17 10:05:00\\",\\n \\"type\\": \\"PRODUCT_QA\\",\\n \\"reply\\": \\"感谢您的支持!\\",\\n \\"oriContent\\": \\"今天天气怎么样\\"\\n }\\n ]\\n },\\n \\"requestId\\": \\"44BD277A-87F9-5310-8D63-3E6645F1DA85\\",\\n \\"cost\\": 0\\n}","type":"json"}]',
+ 'title' => '获取问答结果',
+ ],
+ 'RunChatResultGeneration' => [
+ 'summary' => '对话结果生成,可选择模型进行对话,支持流式和非流式。',
+ 'path' => '/{workspaceId}/api/run/chat/generation',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'sse',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '路径参数,业务空间id。',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxxxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '请求体参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'inferenceParameters' => [
+ 'title' => '推理使用的超参数',
+ 'description' => '推理使用的超参数',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{"topP": 0.8}',
+ ],
+ 'messages' => [
+ 'title' => '输入模型的消息',
+ 'description' => '输入模型的消息',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'content' => [
+ 'title' => '消息的内容',
+ 'description' => '消息的内容',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '你是一个信息处理专家',
+ ],
+ 'role' => [
+ 'title' => '消息的角色',
+ 'description' => '消息的角色',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'user',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'modelId' => [
+ 'title' => '模型服务种类,请通过/api/app/config接口获取,对应的字段llmHelperTypeList',
+ 'description' => '模型服务种类,请通过/api/app/config接口获取,对应的字段llmHelperTypeList',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qwen-max',
+ ],
+ 'sessionId' => [
+ 'title' => 'sessionId,可用于标记对话',
+ 'description' => 'sessionId,可用于标记对话',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '237645726354',
+ ],
+ 'stream' => [
+ 'title' => '是否流式: true,流式返回答案;false,全量返回答案。不填默认为false',
+ 'description' => '是否流式: true,流式返回答案;false,全量返回答案。不填默认为false',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ 'default' => 'false',
+ ],
+ 'tools' => [
+ 'title' => '输入的工具信息.'."\n"
+ .'用于指定可供模型调用的工具列表。当输入多个工具时,模型会选择其中一个生成结果。',
+ 'description' => '输入的工具信息.'."\n"
+ .'用于指定可供模型调用的工具列表。当输入多个工具时,模型会选择其中一个生成结果。',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => '用于指定可供模型调用的工具库,一次function call流程模型会从中选择其中一个工具。tools中每一个tool的结构如下:'."\n"
+ ."\n"
+ .'type,类型为string,表示tools的类型,当前仅支持function。'."\n"
+ ."\n"
+ .'function,类型为object,键值包括name,description和parameters:'."\n"
+ ."\n"
+ .'name:类型为string,表示工具函数的名称,必须是字母、数字,可以包含下划线和短划线,最大长度为64。'."\n"
+ ."\n"
+ .'description:类型为string,表示工具函数的描述,供模型选择何时以及如何调用工具函数。'."\n"
+ ."\n"
+ .'parameters:类型为object,表示工具的参数描述,需要是一个合法的JSON Schema。JSON Schema的描述可以见链接。如果parameters参数为空,表示function没有入参。'."\n"
+ ."\n"
+ .'在function call流程中,无论是发起function call的轮次,还是向模型提交工具函数的执行结果,均需设置tools参数。当前支持的模型包括qwen-turbo、qwen-plus、qwen-max和qwen-max-longcontext。',
+ 'description' => '工具信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'function' => [
+ 'title' => '类型为object,键值包括name,description和parameters',
+ 'description' => '类型为object,键值包括name,description和parameters',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '类型为string,表示工具函数的描述,供模型选择何时以及如何调用工具函数',
+ 'description' => '类型为string,表示工具函数的描述,供模型选择何时以及如何调用工具函数',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '工具函数的描述',
+ ],
+ 'name' => [
+ 'title' => '类型为string,表示工具函数的名称,必须是字母、数字,可以包含下划线和短划线,最大长度为64',
+ 'description' => '类型为string,表示工具函数的名称,必须是字母、数字,可以包含下划线和短划线,最大长度为64',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'get_time',
+ ],
+ 'parameters' => [
+ 'title' => '类型为object,表示工具的参数描述,需要是一个合法的JSON Schema。',
+ 'description' => '类型为object,表示工具的参数描述,需要是一个合法的JSON Schema。',
+ 'type' => 'object',
+ 'properties' => [
+ 'properties' => [
+ 'description' => '属性',
+ 'type' => 'object',
+ 'required' => false,
+ 'example' => '{'."\n"
+ .' "location": {'."\n"
+ .' "type": "string",'."\n"
+ .' "description": "The city and state, e.g. San Francisco, CA"'."\n"
+ .' },'."\n"
+ .' "unit": {'."\n"
+ .' "type": "string",'."\n"
+ .' "enum": ['."\n"
+ .' "celsius",'."\n"
+ .' "fahrenheit"'."\n"
+ .' ]'."\n"
+ .' }'."\n"
+ .' }',
+ ],
+ 'type' => [
+ 'description' => '类型',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'object',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => [
+ 'description' => '必填参数列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '必填参数',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'location',
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'type' => [
+ 'title' => '类型为string,表示tools的类型,当前仅支持function',
+ 'description' => '类型为string,表示tools的类型,当前仅支持function',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'function',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'choices' => [
+ 'title' => '模型生成内容的详情。',
+ 'description' => '模型生成内容的详情。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '模型生成内容的详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'finishReason' => [
+ 'title' => '模型生成内容结束原因。'."\n"
+ .' 有三种情况:'."\n"
+ .' - 正在生成时为null;'."\n"
+ .' - 因触发输入参数中的stop条件而结束为stop;'."\n"
+ .' - 因生成长度过长而结束为length。',
+ 'description' => '有三种情况:'."\n"
+ ."\n"
+ .'- 正在生成时为null;'."\n"
+ ."\n"
+ .'- 因触发输入参数中的stop条件而结束为stop;'."\n"
+ ."\n"
+ .'- 因生成长度过长而结束为length。',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'index' => [
+ 'title' => '生成的结果序列编号,默认为0。',
+ 'description' => '生成的结果序列编号,默认为0。',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '模型输出的消息。',
+ 'description' => '对话消息',
+ 'type' => 'object',
+ 'properties' => [
+ 'content' => [
+ 'title' => '模型生成的文本。',
+ 'description' => '对话内容',
+ 'type' => 'string',
+ 'example' => '你是谁',
+ ],
+ 'role' => [
+ 'title' => '模型的角色,固定为assistant。',
+ 'description' => '角色',
+ 'type' => 'string',
+ 'example' => 'user',
+ ],
+ 'toolCalls' => [
+ 'title' => '工具调用',
+ 'description' => '工具调用列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '工具调用',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "type": "function",'."\n"
+ .' "function": {'."\n"
+ .' "name": "get_current_weather",'."\n"
+ .' "arguments": "{\\"location\\": \\"长沙\\", \\"unit\\": \\"celsius\\"}"'."\n"
+ .' },'."\n"
+ .' "id": ""'."\n"
+ .' }',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'created' => [
+ 'title' => '创建时间戳',
+ 'description' => '创建时间',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1720602203',
+ ],
+ 'id' => [
+ 'title' => '系统生成的标识本次调用的id。',
+ 'description' => '请求标识',
+ 'type' => 'string',
+ 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032',
+ ],
+ 'modelId' => [
+ 'title' => '本次调用的模型名。',
+ 'description' => '大模型ID。',
+ 'type' => 'string',
+ 'example' => 'qwen-max',
+ ],
+ 'requestId' => [
+ 'title' => '请求id',
+ 'description' => '请求id',
+ 'type' => 'string',
+ 'example' => 'eb2b6139-ddf1-91a0-a47f-df7617ae9032'."\n",
+ ],
+ 'time' => [
+ 'title' => '时间',
+ 'description' => '时间戳',
+ 'type' => 'string',
+ 'example' => '2024-04-24 11:54:34',
+ ],
+ 'totalTokens' => [
+ 'title' => '总token量',
+ 'description' => 'Tokens总量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ 'usage' => [
+ 'title' => '消耗量',
+ 'description' => '用量',
+ 'type' => 'object',
+ 'properties' => [
+ 'imageCount' => [
+ 'title' => '图片数量,wanx等模型',
+ 'description' => '图片数,wanx等模型返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'imageTokens' => [
+ 'title' => '图片token量,qwen-vl等模型',
+ 'description' => '图片Tokens,qwen-vl等模型返回',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'inputTokens' => [
+ 'title' => '输入token量',
+ 'description' => '输入Tokens',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'outputTokens' => [
+ 'title' => '输出token量',
+ 'description' => '输出Tokens',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'totalTokens' => [
+ 'title' => '总token量',
+ 'description' => 'Tokens总量',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '500',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"choices\\": [\\n {\\n \\"finishReason\\": \\"null\\",\\n \\"index\\": 0,\\n \\"message\\": {\\n \\"content\\": \\"你是谁\\",\\n \\"role\\": \\"user\\",\\n \\"toolCalls\\": [\\n {\\n \\"type\\": \\"function\\",\\n \\"function\\": {\\n \\"name\\": \\"get_current_weather\\",\\n \\"arguments\\": \\"{\\\\\\"location\\\\\\": \\\\\\"长沙\\\\\\", \\\\\\"unit\\\\\\": \\\\\\"celsius\\\\\\"}\\"\\n },\\n \\"id\\": \\"\\"\\n }\\n ]\\n }\\n }\\n ],\\n \\"created\\": 1720602203,\\n \\"id\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\",\\n \\"modelId\\": \\"qwen-max\\",\\n \\"requestId\\": \\"eb2b6139-ddf1-91a0-a47f-df7617ae9032\\\\n\\",\\n \\"time\\": \\"2024-04-24 11:54:34\\",\\n \\"totalTokens\\": 500,\\n \\"usage\\": {\\n \\"imageCount\\": 0,\\n \\"imageTokens\\": 0,\\n \\"inputTokens\\": 200,\\n \\"outputTokens\\": 300,\\n \\"totalTokens\\": 500\\n }\\n}","type":"json"}]',
+ 'title' => '对话结果生成',
+ 'description' => '请确保在使用该接口前,已充分了解通义点金产品的收费方式和价格。'."\n"
+ ."\n\n"
+ .'**前提条件**'."\n"
+ ."\n"
+ .'- 已开通阿里云百炼服务和通义点金服务。'."\n"
+ ."\n"
+ .'- 获取到workspaceId:获取[workspace标识](https://help.aliyun.com/zh/model-studio/developer-reference/get-app-id-and-workspace?spm=openapi-amp.newDocPublishment.0.0.2eb8281foUVd15#2612f896detsz:~:text=%E6%9F%A5%E7%9C%8BAPI%2DKEY%E3%80%82-,%E8%8E%B7%E5%8F%96APP%2DID%E5%92%8CWORKSPACE,-%E8%BF%9B%E5%85%A5%E6%88%91%E7%9A%84%E5%BA%94%E7%94%A8)。',
+ ],
+ 'DashscopeAsyncTaskFinishEvent' => [
+ 'summary' => 'Dashscope异步任务完成回调事件',
+ 'path' => '/{workspaceId}/event/dashscopeAsyncTaskFinish',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'X-Load-Test',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '用户标识是否压测流量',
+ 'description' => '用户标识是否压测流量',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'default' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'workspaceId',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '业务空间ID',
+ 'description' => '业务空间ID',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'llm-xxx',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '请求体参数',
+ 'description' => '请求体参数',
+ 'type' => 'object',
+ 'required' => false,
+ 'additionalProperties' => [
+ 'title' => '请求体参数',
+ 'description' => '请求体参数',
+ 'type' => 'any',
+ 'example' => '{}',
+ ],
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'WanProdResponse<Void>',
+ 'description' => 'WanProdResponse<Void>',
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'title' => '返回码',
+ 'description' => '返回码',
+ 'type' => 'string',
+ 'example' => '0',
+ ],
+ 'message' => [
+ 'title' => '返回信息',
+ 'description' => '返回信息',
+ 'type' => 'string',
+ 'example' => '成功',
+ ],
+ 'success' => [
+ 'title' => '返回是否成功',
+ 'description' => '返回是否成功',
+ 'type' => 'boolean',
+ ],
+ 'retryAble' => [
+ 'title' => '是否可重试',
+ 'description' => '是否可重试',
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"0\\",\\n \\"message\\": \\"成功\\",\\n \\"success\\": true,\\n \\"retryAble\\": true\\n}","type":"json"}]',
+ 'title' => 'Dashscope异步任务完成回调事件',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'dianjin.cn-beijing.aliyuncs.com',
+ ],
+ ],
+];