diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/aimiaobi/2023-08-01 | |
| download | acs-metadata-full-1.0.0+20260212.tar.gz acs-metadata-full-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/aimiaobi/2023-08-01')
| -rw-r--r-- | data/en_us/aimiaobi/2023-08-01/api-docs.php | 46553 |
1 files changed, 46553 insertions, 0 deletions
diff --git a/data/en_us/aimiaobi/2023-08-01/api-docs.php b/data/en_us/aimiaobi/2023-08-01/api-docs.php new file mode 100644 index 0000000..6ac1a49 --- /dev/null +++ b/data/en_us/aimiaobi/2023-08-01/api-docs.php @@ -0,0 +1,46553 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'AiMiaoBi', + 'version' => '2023-08-01', + ], + 'directories' => [ + [ + 'id' => 403374, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateToken', + 'ListDialogues', + 'ListVersions', + 'GetProperties', + ], + ], + [ + 'id' => 403379, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GenerateFileUrlByKey', + 'GenerateUploadConfig', + ], + ], + [ + 'id' => 403382, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitAsyncTask', + 'CancelAsyncTask', + 'QueryAsyncTask', + 'ListAsyncTasks', + ], + ], + [ + 'id' => 403387, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateGeneralConfig', + 'ListGeneralConfigs', + 'GetGeneralConfig', + 'UpdateGeneralConfig', + 'DeleteGeneralConfig', + ], + ], + [ + 'id' => 403393, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunAiHelperWriting', + 'RunWritingV2', + 'RunWriting', + 'RunStepByStepWriting', + 'RunTranslateGeneration', + 'RunTextPolishing', + 'RunKeywordsExtractionGeneration', + 'RunContinueContent', + 'RunWriteToneGeneration', + 'RunTitleGeneration', + 'RunSummaryGenerate', + 'RunExpandContent', + 'RunAbbreviationContent', + 'SearchNews', + 'RunQuickWriting', + 'ListBuildConfigs', + 'GenerateImageTask', + 'FetchImageTask', + 'FeedbackDialogue', + ], + ], + [ + 'id' => 403413, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListStyleLearningResult', + 'RunStyleFeatureAnalysis', + 'SaveStyleLearningResult', + 'DeleteStyleLearningResult', + 'GetStyleLearningResult', + 'ListWritingStyles', + ], + ], + [ + 'id' => 403420, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitAuditNote', + 'ConfirmAndPostProcessAuditNote', + 'DownloadAuditNote', + 'DeleteAuditNote', + 'GetAuditNotePostProcessingStatus', + 'GetAuditNoteProcessingStatus', + 'GetAvailableAuditNotes', + ], + ], + [ + 'id' => 403428, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListAuditTerms', + 'AddAuditTerms', + 'EditAuditTerms', + 'DeleteAuditTerms', + 'SubmitImportTermsTask', + 'FetchImportTermsTask', + 'SubmitExportTermsTask', + 'FetchExportTermsTask', + ], + ], + [ + 'id' => 403437, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitFactAuditUrl', + 'GetFactAuditUrl', + 'DeleteFactAuditUrl', + ], + ], + [ + 'id' => 403441, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'QueryAuditTask', + 'SubmitAuditTask', + 'CancelAuditTask', + 'SubmitSmartAudit', + 'GetSmartAuditResult', + 'ListAuditContentErrorTypes', + 'ExportAuditContentResult', + ], + ], + [ + 'id' => 403449, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GenerateExportWordTask', + 'FetchExportWordTask', + 'CreateGeneratedContent', + 'DeleteGeneratedContent', + 'UpdateGeneratedContent', + 'GetGeneratedContent', + 'ListGeneratedContents', + 'ExportGeneratedContent', + ], + ], + [ + 'id' => 403458, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SaveMaterialDocument', + 'DeleteMaterialById', + 'UpdateMaterialDocument', + 'GetMaterialById', + 'ListMaterialDocuments', + ], + ], + [ + 'id' => 403464, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetCustomText', + 'UpdateCustomText', + 'ListCustomText', + 'SaveCustomText', + 'DeleteCustomText', + 'DocumentExtraction', + ], + ], + [ + 'id' => 403471, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetClipsBuildInResource', + 'AsyncCreateClipsTimeLine', + 'AsyncEditTimeline', + 'AsyncUploadVideo', + 'GetAutoClipsTaskInfo', + 'AsyncCreateClipsTask', + 'ListAutoClipsTask', + ], + ], + [ + 'id' => 403479, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitCustomSourceTopicAnalysis', + 'GetCustomSourceTopicAnalysisTask', + 'ExportCustomSourceAnalysisTask', + ], + ], + [ + 'id' => 403483, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListDocumentRetrieve', + ], + ], + [ + 'id' => 403485, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunTopicSelectionMerge', + 'GenerateViewPoint', + 'ListHotNewsWithType', + 'ListHotSources', + 'ListHotTopics', + 'GetTopicById', + 'ListHotViewPoints', + 'ListTimedViewAttitude', + 'ListFreshViewPoints', + 'ListWebReviewPoints', + 'ListPlanningProposal', + 'ExportHotTopicPlanningProposals', + ], + ], + [ + 'id' => 403498, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DeleteCustomTopicByTopic', + 'ListTopicViewPointRecommendEventList', + 'ListTopicRecommendEventList', + 'RunCustomHotTopicAnalysis', + 'RunCustomHotTopicViewPointAnalysis', + 'ListCustomViewPoints', + 'DeleteCustomTopicViewPointById', + ], + ], + [ + 'id' => 403506, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitDocClusterTask', + 'GetDocClusterTask', + 'SubmitTopicSelectionPerspectiveAnalysisTask', + 'GetTopicSelectionPerspectiveAnalysisTask', + 'SubmitCustomTopicSelectionPerspectiveAnalysisTask', + 'GetCustomTopicSelectionPerspectiveAnalysisTask', + ], + ], + [ + 'id' => 403513, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetHotTopicBroadcast', + 'SubmitCustomHotTopicBroadcastJob', + 'GetCustomHotTopicBroadcastJob', + ], + ], + [ + 'id' => 403517, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ExportAnalysisTagDetailByTaskId', + 'ValidateUploadTemplate', + 'SubmitEnterpriseVocAnalysisTask', + 'ListAnalysisTagDetailByTaskId', + 'GetEnterpriseVocAnalysisTask', + 'GetCategoriesByTaskId', + ], + ], + [ + 'id' => 403524, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateDataset', + 'GetDataset', + 'UpdateDataset', + 'ListDatasets', + 'DeleteDataset', + 'AddDatasetDocument', + 'GetDatasetDocument', + 'UpdateDatasetDocument', + 'ListDatasetDocuments', + 'SearchDatasetDocuments', + 'DeleteDatasetDocument', + ], + ], + [ + 'id' => 403536, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunSearchGeneration', + 'ListSearchTasks', + 'ListSearchTaskDialogues', + 'ListSearchTaskDialogueDatas', + 'RunSearchSimilarArticles', + ], + ], + [ + 'id' => 403542, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListInterveneCnt', + 'ListIntervenes', + 'ImportInterveneFile', + 'InsertInterveneGlobalReply', + 'ImportInterveneFileAsync', + 'GetInterveneTemplateFileUrl', + 'ClearIntervenes', + 'GetInterveneGlobalReply', + 'ListInterveneRules', + 'ListInterveneImportTasks', + 'InsertInterveneRule', + 'GetInterveneRuleDetail', + 'DeleteInterveneRule', + 'ExportIntervenes', + 'GetInterveneImportTaskInfo', + ], + ], + [ + 'id' => 403558, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SaveDataSourceOrderConfig', + 'GetDataSourceOrderConfig', + ], + ], + [ + 'id' => 403561, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetDocInfo', + 'GetFileContentLength', + 'UploadBook', + 'UploadDoc', + 'ListDocs', + 'DeleteDocs', + ], + ], + [ + 'id' => 403568, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunMultiDocIntroduction', + 'RunDocBrainmap', + 'RunDocIntroduction', + 'RunDocSummary', + 'RunDocWashing', + 'RunBookIntroduction', + 'RunBookBrainmap', + 'RunCommentGeneration', + ], + ], + [ + 'id' => 403577, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunHotword', + ], + ], + [ + 'id' => 403579, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunGenerateQuestions', + 'RunDocQa', + ], + ], + [ + 'id' => 403582, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunDocTranslation', + 'RunDocSmartCard', + 'RunBookSmartCard', + ], + ], + [ + 'id' => 403586, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'SubmitDeepWriteTask', + 'GetDeepWriteTask', + 'GetDeepWriteTaskResult', + 'CancelDeepWriteTask', + 'RunDeepWriting', + ], + ], + [ + 'id' => 403592, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetPptArtifact', + 'ListPptArtifacts', + 'RunPptOutlineGeneration', + 'InitiatePptCreation', + 'GetPptConfig', + 'BindPptArtifact', + 'DeletePptArtifact', + ], + ], + [ + 'id' => 403600, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'AsyncUploadTenderDoc', + 'GetBiddingRemainLimitNum', + 'GetBiddingDocInfo', + 'EditBiddingDoc', + 'DownloadBiddingDoc', + 'AsyncWritingBiddingDoc', + 'ListBiddingDoc', + ], + ], + [ + 'id' => 403608, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'RunVideoScriptGenerate', + 'GetSmartClipTask', + 'SubmitSmartClipTask', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'GenerateTraceability' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'News' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => 'URL', + 'description' => 'URL', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.html'."\n", + 'backendName' => 'url', + ], + 'Title' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'title', + ], + 'PubTime' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '2024-01-22 10:29:00', + 'backendName' => 'pubTime', + ], + 'SearchSourceName' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'searchSourceName', + ], + 'SearchSource' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'searchSource', + ], + 'Index' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + 'backendName' => 'index', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'news', + ], + ], + ], + 'HottopicNews' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'title', + ], + 'Content' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'content', + ], + 'Url' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.html', + 'backendName' => 'url', + ], + 'Comments' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'text', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'comments', + ], + ], + ], + 'OutlineSearchResult' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Query' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'query', + ], + 'Outline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'outline', + ], + 'OutlineId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'xxxxxx', + 'backendName' => 'outlineId', + ], + 'PrimaryOutline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'primaryOutline', + ], + 'Articles' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/OutlineWritingArticle', + ], + 'backendName' => 'articles', + ], + ], + ], + 'OutlineWritingArticle' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'http://www.example.com/xxxx.html', + 'backendName' => 'url', + ], + 'Title' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'title', + ], + 'Content' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'content', + ], + 'SearchSource' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'searchSource', + ], + 'SearchSourceName' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'searchSourceName', + ], + 'PubTime' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '2023-04-11 06:14:07', + 'backendName' => 'pubTime', + ], + 'PrimaryOutline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'primaryOutline', + ], + 'Outline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'outline', + ], + ], + ], + 'TopicSelection' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Point' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'outline', + ], + 'Summary' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'summary', + ], + 'Outlines' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'outline', + ], + 'Summary' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'summary', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'outlines', + ], + ], + ], + 'WritingOutline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'WritingTips' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'writingTips', + ], + 'OutlineId' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'xxx', + 'backendName' => 'outlineId', + ], + 'Outline' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'outline', + ], + 'SearchKeyWordList' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'extendType' => 'true', + ], + 'backendName' => 'searchKeyWordList', + ], + 'WordCount' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'wordCount', + ], + 'Articles' => [ + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/OutlineWritingArticle', + ], + 'backendName' => 'articles', + ], + 'Children' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/WritingOutline', + ], + 'backendName' => 'children', + ], + ], + ], + 'WritingStyleTemplateDefine' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Fields' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/WritingStyleTemplateField', + ], + 'backendName' => 'fields', + ], + 'Example' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '123', + 'backendName' => 'value', + ], + 'Key' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'topic', + 'backendName' => 'key', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'example', + ], + ], + ], + 'WritingStyleTemplateField' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'MinItemLength' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1000', + 'backendName' => 'minItemLength', + ], + 'Max' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'number', + 'format' => 'double', + 'example' => '2000', + 'backendName' => 'max', + ], + 'MinLength' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + 'backendName' => 'minLength', + ], + 'MaxLength' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2000', + 'backendName' => 'maxLength', + ], + 'MaxItemLength' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4000', + 'backendName' => 'maxItemLength', + ], + 'Name' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'name', + ], + 'BuildIn' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'true', + 'backendName' => 'buildIn', + ], + 'Enums' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'CascadingFields' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'extendType' => 'true', + ], + 'backendName' => 'cascadingFields', + ], + 'Key' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'key', + ], + 'Name' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'name', + ], + ], + 'extendType' => 'true', + ], + 'backendName' => 'enums', + ], + 'Min' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + 'backendName' => 'min', + ], + 'Required' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'example' => 'false', + 'backendName' => 'required', + ], + 'MaxItem' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + 'backendName' => 'maxItem', + ], + 'InitialValue' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'initialValue', + ], + 'CascadingFields' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'extendType' => 'true', + '$ref' => '#/components/schemas/WritingStyleTemplateField', + ], + 'backendName' => 'cascadingFields', + ], + 'Style' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'object', + 'properties' => [ + 'Placeholder' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'placeholder', + ], + 'Type' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'media', + 'backendName' => 'type', + ], + 'ShowTime' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'boolean', + 'backendName' => 'showTime', + ], + 'Suffix' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'suffix', + ], + 'Description' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => '', + 'backendName' => 'description', + ], + 'Format' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'yyyy-mm-dd', + 'backendName' => 'format', + ], + ], + 'backendName' => 'style', + ], + 'Key' => [ + 'title' => '', + 'description' => '', + 'visibility' => 'Public', + 'type' => 'string', + 'example' => 'topic', + 'backendName' => 'key', + ], + ], + ], + ], + ], + 'apis' => [ + 'CreateToken' => [ + 'summary' => '获取授权token', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2daaa2e0c209xb26acb97009ea77bd4b_p_efm', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<AccessTokenInfo>', + 'description' => 'PlainResult<AccessTokenInfo>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ExpiredTime' => [ + 'title' => '有效期', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1705388704855', + ], + 'Token' => [ + 'title' => '访问授权码', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"ExpiredTime\\": 1705388704855,\\n \\"Token\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListDialogues' => [ + 'summary' => '生成历史列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + 'maxLength' => 64, + 'minLength' => 6, + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '开始时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-04 11:46:07', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '结束时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-04 11:46:07', + ], + ], + [ + 'name' => 'DialogueType', + 'in' => 'formData', + 'schema' => [ + 'title' => '生成类型:1:创作;2:智搜(默认)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + 'default' => '2', + 'enum' => [ + '1', + '2', + ], + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bot' => [ + 'title' => '模型生成', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'CreateTime' => [ + 'title' => '创建日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-04 11:46:07', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'DialogueType' => [ + 'title' => '生成类型:1:创作;2:智搜(默认)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'User' => [ + 'title' => '用户输入', + 'description' => '', + 'type' => 'string', + 'example' => 'x', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"Bot\\": \\"xx\\",\\n \\"CreateTime\\": \\"2024-01-04 11:46:07\\",\\n \\"CreateUser\\": \\"xx\\",\\n \\"DialogueType\\": 2,\\n \\"TaskId\\": \\"xx\\",\\n \\"User\\": \\"x\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Size\\": 10,\\n \\"Success\\": true,\\n \\"Total\\": 100\\n}","type":"json"}]', + ], + 'ListVersions' => [ + 'summary' => '获取系统所有实例信息', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '33a2658aaabf4c24b45d50e575125311_p_beebot_public', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ConcurrentCount' => [ + 'title' => '并发数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '43', + ], + 'EndTime' => [ + 'title' => '服务到期时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-23 02:00:34', + ], + 'InstanceCount' => [ + 'title' => '实例数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '55', + ], + 'InstanceId' => [ + 'title' => '实例ID', + 'description' => '', + 'type' => 'string', + 'example' => 'ga-bp12pismsw4v3tzhf62p1', + ], + 'OrderId' => [ + 'title' => '订单ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '7', + ], + 'ProductType' => [ + 'title' => '版本类型 (TRIAL: 试用版, STANDARD: 专业版, CUSTOMIZE: 定制版)', + 'description' => '', + 'type' => 'string', + 'example' => 'CUSTOMIZE', + 'enum' => [ + 'TRIAL', + 'STANDARD', + 'CUSTOMIZE', + ], + ], + 'Quota' => [ + 'title' => '试用版限额次数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '13', + ], + 'StartTime' => [ + 'title' => '服务开始时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-05-27 04:11:00', + ], + 'UseQuota' => [ + 'title' => '试用版已使用次数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '65', + ], + 'VersionDetail' => [ + 'title' => '版本明细', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'VersionName' => [ + 'title' => '版本', + 'description' => '', + 'type' => 'string', + 'example' => '试用版', + 'enum' => [ + '', + '', + '', + ], + ], + 'VersionStatus' => [ + 'title' => '有效状态:0-表示有效、1-版本过期-续费页、2-版本不可用-购买页', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '87', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": [\\n {\\n \\"ConcurrentCount\\": 43,\\n \\"EndTime\\": \\"2023-04-23 02:00:34\\",\\n \\"InstanceCount\\": 55,\\n \\"InstanceId\\": \\"ga-bp12pismsw4v3tzhf62p1\\",\\n \\"OrderId\\": 7,\\n \\"ProductType\\": \\"CUSTOMIZE\\",\\n \\"Quota\\": 13,\\n \\"StartTime\\": \\"2023-05-27 04:11:00\\",\\n \\"UseQuota\\": 65,\\n \\"VersionDetail\\": \\"标准版-公共并发:1并发\\",\\n \\"VersionName\\": \\"试用版\\",\\n \\"VersionStatus\\": 87\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetProperties' => [ + 'summary' => '获取当前用户的配置', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx_efm', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<TongYiLlmPropertiesDO>', + 'description' => 'PlainResult<TongYiLlmPropertiesDO>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ChatConfig' => [ + 'title' => '通话配置', + 'description' => '', + 'type' => 'object', + ], + 'ConsoleConfig' => [ + 'title' => '控制台配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TipContent' => [ + 'title' => '提示内容', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'GeneralConfigMap' => [ + 'title' => '通用配置表', + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'any', + 'example' => 'tongyi.xxx', + 'description' => '', + ], + ], + 'IntelligentSearchConfig' => [ + 'title' => '智搜配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProductDescription' => [ + 'title' => '首页产品描述', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'SearchSamples' => [ + 'title' => '智搜推荐', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => 'sample', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '文章列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Select' => [ + 'title' => '前端传递时是否手动选择', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Stared' => [ + 'title' => '是否为星标文章', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxx.com', + ], + ], + ], + ], + 'Prompt' => [ + 'title' => '提示词', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Text' => [ + 'title' => '生成内容', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + ], + 'SearchSources' => [ + 'title' => '搜索源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '数据集唯一标识: code+datasetName', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'DatasetName' => [ + 'title' => '数据集唯一标识: code+datasetName', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Name' => [ + 'title' => '搜索源名称:中文', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + 'CopilotPreciseSearchSources' => [ + 'title' => '妙搜:搜索源配置', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '数据集唯一标识: code+datasetName', + 'type' => 'string', + 'example' => 'x', + ], + 'DatasetName' => [ + 'title' => '数据集唯一标识: code+datasetName', + 'type' => 'string', + 'example' => 'x', + ], + 'Name' => [ + 'title' => '搜索源名称:中文', + 'type' => 'string', + 'example' => 'x', + ], + ], + ], + ], + ], + ], + 'SearchSources' => [ + 'title' => '搜索源', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Label' => [ + 'title' => '下拉列表的展示值', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Value' => [ + 'title' => '下拉列表的传递值', + 'description' => '', + 'type' => 'string', + 'example' => 'SystemSearch', + ], + ], + ], + ], + 'SlrAuthorized' => [ + 'title' => 'SLR 是否已经授权', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'UserInfo' => [ + 'title' => '用户配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AgentId' => [ + 'title' => '业务空间唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'TenantId' => [ + 'title' => '租户唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'UserId' => [ + 'title' => '用户id', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Username' => [ + 'title' => '用户名称', + 'description' => '', + 'type' => 'string', + 'example' => 'admin', + ], + ], + ], + 'WanxiangImageSizeConfig' => [ + 'title' => '万相图片尺寸', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '图片尺寸比例', + 'description' => '', + 'type' => 'string', + 'example' => '1:1', + ], + 'Value' => [ + 'title' => '图片尺寸像素', + 'description' => '', + 'type' => 'string', + 'example' => '1024*1024', + ], + ], + ], + ], + 'WanxiangImageStyleConfig' => [ + 'title' => '万相图片风格配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '风格名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Pic' => [ + 'title' => '风格图片地址', + 'description' => '', + 'type' => 'string', + 'example' => 'https://img.alicdn.com/imgextra/i4/O1CN01RzKicz1W0YWzYkWcK_!!6000000002726-2-tps-132-104.png', + ], + 'Value' => [ + 'title' => '风格code', + 'description' => '', + 'type' => 'string', + 'example' => '<auto>', + ], + ], + ], + ], + 'SearchSourceList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '搜索源类型:对应(SystemSearch:系统内置搜索,CustomSemanticSearch:自建语义索引搜索,ThirdSearch:三方API搜索)', + 'type' => 'string', + ], + 'Name' => [ + 'title' => '搜索源描述', + 'type' => 'string', + ], + 'DatasetName' => [ + 'title' => '数据源唯一标识', + 'type' => 'string', + ], + ], + ], + ], + 'MiaosouConfig' => [ + 'title' => '妙搜配置', + 'type' => 'object', + 'properties' => [ + 'UseDocSize' => [ + 'title' => '数据集已使用文档数', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'MaxDocSize' => [ + 'title' => '数据集可用文档数', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'ModelInfos' => [ + 'title' => '智能搜索支持的模型列表', + 'type' => 'array', + 'items' => [ + 'title' => '智能搜索支持的模型', + 'type' => 'object', + 'properties' => [ + 'ModelName' => [ + 'title' => '模型名称', + 'type' => 'string', + 'example' => '全妙-Max', + ], + 'ModelId' => [ + 'title' => '模型id', + 'type' => 'string', + 'example' => 'quanmiao-max', + ], + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": {\\n \\"ChatConfig\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"ConsoleConfig\\": {\\n \\"TipContent\\": \\"xx\\",\\n \\"Title\\": \\"AI妙笔\\"\\n },\\n \\"GeneralConfigMap\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"IntelligentSearchConfig\\": {\\n \\"ProductDescription\\": \\"xxx\\",\\n \\"SearchSamples\\": [\\n {\\n \\"Articles\\": [\\n {\\n \\"Select\\": true,\\n \\"Stared\\": false,\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"http://xxx.com\\"\\n }\\n ],\\n \\"Prompt\\": \\"xx\\",\\n \\"Text\\": \\"xxx\\"\\n }\\n ],\\n \\"SearchSources\\": [\\n {\\n \\"Code\\": \\"xx\\",\\n \\"DatasetName\\": \\"xx\\",\\n \\"Name\\": \\"xx\\"\\n }\\n ],\\n \\"CopilotPreciseSearchSources\\": [\\n {\\n \\"Code\\": \\"x\\",\\n \\"DatasetName\\": \\"x\\",\\n \\"Name\\": \\"x\\"\\n }\\n ]\\n },\\n \\"SearchSources\\": [\\n {\\n \\"Label\\": \\"夸克通用搜索\\",\\n \\"Value\\": \\"SystemSearch\\"\\n }\\n ],\\n \\"SlrAuthorized\\": true,\\n \\"UserInfo\\": {\\n \\"AgentId\\": \\"1\\",\\n \\"TenantId\\": \\"1\\",\\n \\"UserId\\": \\"1\\",\\n \\"Username\\": \\"admin\\"\\n },\\n \\"WanxiangImageSizeConfig\\": [\\n {\\n \\"Name\\": \\"1:1\\",\\n \\"Value\\": \\"1024*1024\\"\\n }\\n ],\\n \\"WanxiangImageStyleConfig\\": [\\n {\\n \\"Name\\": \\"默认\\",\\n \\"Pic\\": \\"https://img.alicdn.com/imgextra/i4/O1CN01RzKicz1W0YWzYkWcK_!!6000000002726-2-tps-132-104.png\\",\\n \\"Value\\": \\"<auto>\\"\\n }\\n ],\\n \\"SearchSourceList\\": [\\n {\\n \\"Code\\": \\"SystemSearch\\",\\n \\"Name\\": \\"互联网检索\\",\\n \\"DatasetName\\": \\"QuarkCommonNews\\"\\n }\\n ],\\n \\"MiaosouConfig\\": {\\n \\"UseDocSize\\": 1,\\n \\"MaxDocSize\\": 1,\\n \\"ModelInfos\\": [\\n {\\n \\"ModelName\\": \\"全妙-Max\\",\\n \\"ModelId\\": \\"quanmiao-max\\"\\n }\\n ]\\n }\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GenerateFileUrlByKey' => [ + 'summary' => '生成临时可访问的公开url', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件key。格式为:protocol://serverInstance/bucketPath/fileKey', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx', + ], + ], + [ + 'name' => 'FileName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<URL>', + 'description' => 'PlainResult<URL>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/a.txt', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": \\"https://www.example.com/a.txt\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GenerateUploadConfig' => [ + 'summary' => '生成上传配置', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'FileName', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test.docx', + ], + ], + [ + 'name' => 'ParentDir', + 'in' => 'formData', + 'schema' => [ + 'title' => '父目录 (materialDocument: 素材库, intervenes: 干预上传, temp: 临时上传目录, imageGenerate: 图像生成, datasetUpload: 数据集上传)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'datasetUpload', + 'enum' => [ + 'materialDocument', + 'intervenes', + 'temp', + 'imageGenerate', + 'datasetUpload', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<UploadConfig>', + 'description' => 'PlainResult<UploadConfig>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileKey' => [ + 'title' => '系统内唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx', + ], + 'FormDatas' => [ + 'title' => '表单提交数据', + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{}', + 'description' => '', + ], + ], + 'PostUrl' => [ + 'title' => '如果这个为空则 postUrl 为上传服务的上传地址', + 'description' => '', + 'type' => 'string', + 'example' => 'https://bucket-name.oss-cn-hangzhou.aliyuncs.com', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"FileKey\\": \\"oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx\\",\\n \\"FormDatas\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"PostUrl\\": \\"https://bucket-name.oss-cn-hangzhou.aliyuncs.com\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitAsyncTask' => [ + 'summary' => '提交异步任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2daaa2e0c209xb26acb97009ea77bd4b_p_efm', + ], + ], + [ + 'name' => 'TaskName', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '任务名称', + ], + ], + [ + 'name' => 'TaskCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务定义,可选值:MaterialDocumentUpload:素材上传', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'MaterialDocumentUpload', + ], + ], + [ + 'name' => 'TaskParam', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务提交参数', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '任务提交参数', + ], + ], + [ + 'name' => 'TaskExecuteTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务执行时间,默认立即执行。格式:YYYY-MM-DD HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-10-14 14:30:00', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<SubmitTaskResult>', + 'description' => 'PlainResult<SubmitTaskResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21'."\n", + ], + 'TaskIntermediateResult' => [ + 'title' => '中间结果', + 'description' => '', + 'type' => 'any', + 'example' => '{}', + ], + 'TaskName' => [ + 'title' => '任务名称', + 'description' => '', + 'type' => 'string', + 'example' => '任务名称', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxx\\",\\n \\"TaskIntermediateResult\\": \\"{}\\",\\n \\"TaskName\\": \\"任务名称\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'CancelAsyncTask' => [ + 'summary' => '取消异步任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回任务是否取消成功', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'FB698445-61DA-5361-BF73-1C5F1157E888', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"FB698445-61DA-5361-BF73-1C5F1157E888\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'QueryAsyncTask' => [ + 'summary' => '根据taskId查询异步任务状态', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '33a2658aaabf4c24b45d50e575125311_p_beebot_public', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<AsyncTaskDO>', + 'description' => 'PlainResult<AsyncTaskDO>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '创建日期', + 'description' => '', + 'type' => 'string', + 'example' => '2021-07-25 14:34:33', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => '12121'."\n", + ], + 'TaskCode' => [ + 'title' => '任务标识,标识为哪一个任务', + 'description' => '', + 'type' => 'string', + 'example' => 'MaterialDocumentUpload', + ], + 'TaskErrorMessage' => [ + 'title' => '任务执行错误消息', + 'description' => '', + 'type' => 'string', + 'example' => 'error', + ], + 'TaskId' => [ + 'title' => '唯一任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskIntermediateResult' => [ + 'title' => '任务中间执行结果,当一个任务可分成多步骤时,每个步骤的输出,可保存在这里。后续从暂停中恢复可以读取中间结果,从中间结果继续', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskName' => [ + 'title' => '任务名', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskParam' => [ + 'title' => '任务执行输入参数,JSON格式', + 'description' => '', + 'type' => 'string', + 'example' => '{"fileKey":"oss://default/xxxx/xxxx/xxx","fileName":"xxxxx.doc"}', + ], + 'TaskProgressMessage' => [ + 'title' => '任务执行进度信息', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskResult' => [ + 'title' => '任务执行结果信息', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskRetryCount' => [ + 'title' => '任务已经重试的次数', + 'description' => '', + 'type' => 'string', + 'example' => '3', + ], + 'TaskStatus' => [ + 'title' => '任务执行状态,0-待执行、1-执行中、2-执行成功、3-暂停、4-执行失败-可重试、5-执行失败-不可重试,6-任务取消', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'UpdateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-27 18:07:43', + ], + 'UpdateUser' => [ + 'title' => '更新者', + 'description' => '', + 'type' => 'string', + 'example' => '12121', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '867C4ABE-4381-5BC2-9810-5A5F334F71CF', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"CreateTime\\": \\"2021-07-25 14:34:33\\",\\n \\"CreateUser\\": \\"\\\\\\"12121\\\\\\"\\\\n\\",\\n \\"TaskCode\\": \\"MaterialDocumentUpload\\",\\n \\"TaskErrorMessage\\": \\"error\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskIntermediateResult\\": \\"\\\\\\"{}\\\\\\"\\",\\n \\"TaskName\\": \\"任务名称\\",\\n \\"TaskParam\\": \\"\\\\\\"{\\\\\\\\\\\\\\"fileKey\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss://default/xxxx/xxxx/xxx\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fileName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"xxxxx.doc\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"TaskProgressMessage\\": \\"\\\\\\"{}\\\\\\"\\",\\n \\"TaskResult\\": \\"\\\\\\"{}\\\\\\"\\",\\n \\"TaskRetryCount\\": \\"\\\\\\"3\\\\\\"\\",\\n \\"TaskStatus\\": 1,\\n \\"UpdateTime\\": \\"2023-04-27 18:07:43\\",\\n \\"UpdateUser\\": \\"\\\\\\"12121\\\\\\"\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"867C4ABE-4381-5BC2-9810-5A5F334F71CF\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListAsyncTasks' => [ + 'summary' => '查询任务列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cd327c3d5d5e44159cc716e23bfa530e_p_beebot_public', + ], + ], + [ + 'name' => 'TaskName', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务名称精确查询', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'TaskCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务Code精确查询', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'MaterialDocumentUpload', + ], + ], + [ + 'name' => 'TaskType', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务类型精确查询', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'TaskStatus', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务状态精确查询 (0: 待执行, 1: 执行中, 2: 成功, 3: 暂停, 4: 失败可重试, 5: 失败不可重试, 6: 取消)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'enum' => [ + '0', + '1', + '2', + '3', + '4', + '5', + '6', + ], + ], + ], + [ + 'name' => 'TaskStatusList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '任务状态列表精确查询 (0: 待执行, 1: 执行中, 2: 成功, 3: 暂停, 4: 失败可重试, 5: 失败不可重试, 6: 取消)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'enum' => [ + '0', + '1', + '2', + '3', + '4', + '5', + '6', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'TaskTypeList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '任务类型列表精确查询', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '任务分类', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'required' => false, + ], + ], + [ + 'name' => 'CreateTimeStart', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务创建时间 开始查询,格式为:YYYY-MM-DD HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-02-19 07:28:11', + ], + ], + [ + 'name' => 'CreateTimeEnd', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务创建时间 结束查询,格式为:YYYY-MM-DD HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-18 02:00:00', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PageResult<AsyncTask>', + 'description' => 'PageResult<AsyncTask>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '创建日期', + 'description' => '', + 'type' => 'string', + 'example' => '2020-12-23 15:41:58', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => '1111', + ], + 'Id' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TaskCode' => [ + 'title' => '任务标识,标识为哪一个任务', + 'description' => '', + 'type' => 'string', + 'example' => 'MaterialDocumentUpload', + ], + 'TaskDefinition' => [ + 'title' => '可选的任务定义配置,JSON格式,这里的参数会覆盖系统配置的定义 详见:com.alibaba.tongyi.enterprise.aimiaobi.asynctask.entities.AsyncTaskDefinition', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskEndTime' => [ + 'title' => '任务实际结束时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-09 00:00:00', + ], + 'TaskErrorMessage' => [ + 'title' => '任务执行错误消息-供客户端查看', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskExecuteTime' => [ + 'title' => '任务执行时间,只会轮询任务到期可执行的任务、为空表示立即执行', + 'description' => '', + 'type' => 'string', + 'example' => '2023-10-14 14:30:00', + ], + 'TaskId' => [ + 'title' => '唯一任务ID,作用等价于id', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskInnerErrorMessage' => [ + 'title' => '任务内部的执行错误消息,一些异常栈、内部线程栈等敏感信息打印在这里', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskIntermediateResult' => [ + 'title' => '任务中间执行结果,当一个任务可分成多步骤时,每个步骤的输出,可保存在这里。后续从暂停中恢复可以读取中间结果,从中间结果继续', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskName' => [ + 'title' => '任务名', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskParam' => [ + 'title' => '任务执行输入参数,JSON格式', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskProgressMessage' => [ + 'title' => '任务执行进度信息', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskResult' => [ + 'title' => '任务执行结果信息', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'TaskRetryCount' => [ + 'title' => '任务已经重试的次数', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'TaskStartTime' => [ + 'title' => '任务实际开始时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-20 10:53:00', + ], + 'TaskStatus' => [ + 'title' => '任务执行状态,0-待执行、1-执行中、2-执行成功、3-暂停、4-执行失败-可重试、5-执行失败-不可重试,6-任务取消', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'TaskType' => [ + 'title' => '任务分类,多个任务分类一逗号分隔', + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'UpdateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2023-02-16 10:29:16', + ], + 'UpdateUser' => [ + 'title' => '更新者', + 'description' => '', + 'type' => 'string', + 'example' => '111', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '428DCC0D-3C63-5306-BD1B-124396AB97BE', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"CreateTime\\": \\"2020-12-23 15:41:58\\",\\n \\"CreateUser\\": \\"1111\\",\\n \\"Id\\": 1,\\n \\"TaskCode\\": \\"MaterialDocumentUpload\\",\\n \\"TaskDefinition\\": \\"{}\\",\\n \\"TaskEndTime\\": \\"2023-03-09 00:00:00\\",\\n \\"TaskErrorMessage\\": \\"系统内部错误\\",\\n \\"TaskExecuteTime\\": \\"2023-10-14 14:30:00\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskInnerErrorMessage\\": \\"系统错误\\",\\n \\"TaskIntermediateResult\\": \\"{}\\",\\n \\"TaskName\\": \\"任务名\\",\\n \\"TaskParam\\": \\"{}\\",\\n \\"TaskProgressMessage\\": \\"{}\\",\\n \\"TaskResult\\": \\"{}\\",\\n \\"TaskRetryCount\\": \\"1\\",\\n \\"TaskStartTime\\": \\"2023-03-20 10:53:00\\",\\n \\"TaskStatus\\": 1,\\n \\"TaskType\\": \\"test\\",\\n \\"UpdateTime\\": \\"2023-02-16 10:29:16\\",\\n \\"UpdateUser\\": \\"111\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"428DCC0D-3C63-5306-BD1B-124396AB97BE\\",\\n \\"Size\\": 10,\\n \\"Success\\": true,\\n \\"Total\\": 20\\n}","type":"json"}]', + ], + 'CreateGeneralConfig' => [ + 'summary' => '通用配置-创建', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-', + ], + ], + [ + 'name' => 'ConfigKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置项唯一标识,目前支持的:'."\n" + .'- 妙搜-数据源-文本搜索阈值(double):searchGenerate.searchTextMinScore'."\n" + .'- 妙搜-数据源-图片搜索阈值(double):searchGenerate.searchImageMinScore'."\n" + .'- 妙搜-数据源-视频搜索阈值(double):searchGenerate.searchVideoMinScore'."\n" + .'- 妙搜-数据源-音频搜索阈值(double):searchGenerate.searchAudioMinScore'."\n" + .'- 妙搜-问答式搜索-通用-总结生成答案-纯文本prompt模版(string):searchGenerate.sumQaAgentPrompt'."\n" + .'- 妙搜-问答式搜索-通用-总结生成答案-文本&图片prompt模版(string):searchGenerate.sumQaAgentVlPrompt'."\n" + .'- 妙搜-问答式搜索-深度-总结生成答案-纯文本prompt模版(string):searchGenerate.sumQaEnhanceAgentPrompt'."\n" + .'- 妙搜-问答式搜索-深度-总结生成答案-文本&图片prompt模版(string):searchGenerate.sumQaEnhanceAgentVlPrompt'."\n", + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'ConfigValue', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置项值', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Data' => [ + 'title' => '结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ConfigKey' => [ + 'title' => '配置唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigValue' => [ + 'title' => '配置值', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigValueType' => [ + 'title' => '配置类型', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigDesc' => [ + 'title' => '配置说明', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": false,\\n \\"Data\\": {\\n \\"ConfigKey\\": \\"xx\\",\\n \\"ConfigValue\\": \\"xx\\",\\n \\"ConfigValueType\\": \\"xx\\",\\n \\"ConfigDesc\\": \\"xx\\"\\n }\\n}","type":"json"}]', + ], + 'ListGeneralConfigs' => [ + 'summary' => '通用配置-列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页:默认1', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '查询结果', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '查询结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ConfigKey' => [ + 'title' => '配置项唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'ConfigValue' => [ + 'title' => '配置值', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'ConfigValueType' => [ + 'title' => '配置项类型', + 'description' => '', + 'type' => 'string', + 'example' => 'CustomSemanticSearch', + ], + 'ConfigDesc' => [ + 'title' => '配置项说明', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + ], + 'PageNumber' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'TotalCount' => [ + 'title' => '总条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'PageSize' => [ + 'title' => '每页条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ConfigKey\\": \\"xxx\\",\\n \\"ConfigValue\\": \\"xxx\\",\\n \\"ConfigValueType\\": \\"CustomSemanticSearch\\",\\n \\"ConfigDesc\\": \\"xxx\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"TotalCount\\": 100,\\n \\"PageSize\\": 10\\n}","type":"json"}]', + ], + 'GetGeneralConfig' => [ + 'summary' => '通用配置-查询', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-', + ], + ], + [ + 'name' => 'ConfigKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ConfigKey' => [ + 'title' => '配置唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigValue' => [ + 'title' => '配置值', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigValueType' => [ + 'title' => '配置值类型', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigDesc' => [ + 'title' => '配置描述', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"ConfigKey\\": \\"xx\\",\\n \\"ConfigValue\\": \\"xx\\",\\n \\"ConfigValueType\\": \\"xx\\",\\n \\"ConfigDesc\\": \\"xx\\"\\n }\\n}","type":"json"}]', + ], + 'UpdateGeneralConfig' => [ + 'summary' => '通用配置-更新', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'ConfigKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置项唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xx', + ], + ], + [ + 'name' => 'ConfigValue', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置值', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '配置项唯一标识', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ConfigKey' => [ + 'title' => '配置值', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigValue' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'ConfigValueType' => [ + 'title' => '配置值类型', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'ConfigDesc' => [ + 'title' => '配置项说明', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ConfigKey\\": \\"xx\\",\\n \\"ConfigValue\\": \\"xxx\\",\\n \\"ConfigValueType\\": \\"xx\\",\\n \\"ConfigDesc\\": \\"xxx\\"\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'DeleteGeneralConfig' => [ + 'summary' => '通用配置-删除', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-', + ], + ], + [ + 'name' => 'ConfigKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'RunAiHelperWriting' => [ + 'summary' => '妙笔:AI助手写作', + 'path' => '/quanmiao/aimiaobi/runAiHelperWriting', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxxxx', + ], + ], + [ + 'name' => 'WritingScene', + 'in' => 'formData', + 'schema' => [ + 'title' => '写作场景', + 'description' => '写作场景:government(政务)、media(传媒)、market(营销)、office(办公)、custom(自定义)', + 'type' => 'string', + 'required' => true, + 'example' => 'media', + ], + ], + [ + 'name' => 'WritingStyle', + 'in' => 'formData', + 'schema' => [ + 'title' => '写作文体', + 'description' => '写作文体唯一标识KEY,可通过ListWritingStyles接口获取对应写作场景下的文体列表', + 'type' => 'string', + 'required' => true, + 'example' => 'news_article', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '提示词,需要帮写的主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '请帮我写一篇关于人工智能发展趋势的文章', + ], + ], + [ + 'name' => 'PromptMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '提示词模式,如:PE:高级模式,Template:模板模式', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Template', + ], + ], + [ + 'name' => 'DistributeWriting', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否分步骤写作文体', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'WritingParams', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '当前文体的表单的写作参数,键值对形式', + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'title' => '写作参数KEY VALUE', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'example' => '{"wordCount": "1000", "tone": "formal"}', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => 'SSE响应头信息', + 'description' => '流式响应的头部信息,包含事件类型、状态码等元数据', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '请求错误时的错误码', + 'type' => 'string', + 'example' => 'InvalidParameter', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '请求错误时的详细错误信息', + 'type' => 'string', + 'example' => '参数错误', + ], + 'Event' => [ + 'title' => '事件类型', + 'description' => 'SSE事件类型,如:result-generated(生成结果)、task-finished(任务完成)', + 'type' => 'string', + 'example' => 'result-generated', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '当前写作会话的唯一标识', + 'type' => 'string', + 'example' => 'session-xxxxx', + ], + 'StatusCode' => [ + 'title' => '状态码', + 'description' => 'HTTP状态码', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '写作任务的唯一标识', + 'type' => 'string', + 'example' => 'task-xxxxx', + ], + 'TraceId' => [ + 'title' => '链路追踪ID', + 'description' => '用于问题排查的链路追踪标识', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + ], + ], + 'Payload' => [ + 'title' => '响应载荷', + 'description' => '包含写作输出内容和Token使用量统计', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出内容', + 'description' => 'AI生成的写作内容', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '生成文本', + 'description' => 'AI生成的文章内容,流式返回时为增量文本', + 'type' => 'string', + 'example' => '人工智能正在深刻改变我们的生活...', + ], + 'WritingParams' => [ + 'title' => 'AI帮写的写作参数', + 'description' => '返回的写作参数键值对', + 'type' => 'object', + 'additionalProperties' => [ + 'title' => 'KEY VALUE形式的键值对', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'example' => '{"wordCount": "1000"}', + ], + ], + ], + 'Usage' => [ + 'title' => 'Token使用量', + 'description' => '本次请求的Token消耗统计', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数', + 'description' => '输入内容消耗的Token数量', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '256', + ], + 'OutputTokens' => [ + 'title' => '输出Token数', + 'description' => '生成内容消耗的Token数量', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1024', + ], + 'TotalTokens' => [ + 'title' => '总Token数', + 'description' => '输入和输出Token的总和', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1280', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '本次API请求的唯一标识', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'HttpStatusCode' => [ + 'title' => 'HTTP状态码', + 'description' => 'HTTP响应状态码', + 'type' => 'string', + 'example' => '200', + ], + 'Code' => [ + 'title' => '业务状态码', + 'description' => '业务处理结果状态码', + 'type' => 'string', + 'example' => 'successful', + ], + 'Message' => [ + 'title' => '返回信息', + 'description' => '业务处理结果描述信息', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '请求是否处理成功', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"ErrorMessage\\": \\"参数错误\\",\\n \\"Event\\": \\"result-generated\\",\\n \\"SessionId\\": \\"session-xxxxx\\",\\n \\"StatusCode\\": 200,\\n \\"TaskId\\": \\"task-xxxxx\\",\\n \\"TraceId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"人工智能正在深刻改变我们的生活...\\",\\n \\"WritingParams\\": {\\n \\"key\\": \\"{\\\\\\"topic\\\\\\":\\\\\\"写作主题xxx\\\\\\"}\\"\\n }\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 256,\\n \\"OutputTokens\\": 1024,\\n \\"TotalTokens\\": 1280\\n }\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"successful\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'RunWritingV2' => [ + 'summary' => '直接写作', + 'path' => '/quanmiao/aimiaobi/runWritingV2', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID,多轮对话可复用同一轮任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '单轮对话的ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'WritingScene', + 'in' => 'formData', + 'schema' => [ + 'title' => '写作场景(government:政务、media:传媒、market:营销,office:办公,custom:自定义)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'media', + ], + ], + [ + 'name' => 'WritingStyle', + 'in' => 'formData', + 'schema' => [ + 'title' => '写作文体', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'DistributeWriting', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否为分步骤写作', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'PromptMode', + 'in' => 'formData', + 'schema' => [ + 'title' => '模板类型(Template:模板模式, PE:高级PE模式)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Template', + ], + ], + [ + 'name' => 'Step', + 'in' => 'formData', + 'schema' => [ + 'title' => '分步骤写作步骤:'."\n" + .'OutlineGenerate:大纲生成'."\n" + .'OutlineSearch:写完大纲之后,根据大纲内容检索'."\n" + .'Writing:写作', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Writing', + ], + ], + [ + 'name' => 'Articles', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '引用的文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文章对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '文章标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Content' => [ + 'title' => '文章内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://www.example.com/aaa.docx', + ], + 'Source' => [ + 'title' => '文章来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'SearchSourceName' => [ + 'title' => '搜索信源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'QuarkCommonNews', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-11-25 14:25:59', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'GcNumberSizeTag', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章篇幅(短篇、中篇、长篇。或者 2K字、3K字、4K字等等长度描述)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'GcNumberSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '写作的篇数(多篇按照不同的sessionId同时返回)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'Language', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章输出语言(en:英文,zh:中文)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'en', + ], + ], + [ + 'name' => 'Keywords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '关键词列表(会参与到检索与写作)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '关键词(会参与到检索与写作)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '其他写作参数(prompt 和 writingParams 二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'WritingParams', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '写作提示词(prompt 和 writingParams 二选一)', + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '', + 'description' => '', + ], + ], + ], + [ + 'name' => 'Outlines', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '大纲列表(分步骤接口使用)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '大纲对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Articles' => [ + 'title' => '大纲重点参考的文章列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '大纲重点参考的文章', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Content' => [ + 'title' => '正文内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'Summarization', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '摘编对象列表(分步骤接口使用)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '摘编对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'title' => '事件名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Message' => [ + 'title' => '事件摘编', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'MiniDocs', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '文章片段列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文章片段对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '片段内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Star' => [ + 'title' => '是否重点考虑该片段', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'Index' => [ + 'title' => '文章片段在引用文章中的索引', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'UseSearch', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否使用搜索', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'SearchSources', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '使用指定的搜索源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '搜索源对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => 'SystemSearch:系统内置搜索,CustomSemanticSearch:自建语义索引搜索,ThirdSearch:三方API搜索', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SystemSearch', + ], + 'Name' => [ + 'title' => '搜索源描述', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'DatasetName' => [ + 'title' => '数据源唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'QuarkCommonNews', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'OutlineList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '大纲列表(新版分大纲写作)', + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/WritingOutline', + ], + ], + ], + [ + 'name' => 'SourceTraceMethod', + 'in' => 'formData', + 'schema' => [ + 'title' => '溯源方式(目前仅支持modelSourceTrace)'."\n" + .' modelSourceTrace:在最后输出的正文中,让模型在 各个片段的尾部输出引用标记。以 [[n]]。索引从1开始。', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'StatusCode' => [ + 'title' => 'http响应码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '参照文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '98229f6001cf4deeb1668191d4eccc75', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-08-28 11:38:28', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + ], + 'MiniDoc' => [ + 'title' => '文章精排之后的片段列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文章精排之后的片段'."\n" + .' * ', + 'description' => '', + 'type' => 'string', + 'example' => '文章精排之后的片段', + ], + 'example' => '文章精排之后的片段', + ], + 'SearchQuery' => [ + 'title' => 'query改写结果', + 'description' => '', + 'type' => 'string', + 'example' => '大模型改变世界', + ], + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + 'Outlines' => [ + 'title' => '大纲列表(分步骤大纲生成场景下writingStyle=outlineWriting。step=outlineWriting时返回该字段)', + 'type' => 'array', + 'items' => [ + 'title' => '', + '$ref' => '#/components/schemas/WritingOutline', + ], + ], + 'Title' => [ + 'title' => '文章标题(分步骤大纲生成场景下writingStyle=outlineWriting。step=outlineWriting时返回该字段)', + 'type' => 'string', + ], + 'SearchResult' => [ + 'title' => '检索结果(分步骤大纲生成场景下writingStyle=outlineWriting。step=OutlineSearch 时返回该字段)', + '$ref' => '#/components/schemas/OutlineSearchResult', + ], + 'GenerateTraceability' => [ + 'title' => '溯源对象(当传入 该 modelSourceTrace参数 后会返回该字段)', + '$ref' => '#/components/schemas/GenerateTraceability', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '78', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34', + ], + 'TokenMap' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '44', + 'description' => '', + ], + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '38', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'End' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"StatusCode\\": 400,\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Articles\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocId\\": \\"文档-自定义的唯一ID\\",\\n \\"DocUuid\\": \\"98229f6001cf4deeb1668191d4eccc75\\",\\n \\"PubTime\\": \\"2024-08-28 11:38:28\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tag\\": \\"文章标签\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n }\\n ],\\n \\"MiniDoc\\": [\\n \\"文章精排之后的片段\\"\\n ],\\n \\"SearchQuery\\": \\"大模型改变世界\\",\\n \\"Text\\": \\"文本生成结果\\",\\n \\"Outlines\\": [\\n {\\n \\"WritingTips\\": \\"\\",\\n \\"OutlineId\\": \\"\\",\\n \\"Outline\\": \\"\\",\\n \\"SearchKeyWordList\\": [\\n \\"\\"\\n ],\\n \\"WordCount\\": \\"\\",\\n \\"Articles\\": [\\n {\\n \\"Url\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"Content\\": \\"\\",\\n \\"SearchSource\\": \\"\\",\\n \\"SearchSourceName\\": \\"\\",\\n \\"PubTime\\": \\"\\",\\n \\"PrimaryOutline\\": \\"\\",\\n \\"Outline\\": \\"\\"\\n }\\n ],\\n \\"Children\\": [\\n {\\n \\"WritingTips\\": \\"\\",\\n \\"OutlineId\\": \\"\\",\\n \\"Outline\\": \\"\\",\\n \\"SearchKeyWordList\\": [\\n \\"\\"\\n ],\\n \\"WordCount\\": \\"\\",\\n \\"Articles\\": [\\n {\\n \\"Url\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"Content\\": \\"\\",\\n \\"SearchSource\\": \\"\\",\\n \\"SearchSourceName\\": \\"\\",\\n \\"PubTime\\": \\"\\",\\n \\"PrimaryOutline\\": \\"\\",\\n \\"Outline\\": \\"\\"\\n }\\n ],\\n \\"Children\\": [\\n {\\n \\"WritingTips\\": \\"\\",\\n \\"OutlineId\\": \\"\\",\\n \\"Outline\\": \\"\\",\\n \\"SearchKeyWordList\\": [\\n \\"\\"\\n ],\\n \\"WordCount\\": \\"\\",\\n \\"Articles\\": [\\n {\\n \\"Url\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"Content\\": \\"\\",\\n \\"SearchSource\\": \\"\\",\\n \\"SearchSourceName\\": \\"\\",\\n \\"PubTime\\": \\"\\",\\n \\"PrimaryOutline\\": \\"\\",\\n \\"Outline\\": \\"\\"\\n }\\n ],\\n \\"Children\\": []\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Title\\": \\"文章标题\\",\\n \\"SearchResult\\": {\\n \\"Query\\": \\"\\",\\n \\"Outline\\": \\"\\",\\n \\"OutlineId\\": \\"\\",\\n \\"PrimaryOutline\\": \\"\\",\\n \\"Articles\\": []\\n },\\n \\"GenerateTraceability\\": {\\n \\"News\\": [\\n {\\n \\"Url\\": \\"\\",\\n \\"Title\\": \\"\\",\\n \\"PubTime\\": \\"\\",\\n \\"SearchSourceName\\": \\"\\",\\n \\"SearchSource\\": \\"\\",\\n \\"Index\\": 0\\n }\\n ]\\n }\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 78,\\n \\"OutputTokens\\": 34,\\n \\"TokenMap\\": {\\n \\"key\\": 44\\n },\\n \\"TotalTokens\\": 38\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"End\\": true\\n}","type":"json"}]', + ], + 'RunWriting' => [ + 'summary' => '直接写作', + 'path' => '/quanmiao/aimiaobi/runWriting', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '提示词', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '提示词', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID,多轮对话可复用同一轮任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '单轮对话的ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'OriginSessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '重新生成时原始对话的ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'WritingConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '写作配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'title' => '写作领域,media:传媒,government:政务,market:营销', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '写作领域,media:传媒,government:政务,market:营销', + ], + 'PromptTag' => [ + 'title' => '提示词小助手', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NecessaryTips' => [ + 'title' => '必要提示', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '必要提示', + ], + 'Position' => [ + 'title' => '立场', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '立场', + ], + 'ReverseWords' => [ + 'title' => '反向词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '反向词', + ], + 'Theme' => [ + 'title' => '主题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '主题', + ], + ], + 'required' => false, + ], + 'Tags' => [ + 'title' => '写作时的文体、篇幅、输出语言等控制参数', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Keyword' => [ + 'title' => '选项的值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + 'Tag' => [ + 'title' => '选项的Tag。例如 gcNumberSizeTag=10', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'gcNumberSizeTag', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'UseSearch' => [ + 'title' => '是否自动补充素材', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '写作时的参考文章数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '写作时的参考文章数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2124ca4d48a542d788aa86151e1a8c8b', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-08-28 11:38:28', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'StatusCode' => [ + 'title' => 'http响应码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '参照文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '98229f6001cf4deeb1668191d4eccc75', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-08-28 11:38:28', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + ], + 'MiniDoc' => [ + 'title' => '文章精排之后的片段列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文章精排之后的片段'."\n" + .' * ', + 'description' => '', + 'type' => 'string', + 'example' => '文章精排之后的片段', + ], + 'example' => '文章精排之后的片段', + ], + 'SearchQuery' => [ + 'title' => 'query改写结果', + 'description' => '', + 'type' => 'string', + 'example' => '大模型改变世界', + ], + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TokenMap' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '44', + 'description' => '', + ], + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'End' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"StatusCode\\": 400,\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Articles\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocId\\": \\"文档-自定义的唯一ID\\",\\n \\"DocUuid\\": \\"98229f6001cf4deeb1668191d4eccc75\\",\\n \\"PubTime\\": \\"2024-08-28 11:38:28\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tag\\": \\"文章标签\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n }\\n ],\\n \\"MiniDoc\\": [\\n \\"文章精排之后的片段\\"\\n ],\\n \\"SearchQuery\\": \\"大模型改变世界\\",\\n \\"Text\\": \\"文本生成结果\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 1,\\n \\"TokenMap\\": {\\n \\"key\\": 44\\n },\\n \\"TotalTokens\\": 2\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"End\\": true\\n}","type":"json"}]', + ], + 'RunStepByStepWriting' => [ + 'summary' => '创作-分步骤写作', + 'path' => '/quanmiao/miaobi/runStepByStepWriting', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '提示词', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '提示词', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID,多轮对话可复用同一轮任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '单轮对话的ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'OriginSessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '重新生成时原始对话的ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'WritingConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '写作配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Domain' => [ + 'title' => '写作领域:media(默认):传媒写作,government:公文写作', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'media', + 'enum' => [ + 'media', + 'government', + ], + ], + 'Keywords' => [ + 'title' => '关键词(影响文章检索)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + 'PromptTag' => [ + 'title' => '提示词小助手', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NecessaryTips' => [ + 'title' => '必要提示', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '必要提示', + ], + 'Position' => [ + 'title' => '立场', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '立场', + ], + 'ReverseWords' => [ + 'title' => '反向词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '反向词', + ], + 'Theme' => [ + 'title' => '主题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '主题', + ], + ], + 'required' => false, + ], + 'Scene' => [ + 'title' => '分步骤写作场景,传媒写作支持的写作场景:新闻写作(默认),新闻评论,通用文体,公文写作支持的写作场景:通知(默认),通告,通报,请示,决定,函,通用文体', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '分步骤写作场景,传媒写作支持的写作场景:新闻写作(默认),新闻评论,通用文体,公文写作支持的写作场景:通知(默认),通告,通报,请示,决定,函,通用文体', + ], + 'Step' => [ + 'title' => '写作步骤-生成大纲:OutlineGenerate、生成摘编:MiniDocSummary,Writing(默认):生成文章', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Writing', + 'enum' => [ + 'OutlineGenerate', + 'MiniDocSummary', + 'Writing', + ], + ], + 'Tags' => [ + 'title' => '写作时的文体、篇幅、输出语言等控制参数', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Keyword' => [ + 'title' => '选项的值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + 'Tag' => [ + 'title' => '选项的Tag。例如 gcNumberSizeTag=10', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'gcNumberSizeTag', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'UseSearch' => [ + 'title' => '是否自动补充素材', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'SummaryReturnType' => [ + 'title' => '摘编结果的返回类型(枚举值:Structure、Content、Event)'."\n" + .'Structure:表示在 payload.output.text中返回json字符串:{"event":"{outline}","message":"{message}"}'."\n" + ."\n" + .'Content: 表示在 payload.output.text中返回纯文本的摘编内容:大纲:{outline}\\n\\n{message}\\n\\n\\n大纲:{outline}\\n\\n{message}'."\n" + ."\n" + .'Event: 表示 仅在每次大纲写完时,在 payload.output.text中 返回大纲 {outline} 信息。如果有六个大纲需要写,则会返回六条大纲信息', + 'type' => 'string', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '写作时的参考文章数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '写作时的参考文章数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '8a20e007a6174522af4d6a2657d5526f', + ], + 'MediaUrl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://www.example.com', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-09-10 14:17:54', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'MiniDoc' => [ + 'title' => '排序Rank后的文章片段(用于后续模型生成)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + 'Outlines' => [ + 'title' => '大纲(可以指定数据源生成大纲)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '指定大纲数据源', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '文章内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章内容', + ], + 'Title' => [ + 'title' => '文章标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章链接', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章链接', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '大纲', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Summarization' => [ + 'title' => '大模型摘编总结结果', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '参照文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'f1da53894e784759946d22e2cb2b522a', + ], + 'MediaUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-09-10 14:17:53', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + ], + 'ExtraOutput' => [ + 'title' => '额外输出字段', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'summarization' => [ + 'title' => '摘编列表(分步骤生成摘编时,会返回该字段)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '摘编字段', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'MiniDoc' => [ + 'title' => '文章精排之后的片段列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文章精排之后的片段'."\n" + .' * ', + 'description' => '', + 'type' => 'string', + 'example' => '文章精排之后的片段', + ], + 'example' => '文章精排之后的片段', + ], + 'SearchQuery' => [ + 'title' => 'query改写结果', + 'description' => '', + 'type' => 'string', + 'example' => '大模型改变世界', + ], + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + ], + ], + 'Usage' => [ + 'title' => 'Token用量信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '65', + ], + 'OutputTokens' => [ + 'title' => '输出Token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '80', + ], + 'TotalTokens' => [ + 'title' => '总Token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '唯一请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Articles\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocId\\": \\"文档-自定义的唯一ID\\",\\n \\"DocUuid\\": \\"f1da53894e784759946d22e2cb2b522a\\",\\n \\"MediaUrl\\": \\"http://www.example.com\\",\\n \\"PubTime\\": \\"2024-09-10 14:17:53\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tag\\": \\"文章标签\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n }\\n ],\\n \\"ExtraOutput\\": {\\n \\"summarization\\": [\\n \\"摘编\\"\\n ]\\n },\\n \\"MiniDoc\\": [\\n \\"文章精排之后的片段\\"\\n ],\\n \\"SearchQuery\\": \\"大模型改变世界\\",\\n \\"Text\\": \\"文本生成结果\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 65,\\n \\"OutputTokens\\": 80,\\n \\"TotalTokens\\": 32\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n}","type":"json"}]', + ], + 'RunTranslateGeneration' => [ + 'summary' => 'AI妙笔-创作-中英文翻译', + 'path' => '/quanmiao/aimiaobi/runTranslateGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Contents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'toEnglish', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AccessForbid', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '91C2B2B8-7D12-4A8D-A724-1E576D30C096', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0abb781d17146157564845243e20b5', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DA021073-17CE-5CCF-9FEB-93226C766887', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"AccessForbid\\",\\n \\"ErrorMessage\\": \\"xx\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"SessionId\\": \\"91C2B2B8-7D12-4A8D-A724-1E576D30C096\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"0abb781d17146157564845243e20b5\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"xx\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 1,\\n \\"TotalTokens\\": 2\\n }\\n },\\n \\"RequestId\\": \\"DA021073-17CE-5CCF-9FEB-93226C766887\\"\\n}","type":"json"}]', + ], + 'RunTextPolishing' => [ + 'summary' => '创作-文本润色', + 'path' => '/quanmiao/aimiaobi/runTextPolishing', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '待润色的文章段落', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '文本内容', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义提示词', + 'type' => 'string', + ], + ], + [ + 'name' => 'OriginContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '原始文章', + 'type' => 'string', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID,(同一个任务ID共享会话)', + 'type' => 'string', + 'example' => 'taskld-xxxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"文本生成结果\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 1,\\n \\"TotalTokens\\": 2\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n}","type":"json"}]', + ], + 'RunKeywordsExtractionGeneration' => [ + 'summary' => 'AI妙笔-创作-抽取关键词', + 'path' => '/quanmiao/aimiaobi/runKeywordsExtractionGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Contents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义提示词', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AccessForbid', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1a3d7c9f-3a6d-4e49-b176-2d8721a27397', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8d55b429d7c6d321fcff54823e8d317b', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '210bc4e817219607963985396de8bd', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '419F3FBE-5C8D-5949-AC29-E9615235D15A', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"AccessForbid\\",\\n \\"ErrorMessage\\": \\"xx\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"SessionId\\": \\"1a3d7c9f-3a6d-4e49-b176-2d8721a27397\\",\\n \\"TaskId\\": \\"8d55b429d7c6d321fcff54823e8d317b\\",\\n \\"TraceId\\": \\"210bc4e817219607963985396de8bd\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"xxx\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 1,\\n \\"TotalTokens\\": 2\\n }\\n },\\n \\"RequestId\\": \\"419F3FBE-5C8D-5949-AC29-E9615235D15A\\"\\n}","type":"json"}]', + ], + 'RunContinueContent' => [ + 'summary' => '内容续写', + 'path' => '/quanmiao/aimiaobi/runContinueContent', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '需要续写的内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '创新政务社交媒体功能。鼓励各地区、各部门结合实际,开发政务社交媒体的特色功能,如在线咨询服务、政策解读、互动问答等,增强政务社交媒体的互动性和实用性,提升公众参与度。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'End' => [ + 'title' => '输出是否完成,true 表示完成', + 'description' => '', + 'type' => 'boolean', + ], + 'Header' => [ + 'title' => '流式输出 header 头,包含返回通用信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '异常错误码', + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'ErrorMessage' => [ + 'title' => '异常错误信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Pop sign mismatch, please check.', + ], + 'Event' => [ + 'title' => '事件类型', + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated', + ], + 'EventInfo' => [ + 'title' => '事件描述', + 'description' => '', + 'type' => 'string', + 'example' => '模型生成事件', + ], + 'SessionId' => [ + 'title' => '一次会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'title' => '一次生成任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'title' => '链路traceid ', + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'title' => '返回结果的 payload,json 结构', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出内容对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '输出内容', + 'description' => '', + 'type' => 'string', + 'example' => '这是测试输出', + ], + ], + ], + 'Usage' => [ + 'title' => '大模型token用量信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'title' => '输出Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'title' => '总oken数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": true,\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"Pop sign mismatch, please check.\\",\\n \\"Event\\": \\"result-generated\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"这是测试输出\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\"\\n}","type":"json"}]', + ], + 'RunWriteToneGeneration' => [ + 'summary' => 'AI妙笔-创作-文风改写', + 'path' => '/quanmiao/aimiaobi/runWriteToneGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Contents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AccessForbid', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F1953EE6-157C-40DC-BBF1-87C98AC27C51', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F1953EE6-157C-40DC-BBF1-87C98AC27C51', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F1953EE6-157C-40DC-BBF1-87C98AC27C51', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FB698445-61DA-5361-BF73-1C5F1157E888', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"AccessForbid\\",\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"SessionId\\": \\"F1953EE6-157C-40DC-BBF1-87C98AC27C51\\",\\n \\"TaskId\\": \\"F1953EE6-157C-40DC-BBF1-87C98AC27C51\\",\\n \\"TraceId\\": \\"F1953EE6-157C-40DC-BBF1-87C98AC27C51\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"xxx\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 1,\\n \\"TotalTokens\\": 2\\n }\\n },\\n \\"RequestId\\": \\"FB698445-61DA-5361-BF73-1C5F1157E888\\"\\n}","type":"json"}]', + ], + 'RunTitleGeneration' => [ + 'summary' => '妙笔:标题生成', + 'path' => '/quanmiao/aimiaobi/runTitleGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Contents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TitleCount', + 'in' => 'formData', + 'schema' => [ + 'title' => '标题生成个数,最大10个。', + 'type' => 'string', + ], + ], + [ + 'name' => 'DeduplicatedTitles', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '新生成的标题 需要与之去重的标题集合。所有标题字数最多5K个字', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'AccessForbid', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'StatusCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '50a1cc8e-717e-4a2b-a76b-dc9734a8564b', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0a3d448f17000139741898287e0eb3', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '94512A33-8EC1-5452-A793-5C91F18ED2F0', + ], + 'HttpStatusCode' => [ + 'type' => 'string', + ], + 'Code' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"AccessForbid\\",\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"StatusCode\\": 400,\\n \\"TaskId\\": \\"50a1cc8e-717e-4a2b-a76b-dc9734a8564b\\",\\n \\"TraceId\\": \\"0a3d448f17000139741898287e0eb3\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"xxx\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 1,\\n \\"TotalTokens\\": 2\\n }\\n },\\n \\"RequestId\\": \\"94512A33-8EC1-5452-A793-5C91F18ED2F0\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"AccessForbid\\",\\n \\"Message\\": \\"数据不存在\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'RunSummaryGenerate' => [ + 'summary' => '内容摘要生成', + 'path' => '/quanmiao/aimiaobi/runSummaryGenerate', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '需要生成摘要的内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '创新政务社交媒体功能。鼓励各地区、各部门结合实际,开发政务社交媒体的特色功能,如在线咨询服务、政策解读、互动问答等,增强政务社交媒体的互动性和实用性,提升公众参与度。', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义摘要Prompt.', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '请为上述内容生成一段摘要,字数在100~200字以内。', + 'default' => '请为上述内容生成一段摘要,字数在100~200字以内。', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'End' => [ + 'title' => '输出是否完成,true 表示完成', + 'description' => '', + 'type' => 'boolean', + ], + 'Header' => [ + 'title' => '流式输出 header 头,包含返回通用信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '异常错误码', + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'ErrorMessage' => [ + 'title' => '异常错误信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Pop sign mismatch, please check.', + ], + 'Event' => [ + 'title' => '事件类型', + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated', + ], + 'EventInfo' => [ + 'title' => '事件描述', + 'description' => '', + 'type' => 'string', + 'example' => '模型生成事件', + ], + 'SessionId' => [ + 'title' => '一次会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'title' => '一次生成任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'title' => '链路traceid ', + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'title' => '返回结果的 payload,json 结构', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出内容对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '输出内容', + 'description' => '', + 'type' => 'string', + 'example' => '这是测试输出', + ], + ], + ], + 'Usage' => [ + 'title' => '大模型token用量信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'title' => '输出Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'title' => '总oken数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": true,\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"Pop sign mismatch, please check.\\",\\n \\"Event\\": \\"result-generated\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"这是测试输出\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\"\\n}","type":"json"}]', + ], + 'RunExpandContent' => [ + 'summary' => '内容扩写', + 'path' => '/quanmiao/aimiaobi/runExpandContent', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '需要扩写的内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '创新政务社交媒体功能。鼓励各地区、各部门结合实际,开发政务社交媒体的特色功能,如在线咨询服务、政策解读、互动问答等,增强政务社交媒体的互动性和实用性,提升公众参与度。', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义提示词', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'End' => [ + 'title' => '输出是否完成,true 表示完成', + 'description' => '', + 'type' => 'boolean', + ], + 'Header' => [ + 'title' => '流式输出 header 头,包含返回通用信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '异常错误码', + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'ErrorMessage' => [ + 'title' => '异常错误信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Pop sign mismatch, please check.', + ], + 'Event' => [ + 'title' => '事件类型', + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated', + ], + 'EventInfo' => [ + 'title' => '事件描述', + 'description' => '', + 'type' => 'string', + 'example' => '模型生成事件', + ], + 'SessionId' => [ + 'title' => '一次会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'title' => '一次生成任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'title' => '链路traceid ', + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'title' => '返回结果的 payload,json 结构', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出内容对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '输出内容', + 'description' => '', + 'type' => 'string', + 'example' => '这是测试输出', + ], + ], + ], + 'Usage' => [ + 'title' => '大模型token用量信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'title' => '输出Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'title' => '总oken数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": true,\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"Pop sign mismatch, please check.\\",\\n \\"Event\\": \\"result-generated\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"这是测试输出\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\"\\n}","type":"json"}]', + ], + 'RunAbbreviationContent' => [ + 'summary' => '内容缩写', + 'path' => '/quanmiao/aimiaobi/runAbbreviationContent', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '需要缩写的内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '创新政务社交媒体功能。鼓励各地区、各部门结合实际,开发政务社交媒体的特色功能,如在线咨询服务、政策解读、互动问答等,增强政务社交媒体的互动性和实用性,提升公众参与度。', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义提示词', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'End' => [ + 'title' => '输出是否完成,true 表示完成', + 'description' => '', + 'type' => 'boolean', + ], + 'Header' => [ + 'title' => '流式输出 header 头,包含返回通用信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '异常错误码', + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'ErrorMessage' => [ + 'title' => '异常错误信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Pop sign mismatch, please check.', + ], + 'Event' => [ + 'title' => '事件类型', + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated', + ], + 'EventInfo' => [ + 'title' => '事件描述', + 'description' => '', + 'type' => 'string', + 'example' => '模型生成事件', + ], + 'SessionId' => [ + 'title' => '一次会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'title' => '一次生成任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'title' => '链路traceid ', + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'title' => '返回结果的 payload,json 结构', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出内容对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '输出内容', + 'description' => '', + 'type' => 'string', + 'example' => '这是测试输出', + ], + ], + ], + 'Usage' => [ + 'title' => '大模型token用量信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'title' => '输出Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'title' => '总oken数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": true,\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"Pop sign mismatch, please check.\\",\\n \\"Event\\": \\"result-generated\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"这是测试输出\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\"\\n}","type":"json"}]', + ], + 'SearchNews' => [ + 'summary' => '新闻检索', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'SearchSources', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '检索源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'QuarkCommonNews', + 'enum' => [ + 'QuarkCommonNews', + ], + ], + 'required' => false, + 'default' => 'QuarkCommonNews', + 'enum' => [ + 'QuarkCommonNews', + ], + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '检索Query', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '检索Query', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '35', + ], + ], + [ + 'name' => 'Page', + 'in' => 'formData', + 'schema' => [ + 'title' => '页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '81', + ], + ], + [ + 'name' => 'IncludeContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否包含正文', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'FilterNotNull', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否过滤空内容', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PageResult', + 'description' => 'PageResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '9a598b44c6444da5907b8ea68a5f82c4', + ], + 'ImageUrls' => [ + 'title' => '图片地址', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaaa.jpg', + ], + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-18 06:46:22', + ], + 'SearchSource' => [ + 'title' => '搜索源', + 'description' => '', + 'type' => 'string', + 'example' => 'QuarkCommonNews', + ], + 'SearchSourceName' => [ + 'title' => '搜索源名称', + 'description' => '', + 'type' => 'string', + 'example' => '夸克检索', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'UpdateTime' => [ + 'title' => '系统更新时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-18 06:46:22', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => '文章URL', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocUuid\\": \\"9a598b44c6444da5907b8ea68a5f82c4\\",\\n \\"ImageUrls\\": [\\n \\"https://www.example.com/aaaa.jpg\\"\\n ],\\n \\"PubTime\\": \\"2024-01-18 06:46:22\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"夸克检索\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tag\\": \\"文章标签\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"UpdateTime\\": \\"2024-01-18 06:46:22\\",\\n \\"Url\\": \\"文章URL\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Size\\": 10,\\n \\"Success\\": true,\\n \\"Total\\": 100\\n}","type":"json"}]', + ], + 'RunQuickWriting' => [ + 'summary' => '快速写作', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID,多轮对话可复用同一轮任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'Articles', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '引用的文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文章对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '文章标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Content' => [ + 'title' => '文章内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + 'required' => false, + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '其他写作参数(prompt 和 writingParams 二选一)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'SearchSources', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '使用指定的搜索源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '搜索源对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => 'SystemSearch:系统内置搜索,CustomSemanticSearch:自建语义索引搜索,ThirdSearch:三方API搜索', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SystemSearch', + ], + 'DatasetName' => [ + 'title' => '数据源唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'QuarkCommonNews', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'StatusCode' => [ + 'title' => 'http响应码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '78', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '38', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'End' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"StatusCode\\": 400,\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"文本生成结果\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 78,\\n \\"OutputTokens\\": 34,\\n \\"TotalTokens\\": 38\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"End\\": false\\n}","type":"json"}]', + ], + 'ListBuildConfigs' => [ + 'summary' => '获取系统自定义预设', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cd327c3d5d5e44159cc716e23bfa530e_p_beebot_public', + ], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => [ + 'title' => '政务和传媒类别,media:传媒,government:政务', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'media', + 'default' => 'media', + 'enum' => [ + 'media', + 'government', + ], + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<List<PromptBuildConfigQueryDO>>', + 'description' => 'PlainResult<List<PromptBuildConfigQueryDO>>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'BuildIn' => [ + 'title' => '是否为内置', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-11 06:14:07', + ], + 'CreateUser' => [ + 'title' => '创建用户', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Id' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '', + ], + 'Keywords' => [ + 'title' => '标签可选的值列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '标签可选的值定义', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Description' => [ + 'title' => '预设标签的描述', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Key' => [ + 'title' => '预设标签的KEY', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Tag' => [ + 'title' => '标签key值', + 'description' => '', + 'type' => 'string', + 'example' => 'writingStyle', + ], + 'TagDescription' => [ + 'title' => '标签描述', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Type' => [ + 'title' => '区分政务和传媒,media:传媒,government:政务', + 'description' => '', + 'type' => 'string', + 'example' => 'media', + ], + 'UpdateTime' => [ + 'title' => '更新时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-11 06:14:07'."\n", + ], + 'UpdateUser' => [ + 'title' => '更新用户', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'DA021073-17CE-5CCF-9FEB-93226C766887', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"BuildIn\\": true,\\n \\"CreateTime\\": \\"2023-04-11 06:14:07\\",\\n \\"CreateUser\\": \\"1\\",\\n \\"Id\\": 0,\\n \\"Keywords\\": [\\n {\\n \\"Description\\": \\"新闻内容\\",\\n \\"Key\\": \\"新闻内容\\"\\n }\\n ],\\n \\"Tag\\": \\"writingStyle\\",\\n \\"TagDescription\\": \\"文体\\",\\n \\"Type\\": \\"media\\",\\n \\"UpdateTime\\": \\"2023-04-11 06:14:07\\\\n\\",\\n \\"UpdateUser\\": \\"1\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"DA021073-17CE-5CCF-9FEB-93226C766887\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GenerateImageTask' => [ + 'summary' => '智能配图,图片生成任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'e1be065b-adc3-435e-bd01-1c18c5ed75d3'."\n", + ], + ], + [ + 'name' => 'ParagraphList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '段落内容', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '段落内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '一直忧伤的猫', + ], + 'Id' => [ + 'title' => '段落ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + 'TaskId' => [ + 'title' => '任务ID 任务唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'e1be065b-adc3-435e-bd01-1c18c5ed75d3', + ], + 'TaskStatus' => [ + 'title' => '当前任务状态 SUCCESSED=任务执行成功 ,FAILED=任务执行失败 ,CANCELED=任务被取消 ,PENDIN=任务排队中 ,SUSPENDE=任务挂起 RUNNIN=任务处理中', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SUCCESSED', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'Style', + 'in' => 'formData', + 'schema' => [ + 'title' => '风格 "<photography>"=摄影, "<portrait>"=人像写真, "<3d cartoon>"=3D卡通, "<anime>"=动画, "<oil painting>"=油画, "<watercolor>"=水彩, "<sketch>"=素描, "<chinese painting>"=中国画, "<flat illustration>"=扁平插画, "<auto>"=默认', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '<auto>', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '大小 1024*1024\', \'720*1280\', \'1280*720\'', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '1024*1024', + ], + ], + [ + 'name' => 'ArticleTaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章taskId', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'e1be065b-adc3-435e-bd01-1c18c5ed75d3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<GenerateImageTaskResponse>', + 'description' => 'PlainResult<GenerateImageTaskResponse>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskList' => [ + 'title' => '段落任务信息,根据输入的段落ID进行关联', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '段落内容', + 'description' => '', + 'type' => 'string', + 'example' => '一直忧伤的猫', + ], + 'Id' => [ + 'title' => '段落ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TaskId' => [ + 'title' => '任务ID 任务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'e1be065b-adc3-435e-bd01-1c18c5ed75d3', + ], + 'TaskStatus' => [ + 'title' => '当前任务状态 SUCCESSED=任务执行成功 ,FAILED=任务执行失败 ,CANCELED=任务被取消 ,PENDIN=任务排队中 ,SUSPENDE=任务挂起 RUNNIN=任务处理中', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskList\\": [\\n {\\n \\"Content\\": \\"一直忧伤的猫\\",\\n \\"Id\\": 1,\\n \\"TaskId\\": \\"e1be065b-adc3-435e-bd01-1c18c5ed75d3\\",\\n \\"TaskStatus\\": \\"SUCCESSED\\"\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'FetchImageTask' => [ + 'summary' => '获取图片任务执行结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cd327c3d5d5e44159cc716e23bfa530e_p_beebot_public', + ], + ], + [ + 'name' => 'TaskIdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '任务ID列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => 'TaskId', + 'type' => 'string', + 'required' => false, + 'example' => '9c5ac65f-fcac-416c-81d0-4ab81e1373fd', + ], + 'required' => true, + 'example' => '["9d8c9185-3f75-4a20-aca1-c5bb53dd97b3"]', + ], + ], + [ + 'name' => 'ArticleTaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章taskId', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'e1be065b-adc3-435e-bd01-1c18c5ed75d3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<FetchTaskResponse>', + 'description' => 'PlainResult<FetchTaskResponse>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskInfoList' => [ + 'title' => '智能配图生成的图片信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '段落ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'ImageList' => [ + 'title' => '图片信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '如果图片没有生成返回的异常code标识', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '如果图片没有生成返回的异常信息描述', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'title' => '图片地址', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.png', + ], + ], + ], + ], + 'TaskId' => [ + 'title' => '任务ID 任务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'net-7eb32699000d4193a3c59fc64ae1e55f', + ], + 'TaskStatus' => [ + 'title' => '当前任务状态 SUCCESSED=任务执行成功 ,FAILED=任务执行失败 ,CANCELED=任务被取消 ,PENDIN=任务排队中 ,SUSPENDE=任务挂起 RUNNIN=任务处理中', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'DD656AF9-0839-521A-A3D2-F320009F9C87', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"TaskInfoList\\": [\\n {\\n \\"Id\\": 1,\\n \\"ImageList\\": [\\n {\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"错误\\",\\n \\"Url\\": \\"http://www.example.com/aaa.png\\"\\n }\\n ],\\n \\"TaskId\\": \\"net-7eb32699000d4193a3c59fc64ae1e55f\\",\\n \\"TaskStatus\\": \\"SUCCESSED\\"\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"DD656AF9-0839-521A-A3D2-F320009F9C87\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'FetchImageTask', + ], + 'FeedbackDialogue' => [ + 'summary' => '反馈某次生成的结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fcb14f25c9ee41ccad33a049de8f941b_p_outbound_public', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '整个页面的ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '单轮对话的ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '75bf82fa-b71b-45d7-ae40-0b00e496cd9e', + ], + ], + [ + 'name' => 'Rating', + 'in' => 'formData', + 'schema' => [ + 'title' => 'thumbsDown:点踩、thumbsUp:点赞', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'thumbsDown', + ], + ], + [ + 'name' => 'RatingTags', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '01', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ModifiedResponse', + 'in' => 'formData', + 'schema' => [ + 'title' => '客户修改后的生成结果', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'CustomerResponse', + 'in' => 'formData', + 'schema' => [ + 'title' => '客户反馈信息', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + [ + 'name' => 'GoodText', + 'in' => 'formData', + 'schema' => [ + 'title' => '客户认为好的生成内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => 'BaseResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListStyleLearningResult' => [ + 'summary' => '获取文体学习分析结果列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PageResult', + 'description' => 'PageResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Current' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AigcResult' => [ + 'title' => 'AIGC 生成的内容', + 'description' => '', + 'type' => 'string', + 'example' => 'AIGC 生成的内容', + ], + 'Id' => [ + 'title' => '文体学习分析结果ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '70', + ], + 'RewriteResult' => [ + 'title' => '用户修订后内容', + 'description' => '', + 'type' => 'string', + 'example' => '用户修订后内容', + ], + 'StyleName' => [ + 'title' => '文体风格名称', + 'description' => '', + 'type' => 'string', + 'example' => '文体风格名称', + ], + 'TaskId' => [ + 'title' => '文体分析时的任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Size' => [ + 'title' => '每页记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Total' => [ + 'title' => '总记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"AigcResult\\": \\"AIGC 生成的内容\\",\\n \\"Id\\": 70,\\n \\"RewriteResult\\": \\"用户修订后内容\\",\\n \\"StyleName\\": \\"文体风格名称\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Size\\": 10,\\n \\"Success\\": true,\\n \\"Total\\": 100\\n}","type":"json"}]', + ], + 'RunStyleFeatureAnalysis' => [ + 'summary' => '内容特点分析', + 'path' => '/quanmiao/aimiaobi/runStyleFeatureAnalysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'Contents', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '自定义内容文本集合', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '自定义内容文本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '生活是一种律动,须有光有影,有左有右,有晴有雨,趣味就在这变而不猛的曲折里,微微暗些,再明起来,则暗得有趣,而明乃更明。——老舍 熟才能生巧。写过一遍,尽管不象样子,也会带来不少好处。不断地写作才会逐渐摸到文艺创作的底。字纸篓子是我的密友,常往它里面仍弃废稿,一定会有成功的那一天', + ], + 'required' => false, + ], + ], + [ + 'name' => 'MaterialIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '素材库ID集合', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '素材库ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'End' => [ + 'title' => '输出是否完成,true 表示完成', + 'description' => '', + 'type' => 'boolean', + ], + 'Header' => [ + 'title' => '流式输出 header 头,包含返回通用信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '异常错误码', + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'ErrorMessage' => [ + 'title' => '异常错误信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Pop sign mismatch, please check.', + ], + 'Event' => [ + 'title' => '事件类型', + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated', + ], + 'EventInfo' => [ + 'title' => '事件描述', + 'description' => '', + 'type' => 'string', + 'example' => '模型生成事件', + ], + 'SessionId' => [ + 'title' => '一次会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'title' => '一次生成任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'title' => '链路traceid ', + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'title' => '返回结果的 payload,json 结构', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出内容对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '输出内容', + 'description' => '', + 'type' => 'string', + 'example' => '这是测试输出', + ], + ], + ], + 'Usage' => [ + 'title' => '大模型token用量信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'title' => '输入Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'title' => '输出Token数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'title' => '总oken数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": true,\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"Pop sign mismatch, please check.\\",\\n \\"Event\\": \\"result-generated\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"这是测试输出\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\"\\n}","type":"json"}]', + ], + 'SaveStyleLearningResult' => [ + 'summary' => '保存自定义文体', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'RewriteResult', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户修订后内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'StyleName', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户修订后内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'AigcResult', + 'in' => 'formData', + 'schema' => [ + 'title' => 'AIGC 生成的内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CustomTextIdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '自定义素材ID', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '18', + ], + 'required' => false, + ], + ], + [ + 'name' => 'AgentKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'MaterialIdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '4', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteStyleLearningResult' => [ + 'summary' => '删除指定自定义文体', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '文体学习ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'xxx', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetStyleLearningResult' => [ + 'summary' => '获取文体学习分析结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '文体学习ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '39', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AigcResult' => [ + 'title' => 'AIGC 生成的内容', + 'description' => '', + 'type' => 'string', + 'example' => 'AIGC 生成的内容', + ], + 'ContentList' => [ + 'title' => '自定义内容实体内容', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '内容', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '创建时间', + ], + 'CreateUser' => [ + 'title' => '创建用户', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户', + ], + 'Id' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '修改时间', + ], + 'UpdateUser' => [ + 'title' => '修改用户', + 'description' => '', + 'type' => 'string', + 'example' => '修改用户', + ], + ], + ], + ], + 'CustomTextIdList' => [ + 'title' => '自定义内容ID集合', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '25', + ], + ], + 'Id' => [ + 'title' => '文体学习分析结果ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33', + ], + 'MaterialIdList' => [ + 'title' => '素材ID集合', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4', + ], + ], + 'MaterialInfoList' => [ + 'title' => '素材详细信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '创建时间', + ], + 'CreateUser' => [ + 'title' => '创建用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户ID', + ], + 'CreateUserName' => [ + 'title' => '创建用户姓名', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户姓名', + ], + 'DocKeywords' => [ + 'title' => '文档标签用于分类等、不同keyword之间逗号分割', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'DocType' => [ + 'title' => '文档类型,pdf、word、url、image', + 'description' => '', + 'type' => 'string', + 'example' => '文档类型,pdf、word、url、image', + ], + 'ExternalUrl' => [ + 'title' => '外部客户上传的URL,仅用作记录保存', + 'description' => '', + 'type' => 'string', + 'example' => '外部客户上传的URL,仅用作记录保存', + ], + 'FileLength' => [ + 'title' => '文件内容长度', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '41', + ], + 'HtmlContent' => [ + 'title' => '解析后的原始html内容', + 'description' => '', + 'type' => 'string', + 'example' => '解析后的原始html内容', + ], + 'Id' => [ + 'title' => '主键', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '50', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '发布时间', + ], + 'PublicUrl' => [ + 'title' => '临时的对外公开的URL', + 'description' => '', + 'type' => 'string', + 'example' => '临时的对外公开的URL', + ], + 'ShareAttr' => [ + 'title' => '公开属性,按位存储,第一位表示是否在业务空间内共享、第二位表示是否在租户内共享,第三位表示在系统范围内共享', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'enum' => [ + '0', + '1', + ], + ], + 'SrcFrom' => [ + 'title' => '文档来源,user_upload、search、viewpoint', + 'description' => '', + 'type' => 'string', + 'example' => '文档来源,user_upload、search、viewpoint', + ], + 'Summary' => [ + 'title' => '文档摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文档摘要', + ], + 'TextContent' => [ + 'title' => '解析后的文本内容,对于图片来说为空', + 'description' => '', + 'type' => 'string', + 'example' => '解析后的文本内容,对于图片来说为空', + ], + 'ThumbnailInBase64' => [ + 'title' => '图片文档类型的Base64缩略图', + 'description' => '', + 'type' => 'string', + 'example' => '图片文档类型的Base64缩略图', + ], + 'Title' => [ + 'title' => '文档标题', + 'description' => '', + 'type' => 'string', + 'example' => '文档标题', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '修改时间', + ], + 'UpdateUser' => [ + 'title' => '修改用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '修改用户ID', + ], + 'UpdateUserName' => [ + 'title' => '修改用户姓名', + 'description' => '', + 'type' => 'string', + 'example' => '修改用户姓名', + ], + 'Url' => [ + 'title' => '内部文档保存的URL,支持多协议,http://,file://,ftp://:客户上传时保存到内部存储的URL、长期保存、到期删除', + 'description' => '', + 'type' => 'string', + 'example' => '内部文档保存的URL,支持多协议,http://,file://,ftp://:客户上传时保存到内部存储的URL、长期保存、到期删除', + ], + ], + ], + ], + 'RewriteResult' => [ + 'title' => '用户修订后内容', + 'description' => '', + 'type' => 'string', + 'example' => '用户修订后内容', + ], + 'StyleName' => [ + 'title' => '文体风格名称', + 'description' => '', + 'type' => 'string', + 'example' => '文体风格名称', + ], + 'TaskId' => [ + 'title' => '文体分析时的任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"MaterialIdList\\": [\\n 4\\n ],\\n \\"CustomTextIdList\\": [\\n 25\\n ],\\n \\"ContentList\\": [\\n {\\n \\"Id\\": 1,\\n \\"Title\\": \\"标题\\",\\n \\"Content\\": \\"内容\\",\\n \\"CreateTime\\": \\"创建时间\\",\\n \\"UpdateTime\\": \\"修改时间\\",\\n \\"CreateUser\\": \\"创建用户\\",\\n \\"UpdateUser\\": \\"修改用户\\"\\n }\\n ],\\n \\"MaterialInfoList\\": [\\n {\\n \\"Id\\": 50,\\n \\"DocType\\": \\"文档类型,pdf、word、url、image\\",\\n \\"Title\\": \\"文档标题\\",\\n \\"Summary\\": \\"文档摘要\\",\\n \\"Author\\": \\"作者\\",\\n \\"PubTime\\": \\"发布时间\\",\\n \\"DocKeywords\\": [\\n \\"中欧\\"\\n ],\\n \\"Url\\": \\"内部文档保存的URL,支持多协议,http://,file://,ftp://:客户上传时保存到内部存储的URL、长期保存、到期删除\\",\\n \\"PublicUrl\\": \\"临时的对外公开的URL\\",\\n \\"ExternalUrl\\": \\"外部客户上传的URL,仅用作记录保存\\",\\n \\"SrcFrom\\": \\"文档来源,user_upload、search、viewpoint\\",\\n \\"TextContent\\": \\"解析后的文本内容,对于图片来说为空\\",\\n \\"HtmlContent\\": \\"解析后的原始html内容\\",\\n \\"ShareAttr\\": 1,\\n \\"CreateTime\\": \\"创建时间\\",\\n \\"UpdateTime\\": \\"修改时间\\",\\n \\"CreateUser\\": \\"创建用户ID\\",\\n \\"CreateUserName\\": \\"创建用户姓名\\",\\n \\"UpdateUser\\": \\"修改用户ID\\",\\n \\"UpdateUserName\\": \\"修改用户姓名\\",\\n \\"ThumbnailInBase64\\": \\"图片文档类型的Base64缩略图\\",\\n \\"FileLength\\": 41\\n }\\n ],\\n \\"Id\\": 33,\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"AigcResult\\": \\"AIGC 生成的内容\\",\\n \\"RewriteResult\\": \\"用户修订后内容\\",\\n \\"StyleName\\": \\"用户修订后内容\\"\\n }\\n}","type":"json"}]', + ], + 'ListWritingStyles' => [ + 'summary' => '获取文体列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxxxx', + ], + ], + [ + 'name' => 'Scene', + 'in' => 'formData', + 'schema' => [ + 'title' => '写作场景筛选', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'media', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '返回的最大结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '写一页Token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'TotalCount' => [ + 'title' => '总记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '58', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'NextToken' => [ + 'title' => '下一个token', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'string', + 'example' => 'true', + ], + 'Data' => [ + 'title' => '文体列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '文体对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StyleName' => [ + 'title' => '文体名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StyleKey' => [ + 'title' => '文体唯一标识KEY', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'StyleDescription' => [ + 'title' => '文体描述', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DistributeWriting' => [ + 'title' => '是否支持分步骤写作', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'StyleImage' => [ + 'title' => '文体图片', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Emoji' => [ + 'title' => '文体小图标(字符符号表示)', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TemplateDefine' => [ + 'description' => '', + '$ref' => '#/components/schemas/WritingStyleTemplateDefine', + ], + 'DistributeStepTemplateDefine' => [ + 'description' => '', + '$ref' => '#/components/schemas/WritingStyleTemplateDefine', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"TotalCount\\": 58,\\n \\"MaxResults\\": 100,\\n \\"NextToken\\": \\"下一页token\\",\\n \\"Code\\": \\"successful\\",\\n \\"Message\\": \\"数据不存在\\",\\n \\"Success\\": \\"true\\",\\n \\"Data\\": [\\n {\\n \\"StyleName\\": \\"文体名称\\",\\n \\"StyleKey\\": \\"文体唯一标识\\",\\n \\"StyleDescription\\": \\"文体描述\\",\\n \\"DistributeWriting\\": false,\\n \\"StyleImage\\": \\"文体图片\\\\n\\\\n\\",\\n \\"Emoji\\": \\"小图标\\",\\n \\"TemplateDefine\\": {\\n \\"Fields\\": [\\n {\\n \\"MinItemLength\\": 0,\\n \\"Max\\": 0,\\n \\"MinLength\\": 0,\\n \\"MaxLength\\": 0,\\n \\"MaxItemLength\\": 0,\\n \\"Name\\": \\"\\",\\n \\"BuildIn\\": true,\\n \\"Enums\\": [\\n {\\n \\"CascadingFields\\": [\\n \\"\\"\\n ],\\n \\"Key\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Min\\": 0,\\n \\"Required\\": true,\\n \\"MaxItem\\": 0,\\n \\"InitialValue\\": \\"\\",\\n \\"CascadingFields\\": [\\n {\\n \\"MinItemLength\\": 0,\\n \\"Max\\": 0,\\n \\"MinLength\\": 0,\\n \\"MaxLength\\": 0,\\n \\"MaxItemLength\\": 0,\\n \\"Name\\": \\"\\",\\n \\"BuildIn\\": true,\\n \\"Enums\\": [\\n {\\n \\"CascadingFields\\": [\\n \\"\\"\\n ],\\n \\"Key\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Min\\": 0,\\n \\"Required\\": true,\\n \\"MaxItem\\": 0,\\n \\"InitialValue\\": \\"\\",\\n \\"CascadingFields\\": [\\n {\\n \\"MinItemLength\\": 0,\\n \\"Max\\": 0,\\n \\"MinLength\\": 0,\\n \\"MaxLength\\": 0,\\n \\"MaxItemLength\\": 0,\\n \\"Name\\": \\"\\",\\n \\"BuildIn\\": true,\\n \\"Enums\\": [\\n {\\n \\"CascadingFields\\": [\\n \\"\\"\\n ],\\n \\"Key\\": \\"\\",\\n \\"Name\\": \\"\\"\\n }\\n ],\\n \\"Min\\": 0,\\n \\"Required\\": true,\\n \\"MaxItem\\": 0,\\n \\"InitialValue\\": \\"\\",\\n \\"CascadingFields\\": [],\\n \\"Style\\": {\\n \\"Placeholder\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"ShowTime\\": true,\\n \\"Suffix\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Format\\": \\"\\"\\n },\\n \\"Key\\": \\"\\"\\n }\\n ],\\n \\"Style\\": {\\n \\"Placeholder\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"ShowTime\\": true,\\n \\"Suffix\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Format\\": \\"\\"\\n },\\n \\"Key\\": \\"\\"\\n }\\n ],\\n \\"Style\\": {\\n \\"Placeholder\\": \\"\\",\\n \\"Type\\": \\"\\",\\n \\"ShowTime\\": true,\\n \\"Suffix\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"Format\\": \\"\\"\\n },\\n \\"Key\\": \\"\\"\\n }\\n ],\\n \\"Example\\": [\\n {\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\"\\n }\\n ]\\n },\\n \\"DistributeStepTemplateDefine\\": {\\n \\"Fields\\": [],\\n \\"Example\\": [\\n {\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\"\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'SubmitAuditNote' => [ + 'summary' => '妙笔为您提供了与公有云“智能审校”模块中相同的上传自定义规则库的功能。由于鉴权限制,用户需要开通阿里云 OSS 服务后,将自定义规则库文件上传到 OSS 中,再使用该文件的 fileKey 作为入参才能顺利调用本接口。该接口在被调用后,会对用户的自定义规则库进行结构化处理,并生成一个 xlsx 格式的结构化解析结果。您可以调用 GetAuditNoteProcessingStatus 接口查询结构化处理状态,也可以调用 DownloadAuditNote 接口获取结构化之后的规则库。接口功能正在迭代中,预计会在未来使用可访问的文件 URL 作为入参。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云 OSS 存储中,用户上传的规则库文件对应的 FileKey。规则库文件只允许使用 docx, xlsx, pdf 格式,其中 xlsx 格式限制两列,且表头必须为“审校依据”和“依据出处”。上传 xlsx 格式能有更好的解析效果,但 docx 和 pdf 也会由系统自动解析。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://default/your/file/key', + ], + ], + [ + 'name' => 'NoteId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则库ID(不填默认是 Default )', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '本次提交规则库的任务 ID(taskId / TaskId),供之后的接口调用使用。', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx_Default_89123748917', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"xxx_Default_89123748917\\"\\n}","type":"json"}]', + ], + 'ConfirmAndPostProcessAuditNote' => [ + 'summary' => '是否将本次提交自定义规则库得到的解析结果用于审核任务。由于解析结果可能不满足用户需求,因此我们为您提供了该接口用于二次确认。如果对提交的规则库解析满意,则可以直接将本次提交任务的 TaskId 作为入参,系统会对您上传的规则库做后处理,使它可以被用于审核。反之,您可以重新调用 SubmitAuditNote 接口上传修改之后的规则库。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户通过 SubmitAuditNote 接口得到的 TaskId。这是自定义规则库任务索引的唯一标识,在使用时务必妥善保存。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx_Default_1241541251241', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '确认使用该解析结果后得到的任务 ID。实际上与入参一致,在这里返回是为了方便您取值。', + 'description' => '', + 'type' => 'string', + 'example' => '33', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"33\\"\\n}","type":"json"}]', + ], + 'DownloadAuditNote' => [ + 'summary' => '您可以通过调用该接口下载结构化后的规则库,供您进行进一步处理。该接口同时拥有两个功能:下载未后处理的结构化规则库,或下载当前可用于审核的结构化规则库。具体使用方法,请参考入参说明。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户通过 SubmitAuditNote 接口得到的 taskId。这是自定义规则库任务索引的唯一标识,在使用时务必妥善保存。'."\n" + .'在您使用本接口时,如果在入参中包含 taskId,能获取到您已通过 SubmitAuditNote 接口上传成功,但未通过 ConfirmAndProcessAuditNote 进行后处理的结构化规则库;而入参中不包含 taskId 时,则能获取到已进行后处理,可以用于审核的结构化规则库。', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx_Default_1241541251241', + ], + ], + [ + 'name' => 'NoteId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则库Id ,不填默认Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '目标规则库下载链接。', + 'description' => '', + 'type' => 'string', + 'example' => 'http://download.xxx.yyy.zzz', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"http://download.xxx.yyy.zzz\\"\\n}","type":"json"}]', + ], + 'DeleteAuditNote' => [ + 'summary' => '删除用户账户下所有可供审核使用的自定义规则库。删除后无法找回,如果您有对规则库存档的需求,请预先使用 DownloadAuditNote 接口保存需要的规则库。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'NoteId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则库Id ,不填默认Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '删除结果。如果删除成功,会返回“SUCCESSED”。', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"SUCCESSED\\"\\n}","type":"json"}]', + ], + 'GetAuditNotePostProcessingStatus' => [ + 'summary' => '查询规则库后处理的进度。与 ConfirmAndPostProcessAuditNote 接口配合使用,供您查询当前后处理任务的状态。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户通过 SubmitAuditNote 接口得到的 TaskId。这是自定义规则库任务索引的唯一标识,在使用时务必妥善保存。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx_Default_12847192741412', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'required' => true, + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'required' => true, + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'NoteId' => [ + 'title' => '该规则库的 ID,现有版本默认为 "Default"。', + 'description' => '', + 'type' => 'string', + 'example' => 'Default', + ], + 'Status' => [ + 'title' => '本次后处理任务的状态。可选值:PENDING(待处理)、RUNNING(处理中)、SUCCESSED(成功)、FAILED(失败)', + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'TotalLines' => [ + 'title' => '结构化规则库的总行数。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '666', + ], + 'ProcessedLines' => [ + 'title' => '已后处理完成的行数。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '233', + ], + 'ErrorMessage' => [ + 'title' => '错误消息,仅在后处理失败时会返回。', + 'description' => '', + 'type' => 'string', + 'example' => 'error', + ], + 'CreateTime' => [ + 'title' => '本次后处理任务的创建时间(YYYY-MM-DD HH:mm:ss)。', + 'description' => '', + 'type' => 'string', + 'example' => '1970-01-01 12:34:56', + ], + 'CompletionTime' => [ + 'title' => '本次后处理任务的完成时间(YYYY-MM-DD HH:mm:ss)。', + 'description' => '', + 'type' => 'string', + 'example' => '1970-01-01 23:34:45', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"NoteId\\": \\"Default\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"TotalLines\\": 666,\\n \\"ProcessedLines\\": 233,\\n \\"ErrorMessage\\": \\"error\\",\\n \\"CreateTime\\": \\"1970-01-01 12:34:56\\",\\n \\"CompletionTime\\": \\"1970-01-01 23:34:45\\"\\n }\\n}","type":"json"}]', + ], + 'GetAuditNoteProcessingStatus' => [ + 'summary' => '查询用户上传规则库的处理状态。通过该接口,用户可以查询到当前规则库上传任务的状态,并获取到解析后的规则库文件大小、存储路径等信息。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户通过 SubmitAuditNote 接口得到的 TaskId。这是自定义规则库任务索引的唯一标识,在使用时务必妥善保存。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx_Default_129873419274', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'title' => '任务处理状态(PENDING/RUNNING/SUCCESSED/FAILED)', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + 'UpdateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-11-25 11:40:50', + ], + 'TaskId' => [ + 'title' => '任务 ID,本次任务的唯一标识。', + 'description' => '', + 'type' => 'string', + 'example' => '111_Default_20250708142918', + ], + 'FileKey' => [ + 'title' => '后端业务存储本次规则库解析结果的路径。', + 'description' => '', + 'type' => 'string', + 'example' => 'oss://default/path/to/audit/note', + ], + 'FileSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '504', + ], + 'NoteName' => [ + 'title' => '解析之后的规则库名称。', + 'description' => '', + 'type' => 'string', + 'example' => '错题本2025-07-07_解析结果', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCESSED\\",\\n \\"UpdateTime\\": 0,\\n \\"TaskId\\": \\"111_Default_20250708142918\\",\\n \\"FileKey\\": \\"oss://default/path/to/audit/note\\",\\n \\"FileSize\\": 504,\\n \\"NoteName\\": \\"错题本2025-07-07_解析结果\\"\\n }\\n}","type":"json"}]', + ], + 'GetAvailableAuditNotes' => [ + 'summary' => '查询用户当前可供审核的规则库信息,只能查询到当前可用于审核的规则库。如果您想看到自定义规则库的具体内容,请使用 DownloadAuditNote 接口。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'NoteId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则库Id ,不填默认Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '规则库存储主 ID。', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'NoteId' => [ + 'title' => '规则库 ID。', + 'description' => '', + 'type' => 'string', + 'example' => 'Default', + ], + 'UpdateTime' => [ + 'title' => '规则库更新时间。', + 'description' => '', + 'type' => 'string', + 'example' => '2025-07-07 11:56:30', + ], + 'FileSize' => [ + 'title' => '规则库文件大小(字节)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23333', + ], + 'NoteName' => [ + 'title' => '解析之后的规则库名称。', + 'description' => '', + 'type' => 'string', + 'example' => '错题本2025-07-07_解析结果', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"Id\\": \\"1\\",\\n \\"NoteId\\": \\"Default\\",\\n \\"UpdateTime\\": \\"2025-07-07 11:56:30\\",\\n \\"FileSize\\": 23333,\\n \\"NoteName\\": \\"错题本2025-07-07_解析结果\\"\\n }\\n}","type":"json"}]', + ], + 'ListAuditTerms' => [ + 'summary' => '获取词库列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的Token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'XXXX', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'TermsName', + 'in' => 'formData', + 'schema' => [ + 'title' => '词典名称。可选。不填默认 Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '是否删除成功', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '任务主键ID', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Keyword' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'string', + 'example' => '龘', + ], + 'SuggestWord' => [ + 'title' => '建议词', + 'description' => '', + 'type' => 'string', + 'example' => '龘(dá)', + ], + 'TermsDesc' => [ + 'title' => '审核依据', + 'description' => '', + 'type' => 'string', + 'example' => '龙行龘龘出自四库本《玉篇》23龙部第8字,文字释义为群龙腾飞的样子,昂扬而热烈。', + ], + 'ExceptionWord' => [ + 'title' => '例外语句', + 'type' => 'array', + 'items' => [ + 'title' => '词典名称', + 'type' => 'string', + ], + ], + 'TermsName' => [ + 'title' => '词典名称', + 'type' => 'string', + ], + ], + ], + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '77', + ], + 'NextToken' => [ + 'title' => '下一页的Token', + 'description' => '', + 'type' => 'string', + 'example' => 'x\'x\'x', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '58', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"1\\",\\n \\"Keyword\\": \\"龘\\",\\n \\"SuggestWord\\": \\"龘(dá)\\",\\n \\"TermsDesc\\": \\"龙行龘龘出自四库本《玉篇》23龙部第8字,文字释义为群龙腾飞的样子,昂扬而热烈。\\",\\n \\"ExceptionWord\\": [\\n \\"\\"\\n ],\\n \\"TermsName\\": \\"\\"\\n }\\n ],\\n \\"MaxResults\\": 77,\\n \\"NextToken\\": \\"x\'x\'x\\",\\n \\"TotalCount\\": 58\\n}","type":"json"}]', + ], + 'AddAuditTerms' => [ + 'summary' => '添加审核自定义词库记录', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'formData', + 'schema' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '龘', + ], + ], + [ + 'name' => 'SuggestWord', + 'in' => 'formData', + 'schema' => [ + 'title' => '建议词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '龘(dá)', + ], + ], + [ + 'name' => 'TermsDesc', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核依据', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '龙行龘龘出自四库本《玉篇》23龙部第8字,文字释义为群龙腾飞的样子,昂扬而热烈。', + ], + ], + [ + 'name' => 'ExceptionWord', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '例外语句', + 'type' => 'array', + 'items' => [ + 'title' => '例外语句', + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'TermsName', + 'in' => 'formData', + 'schema' => [ + 'title' => '词典名称。可选。不填默认 Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'DataV1' => [ + 'title' => '业务数据'."\n" + .'根数据版本1', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => 'ID', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '562fe4163a59d7bcb44bfdde4e3d5046', + ], + ], + 'example' => '返回添加的实体信息', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": true,\\n \\"DataV1\\": {\\n \\"Id\\": 0\\n }\\n}","type":"json"}]', + ], + 'EditAuditTerms' => [ + 'summary' => '编辑审核自定义词库记录', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'formData', + 'schema' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '龘', + ], + ], + [ + 'name' => 'SuggestWord', + 'in' => 'formData', + 'schema' => [ + 'title' => '建议词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '龘(dá)', + ], + ], + [ + 'name' => 'TermsDesc', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核依据', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '龙行龘龘出自四库本《玉篇》23龙部第8字,文字释义为群龙腾飞的样子,昂扬而热烈。', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '20103', + ], + ], + [ + 'name' => 'ExceptionWord', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '例外语句', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'DeleteAuditTerms' => [ + 'summary' => '删除指定的词库记录', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'IdList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '指定要删除的用户登录的规则id列表。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '指定要删除的用户登录的规则id列表。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '4463', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'SubmitImportTermsTask' => [ + 'summary' => '提交导入自定义词库任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件FileKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx', + ], + ], + [ + 'name' => 'TermsName', + 'in' => 'formData', + 'schema' => [ + 'title' => '词典名称。可选。不填默认 Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n }\\n}","type":"json"}]', + ], + 'FetchImportTermsTask' => [ + 'summary' => '获取导入词库任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件FileKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'title' => '任务执行状态', + 'description' => '', + 'type' => 'string', + 'example' => 'PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"Status\\": \\"PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消\\"\\n }\\n}","type":"json"}]', + ], + 'SubmitExportTermsTask' => [ + 'summary' => '导出词库任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TermsName', + 'in' => 'formData', + 'schema' => [ + 'title' => '词典名称。可选。不填默认 Default', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n }\\n}","type":"json"}]', + ], + 'FetchExportTermsTask' => [ + 'summary' => '获取词库导出任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件FileKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'https//xxxx', + ], + 'Status' => [ + 'title' => '任务执行状态', + 'description' => '', + 'type' => 'string', + 'example' => 'PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": {\\n \\"FileUrl\\": \\"https//xxxx\\",\\n \\"Status\\": \\"PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消\\"\\n }\\n}","type":"json"}]', + ], + 'SubmitFactAuditUrl' => [ + 'summary' => '妙笔为您提供了新的事实性审核能力,在联网搜索并判断正误的前提下,还支持用户自定义配置搜索来源 URL。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'Url', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户希望使用的审核信息来源 URL。通过该接口新增信源 URL 后,事实性审核的信息来源会只从配置好的 URL 列表中获取;如果不新增 URL,则默认从全网检索审核所需的信息。每位用户最多可以配置 10 条信源 URL。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://aliyun.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '新增 URL 的成功提示。', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"SUCCESSED\\"\\n}","type":"json"}]', + ], + 'GetFactAuditUrl' => [ + 'summary' => '获取当前正用于事实性审核的信源 URL。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '当前正用于事实性审核的信源 URL 列表。当列表中没有 URL 时,检索信源为全网;有 URL 时,只从配置好的 URL 中获取信息。删除不需要的信源 URL 时,请使用出参中的 URL 填写到 DeleteFactAuditUrl 接口的入参。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aliyun.com', + ], + 'required' => true, + 'maxItems' => 10, + 'minItems' => 0, + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": [\\n \\"aliyun.com\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteFactAuditUrl' => [ + 'summary' => '删除指定的用于事实性审核的 URL。', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '阿里云百炼业务空间唯一标识:获取[业务空间ID(Workspace ID)](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'Url', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户希望删除的审核信息来源 URL,填写的 URL 需要和通过GetFactAuditUrl 得到的结果一致才能顺利删除。', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://aliyun.com', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Data' => [ + 'title' => '删除 URL 的成功提示。', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": \\"SUCCESSED\\"\\n}","type":"json"}]', + ], + 'QueryAuditTask' => [ + 'summary' => '查询审核结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ContentAuditTaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核任务ID(任务ID与文章ID二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'ArticleId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章ID(任务ID与文章ID二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskStatus' => [ + 'title' => '任务执行状态,0-待执行、1-执行中、2-执行成功、3-暂停、4-执行失败,6-任务取消', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Content' => [ + 'title' => '审核时的原文', + 'description' => '', + 'type' => 'string', + 'example' => '审核时的原文', + ], + 'AuditTime' => [ + 'title' => '审核时间', + 'description' => '', + 'type' => 'string', + 'example' => '2025-05-13 12:12:12', + ], + 'Response' => [ + 'title' => '审核结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '审核响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'title' => '事件', + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'SessionId' => [ + 'title' => '对话唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '49eab783-9172-487a-b9df-c6372c47392c', + ], + 'TaskId' => [ + 'title' => '多轮对话唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '896b733535274d28b1a61c78bc145217', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '最终响应结果(json数组结构)', + 'description' => '', + 'type' => 'string', + 'example' => 'x\'x\'x', + ], + ], + ], + 'Usage' => [ + 'title' => '用量', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OutputTokens' => [ + 'title' => '输出token', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'InputTokens' => [ + 'title' => '输入token', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'TotalTokens' => [ + 'title' => '总token', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '300', + ], + ], + ], + ], + ], + ], + ], + 'Status' => [ + 'title' => '任务执行状态,PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消', + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'HtmlContent' => [ + 'title' => '格式化的审核时的内容', + 'type' => 'string', + ], + 'Title' => [ + 'title' => '内容标题', + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskStatus\\": 1,\\n \\"Content\\": \\"审核时的原文\\",\\n \\"AuditTime\\": \\"2025-05-13 12:12:12\\",\\n \\"Response\\": {\\n \\"Header\\": {\\n \\"Event\\": \\"task-failed\\",\\n \\"ErrorCode\\": \\"DataNotExists\\",\\n \\"ErrorMessage\\": \\"数据不存在\\",\\n \\"SessionId\\": \\"49eab783-9172-487a-b9df-c6372c47392c\\",\\n \\"TaskId\\": \\"896b733535274d28b1a61c78bc145217\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"x\'x\'x\\"\\n },\\n \\"Usage\\": {\\n \\"OutputTokens\\": 100,\\n \\"InputTokens\\": 200,\\n \\"TotalTokens\\": 300\\n }\\n }\\n },\\n \\"Status\\": \\"RUNNING\\",\\n \\"HtmlContent\\": \\"格式化的审核时的内容\\\\n\\\\n\\",\\n \\"Title\\": \\"内容标题\\\\n\\\\n\\"\\n }\\n}","type":"json"}]', + ], + 'SubmitAuditTask' => [ + 'summary' => '提交审核任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ArticleId', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核时的文章ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '待审核的内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'HtmlContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核时的 HTML格式 的内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核时的文章标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xx\\"\\n }\\n}","type":"json"}]', + ], + 'CancelAuditTask' => [ + 'summary' => '取消审核任务', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ContentAuditTaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '审核任务ID(任务ID与文章ID二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'ArticleId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章ID(任务ID与文章ID二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '是否取消成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": true\\n}","type":"json"}]', + ], + 'SubmitSmartAudit' => [ + 'summary' => '提交智能审核', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Text', + 'in' => 'formData', + 'schema' => [ + 'title' => '待审核的内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SubCodes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PunctuationError', + 'title' => 'ImageAudit表示图片审核', + ], + 'required' => false, + ], + ], + [ + 'name' => 'imageUrls', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '图片审核时传递的参数', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'url' => [ + 'title' => 'Url可能是链接,可能是base64', + 'type' => 'string', + ], + 'id' => [ + 'title' => '图片唯一标识ID', + 'type' => 'string', + ], + ], + ], + ], + ], + [ + 'name' => 'ImageUrlList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '图片审核时传递的参数', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => 'Url可能是链接,可能是base64', + 'type' => 'string', + ], + 'Id' => [ + 'title' => '图片唯一标识ID', + 'type' => 'string', + ], + ], + ], + ], + ], + [ + 'name' => 'NoteId', + 'in' => 'formData', + 'schema' => [ + 'title' => '基于规则库审校的规则库ID(默认 Default)', + 'type' => 'string', + ], + ], + [ + 'name' => 'TermsName', + 'in' => 'formData', + 'schema' => [ + 'title' => '基于词库审校的词库名称(默认 Default)', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxx\\"\\n }\\n}","type":"json"}]', + ], + 'GetSmartAuditResult' => [ + 'summary' => '查询智能审核结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'title' => '任务执行状态,PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + 'ErrorItemDetails' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Context' => [ + 'title' => '原文片段', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MajorCodeDesc' => [ + 'title' => '主错误描述', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ErrorWord' => [ + 'title' => '错误单词', + 'description' => '', + 'type' => 'string', + 'example' => '”xxx“', + ], + 'MajorCode' => [ + 'title' => '主错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'ContentAccuracy', + ], + 'RightWord' => [ + 'title' => '推荐修改的单词', + 'description' => '', + 'type' => 'string', + 'example' => '“xxx”', + ], + 'Reason' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'title' => '图片审核场景下,返回命中审核的可访问的图片的公网地址', + 'type' => 'string', + ], + 'Offset' => [ + 'title' => '错误单词在全文的偏移索引', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'CheckId' => [ + 'title' => '审核项唯一标识。(图片审核场景下为图片的ID)', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SubClassCode' => [ + 'title' => '子错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'PunctuationError', + ], + 'ErrorLevel' => [ + 'title' => '错误等级(1-严重,2-警告,3-提示,4-建议)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'SubClassDesc' => [ + 'title' => '子错误描述', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContextOffset' => [ + 'title' => '错误单词在上下文(Context)中的偏移索引。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + ], + ], + 'ErrorMessage' => [ + 'title' => '审核错误信息', + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCESSED\\",\\n \\"ErrorItemDetails\\": [\\n {\\n \\"Context\\": \\"原文片段\\",\\n \\"MajorCodeDesc\\": \\"内容准确性\\",\\n \\"ErrorWord\\": \\"”xxx“\\",\\n \\"MajorCode\\": \\"ContentAccuracy\\",\\n \\"RightWord\\": \\"“xxx”\\",\\n \\"Reason\\": \\"中文双引号应成对正确使用,先左双引号,后右双引号\\",\\n \\"Url\\": \\"http://www.example.com/xxxx.jpg\\",\\n \\"Offset\\": 0,\\n \\"CheckId\\": \\"审核项唯一标识。\\\\n\\\\n\\",\\n \\"SubClassCode\\": \\"PunctuationError\\",\\n \\"ErrorLevel\\": 2,\\n \\"SubClassDesc\\": \\"标点符号错误\\\\n\\",\\n \\"ContextOffset\\": 0\\n }\\n ],\\n \\"ErrorMessage\\": \\"审核被取消\\"\\n }\\n}","type":"json"}]', + ], + 'ListAuditContentErrorTypes' => [ + 'summary' => '获取审核维度列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '2000', + 'minimum' => '0', + 'example' => '100', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页Token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cEoBWREAXdxaOyjq/cqAbg==', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'HTTP状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'title' => '审核维度列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '主审核维度', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MajorClassCode' => [ + 'title' => '主审核维度Code', + 'description' => '', + 'type' => 'string', + 'example' => 'ContentAccuracy', + ], + 'SubClasses' => [ + 'title' => '子审核维度列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '子审核维度', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ClassCode' => [ + 'title' => '子审核维度Code', + 'description' => '', + 'type' => 'string', + 'example' => 'PunctuationError', + ], + 'ClassName' => [ + 'title' => '子审核维度名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'MajorClassName' => [ + 'title' => '子审核维度名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'NextToken' => [ + 'title' => '下一页Token', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'MaxResults' => [ + 'title' => '当前返回的最大记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"MajorClassCode\\": \\"ContentAccuracy\\",\\n \\"SubClasses\\": [\\n {\\n \\"ClassCode\\": \\"PunctuationError\\",\\n \\"ClassName\\": \\"标点符号错误\\"\\n }\\n ],\\n \\"MajorClassName\\": \\"内容准确性\\"\\n }\\n ],\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"TotalCount\\": 20,\\n \\"MaxResults\\": 20\\n}","type":"json"}]', + ], + 'ExportAuditContentResult' => [ + 'summary' => '导出智能审核报告', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '94512A33-8EC1-5452-A793-5C91F18ED2F0', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'HttpStatusCode' => [ + 'title' => 'HTTP状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'title' => '返回word格式的可公开访问的URL(1小时失效)', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.docx', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94512A33-8EC1-5452-A793-5C91F18ED2F0\\",\\n \\"Code\\": \\"successful\\",\\n \\"Message\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Success\\": true,\\n \\"Data\\": \\"http://www.example.com/xxx.docx\\"\\n}","type":"json"}]', + ], + 'GenerateExportWordTask' => [ + 'summary' => '生成内容导出文档任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'GeneratedContentId', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'FetchExportWordTask' => [ + 'summary' => '获取异步导出文档任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2e27abb32cb64f80a0c6e829b6c87a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxx/xxx.xls', + ], + 'TaskStats' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"http://xxx/xxx.xls\\",\\n \\"TaskStats\\": \\"PENDING-待执行、RUNNING-执行中、SUCCESSED-成功、SUSPENDED-暂停、FAILED-失败、CANCELLED-取消\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'CreateGeneratedContent' => [ + 'summary' => '文档管理-创建', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx_efm', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '最后一次生成的提示词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '会话任务唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + 'maxLength' => 64, + 'minLength' => 6, + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + 'maxLength' => 200, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '正文:富文本', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'ContentDomain', + 'in' => 'formData', + 'schema' => [ + 'title' => '内容生成的领域', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'government', + 'default' => 'media', + 'enum' => [ + 'media', + 'government', + ], + ], + ], + [ + 'name' => 'ContentText', + 'in' => 'formData', + 'schema' => [ + 'title' => '正文:纯文本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'formData', + 'schema' => [ + 'title' => '溯源UUID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Keywords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '42', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": 42,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": false\\n}","type":"json"}]', + ], + 'DeleteGeneratedContent' => [ + 'summary' => '文档管理-删除。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '99', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateGeneratedContent' => [ + 'summary' => '文档管理-更新。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '36', + 'minLength' => 1, + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '最后一次生成的提示词', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '创作xx文章', + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '评论类文章', + 'maxLength' => 200, + 'minLength' => 2, + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '正文:富文本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '正文', + ], + ], + [ + 'name' => 'ContentText', + 'in' => 'formData', + 'schema' => [ + 'title' => '正文:纯文本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '正文', + ], + ], + [ + 'name' => 'Keywords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": false,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetGeneratedContent' => [ + 'summary' => '文档管理-查询详情。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '正文:富文本', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContentDomain' => [ + 'title' => '内容生成的领域-media:新闻、government:政务', + 'description' => '', + 'type' => 'string', + 'example' => 'media', + ], + 'ContentText' => [ + 'title' => '正文:纯文本', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'title' => '创建日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-04 11:46:07', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'DeviceId' => [ + 'title' => '设备ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Id' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '86', + ], + 'KeywordList' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Keywords' => [ + 'title' => '关键词(string)', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Prompt' => [ + 'title' => '最后一次生成的提示词', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskId' => [ + 'title' => '会话任务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-04 11:46:07', + ], + 'UpdateUser' => [ + 'title' => '更新者', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Uuid' => [ + 'title' => 'UUID 溯源唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '0961a514-2e26-4aa6-b22b-f592d145fe47', + ], + 'IgnoreContentAuditWords' => [ + 'title' => '审核忽略的单词对象列表', + 'type' => 'string', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"Content\\": \\"杭州亚运会\\",\\n \\"ContentDomain\\": \\"media\\",\\n \\"ContentText\\": \\"杭州亚运会\\",\\n \\"CreateTime\\": \\"2024-01-04 11:46:07\\",\\n \\"CreateUser\\": \\"\\\\\\"1\\\\\\"\\",\\n \\"DeviceId\\": \\"xxx\\",\\n \\"Id\\": 86,\\n \\"KeywordList\\": [\\n \\"观点\\"\\n ],\\n \\"Keywords\\": \\"[\\\\\\\\\\\\\\"教师\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"乡村\\\\\\\\\\\\\\"]\\",\\n \\"Prompt\\": \\"创作xxx文章\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Title\\": \\"杭州亚运会\\",\\n \\"UpdateTime\\": \\"2024-01-04 11:46:07\\",\\n \\"UpdateUser\\": \\"\\\\\\"1\\\\\\"\\",\\n \\"Uuid\\": \\"0961a514-2e26-4aa6-b22b-f592d145fe47\\",\\n \\"IgnoreContentAuditWords\\": \\"\\\\\\"[{}]\\\\\\"\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListGeneratedContents' => [ + 'summary' => '文档管理-列表。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务标识', + 'type' => 'string', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-04 11:46:07', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-04 11:46:07', + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + 'title' => '标题:支持模糊搜索', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索关键词:支持标题和正文模糊搜索', + 'type' => 'string', + ], + ], + [ + 'name' => 'ContentDomain', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'media', + 'default' => 'media', + 'enum' => [ + 'media', + 'government', + ], + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'DataType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '正文:富文本', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContentDomain' => [ + 'title' => '内容生成的领域-media:新闻、government:政务', + 'description' => '', + 'type' => 'string', + 'example' => 'media', + ], + 'ContentText' => [ + 'title' => '正文:纯文本', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'title' => '创建日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-04 11:46:07', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => '123', + ], + 'DeviceId' => [ + 'title' => '设备ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Id' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'KeywordList' => [ + 'title' => '关键词', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Keywords' => [ + 'title' => '关键词(string)', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Prompt' => [ + 'title' => '最后一次生成的提示词', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskId' => [ + 'title' => '会话任务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-04 11:46:07', + ], + 'UpdateUser' => [ + 'title' => '更新者', + 'description' => '', + 'type' => 'string', + 'example' => '1111', + ], + 'Uuid' => [ + 'title' => 'UUID 溯源唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'FileKey' => [ + 'type' => 'string', + ], + 'FileAttr' => [ + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'type' => 'string', + ], + 'Width' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TmpUrl' => [ + 'type' => 'string', + ], + 'Height' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"Content\\": \\"杭州亚运会\\",\\n \\"ContentDomain\\": \\"media\\",\\n \\"ContentText\\": \\"杭州亚运会\\",\\n \\"CreateTime\\": \\"2024-01-04 11:46:07\\",\\n \\"CreateUser\\": \\"\\\\\\"123\\\\\\"\\",\\n \\"DeviceId\\": \\"xxx\\",\\n \\"Id\\": 10,\\n \\"KeywordList\\": [\\n \\"观点\\"\\n ],\\n \\"Keywords\\": \\"观点\\",\\n \\"Prompt\\": \\"创作xxx文章\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Title\\": \\"杭州亚运会\\",\\n \\"UpdateTime\\": \\"2024-01-04 11:46:07\\",\\n \\"UpdateUser\\": \\"\\\\\\"1111\\\\\\"\\",\\n \\"Uuid\\": \\"xxx\\",\\n \\"FileKey\\": \\"oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx\\",\\n \\"FileAttr\\": {\\n \\"FileName\\": \\"homedepothp.txt\\",\\n \\"Width\\": 800,\\n \\"TmpUrl\\": \\"http://www.example.com/xxx.mp4\\",\\n \\"Height\\": 500\\n }\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Size\\": 10,\\n \\"Success\\": true,\\n \\"Total\\": 100\\n}","type":"json"}]', + ], + 'ExportGeneratedContent' => [ + 'summary' => '文档管理-导出。', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": \\"xxx\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SaveMaterialDocument' => [ + 'summary' => '保存素材', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'DocType', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档类型 (html: 网页, plainText: 纯文本, image: 图片, pdf: pdf, word: word, excel: excel, csv: csv, jsonLine: jsonLine)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'excel', + 'enum' => [ + 'html', + 'plainText', + 'image', + 'pdf', + 'word', + 'excel', + 'csv', + 'jsonLine', + ], + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Author', + 'in' => 'formData', + 'schema' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PubTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '发布时间,格式:yyyy-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-04-11 06:14:07', + ], + ], + [ + 'name' => 'DocKeywords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '文档标签用于分类等', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Url', + 'in' => 'formData', + 'schema' => [ + 'title' => '素材的URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxxxx/xxx', + ], + ], + [ + 'name' => 'ExternalUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '外部客户上传的URL,仅用作记录保存', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxxxx/xxx'."\n", + ], + ], + [ + 'name' => 'SrcFrom', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档来源 (UserUpload: 用户上传, IntellijSearch: 智搜, HotViewPoint: 热点视角)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'IntellijSearch', + 'enum' => [ + 'UserUpload', + 'IntellijSearch', + 'HotViewPoint', + ], + ], + ], + [ + 'name' => 'TextContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '解析后的文本内容,对于图片来说为空', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'HtmlContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '带格式的内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ShareAttr', + 'in' => 'formData', + 'schema' => [ + 'title' => '共享属性:0:个人私有,1:业务空间范围内共享', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'enum' => [ + '0', + '1', + ], + ], + ], + [ + 'name' => 'BothSavePrivateAndShare', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否同时将素材保存为私有库与共享库', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Summary', + 'in' => 'formData', + 'schema' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<Long>', + 'description' => 'PlainResult<Long>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": 12,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": false\\n}","type":"json"}]', + ], + 'DeleteMaterialById' => [ + 'summary' => '根据ID删除素材', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cd327c3d5d5e44159cc716e23bfa530e_p_beebot_public', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '返回是否删除成功', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": false,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": false\\n}","type":"json"}]', + ], + 'UpdateMaterialDocument' => [ + 'summary' => '根据ID更新素材', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '67c520d1fa43455ea44fb69fa402d54d_p_beebot_public', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '主键', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '44', + ], + ], + [ + 'name' => 'DocType', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档类型 (html: 网页, plainText: 纯文本, image: 图片, pdf: pdf, word: word, excel: excel, csv: csv, jsonLine: jsonLine)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'image', + 'enum' => [ + 'html', + 'plainText', + 'image', + 'pdf', + 'word', + 'excel', + 'csv', + 'jsonLine', + ], + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Author', + 'in' => 'formData', + 'schema' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PubTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '发布时间,格式:yyyy-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-04-11 06:14:07', + ], + ], + [ + 'name' => 'DocKeywords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '文档标签用于分类等', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Url', + 'in' => 'formData', + 'schema' => [ + 'title' => '素材的URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxxxx/xxx', + ], + ], + [ + 'name' => 'ExternalUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '外部客户上传的URL,仅用作记录保存', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxxxx/xxx', + ], + ], + [ + 'name' => 'SrcFrom', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档来源 (UserUpload: 用户上传, IntellijSearch: 智搜, HotViewPoint: 热点视角)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'UserUpload', + 'enum' => [ + 'UserUpload', + 'IntellijSearch', + 'HotViewPoint', + ], + ], + ], + [ + 'name' => 'TextContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '解析后的文本内容,对于图片来说为空', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'HtmlContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '带格式的内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ShareAttr', + 'in' => 'formData', + 'schema' => [ + 'title' => '共享属性:0:个人私有,1:业务空间范围内共享', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'enum' => [ + '0', + '1', + ], + ], + ], + [ + 'name' => 'Summary', + 'in' => 'formData', + 'schema' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<Long>', + 'description' => 'PlainResult<Long>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '82', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": 82,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": false\\n}","type":"json"}]', + ], + 'GetMaterialById' => [ + 'summary' => '根据ID获取素材内容', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '67c520d1fa43455ea44fb69fa402d54d_p_beebot_public', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '60', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<MaterialDocumentDO>', + 'description' => 'PlainResult<MaterialDocumentDO>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-21 11:34:19', + ], + 'CreateUser' => [ + 'title' => '创建用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'DocKeywords' => [ + 'title' => '文档标签用于分类等、不同keyword之间逗号分割', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'DocType' => [ + 'title' => '文档类型,pdf、word、url、image', + 'description' => '', + 'type' => 'string', + 'example' => 'pdf', + ], + 'ExternalUrl' => [ + 'title' => '外部客户上传的URL,仅用作记录保存', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com'."\n", + ], + 'HtmlContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Id' => [ + 'title' => '主键', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '32', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-11 06:14:07'."\n", + ], + 'PublicUrl' => [ + 'title' => '临时的对外公开的URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com'."\n", + ], + 'ShareAttr' => [ + 'title' => '公开属性,按位存储,第一位表示是否在业务空间内共享、第二位表示是否在租户内共享,第三位表示在系统范围内共享', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'enum' => [ + '0', + '1', + ], + ], + 'SrcFrom' => [ + 'title' => '文档来源,user_upload、search、viewpoint', + 'description' => '', + 'type' => 'string', + 'example' => 'user_upload', + ], + 'Summary' => [ + 'title' => '文档摘要', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TextContent' => [ + 'title' => '解析后的文本内容,对于图片来说为空', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ThumbnailInBase64' => [ + 'title' => '图片文档类型的Base64缩略图', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'title' => '文档标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '2022-04-08 19:33:01', + ], + 'UpdateUser' => [ + 'title' => '修改用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Url' => [ + 'title' => '内部文档保存的URL,支持多协议,http://,file://,ftp://:客户上传时保存到内部存储的URL、长期保存、到期删除', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Data\\": {\\n \\"Author\\": \\"文档作者\\",\\n \\"CreateTime\\": \\"2023-03-21 11:34:19\\",\\n \\"CreateUser\\": \\"1\\",\\n \\"DocKeywords\\": [\\n \\"关键词\\"\\n ],\\n \\"DocType\\": \\"pdf\\",\\n \\"ExternalUrl\\": \\"https://www.example.com\\\\n\\",\\n \\"HtmlContent\\": \\"网页内容\\",\\n \\"Id\\": 32,\\n \\"PubTime\\": \\"2023-04-11 06:14:07\\\\n\\",\\n \\"PublicUrl\\": \\"https://www.example.com\\\\n\\",\\n \\"ShareAttr\\": 1,\\n \\"SrcFrom\\": \\"user_upload\\",\\n \\"Summary\\": \\"文档摘要\\",\\n \\"TextContent\\": \\"文本内容\\",\\n \\"ThumbnailInBase64\\": \\"Base64编码的缩略图\\",\\n \\"Title\\": \\"文档标题\\",\\n \\"UpdateTime\\": \\"2022-04-08 19:33:01\\",\\n \\"UpdateUser\\": \\"1\\",\\n \\"Url\\": \\"https://www.example.com\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": false\\n}","type":"json"}]', + ], + 'ListMaterialDocuments' => [ + 'summary' => '查询素材列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '33a2658aaabf4c24b45d50e575125311_p_beebot_public', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '支持对 title、content、content的综合查询', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '素材主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '69', + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '根据素材标题全文检索', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'DocType', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档类型 (html: 网页, plainText: 纯文本, image: 图片, pdf: pdf, word: word, excel: excel, csv: csv, jsonLine: jsonLine)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'jsonLine', + 'enum' => [ + 'html', + 'plainText', + 'image', + 'pdf', + 'word', + 'excel', + 'csv', + 'jsonLine', + ], + ], + ], + [ + 'name' => 'DocTypeList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '文档类型列表 (html: 网页, plainText: 纯文本, image: 图片, pdf: pdf, word: word, excel: excel, csv: csv, jsonLine: jsonLine)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'html', + 'enum' => [ + 'html', + 'plainText', + 'image', + 'pdf', + 'word', + 'excel', + 'csv', + 'jsonLine', + ], + ], + 'required' => false, + 'example' => 'excel', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档内容全文检索', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ShareAttr', + 'in' => 'formData', + 'schema' => [ + 'title' => '共享属性:0:个人私有,1:业务空间范围内共享', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'enum' => [ + '0', + '1', + ], + ], + ], + [ + 'name' => 'Keywords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '文档关键词', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'CreateTimeStart', + 'in' => 'formData', + 'schema' => [ + 'title' => '创建时间-开始范围,格式:yyyy-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-02-19 07:28:11', + ], + ], + [ + 'name' => 'CreateTimeEnd', + 'in' => 'formData', + 'schema' => [ + 'title' => '创建时间-结束范围,格式:yyyy-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-18 02:00:00', + ], + ], + [ + 'name' => 'UpdateTimeStart', + 'in' => 'formData', + 'schema' => [ + 'title' => '更新时间-开始范围,格式:yyyy-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-18 02:00:00'."\n", + ], + ], + [ + 'name' => 'UpdateTimeEnd', + 'in' => 'formData', + 'schema' => [ + 'title' => '更新时间-结束范围,格式:yyyy-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-18 03:00:00'."\n", + ], + ], + [ + 'name' => 'GeneratePublicUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否生成文件公共URL', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '返回分页后的素材列表', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-18 02:00:00'."\n", + ], + 'CreateUser' => [ + 'title' => '创建用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'CreateUserName' => [ + 'title' => '创建用户姓名', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DocKeywords' => [ + 'title' => '文档标签用于分类等、不同keyword之间逗号分割', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'DocType' => [ + 'title' => '文档类型,pdf、word、url、image', + 'description' => '', + 'type' => 'string', + 'example' => 'pdf', + ], + 'ExternalUrl' => [ + 'title' => '外部客户上传的URL,仅用作记录保存', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com'."\n", + ], + 'HtmlContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Id' => [ + 'title' => '主键', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '35', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-18 02:00:00'."\n", + ], + 'PublicUrl' => [ + 'title' => '临时的对外公开的URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com'."\n", + ], + 'ShareAttr' => [ + 'title' => '公开属性,按位存储,第一位表示是否在业务空间内共享、第二位表示是否在租户内共享,第三位表示在系统范围内共享', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'enum' => [ + '0', + '1', + ], + ], + 'SrcFrom' => [ + 'title' => '文档来源,user_upload、search、viewpoint', + 'description' => '', + 'type' => 'string', + 'example' => 'user_upload', + ], + 'Summary' => [ + 'title' => '文档摘要', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TextContent' => [ + 'title' => '解析后的文本内容,对于图片来说为空', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ThumbnailInBase64' => [ + 'title' => '图片文档类型的Base64缩略图', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'title' => '文档标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-18 02:00:00'."\n", + ], + 'UpdateUser' => [ + 'title' => '修改用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'UpdateUserName' => [ + 'title' => '修改用户姓名', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'title' => '内部文档保存的URL,支持多协议,http://,file://,ftp://:客户上传时保存到内部存储的URL、长期保存、到期删除', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com', + ], + 'FileKey' => [ + 'type' => 'string', + ], + 'FileAttr' => [ + 'type' => 'object', + 'properties' => [ + 'Duration' => [ + 'type' => 'number', + 'format' => 'double', + ], + 'FileName' => [ + 'type' => 'string', + ], + 'Width' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MimeType' => [ + 'type' => 'string', + ], + 'FileLength' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'Height' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"Author\\": \\"作者\\\\n\\\\n\\",\\n \\"CreateTime\\": \\"2023-03-18 02:00:00\\\\n\\",\\n \\"CreateUser\\": \\"\\\\\\"1\\\\\\"\\",\\n \\"CreateUserName\\": \\"创建用户名\\",\\n \\"DocKeywords\\": [\\n \\"关键词\\"\\n ],\\n \\"DocType\\": \\"pdf\\",\\n \\"ExternalUrl\\": \\"https://www.example.com\\\\n\\",\\n \\"HtmlContent\\": \\"网页内容\\",\\n \\"Id\\": 35,\\n \\"PubTime\\": \\"2023-03-18 02:00:00\\\\n\\",\\n \\"PublicUrl\\": \\"https://www.example.com\\\\n\\",\\n \\"ShareAttr\\": 1,\\n \\"SrcFrom\\": \\"user_upload\\",\\n \\"Summary\\": \\"摘要\\",\\n \\"TextContent\\": \\"文档内容\\",\\n \\"ThumbnailInBase64\\": \\"base64编码的图像二进制数据\\",\\n \\"Title\\": \\"文档标题\\\\n\\\\n\\",\\n \\"UpdateTime\\": \\"2023-03-18 02:00:00\\\\n\\",\\n \\"UpdateUser\\": \\"\\\\\\"1\\\\\\"\\",\\n \\"UpdateUserName\\": \\"更新用户名\\",\\n \\"Url\\": \\"https://www.example.com\\",\\n \\"FileKey\\": \\"oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx\\",\\n \\"FileAttr\\": {\\n \\"Duration\\": 120,\\n \\"FileName\\": \\"xxx.mp4\\",\\n \\"Width\\": 100,\\n \\"MimeType\\": \\"image/png\\",\\n \\"FileLength\\": 1048576,\\n \\"Height\\": 1024\\n }\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"数据不存在\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Size\\": 10,\\n \\"Success\\": false,\\n \\"Total\\": 100\\n}","type":"json"}]', + ], + 'GetCustomText' => [ + 'summary' => '获取自定义文本', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '63', + ], + ], + [ + 'name' => 'CommodityCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '商品code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '商品code', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '内容', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '创建时间', + ], + 'CreateUser' => [ + 'title' => '创建用户', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户', + ], + 'Id' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '修改时间', + ], + 'UpdateUser' => [ + 'title' => '修改用户', + 'description' => '', + 'type' => 'string', + 'example' => '修改用户', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"Content\\": \\"内容\\",\\n \\"CreateTime\\": \\"创建时间\\",\\n \\"CreateUser\\": \\"创建用户\\",\\n \\"Id\\": 34,\\n \\"Title\\": \\"标题\\",\\n \\"UpdateTime\\": \\"修改时间\\",\\n \\"UpdateUser\\": \\"修改用户\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UpdateCustomText' => [ + 'summary' => '更新自定义文本', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '96', + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '标题', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '内容', + ], + ], + [ + 'name' => 'CommodityCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '商品code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '商品code', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '48', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Data\\": 48\\n}","type":"json"}]', + ], + 'ListCustomText' => [ + 'summary' => '自定义文本列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'CommodityCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '商品code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '商品code', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '内容', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '创建时间', + ], + 'CreateUser' => [ + 'title' => '创建用户', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户', + ], + 'Id' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '40', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '修改时间', + ], + 'UpdateUser' => [ + 'title' => '修改用户', + 'description' => '', + 'type' => 'string', + 'example' => '修改用户', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"Content\\": \\"内容\\",\\n \\"CreateTime\\": \\"创建时间\\",\\n \\"CreateUser\\": \\"创建用户\\",\\n \\"Id\\": 40,\\n \\"Title\\": \\"标题\\",\\n \\"UpdateTime\\": \\"修改时间\\",\\n \\"UpdateUser\\": \\"修改用户\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SaveCustomText' => [ + 'summary' => '保存自定义文本', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '标题', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '内容', + ], + ], + [ + 'name' => 'CommodityCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '商品code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '商品code', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '5', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": 5,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteCustomText' => [ + 'summary' => '删除自定义文本', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '85', + ], + ], + [ + 'name' => 'CommodityCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '商品Code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DocumentExtraction' => [ + 'summary' => '从链接中提取文档内容', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Urls', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '待提取的链接列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => 'URL链接', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://www.example.com/', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '8df2d69d63a247b6b52ff455b2d426b6', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-05-14 08:54:33', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocId\\": \\"文档-自定义的唯一ID\\",\\n \\"DocUuid\\": \\"8df2d69d63a247b6b52ff455b2d426b6\\",\\n \\"PubTime\\": \\"2024-05-14 08:54:33\\",\\n \\"Source\\": \\"新闻来源\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tag\\": \\"文章标签\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetClipsBuildInResource' => [ + 'summary' => '获得智能混剪内置资源', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-az2gglkjauwnnhpq', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + 'ResourceList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"ResourceType\\": 0,\\n \\"ResourceList\\": [\\n \\"轻快\\"\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AsyncCreateClipsTimeLine' => [ + 'summary' => '智能剪辑timeline', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + ], + ], + [ + 'name' => 'ProcessPrompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'CustomContent', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'NoRefVideo', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'AdditionalContent', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AsyncEditTimeline' => [ + 'summary' => '编辑剪辑任务的timeline', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '0dbf1055f8a2475d99904c3b76a0ffba', + ], + ], + [ + 'name' => 'Timelines', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Clips' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OutEx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'ClipId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'VideoId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'VideoName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'In' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + 'ContentInner' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'InEx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'Out' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + 'TimelineId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-az2gglkjauwnnhpq', + ], + ], + [ + 'name' => 'AutoClips', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '51e4efd1908242eb93ca9bbb7fc4359d', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'HttpStatusCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"51e4efd1908242eb93ca9bbb7fc4359d\\",\\n \\"Message\\": \\"一些建议信息\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'AsyncUploadVideo' => [ + 'summary' => '上传剪辑素材', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'SourceVideos', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VideoName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '123.mp4', + 'title' => '视频名称'."\n", + ], + 'VideoUrl' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'http://123.mp4'."\n" + .'目前该接口只进行视频理解额和分析,并没有对文件进行转存。请保证视频地址在任务执行期间有效。', + 'title' => '视频地址。', + ], + 'VideoExtraInfo' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '视频中有一个房子', + 'title' => '视频额外描述', + ], + ], + 'required' => false, + 'title' => '剪辑素材结构', + ], + 'required' => true, + 'title' => '剪辑素材结构', + ], + ], + [ + 'name' => 'AnlysisPrompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '重点理解视频中的风景信息', + 'title' => '视频理解prompt', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxxx', + 'title' => '[百炼工作空间Id](~~2782167~~)', + ], + ], + [ + 'name' => 'ReferenceVideo', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '参考视频信息', + 'type' => 'object', + 'properties' => [ + 'VideoName' => [ + 'title' => '参考视频名字', + 'type' => 'string', + 'example' => 'refvideo.mp4', + ], + 'VideoUrl' => [ + 'title' => '视频地址。', + 'type' => 'string', + 'example' => 'http://viapi-customer-pop.oss-cn-shanghai.aliyuncs.com/d71e_208334498220521996_51298e0a909d457693166eb883768c7a', + ], + 'VideoExtraInfo' => [ + 'title' => '视频理解附加信息', + 'type' => 'string', + 'example' => '手机cpu采用3纳米技术', + ], + ], + ], + ], + [ + 'name' => 'SplitInterval', + 'in' => 'formData', + 'schema' => [ + 'title' => '视频理解镜头时间间隔', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '默认1', + ], + ], + [ + 'name' => 'VideoRoles', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '角色人脸信息', + 'type' => 'array', + 'items' => [ + 'title' => '角色名字', + 'type' => 'object', + 'properties' => [ + 'RoleName' => [ + 'title' => '角色名字', + 'type' => 'string', + 'example' => '李晓明', + ], + 'RoleInfo' => [ + 'title' => '角色信息', + 'type' => 'string', + 'example' => '李晓明是一位警察', + ], + 'RoleUrls' => [ + 'title' => '角色照片地址', + 'type' => 'array', + 'items' => [ + 'title' => '角色图片文件信息', + 'type' => 'object', + 'properties' => [ + 'RoleFileName' => [ + 'title' => '角色面部图片文件名字', + 'type' => 'string', + 'example' => '王小明.jpeg', + ], + 'RoleFileUrl' => [ + 'title' => '角色面部图片公网地址', + 'type' => 'string', + 'example' => 'http://xxx/xxx.jpeg', + ], + ], + ], + ], + ], + ], + ], + ], + [ + 'name' => 'FaceIdentitySimilarityMinScore', + 'in' => 'formData', + 'schema' => [ + 'title' => '人物识别相似度阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.7', + ], + ], + [ + 'name' => 'VideoShotFaceIdentityCount', + 'in' => 'formData', + 'schema' => [ + 'title' => '人物匹配时,单镜头(分镜),参与匹配的抽帧(图片)数量', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + [ + 'name' => 'RemoveSubtitle', + 'in' => 'formData', + 'schema' => [ + 'title' => '去除素材字幕', + 'type' => 'boolean', + ], + ], + [ + 'name' => 'TaskName', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务名称精确查询', + 'type' => 'string', + 'example' => 'task001', + ], + ], + [ + 'name' => 'TaskType', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务类型:lightAppSass(Sass页调用)、sdkBatchTask(SDK批量调用任务)', + 'type' => 'string', + 'example' => 'type001', + ], + ], + [ + 'name' => 'AdaptiveThreshold', + 'in' => 'formData', + 'schema' => [ + 'title' => '分镜阈值,越小分镜越敏感,取值 1·10,默认是 3', + 'type' => 'number', + 'format' => 'float', + 'example' => '3', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '94512A33-8EC1-5452-A793-5C91F18ED2F0', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + 'title' => '请求返回Code', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + 'title' => '任务ID', + ], + 'VideoInfos' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VideoId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '60616fad41b171f0bb4b4531948c0102', + 'title' => '视频Id', + ], + 'VideoName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123.mp4', + 'title' => '视频名称'."\n", + ], + 'VideoUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://123.mp4', + 'title' => '视频URL', + ], + 'VideoExtraInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '视频中有一个房子', + 'title' => '视频额外信息', + ], + ], + 'title' => '视频信息', + ], + 'title' => '视频信息', + ], + ], + 'title' => '业务数据', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"94512A33-8EC1-5452-A793-5C91F18ED2F0\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"VideoInfos\\": [\\n {\\n \\"VideoId\\": \\"60616fad41b171f0bb4b4531948c0102\\",\\n \\"VideoName\\": \\"123.mp4\\",\\n \\"VideoUrl\\": \\"http://123.mp4\\",\\n \\"VideoExtraInfo\\": \\"视频中有一个房子\\"\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetAutoClipsTaskInfo' => [ + 'summary' => '获得剪辑任务状态', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '0dbf1055f8a2475d99904c3b76a0ffba', + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'ShowResourceInfo', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'ShowAnalysisResults', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'e5a1a59c82d0454fad6454e8a04d0093', + ], + 'Step' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'clips', + ], + 'Status' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Timelines' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TimelineId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20774ebd9abc71ef80486632b68f0102', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Clips' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ClipId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20774ebd9abc71ef80486632b68f0102'."\n", + ], + 'VideoName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123.mp4', + ], + 'VideoId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20774ebd9abc71ef80486632b68f0102', + ], + 'In' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Out' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'ContentInner' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InEx' => [ + 'type' => 'number', + 'format' => 'float', + ], + 'OutEx' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + ], + ], + 'VoiceStyle' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MusicStyle' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'MusicUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://music.mp4', + ], + 'MusicVolume' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'VoiceVolume' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'SubtitleFontSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'OutputVideoUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://output.mp4', + ], + 'MediaCloudTimeline' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ColorWords' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TimelineIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'TimelineOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'X' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.2', + ], + 'Y' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.5', + ], + 'FontSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'EffectColorStyle' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CS0002-000008', + ], + ], + ], + ], + 'ErrorMessage' => [ + 'type' => 'string', + ], + 'CloseVoice' => [ + 'title' => '关闭口播', + 'type' => 'boolean', + ], + 'CloseSubtitle' => [ + 'title' => '关闭字幕', + 'type' => 'boolean', + ], + 'CloseMusic' => [ + 'title' => '关闭音乐', + 'type' => 'boolean', + ], + 'CustomVoiceUrl' => [ + 'title' => '自定义声道文件地址', + 'type' => 'string', + 'example' => 'http://xxx/xxx.mp4', + ], + 'CustomVoiceVolume' => [ + 'title' => '自定义声道音量', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Stickers' => [ + 'title' => '贴纸数组', + 'type' => 'array', + 'items' => [ + 'title' => '贴纸结构', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => '贴纸gif文件地址', + 'type' => 'string', + 'example' => 'http://xxx/xxx.gif', + ], + 'TimelineIn' => [ + 'title' => '贴纸开始时间(秒)', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Duration' => [ + 'title' => '贴纸出现时长', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'X' => [ + 'title' => '贴纸出现位置横坐标', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'Y' => [ + 'title' => '贴纸出现位置纵坐标', + 'type' => 'number', + 'format' => 'float', + 'example' => '100', + ], + 'Width' => [ + 'title' => '贴纸宽度', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Height' => [ + 'title' => '贴纸高度', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'DyncFrames' => [ + 'title' => '贴纸高度', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + ], + ], + ], + 'CustomVoiceStyle' => [ + 'type' => 'string', + ], + 'OutputVideoFileKey' => [ + 'type' => 'string', + ], + 'OpeningCreditsUrl' => [ + 'type' => 'string', + ], + 'ClosingCreditsUrl' => [ + 'type' => 'string', + ], + 'SourceVideos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VideoId' => [ + 'type' => 'string', + ], + 'VideoName' => [ + 'type' => 'string', + ], + 'VideoUrl' => [ + 'type' => 'string', + ], + ], + ], + ], + 'ReferenceVideo' => [ + 'type' => 'object', + 'properties' => [ + 'VideoId' => [ + 'type' => 'string', + ], + 'VideoName' => [ + 'type' => 'string', + ], + 'VideoUrl' => [ + 'type' => 'string', + ], + ], + ], + 'AnalysisResults' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'type' => 'string', + ], + 'MediaName' => [ + 'type' => 'string', + ], + 'MediaUrl' => [ + 'type' => 'string', + ], + 'LensInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'type' => 'object', + 'properties' => [ + 'Hour' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Minute' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Second' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MillSecond' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'EndTime' => [ + 'type' => 'object', + 'properties' => [ + 'Hour' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Minute' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Second' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MillSecond' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'AnalysisContent' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => '', + 'type' => 'integer', + 'format' => 'int32', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"e5a1a59c82d0454fad6454e8a04d0093\\",\\n \\"Step\\": \\"clips\\",\\n \\"Status\\": 0,\\n \\"Content\\": \\"口播内容\\",\\n \\"Timelines\\": [\\n {\\n \\"TimelineId\\": \\"20774ebd9abc71ef80486632b68f0102\\",\\n \\"Content\\": \\"口播内容\\",\\n \\"Clips\\": [\\n {\\n \\"ClipId\\": \\"20774ebd9abc71ef80486632b68f0102\\\\n\\",\\n \\"VideoName\\": \\"123.mp4\\",\\n \\"VideoId\\": \\"20774ebd9abc71ef80486632b68f0102\\",\\n \\"In\\": 0,\\n \\"Out\\": 5,\\n \\"ContentInner\\": \\"口播分段内容\\",\\n \\"InEx\\": 0.33,\\n \\"OutEx\\": 3.45\\n }\\n ]\\n }\\n ],\\n \\"VoiceStyle\\": \\"温柔女声\\",\\n \\"MusicStyle\\": \\"国风\\",\\n \\"MusicUrl\\": \\"http://music.mp4\\",\\n \\"MusicVolume\\": 5,\\n \\"VoiceVolume\\": 5,\\n \\"SubtitleFontSize\\": 5,\\n \\"OutputVideoUrl\\": \\"http://output.mp4\\",\\n \\"MediaCloudTimeline\\": \\"视频云格式timeline\\",\\n \\"ColorWords\\": [\\n {\\n \\"Content\\": \\"花字内容\\",\\n \\"TimelineIn\\": 0,\\n \\"TimelineOut\\": 5,\\n \\"X\\": 0.2,\\n \\"Y\\": 0.5,\\n \\"FontSize\\": 5,\\n \\"EffectColorStyle\\": \\"CS0002-000008\\"\\n }\\n ],\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"CloseVoice\\": true,\\n \\"CloseSubtitle\\": true,\\n \\"CloseMusic\\": true,\\n \\"CustomVoiceUrl\\": \\"http://xxx/xxx.mp4\\",\\n \\"CustomVoiceVolume\\": 0,\\n \\"Stickers\\": [\\n {\\n \\"Url\\": \\"http://xxx/xxx.gif\\",\\n \\"TimelineIn\\": 10,\\n \\"Duration\\": 10,\\n \\"X\\": 100,\\n \\"Y\\": 100,\\n \\"Width\\": 200,\\n \\"Height\\": 200,\\n \\"DyncFrames\\": 8\\n }\\n ],\\n \\"CustomVoiceStyle\\": \\"longxian_normal\\",\\n \\"OutputVideoFileKey\\": \\"oss://xxx/xxx.mp4\\",\\n \\"OpeningCreditsUrl\\": \\"http://xxx/xxx.mp4\\",\\n \\"ClosingCreditsUrl\\": \\"http://xxx/xxx.mp4\\",\\n \\"SourceVideos\\": [\\n {\\n \\"VideoId\\": \\"fdaswe\\",\\n \\"VideoName\\": \\"video001.mp4\\",\\n \\"VideoUrl\\": \\"http://xxx/xxx.mp4\\"\\n }\\n ],\\n \\"ReferenceVideo\\": {\\n \\"VideoId\\": \\"90ca686b11c371f08339752281ed0102\\",\\n \\"VideoName\\": \\"video001.mp4\\",\\n \\"VideoUrl\\": \\"http://xxx/xxx.mp4\\"\\n },\\n \\"AnalysisResults\\": [\\n {\\n \\"MediaId\\": \\"975e1d91a8d057e132cc5d88e4d5b360\\",\\n \\"MediaName\\": \\"video001.mp4\\",\\n \\"MediaUrl\\": \\"http://xxx/xxx.mp4\\",\\n \\"LensInfos\\": [\\n {\\n \\"StartTime\\": {\\n \\"Hour\\": 2,\\n \\"Minute\\": 1,\\n \\"Second\\": 30,\\n \\"MillSecond\\": 100\\n },\\n \\"EndTime\\": {\\n \\"Hour\\": 2,\\n \\"Minute\\": 1,\\n \\"Second\\": 30,\\n \\"MillSecond\\": 100\\n },\\n \\"AnalysisContent\\": \\"视频理解内容\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'GetAutoClipsTaskInfo', + ], + 'AsyncCreateClipsTask' => [ + 'summary' => '生成剪辑视频任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '17a299a9-f223-4707-b0dd-4c22519bddf5', + ], + ], + [ + 'name' => 'VoiceStyle', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'MusicUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://music.mp4', + ], + ], + [ + 'name' => 'ColorWords', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'TimelineIn' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + 'TimelineOut' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '5', + ], + 'X' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '0.2', + ], + 'Y' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '0.5', + ], + 'FontSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + 'EffectColorStyle' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-ipe7d81yq4sl5jmk', + ], + ], + [ + 'name' => 'VoiceVolume', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'MusicVolume', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SubtitleFontSize', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Height', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1920', + ], + ], + [ + 'name' => 'Width', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1080', + ], + ], + [ + 'name' => 'CloseVoice', + 'in' => 'formData', + 'schema' => [ + 'title' => '关闭口播', + 'type' => 'boolean', + ], + ], + [ + 'name' => 'CloseMusic', + 'in' => 'formData', + 'schema' => [ + 'title' => '关闭背景音乐', + 'type' => 'boolean', + ], + ], + [ + 'name' => 'CloseSubtitle', + 'in' => 'formData', + 'schema' => [ + 'title' => '关闭字幕', + 'type' => 'boolean', + ], + ], + [ + 'name' => 'CustomVoiceUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义声道语音地址', + 'type' => 'string', + 'example' => 'http://xxx/xxx.mp4', + ], + ], + [ + 'name' => 'CustomVoiceVolume', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义声道音量', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + ], + [ + 'name' => 'Stickers', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '贴纸结构数组', + 'type' => 'array', + 'items' => [ + 'title' => '贴纸数组元素', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => 'gif文件公网地址', + 'type' => 'string', + 'example' => 'http://xxx/xxx.gif', + ], + 'TimelineIn' => [ + 'title' => '贴纸开始时间(妙)', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'Duration' => [ + 'title' => '贴纸显示时间(秒)', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'X' => [ + 'title' => '贴纸位置x坐标', + 'type' => 'number', + 'format' => 'float', + 'example' => '200', + ], + 'Y' => [ + 'title' => '贴纸位置y坐标', + 'type' => 'number', + 'format' => 'float', + 'example' => '200', + ], + 'Width' => [ + 'title' => '贴纸宽度', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'Height' => [ + 'title' => '贴纸高度', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'DyncFrames' => [ + 'title' => 'gif文件动态帧数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + ], + ], + ], + ], + [ + 'name' => 'CustomVoiceStyle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CosyVoiceAppKey', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CosyVoiceToken', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'MusicStyle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'OpeningCreditsUrl', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ClosingCreditsUrl', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'HighDefSourceVideos', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'VideoId' => [ + 'type' => 'string', + ], + 'VideoName' => [ + 'type' => 'string', + ], + 'VideoUrl' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Message' => [ + 'type' => 'string', + ], + 'Success' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListAutoClipsTask' => [ + 'summary' => '列出智能混剪任务列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'TaskName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'task001', + ], + ], + [ + 'name' => 'TaskType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'type001', + ], + ], + [ + 'name' => 'TaskStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'CreateTimeStart', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-02-19 07:28:11', + ], + ], + [ + 'name' => 'CreateTimeEnd', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-18 02:00:00', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'null', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'null', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'null', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'type001', + ], + 'TaskStatus' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'TaskStep' => [ + 'description' => 'upload', + 'type' => 'string', + 'example' => 'upload'."\n" + .'clips'."\n" + .'generate', + ], + 'CreateTimeStart' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-18 02:00:00'."\n", + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": true,\\n \\"MaxResults\\": 0,\\n \\"NextToken\\": \\"null\\",\\n \\"TotalCount\\": 0,\\n \\"Current\\": 1,\\n \\"Size\\": 10,\\n \\"Total\\": 20,\\n \\"Data\\": [\\n {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskName\\": \\"任务名称\\",\\n \\"TaskType\\": \\"type001\\",\\n \\"TaskStatus\\": 0,\\n \\"TaskStep\\": \\"upload\\\\nclips\\\\ngenerate\\",\\n \\"CreateTimeStart\\": \\"2023-03-18 02:00:00\\\\n\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'SubmitCustomSourceTopicAnalysis' => [ + 'summary' => '从自定义数据源提交选题热点分析', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件URL(FileUrl与News二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://www.example.com/xxx.json', + ], + ], + [ + 'name' => 'FileType', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'json', + ], + ], + [ + 'name' => 'MaxTopicSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大分析的话题数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '50', + ], + ], + [ + 'name' => 'News', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '新闻列表(FileUrl与News二选一)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '新闻对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '新闻标题 ', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Content' => [ + 'title' => '新闻正文', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Url' => [ + 'title' => '新闻URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://www.example.com/xxx.html'."\n", + ], + 'Comments' => [ + 'title' => '评论列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '评论对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '评论内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'PubTime' => [ + 'title' => '发布时间(格式为: YYYY-MM-dd HH:mm:ss)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-22 10:29:00', + ], + 'Source' => [ + 'title' => '新闻来源', + 'type' => 'string', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'AnalysisTypes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '选题热点要分析的类型(多选,不传默认分析全部。 传空数组,默认不做选题热点分析,仅聚类。)'."\n" + .'HotViewPoints: 热门选题视角分析'."\n" + .'WebReviewPoints: 网友选题视角分析(需要有评论)'."\n" + .'TimedViewPoints:时效性选题视角分析'."\n" + .'FreshViewPoints:新颖视角分析'."\n" + .'TopicSummary:新闻摘要分析'."\n", + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Topics', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '话题列表', + 'type' => 'array', + 'items' => [ + 'title' => '话题对象', + 'type' => 'object', + 'properties' => [ + 'Topic' => [ + 'title' => '话题名称', + 'type' => 'string', + 'example' => '话题名称', + ], + 'News' => [ + 'title' => '新闻列表', + 'type' => 'array', + 'items' => [ + 'title' => '新闻对象', + '$ref' => '#/components/schemas/HottopicNews', + ], + ], + ], + ], + ], + ], + [ + 'name' => 'TopicsFileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '话题列表URL(使用 json line 格式,每行是一个json)', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.jsonline', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskName' => [ + 'title' => '任务名称', + 'description' => '', + 'type' => 'string', + 'example' => '任务名称', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskName\\": \\"任务名称\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetCustomSourceTopicAnalysisTask' => [ + 'summary' => '获取自定义数据源-选题视角分析任务结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c9f226b02cca4f42a84c5e955c39dfd2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + 'ParsedNewsSize' => [ + 'title' => '解析后的新闻数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'ClusterCount' => [ + 'title' => '聚类后的文档数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'MaxClusteredTopicNewsSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'ClusterResults' => [ + 'title' => '新闻聚合结果列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '聚合结果对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ClusterNews' => [ + 'title' => '聚合新闻列表(不包含正文)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '新闻对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '新闻标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'title' => '新闻Url', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.html', + ], + ], + ], + ], + 'Topic' => [ + 'title' => '聚合话题名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'usages' => [ + 'title' => 'token使用情况。可能使用到的付费项为:'."\n" + .'quanmiaoMax、quanmiaoPlus', + 'type' => 'object', + 'additionalProperties' => [ + 'title' => 'token使用数量', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + 'rt' => [ + 'title' => '总运行时长,单位毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Status\\": \\"SUCCESSED\\",\\n \\"ParsedNewsSize\\": 10,\\n \\"ClusterCount\\": 5,\\n \\"MaxClusteredTopicNewsSize\\": 8,\\n \\"ClusterResults\\": [\\n {\\n \\"ClusterNews\\": [\\n {\\n \\"Title\\": \\"新闻标题\\\\n\\\\n\\",\\n \\"Url\\": \\"http://www.example.com/xxx.html\\"\\n }\\n ],\\n \\"Topic\\": \\"话题名称\\"\\n }\\n ],\\n \\"usages\\": {\\n \\"key\\": 200\\n },\\n \\"rt\\": 1000\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ExportCustomSourceAnalysisTask' => [ + 'summary' => '导出-自定义数据源-选题视角分析任务结果', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c9f226b02cca4f42a84c5e955c39dfd2', + ], + ], + [ + 'name' => 'ExportType', + 'in' => 'formData', + 'schema' => [ + 'title' => '导出格式类型,默认 jsonLine'."\n" + .'jsonline: 导出为jsonLine格式'."\n" + .'excel:导出为excel格式', + 'type' => 'string', + 'example' => 'jsonLine', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '可公网访问的URL', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.jsonLine'."\n", + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": \\"http://www.example.com/xxx.jsonLine\\\\n\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListDocumentRetrieve' => [ + 'summary' => '公文检索', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '94', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cEoBWREAXdxaOyjq/cqAbg==', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索条件', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '检索Query', + ], + ], + [ + 'name' => 'ContentType', + 'in' => 'formData', + 'schema' => [ + 'title' => '文章体裁,0(null):全部(默认值), 1:公文,2:重要文章 5:政策解读 6:法律条文 7:规章法规 8:总书记', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'SubContentType', + 'in' => 'formData', + 'schema' => [ + 'title' => ' * 文章体裁二级分类,文章体裁为总书记时:1:动态 2:讲话 3:思想 4:理论'."\n" + .' * 文章体裁为公文时:-1: 其他 0:决议 1:决定 2:令 3:公报 4:公告 5:通告 6:意见 7:通知 8:通报 9:报告 10:请示 11:批复 12: 议案 13:函'."\n" + .' * 14: 纪要'."\n" + .' * 文章体裁为重要文章时:1:重要评论 2:重要理论 3:其他文章'."\n" + .' * 文章体裁为规章法规时:3:行政法规 4:监察法规 5:地方性法规 7:部门规章 8:其他 9:党章党规'."\n" + .' * 文章体裁为法律条文时:1:宪法 2:法律 6:司法解释', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'title' => '区域 可直接输入 省 或者市 如吉林省 或者北京市', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '北京市', + ], + ], + [ + 'name' => 'Source', + 'in' => 'formData', + 'schema' => [ + 'title' => '来源,0:内部(本单位) 1:外部(外单位)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'StartDate', + 'in' => 'formData', + 'schema' => [ + 'title' => '发文起始时间,yyyy-MM-dd', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2025-10-10', + ], + ], + [ + 'name' => 'EndDate', + 'in' => 'formData', + 'schema' => [ + 'title' => '发文结束时间,yyyy-MM-dd', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2025-07-03', + ], + ], + [ + 'name' => 'Office', + 'in' => 'formData', + 'schema' => [ + 'title' => '发文单位', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '国务院办公室', + ], + ], + [ + 'name' => 'WordSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '发文字号', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '宁民规〔2020〕5号', + ], + ], + [ + 'name' => 'ElementScope', + 'in' => 'formData', + 'schema' => [ + 'title' => '检索要素范围,1:标题 0:全文(标题和内容),默认', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'SubjectClassify', + 'in' => 'formData', + 'schema' => [ + 'title' => '支持如下分类'."\n" + ."\n" + .'一级分类 二级分类'."\n" + .'国防和交流合作事务 国防'."\n" + .'国防和交流合作事务 对外事务'."\n" + .'国防和交流合作事务 军事工作'."\n" + .'国防和交流合作事务 港澳台侨工作'."\n" + .'综合政务 二十大'."\n" + .'综合政务 政务公开与督查'."\n" + .'综合政务 联合政务'."\n" + .'综合政务 党建工作'."\n" + .'综合政务 会议及提案'."\n" + .'综合政务 政务文件管理'."\n" + .'综合政务 其他政务'."\n" + .'国务院组织机构 国务院'."\n" + .'国务院组织机构 国务院办公厅'."\n" + .'国务院组织机构 国务院机构'."\n" + .'行政监管与市场监管 行政监管'."\n" + .'行政监管与市场监管 信用监管'."\n" + .'行政监管与市场监管 产品质量监督'."\n" + .'行政监管与市场监管 安全生产监管'."\n" + .'行政监管与市场监管 市场监管'."\n" + .'经济管理 国民经济'."\n" + .'经济管理 市场经济'."\n" + .'经济管理 经济体制改革'."\n" + .'经济管理 国有资产监管'."\n" + .'财政金融商贸 财政'."\n" + .'财政金融商贸 金融'."\n" + .'财政金融商贸 审计'."\n" + .'财政金融商贸 商贸'."\n" + .'财政金融商贸 海关'."\n" + .'人事工作与社会保障 人事工作'."\n" + .'人事工作与社会保障 人口与计划生育'."\n" + .'人事工作与社会保障 妇女儿童工作'."\n" + .'人事工作与社会保障 扶贫'."\n" + .'人事工作与社会保障 减灾救灾'."\n" + .'人事工作与社会保障 公共服务'."\n" + .'人事工作与社会保障 社会福利与救助'."\n" + .'人事工作与社会保障 优抚安置'."\n" + .'人事工作与社会保障 社会保障'."\n" + .'公共安全与社会管理 公安'."\n" + .'公共安全与社会管理 安全'."\n" + .'公共安全与社会管理 司法'."\n" + .'公共安全与社会管理 消防'."\n" + .'公共安全与社会管理 民族'."\n" + .'公共安全与社会管理 宗教'."\n" + .'科教文体 文化'."\n" + .'科教文体 科技创新'."\n" + .'科教文体 教育'."\n" + .'科教文体 知识产权'."\n" + .'科教文体 新闻出版'."\n" + .'科教文体 广电与互联网'."\n" + .'科教文体 体育'."\n" + .'科教文体 旅游'."\n" + .'医疗卫生 卫生'."\n" + .'医疗卫生 医疗'."\n" + .'医疗卫生 动物医学'."\n" + .'城乡建设与工业发展 城乡建设'."\n" + .'城乡建设与工业发展 工业'."\n" + .'城乡建设与工业发展 交通'."\n" + .'自然资源与环境保护 国土资源、能源'."\n" + .'自然资源与环境保护 土木'."\n" + .'自然资源与环境保护 气象'."\n" + .'自然资源与环境保护 环境保护'."\n" + .'农林水渔牧类 农业'."\n" + .'农林水渔牧类 林业'."\n" + .'农林水渔牧类 水利'."\n" + .'农林水渔牧类 渔业'."\n" + .'农林水渔牧类 畜牧业'."\n" + .'其他 其他'."\n", + 'type' => 'string', + 'example' => '国防和交流合作事务', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Essay' => [ + 'title' => '正文', + 'description' => '', + 'type' => 'string', + 'example' => '文章正文', + ], + 'Link' => [ + 'title' => '链接', + 'description' => '', + 'type' => 'string', + 'example' => '文章链接', + ], + 'IssuingAuthority' => [ + 'title' => '发布机构', + 'description' => '', + 'type' => 'string', + 'example' => '发布机构', + ], + 'PublicationDate' => [ + 'title' => '发布日期', + 'description' => '', + 'type' => 'string', + 'example' => '2023-02-01', + ], + ], + ], + 'example' => 'data', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '返回的最大记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '71', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页Token', + 'description' => '', + 'type' => 'string', + 'example' => 'cEoBWREAXdxaOyjq/cqAbg==', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"Title\\": \\"文章标题\\",\\n \\"Essay\\": \\"文章正文\\",\\n \\"Link\\": \\"文章链接\\",\\n \\"IssuingAuthority\\": \\"发布机构\\",\\n \\"PublicationDate\\": \\"2023-02-01\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 71,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"cEoBWREAXdxaOyjq/cqAbg==\\",\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 100\\n}","type":"json"}]', + ], + 'RunTopicSelectionMerge' => [ + 'summary' => '妙策选题策划聚合', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '其他写作参数(prompt 和 writingParams 二选一)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Topics', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '选题策划列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'required' => false, + '$ref' => '#/components/schemas/TopicSelection', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'StatusCode' => [ + 'title' => 'http响应码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + 'Topic' => [ + 'description' => '', + '$ref' => '#/components/schemas/TopicSelection', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '78', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '34', + ], + 'TokenMap' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'integer', + 'format' => 'int64', + 'example' => '44', + 'description' => '', + ], + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '38', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'End' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"StatusCode\\": 400,\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"文本生成结果\\",\\n \\"Topic\\": {\\n \\"Point\\": \\"\\",\\n \\"Summary\\": \\"\\",\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"\\",\\n \\"Summary\\": \\"\\"\\n }\\n ]\\n }\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 78,\\n \\"OutputTokens\\": 34,\\n \\"TokenMap\\": {\\n \\"key\\": 44\\n },\\n \\"TotalTokens\\": 38\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"End\\": true\\n}","type":"json"}]', + ], + 'GenerateViewPoint' => [ + 'summary' => '视角生成', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'ReferenceData', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '引用的上下文数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MiniDoc' => [ + 'title' => '传入的文章片段。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '94512A33-8EC1-5452-A793-5C91F18ED2F0', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Data\\": [\\n {\\n \\"Point\\": \\"视角\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"94512A33-8EC1-5452-A793-5C91F18ED2F0\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListHotNewsWithType' => [ + 'summary' => '获取分类的热点新闻', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'NewsType', + 'in' => 'formData', + 'schema' => [ + 'title' => '新闻类别。society: 社会时事,person: 人物新闻,government: 党政时事', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'society', + 'enum' => [ + 'society', + 'person', + 'government', + ], + ], + ], + [ + 'name' => 'NewsTypes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '新闻类别列表多选。society: 社会时事,person: 人物新闻,government: 党政时事', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'society', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<List<HotNewsWithType>>', + 'description' => 'PlainResult<List<HotNewsWithType>>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'News' => [ + 'title' => '新闻列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'ImageUrls' => [ + 'title' => '图片地址', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxxx.png', + ], + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-11 06:14:07', + ], + 'SearchSource' => [ + 'title' => '搜索源', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SearchSourceName' => [ + 'title' => '搜索源名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '系统更新时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-10-14 14:30:00', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxxxx/xxx', + ], + ], + ], + ], + 'NewsType' => [ + 'title' => '新闻类别。society: 社会时事,person: 人物新闻,government: 党政时事', + 'description' => '', + 'type' => 'string', + 'example' => 'society', + ], + 'NewsTypeName' => [ + 'title' => '新闻类别名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TotalPages' => [ + 'title' => '总页数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '77', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => '数据不存在', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"News\\": [\\n {\\n \\"Author\\": \\"作者名称\\",\\n \\"Content\\": \\"新闻内容\\",\\n \\"DocUuid\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"ImageUrls\\": [\\n \\"http://www.example.com/a.jpg\\"\\n ],\\n \\"PubTime\\": \\"2023-04-11 06:14:07\\",\\n \\"SearchSource\\": \\"新浪热榜\\",\\n \\"SearchSourceName\\": \\"新浪热榜\\",\\n \\"Source\\": \\"新浪新闻综合\\",\\n \\"Summary\\": \\"摘要\\",\\n \\"Tag\\": \\"社会\\",\\n \\"Title\\": \\"新闻标题\\",\\n \\"UpdateTime\\": \\"2023-10-14 14:30:00\\",\\n \\"Url\\": \\"http://www.example.com/a.html\\"\\n }\\n ],\\n \\"NewsType\\": \\"society\\",\\n \\"NewsTypeName\\": \\"社会时事\\",\\n \\"TotalPages\\": 77\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListHotSources' => [ + 'summary' => '获取所有平台热榜源列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '66', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Description' => [ + 'title' => '热榜源描述', + 'description' => '', + 'type' => 'string', + 'example' => '热榜源描述', + ], + 'Show' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Sort' => [ + 'title' => '排序值', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '86', + ], + 'Source' => [ + 'title' => '热榜源标识', + 'description' => '', + 'type' => 'string', + 'example' => '热榜源标识', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxxx', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Description\\": \\"热榜源描述\\",\\n \\"Show\\": true,\\n \\"Sort\\": 86,\\n \\"Source\\": \\"热榜源标识\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 4,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"xxxxxx\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 30\\n}","type":"json"}]', + ], + 'ListHotTopics' => [ + 'summary' => '获取热点事件列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源筛选,支持的热榜源。热榜源详见API:ListHotSources', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热榜源筛选,支持的热榜源。热榜源详见API:ListHotSources', + ], + ], + [ + 'name' => 'Topics', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '热榜主题事件筛选', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '热榜主题事件名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'TopicVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据版本筛选', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据版本筛选', + ], + ], + [ + 'name' => 'TopicQuery', + 'in' => 'formData', + 'schema' => [ + 'title' => '根据热榜主题全文检索', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '根据热榜主题全文检索', + ], + ], + [ + 'name' => 'TopicIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '热榜主题ID列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '热榜主题ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxxxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'WithNews', + 'in' => 'formData', + 'schema' => [ + 'title' => '响应是否包含新闻', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AsyncTaskId' => [ + 'title' => '异步任务ID(自定义主题场景下使用)', + 'description' => '', + 'type' => 'string', + 'example' => '异步任务ID(自定义主题场景下使用)', + ], + 'CreateUser' => [ + 'title' => '创建用户ID(自定义主题场景下使用)', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户ID(自定义主题场景下使用)', + ], + 'HotValue' => [ + 'title' => '热度值', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '61', + ], + 'Id' => [ + 'title' => '热榜ID', + 'description' => '', + 'type' => 'string', + 'example' => '热榜ID', + ], + 'Status' => [ + 'title' => '异步任务状态(自定义事件场景下使用) (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'FAILED', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + 'StructureSummary' => [ + 'title' => '结构化主题摘要列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DocList' => [ + 'title' => '生成该标题摘要引用的文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com', + ], + ], + ], + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + ], + ], + ], + 'Summary' => [ + 'title' => '热榜摘要', + 'description' => '', + 'type' => 'string', + 'example' => '热榜摘要', + ], + 'TaskErrorMessage' => [ + 'title' => '异步任务失败错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '异步任务失败错误信息', + ], + 'TaskStatus' => [ + 'title' => '异步任务状态.0-待执行,1-执行中,2-执行成功 3-暂停(暂不使用),4-执行失败,6-任务取消(自定义事件场景下使用)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '26', + ], + 'Topic' => [ + 'title' => '主题唯一名称', + 'description' => '', + 'type' => 'string', + 'example' => '主题唯一名称', + ], + 'TopicSource' => [ + 'title' => '热榜源,目前支持的热榜源: Toutiao:头条、Quark:夸克、Baidu:百度、Sina:新浪。Custom:自定义、Aggregation:热点话题榜', + 'description' => '', + 'type' => 'string', + 'example' => '热榜源,目前支持的热榜源: Toutiao:头条、Quark:夸克、Baidu:百度、Sina:新浪。Custom:自定义、Aggregation:热点话题榜', + ], + 'Version' => [ + 'title' => '数据版本', + 'description' => '', + 'type' => 'string', + 'example' => '数据版本', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '94', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '23', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"AsyncTaskId\\": \\"异步任务ID(自定义主题场景下使用)\\",\\n \\"CreateUser\\": \\"创建用户ID(自定义主题场景下使用)\\",\\n \\"HotValue\\": 61,\\n \\"Id\\": \\"热榜ID\\",\\n \\"Status\\": \\"FAILED\\",\\n \\"StructureSummary\\": [\\n {\\n \\"DocList\\": [\\n {\\n \\"Source\\": \\"夸克\\",\\n \\"Title\\": \\"xxxxx\\",\\n \\"Url\\": \\"http://www.example.com\\"\\n }\\n ],\\n \\"Summary\\": \\"摘要\\",\\n \\"Title\\": \\"标题\\"\\n }\\n ],\\n \\"Summary\\": \\"热榜摘要\\",\\n \\"TaskErrorMessage\\": \\"异步任务失败错误信息\\",\\n \\"TaskStatus\\": 26,\\n \\"Topic\\": \\"主题唯一名称\\",\\n \\"TopicSource\\": \\"Toutiao\\",\\n \\"Version\\": \\"数据版本\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 94,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 23\\n}","type":"json"}]', + ], + 'GetTopicById' => [ + 'summary' => '根据ID获取热点事件信息', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '数据ID', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AsyncTaskId' => [ + 'title' => '异步任务ID(自定义主题场景下使用)', + 'description' => '', + 'type' => 'string', + 'example' => '异步任务ID(自定义主题场景下使用)', + ], + 'CreateUser' => [ + 'title' => '创建用户ID(自定义主题场景下使用)', + 'description' => '', + 'type' => 'string', + 'example' => '创建用户ID(自定义主题场景下使用)', + ], + 'HotValue' => [ + 'title' => '热度值', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '43', + ], + 'Id' => [ + 'title' => '热榜ID', + 'description' => '', + 'type' => 'string', + 'example' => '热榜ID', + ], + 'Status' => [ + 'title' => '异步任务状态(自定义事件场景下使用) (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'PENDING', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + 'StructureSummary' => [ + 'title' => '结构化主题摘要列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocList' => [ + 'title' => '生成该标题摘要引用的文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com', + ], + ], + ], + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + ], + ], + ], + 'Summary' => [ + 'title' => '热榜摘要', + 'description' => '', + 'type' => 'string', + 'example' => '热榜摘要', + ], + 'TaskErrorMessage' => [ + 'title' => '异步任务失败错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '异步任务失败错误信息', + ], + 'TaskStatus' => [ + 'title' => '异步任务状态.0-待执行,1-执行中,2-执行成功 3-暂停(暂不使用),4-执行失败,6-任务取消(自定义事件场景下使用)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '14', + ], + 'Topic' => [ + 'title' => '主题唯一名称', + 'description' => '', + 'type' => 'string', + 'example' => '主题唯一名称', + ], + 'TopicSource' => [ + 'title' => '热榜源,目前支持的热榜源: Toutiao:头条、Quark:夸克、Baidu:百度、Sina:新浪。Custom:自定义、Aggregation:热点话题榜', + 'description' => '', + 'type' => 'string', + 'example' => '热榜源,目前支持的热榜源: Toutiao:头条、Quark:夸克、Baidu:百度、Sina:新浪。Custom:自定义、Aggregation:热点话题榜', + ], + 'Version' => [ + 'title' => '数据版本', + 'description' => '', + 'type' => 'string', + 'example' => '数据版本', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"AsyncTaskId\\": \\"异步任务ID(自定义主题场景下使用)\\",\\n \\"CreateUser\\": \\"创建用户ID(自定义主题场景下使用)\\",\\n \\"HotValue\\": 43,\\n \\"Id\\": \\"热榜ID\\",\\n \\"Status\\": \\"PENDING\\",\\n \\"StructureSummary\\": [\\n {\\n \\"DocList\\": [\\n {\\n \\"Source\\": \\"头条\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Url\\": \\"http://www.example.com\\"\\n }\\n ],\\n \\"Summary\\": \\"摘要\\",\\n \\"Title\\": \\"标题\\"\\n }\\n ],\\n \\"Summary\\": \\"热榜摘要\\",\\n \\"TaskErrorMessage\\": \\"异步任务失败错误信息\\",\\n \\"TaskStatus\\": 14,\\n \\"Topic\\": \\"主题唯一名称\\",\\n \\"TopicSource\\": \\"Toutiao\\",\\n \\"Version\\": \\"数据版本\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListHotViewPoints' => [ + 'summary' => '热门视角列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜源', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜主题', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '56', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'News' => [ + 'title' => '相关新闻列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'DocUuid' => [ + 'title' => '文章唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '123456', + ], + 'ImageUrls' => [ + 'title' => '文章配图URL', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.png', + ], + 'example' => 'https://www.example.com/aaa.png', + ], + 'PubTime' => [ + 'title' => '发布时间。格式:YYYY-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-22 10:29:00', + ], + 'Source' => [ + 'title' => '文章来源', + 'description' => '', + 'type' => 'string', + 'example' => '新浪', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tags' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["标签1","标签2"]', + ], + 'example' => '["标签1","标签2"]', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Topic' => [ + 'title' => '文章主题', + 'description' => '', + 'type' => 'string', + 'example' => '文章主题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '67', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '70', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"News\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocId\\": \\"xxxxx\\",\\n \\"DocUuid\\": \\"123456\\",\\n \\"ImageUrls\\": [\\n \\"https://www.example.com/aaa.png\\"\\n ],\\n \\"PubTime\\": \\"2024-01-22 10:29:00\\",\\n \\"Source\\": \\"新浪\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tags\\": [\\n \\"[\\\\\\"标签1\\\\\\",\\\\\\"标签2\\\\\\"]\\"\\n ],\\n \\"Title\\": \\"文章标题\\",\\n \\"Topic\\": \\"文章主题\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n }\\n ],\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 67,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 70\\n}","type":"json"}]', + ], + 'ListTimedViewAttitude' => [ + 'summary' => '时效性视角列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜源', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜主题', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '53', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-22 10:29', + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'Source' => [ + 'title' => '新闻来源', + 'description' => '', + 'type' => 'string', + 'example' => '新浪', + ], + 'Title' => [ + 'title' => '当前观点 等价于 新闻标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'Url' => [ + 'title' => '新闻URL', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/news/1.html', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '15', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '58', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"PubTime\\": \\"2024-01-22 10:29\\",\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"Source\\": \\"新浪\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"http://www.example.com/news/1.html\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 15,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 58\\n}","type":"json"}]', + ], + 'ListFreshViewPoints' => [ + 'summary' => '新颖视角列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜源', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜主题', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '6', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '94', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '26', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 94,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 26\\n}","type":"json"}]', + ], + 'ListWebReviewPoints' => [ + 'summary' => '网友视角列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜源', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜主题', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '81', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'Comments' => [ + 'title' => '网友评论列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '来源', + ], + 'Text' => [ + 'title' => '评论内容', + 'description' => '', + 'type' => 'string', + 'example' => '评论内容', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'Url' => [ + 'title' => '当前评论所属的URL', + 'description' => '', + 'type' => 'string', + 'example' => '当前评论所属的URL', + ], + 'Username' => [ + 'title' => '评论用户名', + 'description' => '', + 'type' => 'string', + 'example' => '评论用户名', + ], + ], + ], + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '79', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '32', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"Comments\\": [\\n {\\n \\"Source\\": \\"来源\\",\\n \\"Text\\": \\"内容\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"当前所属的URL\\",\\n \\"Username\\": \\"用户名\\"\\n }\\n ],\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 79,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 32\\n}","type":"json"}]', + ], + 'ListPlanningProposal' => [ + 'summary' => '获取选题策划列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'ViewPointType', + 'in' => 'formData', + 'schema' => [ + 'title' => '选题策划类型。CustomViewPoints:自定义视角,HotViewPoints:热门视角、TimedViewPoints:时效性视角、WebReviewPoints:网友视角、FreshViewPoints:新颖视角', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'CustomViewPoints', + ], + ], + [ + 'name' => 'Titles', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '选题策划标题筛选,对应各个选题策划类型的视角名称', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '视角筛选', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '标题'."\n" + .' * ', + ], + 'required' => false, + 'example' => '标题'."\n" + .' * ', + ], + ], + [ + 'name' => 'CustomViewPointId', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义视角ID(用于自定义视角选题策划场景)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'e7b26a9e1211444db8f0a984361a5e0f', + ], + ], + [ + 'name' => 'CustomViewPointIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '自定义视角ID列表(用于自定义视角选题策划场景)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '自定义视角ID(用于自定义视角选题策划场景)'."\n" + .' * ', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3c67e87fc9044a8aae534f617195ab31', + ], + 'required' => false, + 'example' => '27971fc8f3ce4ed58c7e7fc4b503e432', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜源', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜主题', + ], + ], + [ + 'name' => 'TopicVersion', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-09-10_08', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '73', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Summary' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '77', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Summary\\": \\"摘要\\",\\n \\"Title\\": \\"标题\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 77,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 80\\n}","type":"json"}]', + ], + 'ExportHotTopicPlanningProposals' => [ + 'summary' => '导出选题策划文档,响应为一个可公开访问的URL。一小时后失效', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'ExportType', + 'in' => 'formData', + 'schema' => [ + 'title' => '导出文档类型,word:导出为word,xmind:导处为xmind', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '导出文档类型,word:导出为word,xmind:导处为xmind', + ], + ], + [ + 'name' => 'Titles', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '根据选题策划的标题过滤', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ViewPointType', + 'in' => 'formData', + 'schema' => [ + 'title' => '选题策划类型:CustomViewPoints:自定义视角,HotViewPoints:热门视角、TimedViewPoints:时效性视角、WebReviewPoints:网友视角、FreshViewPoints:新颖视角', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '选题策划类型:CustomViewPoints:自定义视角,HotViewPoints:热门视角、TimedViewPoints:时效性视角、WebReviewPoints:网友视角、FreshViewPoints:新颖视角', + ], + ], + [ + 'name' => 'CustomViewPointIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '自定义视角ID(用于自定义视角选题策划场景)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '自定义视角ID(用于自定义视角选题策划场景)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7d9139c4fd884be3b5db584c28501813', + ], + 'required' => false, + 'example' => '025c6cee437741368098b790c90166f8', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜源', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '热榜主题', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '可公开访问的URL。一小时后失效', + 'description' => '', + 'type' => 'string', + 'example' => '业务数据', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": \\"业务数据\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteCustomTopicByTopic' => [ + 'summary' => '根据主题删除自定义主题事件', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义主题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '话题', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '33', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": 33,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListTopicViewPointRecommendEventList' => [ + 'summary' => '获取主题事件推荐观点列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数。默认5条', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '66', + ], + ], + [ + 'name' => 'Id', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '8', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '32', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n \\"xxxx\\"\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 8,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 32\\n}","type":"json"}]', + ], + 'ListTopicRecommendEventList' => [ + 'summary' => '获取热点推荐事件', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '72', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '71', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'x\'x\'x', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n \\"热点事件\\"\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 71,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"x\'x\'x\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 60\\n}","type":"json"}]', + ], + 'RunCustomHotTopicAnalysis' => [ + 'summary' => '自定义热点话题分析', + 'path' => '/quanmiao/miaoce/runCustomHotTopicAnalysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'AskUser', + 'in' => 'formData', + 'schema' => [ + 'title' => '模型反问', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '模型反问', + ], + ], + [ + 'name' => 'UserBack', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户针对模型反问的输入', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '用户针对模型反问的输入', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户输入Prompt', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '用户输入Prompt', + ], + ], + [ + 'name' => 'ForceAnalysisExistsTopic', + 'in' => 'formData', + 'schema' => [ + 'title' => '针对重复的话题,是否强制分析并覆盖已有的话题分析', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '每次请求唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '整轮对话任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'CustomHoTTopicBaseLlmResponse', + 'description' => 'CustomHoTTopicBaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Articles' => [ + 'title' => '参照文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '文档-自定义的唯一ID', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'a2103fcfbd5441f1991c72f8834833e3', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-08-27 14:50:47', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Tag' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'string', + 'example' => '文章标签', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + ], + 'AskUser' => [ + 'title' => '反问列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + 'AsyncTaskId' => [ + 'title' => '异步任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '异步任务ID', + ], + 'Attitude' => [ + 'title' => '自定义选题视角', + 'description' => '', + 'type' => 'string', + 'example' => '自定义选题视角', + ], + 'SearchQuery' => [ + 'title' => 'query改写结果', + 'description' => '', + 'type' => 'string', + 'example' => '大模型改变世界', + ], + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + 'TopicId' => [ + 'title' => '话题ID', + 'description' => '', + 'type' => 'string', + 'example' => '话题ID', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '60', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '13', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '73', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Articles\\": [\\n {\\n \\"Author\\": \\"作者\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"DocId\\": \\"文档-自定义的唯一ID\\",\\n \\"DocUuid\\": \\"a2103fcfbd5441f1991c72f8834833e3\\",\\n \\"PubTime\\": \\"2024-08-27 14:50:47\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Tag\\": \\"文章标签\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n }\\n ],\\n \\"AskUser\\": [\\n \\"xxx\\"\\n ],\\n \\"AsyncTaskId\\": \\"异步任务ID\\",\\n \\"Attitude\\": \\"自定义选题视角\\",\\n \\"SearchQuery\\": \\"大模型改变世界\\",\\n \\"Text\\": \\"文本生成结果\\",\\n \\"TopicId\\": \\"话题ID\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 60,\\n \\"OutputTokens\\": 13,\\n \\"TotalTokens\\": 73\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n}","type":"json"}]', + ], + 'RunCustomHotTopicViewPointAnalysis' => [ + 'summary' => '自定义选题视角分析', + 'path' => '/quanmiao/miaoce/runCustomHotTopicViewPointAnalysis', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'AskUser', + 'in' => 'formData', + 'schema' => [ + 'title' => '模型反问', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '模型反问', + ], + ], + [ + 'name' => 'UserBack', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户反馈', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '用户反馈', + ], + ], + [ + 'name' => 'SearchQuery', + 'in' => 'formData', + 'schema' => [ + 'title' => '改写后的Query', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '改写后的Query', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义选题视角的Prompt', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '自定义选题视角的Prompt', + ], + ], + [ + 'name' => 'SkipAskUser', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否跳过反问', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'TopicId', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点主题ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热点主题ID', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点主题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热点主题', + ], + ], + [ + 'name' => 'TopicVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点主题版本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热点主题版本', + ], + ], + [ + 'name' => 'TopicSource', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点主题来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热点主题来源', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'CustomHoTTopicBaseLlmResponse', + 'description' => 'CustomHoTTopicBaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'OriginSessionId' => [ + 'title' => '父会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'title' => '全链路ID', + 'description' => '', + 'type' => 'string', + 'example' => '全链路ID', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AskUser' => [ + 'title' => '反问列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxxxx', + ], + ], + 'AsyncTaskId' => [ + 'title' => '异步任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '异步任务ID', + ], + 'Attitude' => [ + 'title' => '模型生成的自定义选题视角的观点', + 'description' => '', + 'type' => 'string', + 'example' => '模型生成的自定义选题视角的观点', + ], + 'CustomViewPointId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxxx', + ], + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + 'TopicId' => [ + 'title' => '话题ID', + 'description' => '', + 'type' => 'string', + 'example' => '话题ID', + ], + 'Articles' => [ + 'title' => '参考文章列表', + 'type' => 'array', + 'items' => [ + 'title' => '参考文章对象', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'type' => 'string', + ], + 'Title' => [ + 'title' => '标题', + 'type' => 'string', + ], + 'Content' => [ + 'title' => '内容', + 'type' => 'string', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'type' => 'string', + ], + 'Source' => [ + 'title' => '来源', + 'type' => 'string', + ], + 'Url' => [ + 'title' => 'URL标题', + 'type' => 'string', + ], + 'Summary' => [ + 'title' => '摘要', + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '51', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '79', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '130', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"全链路ID\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"AskUser\\": [\\n \\"xxxxxxx\\"\\n ],\\n \\"AsyncTaskId\\": \\"异步任务ID\\",\\n \\"Attitude\\": \\"模型生成的自定义选题视角的观点\\",\\n \\"CustomViewPointId\\": \\"xxxxxx\\",\\n \\"Text\\": \\"文本生成结果\\",\\n \\"TopicId\\": \\"话题ID\\",\\n \\"Articles\\": [\\n {\\n \\"Author\\": \\"作者\\\\n\\\\n\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"PubTime\\": \\"2024-09-10 14:17:53\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\",\\n \\"Summary\\": \\"文章摘要\\"\\n }\\n ]\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 51,\\n \\"OutputTokens\\": 79,\\n \\"TotalTokens\\": 130\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n}","type":"json"}]', + ], + 'ListCustomViewPoints' => [ + 'summary' => '自定义视角列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '热榜主题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热榜主题', + ], + ], + [ + 'name' => 'Attitude', + 'in' => 'formData', + 'schema' => [ + 'title' => '筛选对应观点', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '观点', + ], + ], + [ + 'name' => 'Attitudes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '筛选观点列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '观点', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '观点'."\n" + .' * ', + ], + 'required' => false, + 'example' => '观点'."\n" + .' * ', + ], + ], + [ + 'name' => 'CustomViewPointId', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义视角ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '461591f4880747f890702c1b90494d1a', + ], + ], + [ + 'name' => 'CustomViewPointIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '自定义视角ID列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '自定义视角ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'bb1a5426a9c34e3e8165e7939032bddd', + ], + 'required' => false, + 'example' => '7ece3d1212e04c9ca716ae2486228f3f', + ], + ], + [ + 'name' => 'TopicId', + 'in' => 'formData', + 'schema' => [ + 'title' => '话题ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '1d20ed14db0840efb1c7eaaf4d46352b', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '下一页的token', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '52', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PageResult2', + 'description' => 'PageResult2', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AsyncTaskId' => [ + 'title' => '异步任务ID(分析该自定义视角的任务)', + 'description' => '', + 'type' => 'string', + 'example' => '2323ac73e174428a98c91097a59c67e0', + ], + 'Attitude' => [ + 'title' => '观点', + 'description' => '', + 'type' => 'string', + 'example' => '观点', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-08-15 16:18:59', + ], + 'CreateUser' => [ + 'title' => '创建用户ID', + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'Id' => [ + 'title' => '自定义视角ID', + 'description' => '', + 'type' => 'string', + 'example' => '709806dd051042d5ab9de8bdbb3a64ca', + ], + 'Status' => [ + 'title' => '任务执行状态 (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + 'TaskErrorMessage' => [ + 'title' => '任务执行错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '参数校验失败', + ], + 'TaskStatus' => [ + 'title' => '任务执行状态,0-待执行、1-执行中、2-执行成功、3-暂停、4-执行失败-可重试、5-执行失败-不可重试,6-任务取消', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'title' => '最大返回结果数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'NextToken' => [ + 'title' => '下一页的token', + 'description' => '', + 'type' => 'string', + 'example' => '下一页的token', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '73', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"AsyncTaskId\\": \\"2323ac73e174428a98c91097a59c67e0\\",\\n \\"Attitude\\": \\"观点\\",\\n \\"CreateTime\\": \\"2024-08-15 16:18:59\\",\\n \\"CreateUser\\": \\"1\\",\\n \\"Id\\": \\"709806dd051042d5ab9de8bdbb3a64ca\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"TaskErrorMessage\\": \\"参数校验失败\\",\\n \\"TaskStatus\\": 1,\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 60,\\n \\"Message\\": \\"success\\",\\n \\"NextToken\\": \\"下一页的token\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 73\\n}","type":"json"}]', + ], + 'DeleteCustomTopicViewPointById' => [ + 'summary' => '根据自定义观点ID删除自定义观点', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'CustomViewPointId', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义视角ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'dfd73894e6a94fd79fe7ffbe865796fb', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '7', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": 7,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitDocClusterTask' => [ + 'summary' => '提交文档聚合任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Documents', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '文档列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '文档内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '文档内容', + 'maxLength' => 3000, + 'minLength' => 1, + ], + 'DocId' => [ + 'title' => '文档ID。用于在返回聚类文章时标识文章。如果文章列表中都不传则使用数组索引作为ID。如果部分传则会报错', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文档ID。用于在返回聚类文章时标识文章。如果文章列表中都不传则使用数组索引作为ID。如果部分传则会报错', + ], + 'Title' => [ + 'title' => '文档标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文档标题', + 'maxLength' => 100, + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 10000, + 'minItems' => 2, + ], + ], + [ + 'name' => 'TopicCount', + 'in' => 'formData', + 'schema' => [ + 'title' => '最大聚合总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '100', + 'example' => '15', + ], + ], + [ + 'name' => 'TitleLength', + 'in' => 'formData', + 'schema' => [ + 'title' => '生成聚类的标题字数限制', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '200', + 'example' => '69', + ], + ], + [ + 'name' => 'SummaryLength', + 'in' => 'formData', + 'schema' => [ + 'title' => '生成聚类的摘要字数限制', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'maximum' => '500', + 'example' => '49', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetDocClusterTask' => [ + 'summary' => '获取文档聚合任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '93771c8e1142467fb1aedf1763feba1e', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Status' => [ + 'title' => '任务状态 (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'PENDING', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + 'Topics' => [ + 'title' => '聚类主题列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocIds' => [ + 'title' => '聚类主题下的文档ID列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxx', + ], + ], + 'Summary' => [ + 'title' => '聚类主题摘要', + 'description' => '', + 'type' => 'string', + 'example' => '聚类主题摘要', + ], + 'Title' => [ + 'title' => '聚类主题名', + 'description' => '', + 'type' => 'string', + 'example' => '聚类主题名', + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Status\\": \\"PENDING\\",\\n \\"Topics\\": [\\n {\\n \\"DocIds\\": [\\n \\"xxxxx\\"\\n ],\\n \\"Summary\\": \\"聚类主题摘要\\",\\n \\"Title\\": \\"聚类主题名\\"\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitTopicSelectionPerspectiveAnalysisTask' => [ + 'summary' => '提交选题热点分析任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Documents', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '待分析的文档列表。(documents与topic二者至少传一个)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '作者', + 'maxLength' => 100, + ], + 'Comments' => [ + 'title' => '评论列表', + 'type' => 'array', + 'items' => [ + 'title' => '评论对象', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '评论文本', + 'type' => 'string', + ], + 'Username' => [ + 'title' => '用户名', + 'type' => 'string', + ], + ], + ], + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '文章内容', + 'maxLength' => 3000, + 'minLength' => 30, + ], + 'PubTime' => [ + 'title' => '发布时间。格式:YYYY-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-22 10:29:00', + 'maxLength' => 19, + ], + 'Source' => [ + 'title' => '文章来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '新浪', + 'maxLength' => 40, + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章摘要', + 'maxLength' => 200, + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标题', + 'maxLength' => 100, + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://www.example.com/aaa.docx', + 'maxLength' => 1024, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 30, + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '待分析的主题名(documents与topic二者至少传一个)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '待分析的主题名(documents与topic二者至少传一个)', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'PerspectiveTypes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '要分析的选题视角任务,默认为空,空表示分析所有任务。 (TopicSummary: 主题事件摘要, HotViewPoints: 热门视角选题, TimedViewPoints: 时效视角选题, WebReviewPoints: 网评视角选题, FreshViewPoints: 新颖视角选题)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TopicSummary', + 'enum' => [ + 'TopicSummary', + 'HotViewPoints', + 'TimedViewPoints', + 'WebReviewPoints', + 'FreshViewPoints', + ], + ], + 'required' => false, + 'example' => 'TimedViewPoints', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskName' => [ + 'title' => '任务名称', + 'description' => '', + 'type' => 'string', + 'example' => '任务名称', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskName\\": \\"任务名称\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetTopicSelectionPerspectiveAnalysisTask' => [ + 'summary' => '获取选题视角分析任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'c9f226b02cca4f42a84c5e955c39dfd2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'FreshViewPointsResult' => [ + 'title' => '新颖选题视角分析结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitudes' => [ + 'title' => '新颖选题视角-观点列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'HotViewPointsResult' => [ + 'title' => '热门选题视角分析结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitudes' => [ + 'title' => '热门选题视角-观点列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'News' => [ + 'title' => '相关新闻列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'title' => '新闻内容', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '9957175DEDCF49C5ACF7A956B4FD67B2', + ], + 'DocUuid' => [ + 'title' => '文章唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '123456', + ], + 'ImageUrls' => [ + 'title' => '文章配图URL', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.png', + ], + 'example' => 'https://www.example.com/aaa.png', + ], + 'Source' => [ + 'title' => '新闻来源', + 'type' => 'string', + ], + 'Summary' => [ + 'title' => '新闻摘要', + 'type' => 'string', + ], + 'Tags' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '["标签1","标签2"]', + ], + 'example' => '["标签1","标签2"]', + ], + 'Title' => [ + 'title' => '新闻标题', + 'type' => 'string', + ], + 'Topic' => [ + 'title' => '文章主题', + 'description' => '', + 'type' => 'string', + 'example' => '文章主题', + ], + 'Url' => [ + 'title' => 'URL链接', + 'type' => 'string', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'type' => 'string', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'type' => 'string', + ], + ], + ], + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'Status' => [ + 'title' => '任务状态 (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'SUSPENDED', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + 'TimedViewPointsResult' => [ + 'title' => '时效性选题视角分析结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitudes' => [ + 'title' => '时效性选题视角-观点列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-22 10:29', + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'Source' => [ + 'title' => '新闻来源', + 'description' => '', + 'type' => 'string', + 'example' => '新浪', + ], + 'Title' => [ + 'title' => '当前观点 等价于 新闻标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'Url' => [ + 'title' => '新闻URL', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/news/1.html', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'Topic' => [ + 'title' => '热点主题事件', + 'description' => '', + 'type' => 'string', + 'example' => '热点主题事件', + ], + 'TopicSummaryResult' => [ + 'title' => '热点主题事件摘要', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Summaries' => [ + 'title' => '摘要列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocList' => [ + 'title' => '生成该标题摘要引用的文章', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com', + ], + ], + ], + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + ], + ], + ], + ], + ], + 'WebReviewPointsResult' => [ + 'title' => '网评选题视角分析结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitudes' => [ + 'title' => '网友选题视角-观点列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'Comments' => [ + 'title' => '网友评论列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '来源', + ], + 'Text' => [ + 'title' => '评论内容', + 'description' => '', + 'type' => 'string', + 'example' => '评论内容', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + 'Url' => [ + 'title' => '当前评论所属的URL', + 'description' => '', + 'type' => 'string', + 'example' => '当前评论所属的URL', + ], + 'Username' => [ + 'title' => '评论用户名', + 'description' => '', + 'type' => 'string', + 'example' => '评论用户名', + ], + ], + ], + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"FreshViewPointsResult\\": {\\n \\"Attitudes\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"HotViewPointsResult\\": {\\n \\"Attitudes\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"News\\": [\\n {\\n \\"Content\\": \\"Content\\",\\n \\"DocId\\": \\"9957175DEDCF49C5ACF7A956B4FD67B2\\",\\n \\"DocUuid\\": \\"\\\\\\"123456\\\\\\"\\",\\n \\"ImageUrls\\": [\\n \\"https://www.example.com/aaa.png\\"\\n ],\\n \\"Source\\": \\"夸克\\",\\n \\"Summary\\": \\"新闻摘要\\",\\n \\"Tags\\": [\\n \\"[\\\\\\"标签1\\\\\\",\\\\\\"标签2\\\\\\"]\\"\\n ],\\n \\"Title\\": \\"新闻标题\\",\\n \\"Topic\\": \\"文章主题\\",\\n \\"Url\\": \\"http://www.example.com\\",\\n \\"CreateTime\\": \\"2024-05-08 02:23:01\\",\\n \\"PubTime\\": \\"2024-05-08 02:23:02\\"\\n }\\n ],\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"Status\\": \\"SUSPENDED\\",\\n \\"TimedViewPointsResult\\": {\\n \\"Attitudes\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"PubTime\\": \\"2024-01-22 10:29\\",\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"Source\\": \\"新浪\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"http://www.example.com/news/1.html\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"Topic\\": \\"热点主题事件\\",\\n \\"TopicSummaryResult\\": {\\n \\"Summaries\\": [\\n {\\n \\"DocList\\": [\\n {\\n \\"Source\\": \\"头条\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"http://www.example.com\\"\\n }\\n ],\\n \\"Summary\\": \\"摘要\\",\\n \\"Title\\": \\"标题\\"\\n }\\n ]\\n },\\n \\"WebReviewPointsResult\\": {\\n \\"Attitudes\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"Comments\\": [\\n {\\n \\"Source\\": \\"来源\\",\\n \\"Text\\": \\"内容\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"当前所属的URL\\",\\n \\"Username\\": \\"用户名\\"\\n }\\n ],\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ]\\n }\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitCustomTopicSelectionPerspectiveAnalysisTask' => [ + 'summary' => '提交自定义热点选题视角分析任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'Documents', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '待分析的文档列表。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '作者', + 'maxLength' => 100, + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '文章内容', + 'maxLength' => 3000, + 'minLength' => 30, + ], + 'PubTime' => [ + 'title' => '发布时间。格式:YYYY-MM-dd HH:mm:ss', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-01-22 10:29:00', + 'maxLength' => 19, + ], + 'Source' => [ + 'title' => '文章来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '新浪', + 'maxLength' => 40, + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章摘要', + 'maxLength' => 200, + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章标题', + 'maxLength' => 100, + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://www.example.com/aaa.docx', + 'maxLength' => 1024, + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 30, + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'title' => '待分析的主题名', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '待分析的主题名(documents与topic二者至少传一个)', + 'maxLength' => 1000, + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '自定义观点的输入Prompt', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '自定义观点的输入Prompt', + 'maxLength' => 2000, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetCustomTopicSelectionPerspectiveAnalysisTask' => [ + 'summary' => '获取自定义选题视角分析任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '0dbf1055f8a2475d99904c3b76a0ffba', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CustomViewPointsResult' => [ + 'title' => '自定义选题分析任务结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Attitudes' => [ + 'title' => '自定义观点列表。默认会根据Prompt输入生成一个观点', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Attitude' => [ + 'title' => '当前观点', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点', + ], + 'AttitudeType' => [ + 'title' => '观点类型', + 'description' => '', + 'type' => 'string', + 'example' => '观点类型', + ], + 'Ratio' => [ + 'title' => '当前观点占比', + 'description' => '', + 'type' => 'string', + 'example' => '当前观点占比', + ], + 'ViewPoints' => [ + 'title' => '选题视角列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outlines' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Outline' => [ + 'title' => '大纲', + 'description' => '', + 'type' => 'string', + 'example' => '大纲', + ], + 'Summary' => [ + 'title' => '大纲摘要', + 'description' => '', + 'type' => 'string', + 'example' => '大纲摘要', + ], + ], + ], + ], + 'Point' => [ + 'title' => '生成的视角', + 'description' => '', + 'type' => 'string', + 'example' => '视角', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + ], + ], + ], + ], + ], + ], + 'Topic' => [ + 'title' => '热点主题事件', + 'description' => '', + 'type' => 'string', + 'example' => '热点主题事件', + ], + ], + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Status' => [ + 'title' => '任务状态 (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'FAILED', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"CustomViewPointsResult\\": {\\n \\"Attitudes\\": [\\n {\\n \\"Attitude\\": \\"当前观点\\",\\n \\"AttitudeType\\": \\"观点类型\\",\\n \\"Ratio\\": \\"当前观点占比\\",\\n \\"ViewPoints\\": [\\n {\\n \\"Outlines\\": [\\n {\\n \\"Outline\\": \\"大纲\\",\\n \\"Summary\\": \\"大纲摘要\\"\\n }\\n ],\\n \\"Point\\": \\"视角\\",\\n \\"Summary\\": \\"摘要\\"\\n }\\n ]\\n }\\n ],\\n \\"Topic\\": \\"热点主题事件\\"\\n },\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Status\\": \\"FAILED\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetHotTopicBroadcast' => [ + 'summary' => '查询新闻播报单', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => [ + 'application/json', + ], + 'produces' => [ + 'application/json', + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => [ + 'FEATUREsfmJIZ0TW', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'HotTopicVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点版本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-10-11_13', + ], + ], + [ + 'name' => 'Topics', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '话题筛选', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["主题1","主题2"]', + ], + 'required' => false, + 'example' => '["主题1","主题2"]', + ], + ], + [ + 'name' => 'CalcTotalToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否计算总Token数', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Category', + 'in' => 'formData', + 'schema' => [ + 'title' => '分类筛选', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '分类筛选', + ], + ], + [ + 'name' => 'StepForNewsBroadcastContentConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '热点播报单内容配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Categories' => [ + 'title' => '选择的频道列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["科技","经济","时政","娱乐"]', + ], + 'required' => false, + 'example' => '["科技","经济","时政","娱乐"]', + ], + 'CustomHotValueWeights' => [ + 'title' => '自定义热度权重(此参数已过时,不生效。不用传递此参数)', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Dimension' => [ + 'title' => '维度KEY', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'views', + ], + 'Weight' => [ + 'title' => '权重', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + 'required' => false, + ], + 'required' => false, + 'deprecated' => true, + ], + 'TopicCount' => [ + 'title' => '话题数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'StepForCustomSummaryStyleConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '自定义输出风格配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SummaryImageCount' => [ + 'title' => '摘要-配图数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '90', + ], + 'SummaryModel' => [ + 'title' => '摘要模型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '摘要模型', + ], + 'SummaryPrompt' => [ + 'title' => '摘要-自定义Prompt', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '摘要-自定义Prompt', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页大小。最大200', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '5', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Locations', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '新闻地域检索(keyword过滤)', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'LocationQuery', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点地域的全文检索(该参数存在时current不生效)', + 'type' => 'string', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '全文检索(针对标题、热点摘要、地域的全文检索)(该参数存在时current不生效)', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '热点播报单列表信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Category' => [ + 'title' => '热点话题分类', + 'description' => '', + 'type' => 'string', + 'example' => '热点话题分类', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '创建时间', + ], + 'CustomHotValue' => [ + 'title' => '自定义热度值', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '34.7905341705522', + ], + 'CustomTextSummary' => [ + 'title' => '自定义热点话题文本摘要', + 'description' => '', + 'type' => 'string', + 'example' => '自定义热点话题文本摘要', + ], + 'HotTopic' => [ + 'title' => '热点话题名称', + 'description' => '', + 'type' => 'string', + 'example' => '热点话题名称', + ], + 'HotTopicVersion' => [ + 'title' => '热点话题摘要版本', + 'description' => '', + 'type' => 'string', + 'example' => '热点话题摘要版本', + ], + 'HotValue' => [ + 'title' => '热度值', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '1.4120480606282884', + ], + 'Id' => [ + 'title' => '热点话题ID', + 'description' => '', + 'type' => 'string', + 'example' => '热点话题ID', + ], + 'Images' => [ + 'title' => '热点话题图片列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/a.png', + ], + ], + ], + ], + 'InputToken' => [ + 'title' => '输入token', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '29', + ], + 'News' => [ + 'title' => '文章列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AnalysisCategory' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AnalysisTopic' => [ + 'title' => '聚合后热点名称', + 'description' => '', + 'type' => 'string', + 'example' => '聚合后热点名称', + ], + 'Author' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Category' => [ + 'title' => '分类', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'Comments' => [ + 'title' => '新闻评论', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '评论内容', + 'description' => '', + 'type' => 'string', + 'example' => '评论内容', + ], + 'Username' => [ + 'title' => '评论用户名', + 'description' => '', + 'type' => 'string', + 'example' => '评论用户名', + ], + ], + ], + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CreateTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-06-13 08:45:05', + ], + 'Domain' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Dt' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024111110', + ], + 'HotTopic' => [ + 'title' => '原始热点名称', + 'description' => '', + 'type' => 'string', + 'example' => '原始热点名称', + ], + 'ImgList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/a.png', + ], + ], + 'Logo' => [ + 'description' => 'logo', + 'type' => 'string', + 'example' => 'https://www.example.com/a.png', + ], + 'PubTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-10-10 12:12:00', + ], + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/a.png', + ], + 'Uuid' => [ + 'title' => '主键ID', + 'description' => '', + 'type' => 'string', + 'example' => '主键ID', + ], + 'Website' => [ + 'title' => '网站', + 'description' => '', + 'type' => 'string', + 'example' => '网站', + ], + ], + ], + ], + 'OutputToken' => [ + 'title' => '输出token', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '22', + ], + 'Summary' => [ + 'title' => '热点话题结构化摘要', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputToken' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '17', + ], + 'OutputToken' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '41', + ], + 'Summaries' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Summary' => [ + 'title' => '摘要', + 'description' => '', + 'type' => 'string', + 'example' => '摘要', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '标题', + ], + ], + ], + ], + ], + ], + 'TextSummary' => [ + 'title' => '热点话题文本摘要', + 'description' => '', + 'type' => 'string', + 'example' => '热点话题文本摘要', + ], + 'Locations' => [ + 'title' => '热点的地域信息', + 'type' => 'array', + 'items' => [ + 'title' => '地域信息', + 'type' => 'string', + ], + ], + 'Url' => [ + 'title' => '热榜URL', + 'type' => 'string', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'type' => 'string', + ], + ], + ], + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TotalTokenInfo' => [ + 'title' => '全部生成预计所需要的Token数', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'HotTopicCount' => [ + 'title' => '热点总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'InputTokens' => [ + 'title' => '预计输入token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'OutputTokens' => [ + 'title' => '预计输出token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'WordCount' => [ + 'title' => '预计总字数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"Data\\": [\\n {\\n \\"Category\\": \\"热点话题分类\\",\\n \\"CreateTime\\": \\"创建时间\\",\\n \\"CustomHotValue\\": 34.7905341705522,\\n \\"CustomTextSummary\\": \\"自定义热点话题文本摘要\\",\\n \\"HotTopic\\": \\"热点话题名称\\",\\n \\"HotTopicVersion\\": \\"热点话题摘要版本\\",\\n \\"HotValue\\": 1.4120480606282884,\\n \\"Id\\": \\"热点话题ID\\",\\n \\"Images\\": [\\n {\\n \\"Url\\": \\"http://www.example.com/a.png\\"\\n }\\n ],\\n \\"InputToken\\": 29,\\n \\"News\\": [\\n {\\n \\"AnalysisCategory\\": \\"科技\\",\\n \\"AnalysisTopic\\": \\"聚合后热点名称\\",\\n \\"Author\\": \\"作者\\",\\n \\"Category\\": [\\n \\"科技\\"\\n ],\\n \\"Comments\\": [\\n {\\n \\"Text\\": \\"内容\\",\\n \\"Username\\": \\"用户名\\"\\n }\\n ],\\n \\"Content\\": \\"新闻内容\\\\n\\\\n\\",\\n \\"CreateTime\\": \\"2024-06-13 08:45:05\\",\\n \\"Domain\\": \\"夸克\\",\\n \\"Dt\\": \\"2024111110\\",\\n \\"HotTopic\\": \\"原始热点名称\\",\\n \\"ImgList\\": [\\n \\"http://www.example.com/a.png\\"\\n ],\\n \\"Logo\\": \\"https://www.example.com/a.png\\",\\n \\"PubTime\\": \\"2024-10-10 12:12:00\\",\\n \\"Summary\\": \\"摘要\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"http://www.example.com/a.png\\",\\n \\"Uuid\\": \\"主键ID\\",\\n \\"Website\\": \\"网站\\"\\n }\\n ],\\n \\"OutputToken\\": 22,\\n \\"Summary\\": {\\n \\"InputToken\\": 17,\\n \\"OutputToken\\": 41,\\n \\"Summaries\\": [\\n {\\n \\"Summary\\": \\"摘要\\",\\n \\"Title\\": \\"标题\\"\\n }\\n ]\\n },\\n \\"TextSummary\\": \\"热点话题文本摘要\\",\\n \\"Locations\\": [\\n \\"成都\\"\\n ],\\n \\"Url\\": \\"http://www.example.com/a.html\\",\\n \\"PubTime\\": \\"2025-08-01 12:00:00\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"TotalTokenInfo\\": {\\n \\"HotTopicCount\\": 100,\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"WordCount\\": 100\\n }\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitCustomHotTopicBroadcastJob' => [ + 'summary' => '提交自定义播报单任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'HotTopicBroadcastConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '新闻播报单配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StepForNewsBroadcastContentConfig' => [ + 'title' => '配置播报单内容', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Categories' => [ + 'title' => '选择的频道列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '["科技","经济","时政","娱乐"]', + ], + 'required' => false, + 'example' => '["科技","经济","时政","娱乐"]', + ], + 'CustomHotValueWeights' => [ + 'title' => '自定义热度权重', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Dimension' => [ + 'title' => '维度KEY', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'views', + ], + 'DimensionName' => [ + 'title' => '维度名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '维度名称', + ], + 'Weight' => [ + 'title' => '权重', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'TopicCount' => [ + 'title' => '话题数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + 'required' => true, + ], + 'StepForCustomSummaryStyleConfig' => [ + 'title' => '自定义输出风格配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SummaryImageCount' => [ + 'title' => '摘要-配图数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + 'SummaryModel' => [ + 'title' => '摘要模型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'qwen-max', + ], + 'SummaryPrompt' => [ + 'title' => '摘要-自定义Prompt', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'HotTopicVersion', + 'in' => 'formData', + 'schema' => [ + 'title' => '热点版本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '热点版本', + ], + ], + [ + 'name' => 'Topics', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '话题筛选', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetCustomHotTopicBroadcastJob' => [ + 'summary' => '获取自定义播报单任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2e27abb32cb64f80a0c6e829b6c87a09', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'HotTopicVersion' => [ + 'title' => '热点话题版本号标识', + 'description' => '', + 'type' => 'string', + 'example' => '热点话题版本号标识', + ], + 'Status' => [ + 'title' => '任务状态 (PENDING: 待执行, RUNNING: 执行中, SUCCESSED: 成功, SUSPENDED: 暂停, FAILED: 失败, CANCELED: 取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + 'enum' => [ + 'PENDING', + 'RUNNING', + 'SUCCESSED', + 'SUSPENDED', + 'FAILED', + 'CANCELED', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"HotTopicVersion\\": \\"热点话题版本号标识\\",\\n \\"Status\\": \\"RUNNING\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ExportAnalysisTagDetailByTaskId' => [ + 'summary' => '导出企业VOC分析任务明细列表', + 'path' => '', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'Categories', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '分类筛选列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '分类筛选', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '临时可访问的URL(1小时过期)', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.xlsx', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": \\"http://www.example.com/xxx.xlsx\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ValidateUploadTemplate' => [ + 'summary' => '校验企业VOC上传模板', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TemplateType', + 'in' => 'formData', + 'schema' => [ + 'title' => '模板类型(Content:表示内容素材模板校验 PositiveSample:正面样本)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Content', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件key', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Content', + ], + ], + [ + 'name' => 'TaskType', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务类型:lightAppSass(Sass页调用)、sdkBatchTask(SDK批量调用任务)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'lightAppSass', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '模板校验结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'CommentCount' => [ + 'title' => '评论数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + 'DialogueCount' => [ + 'title' => '对话数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '50', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TotalCount\\": 50,\\n \\"CommentCount\\": 50,\\n \\"DialogueCount\\": 50\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitEnterpriseVocAnalysisTask' => [ + 'summary' => '提交VOC异步任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件FileKey', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss://default/bucket-name/materialDocument/tenant_agent/fileName', + ], + ], + [ + 'name' => 'MaterialType', + 'in' => 'formData', + 'schema' => [ + 'title' => '素材类型(shortContent: 长短评论、或工单,dialogue: 对话)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'shortContent', + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'title' => '模型ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'qwen-max', + ], + ], + [ + 'name' => 'ContentTags', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '内容标签', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagName' => [ + 'title' => '标签名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '一级标签-二级标签', + ], + 'TagValueDefinePrompt' => [ + 'title' => '标签值定义(如果是标签挖掘任务,则此Prompt是逗号分隔的枚举值、如果是总结概括人物则是总结概括的Prompt)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'TagDefinePrompt' => [ + 'title' => '标签定义', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '一级标签-二级标签', + ], + 'TagTaskType' => [ + 'title' => '标签挖掘任务类型(单标签:singleTagValue,多标签:multiTagValues,总结概括:summaryAndOverview, 筛选:filter))', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'singleTagValue', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'FilterTags', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '过滤标签', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagName' => [ + 'title' => '标签名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '一级标签-二级标签', + ], + 'TagValueDefinePrompt' => [ + 'title' => '标签值定义(如果是标签挖掘任务,则此Prompt是逗号分隔的枚举值、如果是总结概括人物则是总结概括的Prompt)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'TagDefinePrompt' => [ + 'title' => '标签定义', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '一级标签-二级标签', + ], + 'TagType' => [ + 'title' => '标签挖掘任务类型(单标签:singleTagValue,多标签:multiTagValues,总结概括:summaryAndOverview, 筛选:filter))', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'singleTagValue', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'PositiveSample', + 'in' => 'formData', + 'schema' => [ + 'title' => '正面样本内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'PositiveSampleFileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '正面样本文件FileKey', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss://default/bucket-name/path/xxx.xlsx', + ], + ], + [ + 'name' => 'TaskType', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务类型:lightAppSass(Sass页调用)、sdkBatchTask(SDK批量调用任务)', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'lightAppSass', + ], + ], + [ + 'name' => 'Contents', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '待挖掘的素材内容列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '待挖掘的素材', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'ExtraInfo' => [ + 'title' => '额外补充信息,直接给到大模型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'ApiKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼APIKEY', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '模板校验结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxx', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"xxxxx\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListAnalysisTagDetailByTaskId' => [ + 'summary' => '分页获取企业VOC分析任务明细列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'Categories', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '分类筛选列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '分类筛选', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'title' => '下一页标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'token-xxxx', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页最大数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'title' => '请求记录数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '标签挖掘分类明细列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '标签挖掘分类明细', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '数据主键ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '112', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'TagTaskType' => [ + 'title' => '标签挖掘任务类型(单标签:singleTagValue,多标签:multiTagValues,总结概括:summaryAndOverview)', + 'description' => '', + 'type' => 'string', + 'example' => 'summaryAndOverview', + ], + 'Content' => [ + 'title' => '标签内容', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'ContentTags' => [ + 'title' => '标签内容列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '标签值列表', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagName' => [ + 'title' => '标签名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'SummaryOverview' => [ + 'title' => '总结概括', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Tags' => [ + 'title' => '标签值列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'NextToken' => [ + 'title' => '下一页标识', + 'description' => '', + 'type' => 'string', + 'example' => 'token-xxxx', + ], + 'MaxResults' => [ + 'title' => '每页最大数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '总数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": 112,\\n \\"TaskId\\": \\"xxx\\",\\n \\"TagTaskType\\": \\"summaryAndOverview\\",\\n \\"Content\\": \\"xxx\\",\\n \\"ContentTags\\": [\\n {\\n \\"TagName\\": \\"xxx\\",\\n \\"SummaryOverview\\": \\"xxx\\",\\n \\"Tags\\": [\\n \\"标签值列表\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"NextToken\\": \\"token-xxxx\\",\\n \\"MaxResults\\": 10,\\n \\"TotalCount\\": 10\\n}","type":"json"}]', + ], + 'GetEnterpriseVocAnalysisTask' => [ + 'summary' => '获取企业VOC分析任务结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '企业VOC分析结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'StatisticsOverview' => [ + 'title' => '统计概览', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Count' => [ + 'title' => '总分析数据条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TagDimensionStatistics' => [ + 'title' => '内容标签统计', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagValueCountStatistic' => [ + 'title' => '标签值数量统计', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagName' => [ + 'title' => '标签名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'TagTaskType' => [ + 'title' => '标签挖掘任务类型(单标签:singleTagValue,多标签:multiTagValues,总结概括:summaryAndOverview)', + 'description' => '', + 'type' => 'string', + 'example' => 'multiTagValues', + ], + 'ValueCount' => [ + 'title' => '标签值数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + ], + 'FilterDimensionStatistics' => [ + 'title' => '筛选标签统计', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TagValueCountStatistic' => [ + 'title' => '标签值数量统计', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TagName' => [ + 'title' => '标签名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'TagTaskType' => [ + 'title' => '标签挖掘任务类型(单标签:singleTagValue,多标签:multiTagValues,总结概括:summaryAndOverview)', + 'description' => '', + 'type' => 'string', + 'example' => 'multiTagValues', + ], + 'ValueCount' => [ + 'title' => '标签值数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + ], + ], + ], + 'Usage' => [ + 'title' => '消耗量统计', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OutputTokens' => [ + 'title' => '输出token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'InputTokens' => [ + 'title' => '输入token数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + 'Status' => [ + 'title' => '任务状态(PENDING:待执行,RUNNING:执行中,SUCCESSED:成功,FAILED:失败,CANCELED:已取消)', + 'description' => '', + 'type' => 'string', + 'example' => 'SUCCESSED', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => 'error', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"StatisticsOverview\\": {\\n \\"Count\\": 100,\\n \\"TagDimensionStatistics\\": {\\n \\"TagValueCountStatistic\\": [\\n {\\n \\"TagName\\": \\"xxx\\",\\n \\"TagTaskType\\": \\"multiTagValues\\",\\n \\"ValueCount\\": 100\\n }\\n ]\\n },\\n \\"FilterDimensionStatistics\\": {\\n \\"TagValueCountStatistic\\": [\\n {\\n \\"TagName\\": \\"xxx\\",\\n \\"TagTaskType\\": \\"multiTagValues\\",\\n \\"ValueCount\\": 100\\n }\\n ]\\n }\\n },\\n \\"Usage\\": {\\n \\"OutputTokens\\": 100,\\n \\"InputTokens\\": 200\\n },\\n \\"Status\\": \\"SUCCESSED\\",\\n \\"ErrorMessage\\": \\"error\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetCategoriesByTaskId' => [ + 'summary' => '获取某次标签挖掘结果分类', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Category' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Children' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Category' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Count' => [ + 'title' => '该分类下对应的VOC数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Data\\": [\\n {\\n \\"Category\\": \\"类别1\\",\\n \\"Children\\": [\\n {\\n \\"Category\\": \\"类别1-1\\"\\n }\\n ],\\n \\"Count\\": 2\\n }\\n ]\\n}","type":"json"}]', + ], + 'CreateDataset' => [ + 'summary' => '数据集管理-创建', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'DatasetType', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CustomSemanticSearch', + 'default' => 'CustomSemanticSearch', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称,全局唯一', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'businessDataset', + ], + ], + [ + 'name' => 'DatasetDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集描述', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '企业自定义数据集', + ], + ], + [ + 'name' => 'SearchDatasetEnable', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + 'default' => '3', + ], + ], + [ + 'name' => 'DatasetConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '数据集配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SearchSourceConfigs' => [ + 'title' => '三方搜索:api定义', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DemoQuery' => [ + 'title' => '可以搜索到的关键词,用来验证是否可用', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '可以搜索到的关键词,用来验证是否可用', + ], + 'Size' => [ + 'title' => '默认请求、响应数据条数限制', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'SearchSourceRequestConfig' => [ + 'title' => 'api请求配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => 'api地址', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'api地址', + ], + 'Method' => [ + 'title' => '请求方式', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '请求方式', + ], + 'ConnectTimeout' => [ + 'title' => '连接超时时间:单位毫秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3000', + ], + 'SocketTimeout' => [ + 'title' => '读超时时间:单位毫秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3000', + ], + 'Headers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '参数名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数名称', + ], + 'ValueType' => [ + 'title' => '参数值数据类型: 默认string', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值数据类型: 默认string', + ], + 'ValueFormat' => [ + 'title' => 'valueType = time 时有效', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'valueType = time 时有效', + ], + 'Value' => [ + 'title' => '参数值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Params' => [ + 'title' => '请求path参数', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '参数名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数名称', + ], + 'ValueType' => [ + 'title' => '参数值数据类型: 默认string', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值数据类型: 默认string', + ], + 'ValueFormat' => [ + 'title' => 'valueType = time 时有效', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'valueType = time 时有效', + ], + 'Value' => [ + 'title' => '参数值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'PathParamsEnable' => [ + 'title' => '是否开启pathParam', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'Body' => [ + 'title' => '请求body', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + 'required' => false, + ], + 'SearchSourceResponseConfig' => [ + 'title' => 'api响应配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JqNodes' => [ + 'title' => '节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '节点key', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '节点数据类型:string number list object base', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '节点路径', + ], + 'JqNodes' => [ + 'title' => '子节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'title', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'string', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'JqNodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'title', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'string', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SearchSourceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'TagSearchEnable' => [ + 'type' => 'boolean', + ], + 'TagGenerateEnable' => [ + 'type' => 'boolean', + ], + 'MetadataKeyValueSearchEnable' => [ + 'type' => 'boolean', + ], + 'MetadataKeyValueGenerateEnable' => [ + 'type' => 'boolean', + ], + ], + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'DocumentHandleConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '数据集索引配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisableHandleMultimodalMedia' => [ + 'title' => '禁用多媒体文件处理逻辑,默认为false', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'InvokeType', + 'in' => 'formData', + 'schema' => [ + 'title' => '调用方式:目前仅支持值portal,标识控制台调用。'."\n" + .'- 空时:当DatasetType= ThirdSearch,datasetConfig.SearchSourceConfigs(三方api定义)必传。'."\n" + .'- portal时:当DatasetType= ThirdSearch,后台会默认初始化一个SearchSourceConfigs(三方apidemo)示例,供参考。', + 'type' => 'string', + 'example' => 'portal', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DatasetId' => [ + 'title' => '数据集ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-12 21:46:24', + ], + 'DatasetType' => [ + 'title' => '数据集类型', + 'description' => '', + 'type' => 'string', + 'example' => 'CustomSemanticSearch', + ], + 'DatasetName' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DatasetDescription' => [ + 'title' => '数据集显示名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'SearchDatasetEnable' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DatasetId\\": 1,\\n \\"CreateUser\\": \\"xxx\\",\\n \\"CreateTime\\": \\"2024-11-12 21:46:24\\",\\n \\"DatasetType\\": \\"CustomSemanticSearch\\",\\n \\"DatasetName\\": \\"xxx\\",\\n \\"DatasetDescription\\": \\"xxx\\",\\n \\"SearchDatasetEnable\\": 1\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'GetDataset' => [ + 'summary' => '数据集管理-详情', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称,全局唯一', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'businessDataset', + 'maxLength' => 30, + 'minLength' => 3, + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DatasetId' => [ + 'title' => '数据集ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-12 21:46:24', + ], + 'DatasetType' => [ + 'title' => '数据集类型', + 'description' => '', + 'type' => 'string', + 'example' => 'CustomSemanticSearch', + ], + 'DatasetName' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DatasetConfig' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SearchSourceConfigs' => [ + 'title' => '三方搜索:api定义', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DemoQuery' => [ + 'title' => '可以搜索到的关键词,用来验证是否可用', + 'description' => '', + 'type' => 'string', + 'example' => '可以搜索到的关键词,用来验证是否可用', + ], + 'Size' => [ + 'title' => '默认请求、响应数据条数限制', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'SearchSourceRequestConfig' => [ + 'title' => 'api请求配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => 'api地址', + 'description' => '', + 'type' => 'string', + 'example' => 'api地址', + ], + 'Method' => [ + 'title' => '请求方式', + 'description' => '', + 'type' => 'string', + 'example' => '请求方式', + ], + 'ConnectTimeout' => [ + 'title' => '连接超时时间:单位毫秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'SocketTimeout' => [ + 'title' => '读超时时间:单位毫秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '78', + ], + 'Headers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '参数名称', + 'description' => '', + 'type' => 'string', + 'example' => '参数名称', + ], + 'ValueType' => [ + 'title' => '参数值数据类型: 默认string', + 'description' => '', + 'type' => 'string', + 'example' => '参数值数据类型: 默认string', + ], + 'ValueFormat' => [ + 'title' => 'valueType = time 时有效', + 'description' => '', + 'type' => 'string', + 'example' => 'valueType = time 时有效', + ], + 'Value' => [ + 'title' => '参数值', + 'description' => '', + 'type' => 'string', + 'example' => '参数值', + ], + ], + ], + ], + 'Params' => [ + 'title' => '请求path参数', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '参数名称', + 'description' => '', + 'type' => 'string', + 'example' => '参数名称', + ], + 'ValueType' => [ + 'title' => '参数值数据类型: 默认string', + 'description' => '', + 'type' => 'string', + 'example' => '参数值数据类型: 默认string', + ], + 'ValueFormat' => [ + 'title' => 'valueType = time 时有效', + 'description' => '', + 'type' => 'string', + 'example' => 'valueType = time 时有效', + ], + 'Value' => [ + 'title' => '参数值', + 'description' => '', + 'type' => 'string', + 'example' => '参数值', + ], + ], + ], + ], + 'PathParamsEnable' => [ + 'title' => '是否开启pathParam', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Body' => [ + 'title' => '请求body', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + ], + ], + 'SearchSourceResponseConfig' => [ + 'title' => 'api响应配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JqNodes' => [ + 'title' => '节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '节点', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'example' => '节点key', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'example' => '节点数据类型:string number list object base', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'example' => '节点路径', + ], + 'JqNodes' => [ + 'title' => '子节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '子节点配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'example' => 'title', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'example' => 'string', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'example' => '.title', + ], + 'JqNodes' => [ + 'title' => '子节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '子节点配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'example' => 'title', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'example' => 'string', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'example' => '.title', + ], + ], + ], + ], + ], + 'example' => 'xx', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'SearchSourceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'TagSearchEnable' => [ + 'type' => 'string', + ], + 'TagGenerateEnable' => [ + 'type' => 'string', + ], + 'MetadataKeyValueSearchEnable' => [ + 'type' => 'string', + ], + 'MetadataKeyValueGenerateEnable' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'DatasetDescription' => [ + 'title' => '数据集显示名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'SearchDatasetEnable' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'DocumentHandleConfig' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DisableHandleMultimodalMedia' => [ + 'title' => '禁用多媒体文件处理逻辑,默认为false', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DatasetId\\": 1,\\n \\"CreateUser\\": \\"xxx\\",\\n \\"CreateTime\\": \\"2024-11-12 21:46:24\\",\\n \\"DatasetType\\": \\"CustomSemanticSearch\\",\\n \\"DatasetName\\": \\"xxx\\",\\n \\"DatasetConfig\\": {\\n \\"SearchSourceConfigs\\": [\\n {\\n \\"DemoQuery\\": \\"可以搜索到的关键词,用来验证是否可用\\",\\n \\"Size\\": 10,\\n \\"SearchSourceRequestConfig\\": {\\n \\"Url\\": \\"api地址\\",\\n \\"Method\\": \\"请求方式\\",\\n \\"ConnectTimeout\\": 30,\\n \\"SocketTimeout\\": 78,\\n \\"Headers\\": [\\n {\\n \\"Name\\": \\"参数名称\\",\\n \\"ValueType\\": \\"参数值数据类型:默认string\\",\\n \\"ValueFormat\\": \\"valueType = time 时有效\\",\\n \\"Value\\": \\"参数值\\"\\n }\\n ],\\n \\"Params\\": [\\n {\\n \\"Name\\": \\"参数名称\\",\\n \\"ValueType\\": \\"参数值数据类型:默认string\\",\\n \\"ValueFormat\\": \\"valueType = time 时有效\\",\\n \\"Value\\": \\"参数值\\"\\n }\\n ],\\n \\"PathParamsEnable\\": true,\\n \\"Body\\": \\"请求body\\"\\n },\\n \\"SearchSourceResponseConfig\\": {\\n \\"JqNodes\\": [\\n {\\n \\"Key\\": \\"节点key\\",\\n \\"Type\\": \\"节点数据类型:string number list object base\\",\\n \\"Path\\": \\"节点路径\\",\\n \\"JqNodes\\": [\\n {\\n \\"Key\\": \\"title\\",\\n \\"Type\\": \\"string\\",\\n \\"Path\\": \\".title\\",\\n \\"JqNodes\\": [\\n {\\n \\"Key\\": \\"title\\",\\n \\"Type\\": \\"string\\",\\n \\"Path\\": \\".title\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n }\\n ],\\n \\"SearchSourceConfig\\": {\\n \\"TagSearchEnable\\": \\"true\\",\\n \\"TagGenerateEnable\\": \\"true\\",\\n \\"MetadataKeyValueSearchEnable\\": \\"true\\",\\n \\"MetadataKeyValueGenerateEnable\\": \\"true\\"\\n }\\n },\\n \\"DatasetDescription\\": \\"xxx\\",\\n \\"SearchDatasetEnable\\": 1,\\n \\"DocumentHandleConfig\\": {\\n \\"DisableHandleMultimodalMedia\\": true\\n }\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'UpdateDataset' => [ + 'summary' => '数据集管理-更新', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetDescription', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集描述', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '企业自定义数据集', + 'maxLength' => 30, + 'minLength' => 0, + ], + ], + [ + 'name' => 'SearchDatasetEnable', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + [ + 'name' => 'DatasetConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '三方搜索数据集配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SearchSourceConfigs' => [ + 'title' => '三方搜索:api定义', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DemoQuery' => [ + 'title' => '可以搜索到的关键词,用来验证是否可用', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '可以搜索到的关键词,用来验证是否可用', + ], + 'Size' => [ + 'title' => '默认请求、响应数据条数限制', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'SearchSourceRequestConfig' => [ + 'title' => 'api请求配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Url' => [ + 'title' => 'api地址', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'api地址', + ], + 'Method' => [ + 'title' => '请求方式', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '请求方式', + ], + 'ConnectTimeout' => [ + 'title' => '连接超时时间:单位毫秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3000', + ], + 'SocketTimeout' => [ + 'title' => '读超时时间:单位毫秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3000', + ], + 'Headers' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '参数名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数名称', + ], + 'ValueType' => [ + 'title' => '参数值数据类型: 默认string', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值数据类型: 默认string', + ], + 'ValueFormat' => [ + 'title' => 'valueType = time 时有效', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'valueType = time 时有效', + ], + 'Value' => [ + 'title' => '参数值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Params' => [ + 'title' => '请求path参数', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'title' => '参数名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数名称', + ], + 'ValueType' => [ + 'title' => '参数值数据类型: 默认string', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值数据类型: 默认string', + ], + 'ValueFormat' => [ + 'title' => 'valueType = time 时有效', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'valueType = time 时有效', + ], + 'Value' => [ + 'title' => '参数值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '参数值', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'PathParamsEnable' => [ + 'title' => '是否开启pathParam', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'Body' => [ + 'title' => '请求body', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '{}', + ], + ], + 'required' => false, + ], + 'SearchSourceResponseConfig' => [ + 'title' => 'api响应配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'JqNodes' => [ + 'title' => '节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '节点key', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '节点key', + ], + 'Type' => [ + 'title' => '节点数据类型:string number list object base', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '节点数据类型:string number list object base', + ], + 'Path' => [ + 'title' => '节点路径', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '节点路径', + ], + 'JqNodes' => [ + 'title' => '子节点配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'title', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'string', + ], + 'Path' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '.title', + ], + 'JqNodes' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'title', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'string', + ], + 'Path' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '.title', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SearchSourceConfig' => [ + 'type' => 'object', + 'properties' => [ + 'TagSearchEnable' => [ + 'type' => 'boolean', + ], + 'TagGenerateEnable' => [ + 'type' => 'boolean', + ], + 'MetadataKeyValueSearchEnable' => [ + 'type' => 'boolean', + ], + 'MetadataKeyValueGenerateEnable' => [ + 'type' => 'boolean', + ], + ], + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DatasetId' => [ + 'title' => '数据集ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-12 21:46:24', + ], + 'DatasetType' => [ + 'title' => '数据集类型', + 'description' => '', + 'type' => 'string', + 'example' => 'CustomSemanticSearch', + ], + 'DatasetName' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DatasetDescription' => [ + 'title' => '数据集显示名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'SearchDatasetEnable' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'NewsArticleResults' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-12 15:12:14', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '央视网', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + ], + ], + ], + 'Current' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Size' => [ + 'title' => '每页记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Total' => [ + 'title' => '总记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DatasetId\\": 1,\\n \\"CreateUser\\": \\"xxx\\",\\n \\"CreateTime\\": \\"2024-11-12 21:46:24\\",\\n \\"DatasetType\\": \\"CustomSemanticSearch\\",\\n \\"DatasetName\\": \\"xxx\\",\\n \\"DatasetDescription\\": \\"xxx\\",\\n \\"SearchDatasetEnable\\": 1,\\n \\"NewsArticleResults\\": [\\n {\\n \\"Data\\": [\\n {\\n \\"PubTime\\": \\"2024-11-12 15:12:14\\",\\n \\"Source\\": \\"央视网\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\",\\n \\"Summary\\": \\"文章摘要\\"\\n }\\n ],\\n \\"Current\\": 1,\\n \\"Size\\": 10,\\n \\"Total\\": 100,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ListDatasets' => [ + 'summary' => '数据集管理-查询', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '创建时间-开始', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '创建时间-开始', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'formData', + 'schema' => [ + 'title' => '创建时间-结束', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '创建时间-结束', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称,全局唯一', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'businessDataset', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页:默认1', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + 'default' => '1', + ], + ], + [ + 'name' => 'DatasetType', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'CustomSemanticSearch', + ], + ], + [ + 'name' => 'SearchDatasetEnable', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + [ + 'name' => 'IncludeConfig', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否返回配置和用量信息,默认不返回', + 'type' => 'boolean', + 'default' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DatasetId' => [ + 'title' => '数据集ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'CreateUser' => [ + 'title' => '创建者', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-12 21:46:24', + ], + 'DatasetType' => [ + 'title' => '数据集类型', + 'description' => '', + 'type' => 'string', + 'example' => 'CustomSemanticSearch', + ], + 'DatasetName' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DatasetDescription' => [ + 'title' => '数据集显示名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'SearchDatasetEnable' => [ + 'title' => '数据集搜索开关', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'DocUsedQuota' => [ + 'title' => '当前数据集已上传文档总数', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + ], + ], + ], + 'PageNumber' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'TotalCount' => [ + 'title' => '总条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'PageSize' => [ + 'title' => '每页条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'CustomSemanticSearchConfig' => [ + 'title' => '"上传文件用作数据源"场景索引配置和用量信息', + 'type' => 'object', + 'properties' => [ + 'DocQuota' => [ + 'title' => '总文档配额', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1000', + ], + 'DocUsedQuota' => [ + 'title' => '总文档已使用配额', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'DatasetQuota' => [ + 'title' => '数据集数量配额', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '3', + ], + 'DatasetUsedQuota' => [ + 'title' => '数据集数量已使用配额', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'ThirdSearchConfig' => [ + 'title' => '"通过API引入数据源"场景配置和用量信息', + 'type' => 'object', + 'properties' => [ + 'DatasetQuota' => [ + 'title' => '数据集数量配额', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'DatasetUsedQuota' => [ + 'title' => '数据集数量已使用配额', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DatasetId\\": 1,\\n \\"CreateUser\\": \\"xxx\\",\\n \\"CreateTime\\": \\"2024-11-12 21:46:24\\",\\n \\"DatasetType\\": \\"CustomSemanticSearch\\",\\n \\"DatasetName\\": \\"xxx\\",\\n \\"DatasetDescription\\": \\"xxx\\",\\n \\"SearchDatasetEnable\\": 1,\\n \\"DocUsedQuota\\": 1\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"TotalCount\\": 100,\\n \\"PageSize\\": 10,\\n \\"CustomSemanticSearchConfig\\": {\\n \\"DocQuota\\": 1000,\\n \\"DocUsedQuota\\": 1,\\n \\"DatasetQuota\\": 3,\\n \\"DatasetUsedQuota\\": 1\\n },\\n \\"ThirdSearchConfig\\": {\\n \\"DatasetQuota\\": 2,\\n \\"DatasetUsedQuota\\": 1\\n }\\n}","type":"json"}]', + ], + 'DeleteDataset' => [ + 'summary' => '数据集管理-删除', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'AddDatasetDocument' => [ + 'summary' => '添加文档到数据集', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据集名称', + ], + ], + [ + 'name' => 'Document', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => '内部文档唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '内部文档唯一ID', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'xxx', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文章摘要', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[email protected]', + ], + 'PubTime' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2024-12-09 13:35:40', + ], + 'SourceFrom' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '来源', + ], + 'MultimodalIndexName' => [ + 'title' => '模型名称 todo 商业化 仅个别账号可传入', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '模型名称 todo 商业化 仅个别账号可传入', + ], + 'DisableHandleMultimodalMedia' => [ + 'title' => '当前记录是否落多模态索引库', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + 'MultimodalMedias' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => '多模态数据唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '多模态数据唯一标识', + ], + 'MediaType' => [ + 'title' => '多模态数据类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '多模态数据类型', + ], + 'FileUrl' => [ + 'title' => '图片或视频文件地址', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '图片或视频文件地址', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'DocId' => [ + 'title' => '业务文档唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '业务文档唯一ID', + ], + 'DocType' => [ + 'title' => '文档类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '文档类型', + ], + 'Extend1' => [ + 'title' => '扩展字段1', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '扩展字段1', + ], + 'Extend2' => [ + 'title' => '扩展字段2', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '扩展字段2', + ], + 'Extend3' => [ + 'title' => '扩展字段3', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '扩展字段3', + ], + 'Metadata' => [ + 'title' => '字典信息:目前仅视频支持', + 'type' => 'object', + 'properties' => [ + 'VideoShots' => [ + 'title' => '视频分镜信息:比如视频理解语言分析结果', + 'type' => 'array', + 'items' => [ + 'title' => '分镜信息', + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'title' => '分镜开始时间:单位毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'EndTime' => [ + 'title' => '分镜结束时间:单位毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'Text' => [ + 'title' => '分镜:总结内容', + 'type' => 'string', + ], + ], + ], + ], + 'AsrSentences' => [ + 'title' => 'asr结果', + 'type' => 'array', + 'items' => [ + 'title' => 'asr结果', + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'title' => '开始时间:单位毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'EndTime' => [ + 'title' => '结束时间:单位毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'Text' => [ + 'title' => 'asr内容', + 'type' => 'string', + ], + ], + ], + ], + 'Text' => [ + 'title' => '整体总结信息', + 'type' => 'string', + ], + 'KeyValues' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8df2d69d63a247b6b52ff455b2d426b6', + ], + 'DocId' => [ + 'title' => '文档业务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '文档业务唯一标识', + ], + 'Status' => [ + 'title' => '状态:', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DocUuid\\": \\"8df2d69d63a247b6b52ff455b2d426b6\\",\\n \\"DocId\\": \\"xxx\\",\\n \\"Status\\": 1,\\n \\"ErrorCode\\": \\"Success\\",\\n \\"ErrorMessage\\": \\"错误信息\\"\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'GetDatasetDocument' => [ + 'summary' => '获取数据集文档', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据集名称', + ], + ], + [ + 'name' => 'DocUuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'IncludeFields', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '包含的字段列表', + 'type' => 'array', + 'items' => [ + 'title' => '包含的字段:比如metadata', + 'type' => 'string', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => '内部文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '内部文档唯一ID', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.aliyun.com', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PubTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-05-14 08:54:33', + ], + 'SourceFrom' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '来源', + ], + 'DisableHandleMultimodalMedia' => [ + 'title' => '当前记录是否落多模态索引库', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'DocId' => [ + 'title' => '用户指定的文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '用户指定的文档唯一ID', + ], + 'Metadata' => [ + 'title' => '字典信息', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '文档维度meta', + 'type' => 'string', + ], + 'VideoShots' => [ + 'title' => '视频分片信息', + 'type' => 'array', + 'items' => [ + 'title' => '视频分片信息', + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'title' => '视频分片开始时间:毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'EndTime' => [ + 'title' => '视频分片结束时间:毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'Text' => [ + 'title' => '视频分片:内容', + 'type' => 'string', + ], + ], + ], + ], + 'AsrSentences' => [ + 'title' => 'asr结果', + 'type' => 'array', + 'items' => [ + 'title' => 'asr结果', + 'type' => 'object', + 'properties' => [ + 'StartTime' => [ + 'title' => '开始时间:毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'EndTime' => [ + 'title' => '结束时间:毫秒', + 'type' => 'integer', + 'format' => 'int64', + ], + 'Text' => [ + 'title' => 'asr内容', + 'type' => 'string', + ], + ], + ], + ], + 'KeyValues' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'type' => 'string', + ], + 'Value' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'DocType' => [ + 'title' => '文档类型:比如video、image', + 'type' => 'string', + ], + 'Status' => [ + 'title' => '文档状态', + 'type' => 'integer', + 'format' => 'int32', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DocUuid\\": \\"xxx\\",\\n \\"Url\\": \\"https://www.aliyun.com\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Title\\": \\"文档标题\\\\n\\\\n\\",\\n \\"PubTime\\": \\"2024-05-14 08:54:33\\",\\n \\"SourceFrom\\": \\"来源\\",\\n \\"DisableHandleMultimodalMedia\\": true,\\n \\"DocId\\": \\"xxx\\",\\n \\"Metadata\\": {\\n \\"Text\\": \\"xx\\",\\n \\"VideoShots\\": [\\n {\\n \\"StartTime\\": 1000,\\n \\"EndTime\\": 2000,\\n \\"Text\\": \\"xxx\\"\\n }\\n ],\\n \\"AsrSentences\\": [\\n {\\n \\"StartTime\\": 1000,\\n \\"EndTime\\": 2000,\\n \\"Text\\": \\"xxx\\"\\n }\\n ],\\n \\"KeyValues\\": [\\n {\\n \\"Key\\": \\"xx\\",\\n \\"Value\\": \\"xx\\"\\n }\\n ]\\n },\\n \\"DocType\\": \\"video\\",\\n \\"Status\\": 100,\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'UpdateDatasetDocument' => [ + 'summary' => '修改数据集文档', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Document', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => '内部文档唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '内部文档唯一ID', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xx', + ], + 'DocId' => [ + 'title' => '用户指定的文档唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '用户指定的文档唯一ID', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据集名称', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => '内部文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '内部文档唯一ID', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DocId' => [ + 'title' => '用户指定的文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '用户指定的文档唯一ID', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DocUuid\\": \\"内部文档唯一ID\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"DocId\\": \\"用户指定的文档唯一ID\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ListDatasetDocuments' => [ + 'summary' => '查询数据集文档列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索条件', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '搜索条件', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据集名称', + ], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档索引构建状态', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '100', + ], + ], + [ + 'name' => 'DocType', + 'in' => 'formData', + 'schema' => [ + 'title' => '文档类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'text', + ], + ], + [ + 'name' => 'DatasetDescription', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xx', + ], + ], + [ + 'name' => 'IncludeFields', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '包括字段', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'content', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ExcludeFields', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '排除字段', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'content', + ], + 'required' => false, + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '10', + ], + ], + [ + 'name' => 'CategoryUuids', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Extend1', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Extend2', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Extend3', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CreateTimeStart', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'CreateTimeEnd', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'DocUuids', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'DocIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'Title', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => '内部文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '内部文档唯一ID', + ], + 'Url' => [ + 'title' => 'url', + 'description' => 'url', + 'type' => 'string', + 'example' => 'https://xxx/xx', + ], + 'Content' => [ + 'title' => '正文', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2022-01-01 00:00:00', + ], + 'SourceFrom' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '来源', + ], + 'DisableHandleMultimodalMedia' => [ + 'title' => '当前记录是否落多模态索引库', + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'MultimodalMedias' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => '多模态数据唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据唯一标识', + ], + 'MediaType' => [ + 'title' => '多模态数据类型', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据类型', + ], + 'FileUrl' => [ + 'title' => '图片或视频文件地址', + 'description' => '', + 'type' => 'string', + 'example' => '图片或视频文件地址', + ], + ], + ], + ], + 'DocId' => [ + 'title' => '用户指定的文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'DocType' => [ + 'title' => '文档类型', + 'description' => '', + 'type' => 'string', + 'example' => 'text', + ], + 'Status' => [ + 'title' => '文档索引构建状态', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'CategoryUuid' => [ + 'title' => '类目唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend1' => [ + 'title' => '扩展字段1', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend2' => [ + 'title' => '扩展字段2', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend3' => [ + 'title' => '扩展字段3', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'type' => 'string', + 'example' => '2025-04-14 19:59:53', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'type' => 'string', + 'example' => '2025-04-14 19:59:53', + ], + 'UpdateUser' => [ + 'type' => 'string', + ], + 'CreateUser' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'PageNumber' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '每页记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '总记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"DocUuid\\": \\"内部文档唯一ID\\",\\n \\"Url\\": \\"https://xxx/xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"Title\\": \\"xx\\",\\n \\"PubTime\\": \\"2022-01-01 00:00:00\\",\\n \\"SourceFrom\\": \\"来源\\",\\n \\"DisableHandleMultimodalMedia\\": false,\\n \\"MultimodalMedias\\": [\\n {\\n \\"MediaId\\": \\"多模态数据唯一标识\\",\\n \\"MediaType\\": \\"多模态数据类型\\",\\n \\"FileUrl\\": \\"图片或视频文件地址\\"\\n }\\n ],\\n \\"DocId\\": \\"xx\\",\\n \\"DocType\\": \\"text\\",\\n \\"Status\\": 100,\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"CreateTime\\": \\"2025-04-14 19:59:53\\",\\n \\"UpdateTime\\": \\"2025-04-14 19:59:53\\",\\n \\"UpdateUser\\": \\"1\\",\\n \\"CreateUser\\": \\"1\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ]\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'SearchDatasetDocuments' => [ + 'summary' => '搜索数据集文档', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xx', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索内容', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '搜索内容', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据集名称', + ], + ], + [ + 'name' => 'IncludeContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '默认 false', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'Extend1', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务参数', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '业务参数', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '返回数据条数', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10', + 'default' => '10', + ], + ], + [ + 'name' => 'CategoryUuids', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'Extend2', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Extend3', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CreateTimeStart', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'CreateTimeEnd', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'DocUuids', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'DocIds', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'SearchMode', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'DocTypes', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Documents' => [ + 'title' => '文本数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => '内部文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '内部文档唯一ID', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'PubTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-12-09 17:09:40', + ], + 'SourceFrom' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '来源', + ], + 'DocId' => [ + 'title' => '用户指定的文档唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '用户指定的文档唯一ID', + ], + 'DocType' => [ + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'SearchSourceType' => [ + 'type' => 'string', + ], + 'SearchSource' => [ + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'type' => 'string', + ], + 'Score' => [ + 'type' => 'number', + 'format' => 'double', + ], + 'ChunkInfos' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Chunk' => [ + 'type' => 'string', + ], + 'Score' => [ + 'type' => 'number', + 'format' => 'double', + ], + ], + ], + ], + 'Chunk' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"Documents\\": [\\n {\\n \\"DocUuid\\": \\"xxx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"Title\\": \\"xx\\",\\n \\"PubTime\\": \\"2024-12-09 17:09:40\\",\\n \\"SourceFrom\\": \\"来源\\",\\n \\"DocId\\": \\"xx\\",\\n \\"DocType\\": \\"text\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"SearchSourceType\\": \\"xx\\",\\n \\"SearchSource\\": \\"xx\\",\\n \\"SearchSourceName\\": \\"xx\\",\\n \\"Score\\": 0.5,\\n \\"ChunkInfos\\": [\\n {\\n \\"Chunk\\": \\"xx\\",\\n \\"Score\\": 0.77\\n }\\n ],\\n \\"Chunk\\": \\"xx\\"\\n }\\n ]\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'DeleteDatasetDocument' => [ + 'summary' => '删除数据集文档', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'DatasetId', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'DatasetName', + 'in' => 'formData', + 'schema' => [ + 'title' => '数据集名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '数据集名称', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户指定的文档唯一ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'DocUuid', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n \\"xxx\\"\\n ],\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'RunSearchGeneration' => [ + 'summary' => 'AI妙搜-智能搜索生成', + 'path' => '/quanmiao/aimiaosou/runSearchGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'llm-xxx', + 'required' => true, + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'type' => 'string', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + 'required' => false, + 'title' => '搜索任务唯一标识', + 'type' => 'string', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'xxx', + 'required' => false, + 'title' => '搜索query', + 'type' => 'string', + ], + ], + [ + 'name' => 'OriginalSessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'xxx', + 'required' => false, + 'title' => '原会话唯一标识:通常为空,非空时,表示当前对话基于此轮对话生成,会加载原始轮对话参数,搜索结果等,同时会替换生成结果,适用于,重新生成、修改数据源、新增agent生成场景', + 'type' => 'string', + ], + ], + [ + 'name' => 'ChatConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'example' => 'xxx', + 'properties' => [ + 'GenerateTechnology' => [ + 'description' => '', + 'enumValueTitles' => [ + 'copilotPrecise' => 'copilotPrecise', + 'copilotReference' => 'copilotReference', + ], + 'example' => 'copilotPrecise', + 'required' => false, + 'title' => '生成技术 (copilotPrecise: 精准模式-copilot, copilotReference: 参考模式-copilot)', + 'type' => 'string', + ], + 'SearchParam' => [ + 'description' => '', + 'properties' => [ + 'StartTime' => [ + 'description' => '', + 'example' => '1725983999999', + 'format' => 'int64', + 'required' => false, + 'title' => '开始时间', + 'type' => 'integer', + ], + 'EndTime' => [ + 'description' => '', + 'example' => '1725983999999', + 'format' => 'int64', + 'required' => false, + 'title' => '结束时间', + 'type' => 'integer', + ], + 'SearchSources' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'enumValueTitles' => [ + 'SystemSearch' => 'SystemSearch', + 'ThirdSearch' => 'ThirdSearch', + 'CustomSemanticSearch' => 'CustomSemanticSearch', + ], + 'example' => 'SystemSearch', + 'required' => false, + 'title' => '搜索源类型:对应数据集code(SystemSearch:系统内置搜索,CustomSemanticSearch:自建语义索引搜索,ThirdSearch:三方API搜索)', + 'type' => 'string', + ], + 'DatasetName' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'required' => false, + 'title' => '数据源唯一标识:对应数据集datasetName', + 'type' => 'string', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => false, + 'title' => '搜索源列表', + 'type' => 'array', + ], + 'MultimodalSearchTypes' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'enumValueTitles' => [ + 'image' => 'image', + 'text' => 'text', + 'video' => 'video', + ], + 'example' => 'text', + 'required' => false, + 'type' => 'string', + ], + 'required' => false, + 'title' => '多模态搜索类型,默认text(text: 文本, image: 图片, video: 视频)', + 'type' => 'array', + ], + 'SearchTextMinScore' => [ + 'title' => '文本搜索阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.6', + ], + 'SearchImageMinScore' => [ + 'title' => '图片搜索阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.6', + ], + 'SearchVideoMinScore' => [ + 'title' => '视频搜索阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.6', + ], + 'SearchAudioMinScore' => [ + 'title' => '语音搜索阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.6', + ], + 'CategoryUuids' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'CreateTimeStart' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CreateTimeEnd' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'DocIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'DocUuids' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + 'required' => false, + 'title' => '搜索参数', + 'type' => 'object', + ], + 'SearchModels' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'enumValueTitles' => [ + 'TextGenerate' => 'TextGenerate', + 'ExtractNewsElementGenerate' => 'ExtractNewsElementGenerate', + 'ClusterGenerate' => 'ClusterGenerate', + 'TimelineGenerate' => 'TimelineGenerate', + 'ExcerptGenerate' => 'ExcerptGenerate', + ], + 'example' => 'TextGenerate', + 'required' => false, + 'type' => 'string', + ], + 'required' => false, + 'title' => '搜索模式列表(TextGenerate:总结生成答案(默认), ExcerptGenerate:用原文语句回答, ClusterGenerate:聚类, TimelineGenerate:按时间线总结, ExtractNewsElementGenerate:抽取新闻要素)', + 'type' => 'array', + ], + 'GenerateLevel' => [ + 'description' => '', + 'enumValueTitles' => [ + 'concise' => 'concise', + 'enhance' => 'enhance', + ], + 'example' => 'concise', + 'required' => false, + 'title' => '回答的详细程度:(concise:简洁(默认),enhance:增强)', + 'type' => 'string', + ], + 'EnableThinking' => [ + 'title' => '是否思考模式,默认:否', + 'type' => 'boolean', + 'required' => false, + ], + 'ExcludeGenerateOptions' => [ + 'title' => '跳过的生成选项:think(思考)、multimodalSearchThink(多模态搜索思考)、queryRecommend(query推荐)', + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + 'required' => false, + ], + 'ModelCustomPromptTemplate' => [ + 'title' => '问答式搜索-总结生成答案-纯文本prompt模版,比如:必须包含变量 query、content', + 'type' => 'string', + 'example' => '# 角色 你是一个专业的文章检索和问答机器人,擅长文章检索和回答用户问题。 # 任务目标 请你根据检索到的相关文章,回答或表述用户问题“{query}”。 # 任务限制 - 如果用户问题中提到具体日期,请考虑知识日期做筛选。 - 生成内容结构条理。 - 生成内容尽量精简。 - 控制在30字以内 - 不要使用其他数据,不要杜撰。 - 如果不能回答用户问题,请输出对应语言的拒识文案: - 中文:\\"根据已知信息无法回答。\\" - 英文:\\"Unable to answer based on the known information.\\" # 输入数据 ## 检索到的相关文章 {content}', + ], + 'ModelCustomVlPromptTemplate' => [ + 'title' => '问答式搜索-总结生成答案-文本&图片prompt模版,比如:必须包含变量 query、content', + 'type' => 'string', + 'example' => '# 角色 你是一个专业的文章检索和问答机器人,擅长文章检索和回答用户问题。 # 任务目标 请你根据检索到的相关文章和图片,回答或表述用户问题“{query}”。 # 任务限制 - 如果用户问题中提到具体日期,请考虑知识日期做筛选。 - 生成内容结构条理。 - 生成内容尽量精简。 - 控制在30字以内。 - 如果图片内容可以回答,可以忽略文章内容。 - 不要使用其他数据,不要杜撰。 - 如果不能回答用户问题,请输出对应语言的拒识文案: - 中文:\\"根据已知信息无法回答。\\" - 英文:\\"Unable to answer based on the known information.\\" # 输入数据 ## 检索到的相关文章 {content}', + ], + ], + 'required' => false, + 'title' => '生成配置', + 'type' => 'object', + ], + ], + [ + 'name' => 'AgentContext', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'properties' => [ + 'BizContext' => [ + 'description' => '', + 'properties' => [ + 'MultimodalMediaSelection' => [ + 'description' => '', + 'properties' => [ + 'SelectionType' => [ + 'description' => '', + 'example' => 'all', + 'required' => false, + 'title' => '参照数据来源类型,取值范围: ‒ 全量的:all,历史会话中取全量数据,仅支持聚类场景; ‒ 选中的:selected,生成时,会取textSearchResult中数据;', + 'type' => 'string', + ], + 'SessionId' => [ + 'description' => '', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + 'required' => false, + 'title' => '生成参照会话唯一标识:搜索生成时当前对话下取数据,比如聚类,目前仅媒资搜索场景-聚类需要', + 'type' => 'string', + ], + 'OriginalSessionId' => [ + 'description' => '', + 'example' => '原始会话唯一标识:搜索结果取这个会话中的全量,目前仅媒资搜索场景需要', + 'required' => false, + 'title' => '原始会话唯一标识:搜索结果取这个会话中的全量,目前仅媒资搜索场景需要', + 'type' => 'string', + ], + 'SearchModel' => [ + 'description' => '', + 'example' => 'TextGenerate', + 'required' => false, + 'title' => '仅聚类,对聚类子类内容二次聚类时传入,ClusterGenerate', + 'type' => 'string', + ], + 'SearchModelDataValue' => [ + 'description' => '', + 'example' => '分类1', + 'required' => false, + 'title' => 'searchModel=ClusterGenerate时,取子类topic名称,注意如果原值有引号时也要带上', + 'type' => 'string', + ], + 'TextSearchResult' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'SearchSourceType' => [ + 'description' => '', + 'example' => 'SystemSearch', + 'required' => false, + 'title' => '搜索信源类型,同searchSource.code', + 'type' => 'string', + ], + 'SearchSource' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'required' => false, + 'title' => '搜索信源唯一标识,同searchSource.datasetName', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'required' => false, + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'PubTime' => [ + 'description' => '', + 'example' => '2024-11-25 14:25:59', + 'required' => false, + 'title' => '发布时间', + 'type' => 'string', + ], + 'Source' => [ + 'description' => '', + 'example' => '新华社', + 'required' => false, + 'title' => '来源', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => '文章标题', + 'required' => false, + 'title' => '标题', + 'type' => 'string', + ], + 'Content' => [ + 'description' => '', + 'example' => '文章内容', + 'required' => false, + 'title' => '内容', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'https://www.example.com/aaa.docx', + 'required' => false, + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => '文章摘要', + 'required' => false, + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xxx', + 'required' => false, + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '1', + 'format' => 'float', + 'required' => false, + 'title' => '相关度', + 'type' => 'number', + ], + 'Chunks' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'required' => false, + 'type' => 'string', + ], + 'required' => false, + 'title' => '相关chunk', + 'type' => 'array', + ], + 'DocId' => [ + 'description' => '', + 'example' => '文档-自定义的唯一ID', + 'required' => false, + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => false, + 'title' => '文本搜索结果列表', + 'type' => 'array', + ], + ], + 'required' => false, + 'title' => '文本搜索结果', + 'type' => 'object', + ], + ], + 'required' => false, + 'title' => '用户输入或选中的多模态数据', + 'type' => 'object', + ], + 'SkipCurrentSupplement' => [ + 'type' => 'boolean', + ], + 'AskUser' => [ + 'title' => '反问', + 'type' => 'string', + ], + 'AskUserKeywords' => [ + 'title' => '反问关键词列表', + 'type' => 'array', + 'items' => [ + 'title' => '反问关键词', + 'type' => 'string', + ], + ], + 'UserBack' => [ + 'title' => '用户针对反问问题的反馈', + 'type' => 'string', + ], + 'UserBackKeywords' => [ + 'title' => '用户针对反问问题推荐关键词的反馈列表', + 'type' => 'array', + 'items' => [ + 'title' => '用户针对反问问题推荐关键词的反馈', + 'type' => 'string', + ], + ], + 'CurrentStep' => [ + 'title' => '当前步骤', + 'type' => 'string', + ], + 'NextStep' => [ + 'title' => '下一步', + 'type' => 'string', + ], + 'SupplementDataType' => [ + 'title' => '补充数据类型', + 'type' => 'string', + ], + 'SupplementEnable' => [ + 'title' => '是否补充', + 'type' => 'boolean', + ], + ], + 'required' => false, + 'title' => '业务上下文', + 'type' => 'object', + ], + ], + 'required' => false, + 'title' => '上下文', + 'type' => 'object', + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'title' => '模型id', + 'type' => 'string', + 'example' => 'qwen-max-latest', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '图片url', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'Payload' => [ + 'description' => '', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'properties' => [ + 'AgentContext' => [ + 'description' => '', + 'properties' => [ + 'BizContext' => [ + 'description' => '', + 'properties' => [ + 'CurrentStep' => [ + 'description' => '', + 'example' => 'start', + 'title' => '当前步骤 (start, interveneCheck: 干预, securityCheck: 绿网, think: 思考, queryRealize: query理解, userInteraction: 用户追问, search: 文本搜索, searchResult: 文本搜索结果, multimodalSearch: 多模态搜索, generate: 生成, searchGenerate: 搜索生成, queryRecommend: 推荐, generateReference: 引用, generateTraceability: 溯源, generateIllustration: 配图, end)', + 'type' => 'string', + ], + 'NextStep' => [ + 'description' => '', + 'example' => 'search', + 'title' => '下一步 (start, interveneCheck: 干预, securityCheck: 绿网, think: 思考, queryRealize: query理解, userInteraction: 用户追问, search: 文本搜索, searchResult: 文本搜索结果, multimodalSearch: 多模态搜索, generate: 生成, searchGenerate: 搜索生成, queryRecommend: 推荐, generateReference: 引用, generateTraceability: 溯源, generateIllustration: 配图, end)', + 'type' => 'string', + ], + 'GeneratedContent' => [ + 'description' => '', + 'properties' => [ + 'ClusterTopicResult' => [ + 'description' => '', + 'properties' => [ + 'ClusterTopics' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Topic' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '主题', + 'type' => 'string', + ], + 'ImageSearchResult' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'SearchSourceType' => [ + 'type' => 'string', + ], + 'SearchSource' => [ + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Current' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '当前页', + 'type' => 'integer', + ], + 'Size' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '每页条数', + 'type' => 'integer', + ], + 'Total' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '总条数', + 'type' => 'integer', + ], + ], + 'title' => '图片搜索结果', + 'type' => 'object', + ], + 'TextSearchResult' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceType' => [ + 'description' => '', + 'example' => 'SystemSearch', + 'title' => '搜索信源类型,同searchSource.code', + 'type' => 'string', + ], + 'SearchSource' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'title' => '搜索信源唯一标识,同searchSource.datasetName', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'PubTime' => [ + 'description' => '', + 'example' => '2023-04-04 08:39:09', + 'title' => '发布时间', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'MultimodalMedias' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '文本搜索结果列表', + 'type' => 'array', + ], + 'Current' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '当前页', + 'type' => 'integer', + ], + 'Size' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '每页条数', + 'type' => 'integer', + ], + 'Total' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '总条数', + 'type' => 'integer', + ], + ], + 'title' => '文本搜索结果', + 'type' => 'object', + ], + 'VideoSearchResult' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'SearchSourceType' => [ + 'type' => 'string', + ], + 'SearchSource' => [ + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'ClipInfos' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'example' => '0.9', + 'format' => 'double', + 'title' => '相关度阈值', + 'type' => 'number', + ], + 'From' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'To' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'Text' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '如果是asr,那就是asr转写结果', + 'type' => 'string', + ], + 'Type' => [ + 'description' => '', + 'example' => 'asr', + 'title' => '默认空', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '匹配信息', + 'type' => 'array', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Current' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '当前页', + 'type' => 'integer', + ], + 'Size' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '每页条数', + 'type' => 'integer', + ], + 'Total' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '总条数', + 'type' => 'integer', + ], + ], + 'title' => '视频搜索结果', + 'type' => 'object', + ], + 'AudioSearchResult' => [ + 'title' => '语音结果', + 'type' => 'object', + 'properties' => [ + 'SearchResult' => [ + 'title' => '语音结果', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'title' => 'url', + 'type' => 'string', + 'example' => 'http://xx', + ], + 'MediaId' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => 'xxx', + ], + 'ClipInfos' => [ + 'title' => '匹配信息列表', + 'type' => 'array', + 'items' => [ + 'title' => '匹配信息', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'title' => '阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'From' => [ + 'title' => '开始位置', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'To' => [ + 'title' => '结束位置', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'Text' => [ + 'title' => '文本内容', + 'type' => 'string', + 'example' => 'xx', + ], + 'Type' => [ + 'title' => '类型', + 'type' => 'string', + 'example' => 'asr', + ], + ], + ], + ], + 'Article' => [ + 'title' => '对应文档', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '标题', + 'type' => 'string', + 'example' => 'xx', + ], + 'Url' => [ + 'title' => 'url', + 'type' => 'string', + 'example' => 'http://xx', + ], + 'Summary' => [ + 'title' => '摘要', + 'type' => 'string', + 'example' => 'xx', + ], + 'DocUuid' => [ + 'title' => 'docUuid', + 'type' => 'string', + 'example' => 'xx', + ], + 'DocId' => [ + 'title' => 'docId', + 'type' => 'string', + 'example' => 'xx', + ], + 'SearchSourceName' => [ + 'title' => '搜索源', + 'type' => 'string', + 'example' => 'xx', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'SearchSourceType' => [ + 'type' => 'string', + ], + 'SearchSource' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'Current' => [ + 'title' => '当前页', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Size' => [ + 'title' => '大小', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Total' => [ + 'title' => '总数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'TextGenerate' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'GenerateFinished' => [ + 'description' => '', + 'example' => 'true', + 'title' => '是否生成完成', + 'type' => 'boolean', + ], + ], + 'title' => '聚类结果', + 'type' => 'object', + ], + 'ExcerptResult' => [ + 'description' => '', + 'properties' => [ + 'TextGenerate' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文本生成结果', + 'type' => 'string', + ], + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'TraceabilityId' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '溯源定位', + 'type' => 'integer', + ], + 'SearchSourceType' => [ + 'description' => '', + 'example' => 'SystemSearch', + 'title' => '搜索信源类型,同searchSource.code', + 'type' => 'string', + ], + 'SearchSource' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'title' => '搜索信源唯一标识,同searchSource.datasetName', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'PubTime' => [ + 'description' => '', + 'example' => '2023-04-04 08:39:09', + 'title' => '发布时间', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Content' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内容', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'Excerpt' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '智搜:摘编结果', + 'type' => 'string', + ], + 'Select' => [ + 'description' => '', + 'example' => 'true', + 'title' => '参照与否', + 'type' => 'boolean', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'float', + 'title' => '相关度', + 'type' => 'number', + ], + 'Chunks' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '相关chunk', + 'type' => 'array', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'TextGenerateMultimodalMediaList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Start' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '段落开始', + 'type' => 'integer', + ], + 'End' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '段落结束', + 'type' => 'integer', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '关联文档唯一标识', + 'type' => 'string', + ], + 'MultimodalMediaList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档业务唯一标识', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档唯一标识', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => 'xxx', + 'title' => '文章来源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章url', + 'type' => 'string', + ], + ], + 'title' => '文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '段落溯源信息对应的多模态', + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'title' => '配图', + 'type' => 'array', + ], + 'MultimodalMedias' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + 'type' => 'object', + ], + 'title' => '文本搜索结果列表', + 'type' => 'array', + ], + 'GenerateFinished' => [ + 'description' => '', + 'example' => 'true', + 'title' => '是否生成完成', + 'type' => 'boolean', + ], + 'GenerateLevel' => [ + 'description' => '', + 'example' => 'concise', + 'title' => '生成等级', + 'type' => 'string', + ], + 'ReasonTextGenerate' => [ + 'title' => '深度思考内容', + 'type' => 'string', + ], + ], + 'title' => '摘编结果', + 'type' => 'object', + ], + 'NewsElementResult' => [ + 'description' => '', + 'properties' => [ + 'TextGenerate' => [ + 'description' => '', + 'example' => 'x', + 'title' => '文本生成结果', + 'type' => 'string', + ], + 'NewsElementArticleList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'TextGenerate' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文本生成结果', + 'type' => 'string', + ], + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceType' => [ + 'description' => '', + 'example' => 'SystemSearch', + 'title' => '搜索信源类型,同searchSource.code', + 'type' => 'string', + ], + 'SearchSource' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'title' => '搜索信源唯一标识,同searchSource.datasetName', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'PubTime' => [ + 'description' => '', + 'example' => '2023-04-04 08:39:09', + 'title' => '发布时间', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Content' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内容', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'Select' => [ + 'description' => '', + 'example' => 'true', + 'title' => '参照与否', + 'type' => 'boolean', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'float', + 'title' => '相关度', + 'type' => 'number', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'title' => '文章信息', + 'type' => 'object', + ], + 'NewsElementList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Time' => [ + 'description' => '', + 'example' => '时间', + 'title' => '时间', + 'type' => 'string', + ], + 'Location' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '地点', + 'type' => 'string', + ], + 'People' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '人物', + 'type' => 'string', + ], + 'Event' => [ + 'description' => '', + 'example' => 'task-started', + 'properties' => [ + 'CauseList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '引起原因', + 'type' => 'array', + ], + 'ProcessList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '处理过程', + 'type' => 'array', + ], + 'ResultList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '结果', + 'type' => 'array', + ], + ], + 'title' => '时间详情', + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'title' => '抽取的新闻', + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'title' => '新闻事件列表', + 'type' => 'array', + ], + 'GenerateFinished' => [ + 'description' => '', + 'example' => 'true', + 'title' => '是否生成完成', + 'type' => 'boolean', + ], + ], + 'title' => '新闻要素结果', + 'type' => 'object', + ], + 'TextGenerateResult' => [ + 'description' => '', + 'properties' => [ + 'TextGenerate' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文本生成结构', + 'type' => 'string', + ], + 'TextGenerateMultimodalMediaList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Start' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '段落开始', + 'type' => 'integer', + ], + 'End' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '段落结束', + 'type' => 'integer', + ], + 'MultimodalMediaList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '段落溯源信息对应的多模态', + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'ReferenceList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'TraceabilityId' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '溯源定位', + 'type' => 'integer', + ], + 'SearchSourceType' => [ + 'description' => '', + 'example' => 'SystemSearch', + 'title' => '搜索信源类型,同searchSource.code', + 'type' => 'string', + ], + 'SearchSource' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'title' => '搜索信源唯一标识,同searchSource.datasetName', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'PubTime' => [ + 'description' => '', + 'example' => '2023-04-04 08:39:09', + 'title' => '发布时间', + 'type' => 'string', + ], + 'Source' => [ + 'description' => '', + 'example' => '新华社', + 'title' => '来源', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Content' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内容', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'Select' => [ + 'description' => '', + 'example' => 'true', + 'title' => '参照与否', + 'type' => 'boolean', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'float', + 'title' => '相关度', + 'type' => 'number', + ], + 'Chunks' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '相关chunk', + 'type' => 'array', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '引用信息', + 'type' => 'array', + ], + 'MultimodalSearchResultList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'ClipInfos' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'example' => '0.1', + 'format' => 'double', + 'title' => '相关度阈值', + 'type' => 'number', + ], + 'From' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'To' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'Text' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '如果是asr,那就是asr转写结果', + 'type' => 'string', + ], + 'Type' => [ + 'description' => '', + 'example' => 'asr', + 'title' => '默认空', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '匹配信息', + 'type' => 'array', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'TimelineDateStr' => [ + 'description' => '', + 'example' => '时间脉络-时间', + 'title' => '时间脉络-时间', + 'type' => 'string', + ], + 'Current' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '当前页', + 'type' => 'integer', + ], + 'Size' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '每页条数', + 'type' => 'integer', + ], + 'Total' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '总条数', + 'type' => 'integer', + ], + 'SearchType' => [ + 'description' => '', + 'example' => 'realtime', + 'title' => '搜索类型', + 'type' => 'string', + ], + 'SearchQuery' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '搜索条件', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '搜搜结果', + 'type' => 'array', + ], + 'GenerateTraceability' => [ + 'description' => '', + 'properties' => [ + 'Duplicate' => [ + 'description' => '', + 'example' => '0.9', + 'format' => 'double', + 'title' => '相关度', + 'type' => 'number', + ], + 'Coordinates' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'GenerateCoordinate' => [ + 'description' => '', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文章标号:1开始 为了和文章id对应', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本开始位置', + 'type' => 'integer', + ], + 'Z' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本结束位置', + 'type' => 'integer', + ], + ], + 'title' => '生成文档的坐标', + 'type' => 'object', + ], + 'NewsCoordinate' => [ + 'description' => '', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文章标号:1开始 为了和文章id对应', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本开始位置', + 'type' => 'integer', + ], + 'Z' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本结束位置', + 'type' => 'integer', + ], + 'MediaType' => [ + 'title' => '媒资类型', + 'type' => 'string', + 'example' => 'image', + ], + ], + 'title' => '新闻文档的坐标', + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'title' => '溯源信息列表', + 'type' => 'array', + ], + ], + 'title' => '溯源信息', + 'type' => 'object', + ], + 'GenerateFinished' => [ + 'description' => '', + 'example' => 'true', + 'title' => '是否生成完成', + 'type' => 'boolean', + ], + 'GenerateLevel' => [ + 'description' => '', + 'example' => 'concise', + 'title' => '生成等级', + 'type' => 'string', + ], + 'ReasonTextGenerate' => [ + 'title' => '深度思考内容', + 'type' => 'string', + ], + ], + 'title' => 'sumQA结果', + 'type' => 'object', + ], + 'TimelineResult' => [ + 'description' => '', + 'properties' => [ + 'TextGenerate' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文本生成结果', + 'type' => 'string', + ], + 'ReferenceList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'TraceabilityId' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '溯源定位', + 'type' => 'integer', + ], + 'SearchSourceType' => [ + 'description' => '', + 'example' => 'SystemSearch', + 'title' => '搜索信源类型,同searchSource.code', + 'type' => 'string', + ], + 'SearchSource' => [ + 'description' => '', + 'example' => 'QuarkCommonNews', + 'title' => '搜索信源唯一标识,同searchSource.datasetName', + 'type' => 'string', + ], + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'PubTime' => [ + 'description' => '', + 'example' => '2023-04-04 08:39:09', + 'title' => '发布时间', + 'type' => 'string', + ], + 'Source' => [ + 'description' => '', + 'example' => '新华社', + 'title' => '来源', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Content' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内容', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'Select' => [ + 'description' => '', + 'example' => 'true', + 'title' => '参照与否', + 'type' => 'boolean', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'float', + 'title' => '相关度', + 'type' => 'number', + ], + 'Chunks' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '相关chunk', + 'type' => 'array', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '引用文章列表', + 'type' => 'array', + ], + 'MultimodalSearchResultList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'ClipInfos' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'example' => '0.99', + 'format' => 'double', + 'title' => '相关度阈值', + 'type' => 'number', + ], + 'From' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'To' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'Text' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '如果是asr,那就是asr转写结果', + 'type' => 'string', + ], + 'Type' => [ + 'description' => '', + 'example' => 'asr', + 'title' => '默认空', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '匹配信息', + 'type' => 'array', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'TimelineDateStr' => [ + 'description' => '', + 'example' => '2024-09-11', + 'title' => '时间脉络-时间', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '多模态搜索结果', + 'type' => 'array', + ], + 'GenerateTraceability' => [ + 'description' => '', + 'properties' => [ + 'Duplicate' => [ + 'description' => '', + 'example' => '0.9', + 'format' => 'double', + 'title' => '相关度', + 'type' => 'number', + ], + 'Coordinates' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'GenerateCoordinate' => [ + 'description' => '', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文章标号:1开始 为了和文章id对应', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本开始位置', + 'type' => 'integer', + ], + 'Z' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本结束位置', + 'type' => 'integer', + ], + ], + 'title' => '生成文档的坐标', + 'type' => 'object', + ], + 'NewsCoordinate' => [ + 'description' => '', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文章标号:1开始 为了和文章id对应', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本开始位置', + 'type' => 'integer', + ], + 'Z' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '文本结束位置', + 'type' => 'integer', + ], + 'MediaType' => [ + 'title' => '媒资类型', + 'type' => 'string', + 'example' => 'image', + ], + ], + 'title' => '新闻文档的坐标', + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'title' => '溯源信息列表', + 'type' => 'array', + ], + ], + 'title' => '引用结果', + 'type' => 'object', + ], + 'TextGenerateMultimodalMediaList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Start' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '段落开始', + 'type' => 'integer', + ], + 'End' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int32', + 'title' => '段落结束', + 'type' => 'integer', + ], + 'MultimodalMediaList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xxxx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'MediaType' => [ + 'description' => '', + 'example' => 'image', + 'title' => '多模态数据类型', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '段落溯源信息对应的多模态', + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'GenerateFinished' => [ + 'description' => '', + 'example' => 'true', + 'title' => '是否生成完成', + 'type' => 'boolean', + ], + 'ReasonTextGenerate' => [ + 'title' => '深度思考内容', + 'type' => 'string', + ], + ], + 'title' => '时间线总结结果', + 'type' => 'object', + ], + 'VideoSearchResult' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'ClipInfos' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Score' => [ + 'description' => '', + 'example' => '0.8', + 'format' => 'double', + 'title' => '相关度阈值', + 'type' => 'number', + ], + 'From' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'To' => [ + 'description' => '', + 'example' => '1', + 'format' => 'double', + 'title' => '开始位置', + 'type' => 'number', + ], + 'Text' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '如果是asr,那就是asr转写结果', + 'type' => 'string', + ], + 'Type' => [ + 'description' => '', + 'example' => 'asr', + 'title' => '默认空', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'title' => '匹配信息', + 'type' => 'array', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + 'TraceabilityId' => [ + 'title' => '溯源唯一标识', + 'type' => 'string', + 'example' => '1', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'title' => '视频搜索结果', + 'type' => 'object', + ], + 'ImageSearchResult' => [ + 'description' => '', + 'properties' => [ + 'SearchResult' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'properties' => [ + 'Article' => [ + 'description' => '', + 'properties' => [ + 'SearchSourceName' => [ + 'description' => '', + 'example' => '互联网搜索', + 'title' => '搜索信源名称', + 'type' => 'string', + ], + 'Title' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '标题', + 'type' => 'string', + ], + 'Url' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章URL', + 'type' => 'string', + ], + 'Summary' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文章摘要', + 'type' => 'string', + ], + 'DocUuid' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '内部文档唯一标识', + 'type' => 'string', + ], + 'DocId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '文档-自定义的唯一ID', + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + 'title' => '对应文章', + 'type' => 'object', + ], + 'MediaId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '多模态数据唯一标识', + 'type' => 'string', + ], + 'FileUrl' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '图片或视频文件地址', + 'type' => 'string', + ], + 'TraceabilityId' => [ + 'title' => '溯源唯一标识', + 'type' => 'string', + 'example' => '1', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'title' => '图片搜索结果', + 'type' => 'object', + ], + 'TextSearchResult' => [ + 'title' => '文本文档搜索结果', + 'type' => 'object', + 'properties' => [ + 'Current' => [ + 'title' => '当前页', + 'type' => 'integer', + 'format' => 'int32', + ], + 'Size' => [ + 'title' => '当前页大小', + 'type' => 'integer', + 'format' => 'int32', + ], + 'Total' => [ + 'title' => '总条数', + 'type' => 'integer', + 'format' => 'int32', + ], + 'SearchResult' => [ + 'title' => '搜素结构', + 'type' => 'array', + 'items' => [ + 'title' => '搜索结果', + 'type' => 'object', + 'properties' => [ + 'DocId' => [ + 'title' => '文档业务唯一标识', + 'type' => 'string', + 'example' => 'xx', + ], + 'DocUuid' => [ + 'title' => '系统内部文档唯一标识', + 'type' => 'string', + 'example' => 'xx', + ], + 'SearchSourceType' => [ + 'title' => '数据源类型', + 'type' => 'string', + 'example' => 'SystemSearch', + ], + 'SearchSource' => [ + 'title' => '数据源唯一标识', + 'type' => 'string', + 'example' => 'QuarkCommonNews', + ], + 'SearchSourceName' => [ + 'title' => '数据源描述', + 'type' => 'string', + 'example' => 'xxx', + ], + 'PubTime' => [ + 'title' => '发布时间', + 'type' => 'string', + 'example' => '2024-11-25 14:25:59', + ], + 'Content' => [ + 'title' => '正文', + 'type' => 'string', + 'example' => 'xx', + ], + 'Url' => [ + 'title' => 'url', + 'type' => 'string', + 'example' => 'xx', + ], + 'Title' => [ + 'title' => '标题', + 'type' => 'string', + 'example' => 'xx', + ], + 'Summary' => [ + 'title' => '摘要', + 'type' => 'string', + 'example' => 'xx', + ], + 'TraceabilityId' => [ + 'title' => '溯源唯一标识', + 'type' => 'string', + 'example' => '1', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'AudioSearchResult' => [ + 'title' => '语音结果', + 'type' => 'object', + 'properties' => [ + 'SearchResult' => [ + 'title' => '语音结果', + 'type' => 'array', + 'items' => [ + 'title' => '语音结果', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => 'xxx', + ], + 'FileUrl' => [ + 'title' => 'url', + 'type' => 'string', + 'example' => 'http://xxx', + ], + 'Article' => [ + 'title' => '归属文档', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'title' => '标题', + 'type' => 'string', + 'example' => 'xx', + ], + 'Url' => [ + 'title' => 'url', + 'type' => 'string', + 'example' => 'http://xxx', + ], + 'Summary' => [ + 'title' => '摘要', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DocUuid' => [ + 'title' => 'uuid', + 'type' => 'string', + 'example' => 'xx', + ], + 'DocId' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => 'xx', + ], + 'SearchSourceName' => [ + 'title' => '搜索源', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + ], + ], + 'ClipInfos' => [ + 'title' => '匹配列表', + 'type' => 'array', + 'items' => [ + 'title' => '匹配信息', + 'type' => 'object', + 'properties' => [ + 'Score' => [ + 'title' => '阈值', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.9', + ], + 'From' => [ + 'title' => '开始位置', + 'type' => 'number', + 'format' => 'double', + 'example' => '1', + ], + 'To' => [ + 'title' => '结束位置', + 'type' => 'number', + 'format' => 'double', + 'example' => '2', + ], + 'Text' => [ + 'title' => '文本内容', + 'type' => 'string', + 'example' => 'xx', + ], + 'Type' => [ + 'title' => '文本类型', + 'type' => 'string', + 'example' => 'asr', + ], + ], + ], + ], + 'TraceabilityId' => [ + 'title' => '溯源唯一标识', + 'type' => 'string', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'type' => 'object', + ], + 'SearchKeywords' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '思考-query理解关键词列表', + 'type' => 'array', + ], + 'SearchQueryList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '搜素-文本搜索query', + 'type' => 'array', + ], + 'RecommendSearchQueryList' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'xx', + 'type' => 'string', + ], + 'title' => '生成-推荐搜索', + 'type' => 'array', + ], + 'SupplementDataType' => [ + 'description' => '', + 'example' => 'searchQuery', + 'title' => '补充数据类型', + 'type' => 'string', + ], + 'SupplementEnable' => [ + 'description' => '', + 'example' => 'true', + 'title' => '是否补充', + 'type' => 'boolean', + ], + 'ModelId' => [ + 'title' => '模型id', + 'type' => 'string', + ], + 'TokenCalculate' => [ + 'type' => 'object', + 'properties' => [ + 'FirstTokenTime' => [ + 'title' => '首TOKEN时间', + 'type' => 'number', + 'format' => 'float', + ], + 'SearchTime' => [ + 'title' => '搜索耗时', + 'type' => 'number', + 'format' => 'float', + ], + 'OutputAvgTime' => [ + 'title' => '每秒平均输出的token数量', + 'type' => 'number', + 'format' => 'float', + ], + 'Time' => [ + 'title' => '总耗时', + 'type' => 'number', + 'format' => 'float', + ], + 'TotalTokens' => [ + 'title' => '总token数', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'AskUser' => [ + 'title' => '反问', + 'type' => 'string', + 'example' => '您想了解关于xx的哪些信息?', + ], + 'AskUserKeywords' => [ + 'title' => '反问推荐关键词列表', + 'type' => 'array', + 'items' => [ + 'title' => '反问推荐关键词', + 'type' => 'string', + 'example' => '时间', + ], + ], + ], + 'title' => '业务上下文', + 'type' => 'object', + ], + ], + 'title' => 'agent上下文', + 'type' => 'object', + ], + 'Messages' => [ + 'title' => '研究模式消息列表', + 'type' => 'array', + 'items' => [ + 'title' => '研究模式消息', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => '节点id', + 'type' => 'string', + 'example' => 'xx', + ], + 'Content' => [ + 'title' => '生成文本', + 'type' => 'string', + 'example' => 'xx', + ], + 'GenerateFinished' => [ + 'title' => '当前节点是否完成', + 'type' => 'boolean', + ], + 'Clarifications' => [ + 'title' => '是否需要澄清', + 'type' => 'boolean', + ], + 'SearchQueries' => [ + 'title' => '搜索query列表', + 'type' => 'array', + 'items' => [ + 'title' => '搜索query', + 'type' => 'string', + 'example' => 'xx', + ], + ], + 'SearchResult' => [ + 'title' => '搜索结果', + 'type' => 'array', + 'items' => [ + 'title' => '搜索结果', + 'type' => 'object', + 'properties' => [ + 'MultimodalSearchQuery' => [ + 'title' => '多模态搜索query', + 'type' => 'string', + 'example' => 'xx', + ], + 'Texts' => [ + 'title' => '文本搜索列表', + 'type' => 'array', + 'items' => [ + 'title' => '文本搜索', + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + 'Images' => [ + 'title' => '图片搜索列表', + 'type' => 'array', + 'items' => [ + 'title' => '图片搜索', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + 'Audios' => [ + 'title' => '音频结果列表', + 'type' => 'array', + 'items' => [ + 'title' => '音频结果', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + 'Videos' => [ + 'title' => '视频结果列表', + 'type' => 'array', + 'items' => [ + 'title' => '视频结果', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => 'id', + 'type' => 'string', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'NodeCode' => [ + 'title' => '节点code:'."\n" + .'- generateStartStatement'."\n" + .'- generateSearchQueries'."\n" + .'- multiSearch'."\n" + .'- readSearchResult'."\n" + .'- reflection'."\n" + .'- generate', + 'type' => 'string', + 'example' => 'generateStartStatement', + ], + 'SearchQuery' => [ + 'title' => '当前节点搜索query', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + ], + 'title' => '输出', + 'type' => 'object', + ], + 'Usage' => [ + 'description' => '', + 'properties' => [ + 'OutputTokens' => [ + 'description' => '', + 'example' => '2', + 'format' => 'int64', + 'title' => '输出token', + 'type' => 'integer', + ], + 'InputTokens' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'title' => '输入tokne', + 'type' => 'integer', + ], + 'TotalTokens' => [ + 'description' => '', + 'example' => '3', + 'format' => 'int64', + 'title' => '总token', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + ], + 'title' => '响应体', + 'type' => 'object', + ], + 'Header' => [ + 'description' => '', + 'properties' => [ + 'SessionId' => [ + 'description' => '', + 'example' => 'x', + 'title' => '会话ID', + 'type' => 'string', + ], + 'TraceId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '全链路ID', + 'type' => 'string', + ], + 'TaskId' => [ + 'description' => '', + 'example' => 'x', + 'title' => '任务ID', + 'type' => 'string', + ], + 'OriginSessionId' => [ + 'description' => '', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + 'title' => '源会话ID', + 'type' => 'string', + ], + 'Event' => [ + 'description' => '', + 'example' => 'task-failed', + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'type' => 'string', + ], + 'ErrorCode' => [ + 'description' => '', + 'example' => 'AccessForbid', + 'title' => '错误码', + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '错误信息', + 'type' => 'string', + ], + 'EventInfo' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '事件信息描述', + 'type' => 'string', + ], + 'ResponseTime' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'title' => '耗时', + 'type' => 'integer', + ], + ], + 'title' => '响应头', + 'type' => 'object', + ], + 'RequestId' => [ + 'description' => '', + 'example' => 'xx', + 'title' => '请求唯一标识', + 'type' => 'string', + ], + ], + 'title' => '响应结果', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"AgentContext\\": {\\n \\"BizContext\\": {\\n \\"CurrentStep\\": \\"start\\",\\n \\"NextStep\\": \\"search\\",\\n \\"GeneratedContent\\": {\\n \\"ClusterTopicResult\\": {\\n \\"ClusterTopics\\": [\\n {\\n \\"Topic\\": \\"xx\\",\\n \\"ImageSearchResult\\": {\\n \\"SearchResult\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"SearchSourceType\\": \\"xx\\",\\n \\"SearchSource\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ],\\n \\"Current\\": 1,\\n \\"Size\\": 1,\\n \\"Total\\": 1\\n },\\n \\"TextSearchResult\\": {\\n \\"SearchResult\\": [\\n {\\n \\"SearchSourceType\\": \\"SystemSearch\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"PubTime\\": \\"2023-04-04 08:39:09\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"MultimodalMedias\\": [\\n {\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ],\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n }\\n ],\\n \\"Current\\": 1,\\n \\"Size\\": 1,\\n \\"Total\\": 1\\n },\\n \\"VideoSearchResult\\": {\\n \\"SearchResult\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"x\\",\\n \\"SearchSourceType\\": \\"xx\\",\\n \\"SearchSource\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"ClipInfos\\": [\\n {\\n \\"Score\\": 0.9,\\n \\"From\\": 1,\\n \\"To\\": 1,\\n \\"Text\\": \\"xx\\",\\n \\"Type\\": \\"asr\\"\\n }\\n ],\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ],\\n \\"Current\\": 1,\\n \\"Size\\": 1,\\n \\"Total\\": 1\\n },\\n \\"AudioSearchResult\\": {\\n \\"SearchResult\\": {\\n \\"FileUrl\\": \\"http://xx\\",\\n \\"MediaId\\": \\"xxx\\",\\n \\"ClipInfos\\": [\\n {\\n \\"Score\\": 1,\\n \\"From\\": 1,\\n \\"To\\": 1,\\n \\"Text\\": \\"xx\\",\\n \\"Type\\": \\"asr\\"\\n }\\n ],\\n \\"Article\\": {\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"http://xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"SearchSourceName\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"SearchSourceType\\": \\"xx\\",\\n \\"SearchSource\\": \\"xx\\"\\n }\\n },\\n \\"Current\\": 1,\\n \\"Size\\": 1,\\n \\"Total\\": 1\\n }\\n }\\n ],\\n \\"TextGenerate\\": \\"xx\\",\\n \\"GenerateFinished\\": true\\n },\\n \\"ExcerptResult\\": {\\n \\"TextGenerate\\": \\"xx\\",\\n \\"SearchResult\\": [\\n {\\n \\"TraceabilityId\\": 1,\\n \\"SearchSourceType\\": \\"SystemSearch\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"PubTime\\": \\"2023-04-04 08:39:09\\",\\n \\"Title\\": \\"xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"Excerpt\\": \\"xx\\",\\n \\"Select\\": true,\\n \\"DocUuid\\": \\"xx\\",\\n \\"Score\\": 0.99,\\n \\"Chunks\\": [\\n \\"xx\\"\\n ],\\n \\"DocId\\": \\"xx\\",\\n \\"TextGenerateMultimodalMediaList\\": [\\n {\\n \\"Start\\": 1,\\n \\"End\\": 1,\\n \\"DocUuid\\": \\"xx\\",\\n \\"MultimodalMediaList\\": [\\n {\\n \\"Article\\": {\\n \\"DocId\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ]\\n }\\n ],\\n \\"MultimodalMedias\\": [\\n {\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ],\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ]\\n }\\n ],\\n \\"GenerateFinished\\": true,\\n \\"GenerateLevel\\": \\"concise\\",\\n \\"ReasonTextGenerate\\": \\"xx\\"\\n },\\n \\"NewsElementResult\\": {\\n \\"TextGenerate\\": \\"x\\",\\n \\"NewsElementArticleList\\": [\\n {\\n \\"TextGenerate\\": \\"xx\\",\\n \\"Article\\": {\\n \\"SearchSourceType\\": \\"SystemSearch\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"PubTime\\": \\"2023-04-04 08:39:09\\",\\n \\"Title\\": \\"xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"Select\\": true,\\n \\"DocUuid\\": \\"xx\\",\\n \\"Score\\": 0.99,\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n },\\n \\"NewsElementList\\": [\\n {\\n \\"Time\\": \\"时间\\",\\n \\"Location\\": \\"xx\\",\\n \\"People\\": \\"xx\\",\\n \\"Event\\": {\\n \\"CauseList\\": [\\n \\"xx\\"\\n ],\\n \\"ProcessList\\": [\\n \\"xx\\"\\n ],\\n \\"ResultList\\": [\\n \\"xx\\"\\n ]\\n }\\n }\\n ]\\n }\\n ],\\n \\"GenerateFinished\\": true\\n },\\n \\"TextGenerateResult\\": {\\n \\"TextGenerate\\": \\"xx\\",\\n \\"TextGenerateMultimodalMediaList\\": [\\n {\\n \\"Start\\": 1,\\n \\"End\\": 1,\\n \\"MultimodalMediaList\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"xx\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ]\\n }\\n ],\\n \\"ReferenceList\\": [\\n {\\n \\"TraceabilityId\\": 1,\\n \\"SearchSourceType\\": \\"SystemSearch\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"PubTime\\": \\"2023-04-04 08:39:09\\",\\n \\"Source\\": \\"新华社\\",\\n \\"Title\\": \\"xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"Select\\": true,\\n \\"DocUuid\\": \\"xx\\",\\n \\"Score\\": 0.99,\\n \\"Chunks\\": [\\n \\"xx\\"\\n ],\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n }\\n ],\\n \\"MultimodalSearchResultList\\": [\\n {\\n \\"SearchResult\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"xx\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ClipInfos\\": [\\n {\\n \\"Score\\": 0.1,\\n \\"From\\": 1,\\n \\"To\\": 1,\\n \\"Text\\": \\"xx\\",\\n \\"Type\\": \\"asr\\"\\n }\\n ],\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ],\\n \\"TimelineDateStr\\": \\"时间脉络-时间\\",\\n \\"Current\\": 1,\\n \\"Size\\": 1,\\n \\"Total\\": 1,\\n \\"SearchType\\": \\"realtime\\",\\n \\"SearchQuery\\": \\"xx\\"\\n }\\n ],\\n \\"GenerateTraceability\\": {\\n \\"Duplicate\\": 0.9,\\n \\"Coordinates\\": [\\n {\\n \\"GenerateCoordinate\\": {\\n \\"X\\": 1,\\n \\"Y\\": 1,\\n \\"Z\\": 1\\n },\\n \\"NewsCoordinate\\": {\\n \\"X\\": 1,\\n \\"Y\\": 1,\\n \\"Z\\": 1,\\n \\"MediaType\\": \\"image\\"\\n }\\n }\\n ]\\n },\\n \\"GenerateFinished\\": true,\\n \\"GenerateLevel\\": \\"concise\\",\\n \\"ReasonTextGenerate\\": \\"xx\\"\\n },\\n \\"TimelineResult\\": {\\n \\"TextGenerate\\": \\"xx\\",\\n \\"ReferenceList\\": [\\n {\\n \\"TraceabilityId\\": 1,\\n \\"SearchSourceType\\": \\"SystemSearch\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"PubTime\\": \\"2023-04-04 08:39:09\\",\\n \\"Source\\": \\"新华社\\",\\n \\"Title\\": \\"xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"Select\\": true,\\n \\"DocUuid\\": \\"xx\\",\\n \\"Score\\": 0.99,\\n \\"Chunks\\": [\\n \\"xx\\"\\n ],\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n }\\n ],\\n \\"MultimodalSearchResultList\\": [\\n {\\n \\"SearchResult\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"ClipInfos\\": [\\n {\\n \\"Score\\": 0.99,\\n \\"From\\": 1,\\n \\"To\\": 1,\\n \\"Text\\": \\"xx\\",\\n \\"Type\\": \\"asr\\"\\n }\\n ],\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ],\\n \\"TimelineDateStr\\": \\"2024-09-11\\"\\n }\\n ],\\n \\"GenerateTraceability\\": {\\n \\"Duplicate\\": 0.9,\\n \\"Coordinates\\": [\\n {\\n \\"GenerateCoordinate\\": {\\n \\"X\\": 1,\\n \\"Y\\": 1,\\n \\"Z\\": 1\\n },\\n \\"NewsCoordinate\\": {\\n \\"X\\": 1,\\n \\"Y\\": 1,\\n \\"Z\\": 1,\\n \\"MediaType\\": \\"image\\"\\n }\\n }\\n ]\\n },\\n \\"TextGenerateMultimodalMediaList\\": [\\n {\\n \\"Start\\": 1,\\n \\"End\\": 1,\\n \\"MultimodalMediaList\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xxxx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"MediaType\\": \\"image\\",\\n \\"FileUrl\\": \\"xx\\"\\n }\\n ]\\n }\\n ],\\n \\"GenerateFinished\\": true,\\n \\"ReasonTextGenerate\\": \\"xx\\"\\n },\\n \\"VideoSearchResult\\": {\\n \\"SearchResult\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"ClipInfos\\": [\\n {\\n \\"Score\\": 0.8,\\n \\"From\\": 1,\\n \\"To\\": 1,\\n \\"Text\\": \\"xx\\",\\n \\"Type\\": \\"asr\\"\\n }\\n ],\\n \\"FileUrl\\": \\"xx\\",\\n \\"TraceabilityId\\": \\"1\\"\\n }\\n ]\\n },\\n \\"ImageSearchResult\\": {\\n \\"SearchResult\\": [\\n {\\n \\"Article\\": {\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n },\\n \\"MediaId\\": \\"xx\\",\\n \\"FileUrl\\": \\"xx\\",\\n \\"TraceabilityId\\": \\"1\\"\\n }\\n ]\\n },\\n \\"TextSearchResult\\": {\\n \\"Current\\": 1,\\n \\"Size\\": 1,\\n \\"Total\\": 1,\\n \\"SearchResult\\": [\\n {\\n \\"DocId\\": \\"xx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"SearchSourceType\\": \\"SystemSearch\\",\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceName\\": \\"xxx\\",\\n \\"PubTime\\": \\"2024-11-25 14:25:59\\",\\n \\"Content\\": \\"xx\\",\\n \\"Url\\": \\"xx\\",\\n \\"Title\\": \\"xx\\",\\n \\"Summary\\": \\"xx\\",\\n \\"TraceabilityId\\": \\"1\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n }\\n ]\\n },\\n \\"AudioSearchResult\\": {\\n \\"SearchResult\\": [\\n {\\n \\"MediaId\\": \\"xxx\\",\\n \\"FileUrl\\": \\"http://xxx\\",\\n \\"Article\\": {\\n \\"Title\\": \\"xx\\",\\n \\"Url\\": \\"http://xxx\\",\\n \\"Summary\\": \\"xxx\\",\\n \\"DocUuid\\": \\"xx\\",\\n \\"DocId\\": \\"xx\\",\\n \\"SearchSourceName\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"x\\"\\n ],\\n \\"CategoryUuid\\": \\"xx\\"\\n },\\n \\"ClipInfos\\": [\\n {\\n \\"Score\\": 0.9,\\n \\"From\\": 1,\\n \\"To\\": 2,\\n \\"Text\\": \\"xx\\",\\n \\"Type\\": \\"asr\\"\\n }\\n ],\\n \\"TraceabilityId\\": \\"1\\"\\n }\\n ]\\n }\\n },\\n \\"SearchKeywords\\": [\\n \\"xx\\"\\n ],\\n \\"SearchQueryList\\": [\\n \\"xx\\"\\n ],\\n \\"RecommendSearchQueryList\\": [\\n \\"xx\\"\\n ],\\n \\"SupplementDataType\\": \\"searchQuery\\",\\n \\"SupplementEnable\\": true,\\n \\"ModelId\\": \\"xx\\",\\n \\"TokenCalculate\\": {\\n \\"FirstTokenTime\\": 1,\\n \\"SearchTime\\": 1,\\n \\"OutputAvgTime\\": 1,\\n \\"Time\\": 1,\\n \\"TotalTokens\\": 1\\n },\\n \\"AskUser\\": \\"您想了解关于xx的哪些信息?\\",\\n \\"AskUserKeywords\\": [\\n \\"时间\\"\\n ]\\n }\\n },\\n \\"Messages\\": [\\n {\\n \\"Id\\": \\"xx\\",\\n \\"Content\\": \\"xx\\",\\n \\"GenerateFinished\\": true,\\n \\"Clarifications\\": true,\\n \\"SearchQueries\\": [\\n \\"xx\\"\\n ],\\n \\"SearchResult\\": [\\n {\\n \\"MultimodalSearchQuery\\": \\"xx\\",\\n \\"Texts\\": [\\n {\\n \\"DocUuid\\": \\"xx\\"\\n }\\n ],\\n \\"Images\\": [\\n {\\n \\"MediaId\\": \\"xx\\"\\n }\\n ],\\n \\"Audios\\": [\\n {\\n \\"MediaId\\": \\"xx\\"\\n }\\n ],\\n \\"Videos\\": [\\n {\\n \\"MediaId\\": \\"1\\"\\n }\\n ]\\n }\\n ],\\n \\"NodeCode\\": \\"generateStartStatement\\",\\n \\"SearchQuery\\": \\"xx\\"\\n }\\n ]\\n },\\n \\"Usage\\": {\\n \\"OutputTokens\\": 2,\\n \\"InputTokens\\": 1,\\n \\"TotalTokens\\": 3\\n }\\n },\\n \\"Header\\": {\\n \\"SessionId\\": \\"x\\",\\n \\"TraceId\\": \\"xx\\",\\n \\"TaskId\\": \\"x\\",\\n \\"OriginSessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"ErrorCode\\": \\"AccessForbid\\",\\n \\"ErrorMessage\\": \\"xx\\",\\n \\"EventInfo\\": \\"xx\\",\\n \\"ResponseTime\\": 1\\n },\\n \\"RequestId\\": \\"xx\\"\\n}","type":"json"}]', + ], + 'ListSearchTasks' => [ + 'summary' => '查询妙搜搜索生成历史任务列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'DialogueTypes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '任务类型', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '24', + ], + 'required' => false, + 'example' => '24', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + 'TaskName' => [ + 'title' => '任务名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-25 11:40:50', + ], + 'UpdateTime' => [ + 'title' => '修改时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-25 11:40:50', + ], + 'DialogueType' => [ + 'title' => '任务类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'Username' => [ + 'title' => '创建人名称', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + ], + ], + ], + 'PageNumber' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '每页记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '总记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"TaskId\\": \\"xxxx\\",\\n \\"TaskName\\": \\"xxx\\",\\n \\"CreateTime\\": \\"2024-11-25 11:40:50\\",\\n \\"UpdateTime\\": \\"2024-11-25 11:40:50\\",\\n \\"DialogueType\\": 24,\\n \\"Username\\": \\"xxxx\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ListSearchTaskDialogues' => [ + 'summary' => '查询妙搜搜索生成任务详情列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '返回结果数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务唯一标识', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SessionId' => [ + 'title' => '单轮对话唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + 'OriginSessionId' => [ + 'title' => '原始的SessionId', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + 'TaskId' => [ + 'title' => '任务唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxx', + ], + 'Rating' => [ + 'title' => '点赞点踩', + 'description' => '', + 'type' => 'string', + 'example' => 'thumbsUp', + ], + 'Tags' => [ + 'title' => '标签', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + 'Text' => [ + 'title' => '客户反馈意见', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'GoodText' => [ + 'title' => '客户认为好的生成内容', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Prompt' => [ + 'title' => '输入', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'CreateTime' => [ + 'title' => '创建日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-25 13:33:01', + ], + 'DialogueType' => [ + 'title' => '生成类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'ResponseBodyStr' => [ + 'title' => '响应结果字符串', + 'description' => '', + 'type' => 'string', + 'example' => '{}', + ], + 'ChatConfig' => [ + 'title' => '配置', + 'type' => 'object', + 'properties' => [ + 'GenerateTechnology' => [ + 'title' => '生成类型', + 'type' => 'string', + 'example' => 'copilotReference', + ], + 'SearchParam' => [ + 'type' => 'object', + 'properties' => [ + 'SearchSources' => [ + 'title' => '搜索源', + 'type' => 'array', + 'items' => [ + 'title' => '搜索源', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '类型', + 'type' => 'string', + 'example' => 'x\'x', + ], + 'Name' => [ + 'title' => '描述', + 'type' => 'string', + 'example' => 'x', + ], + 'DatasetName' => [ + 'title' => '唯一标识', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + 'EndTime' => [ + 'type' => 'string', + ], + 'StartTime' => [ + 'type' => 'string', + ], + 'MultimodalSearchTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'DialogueType' => [ + 'title' => '请求类型', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '24', + ], + 'GenerateLevel' => [ + 'title' => '生成级别', + 'type' => 'string', + 'example' => 'concise', + ], + 'EndToEnd' => [ + 'title' => '是否端到端', + 'type' => 'boolean', + ], + 'SearchModels' => [ + 'title' => '搜索类型', + 'type' => 'array', + 'items' => [ + 'title' => '搜索类型', + 'type' => 'string', + 'example' => 'TextGenerate', + ], + ], + ], + ], + ], + ], + ], + 'PageNumber' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '每页记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '总记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"SessionId\\": \\"xxxx\\",\\n \\"OriginSessionId\\": \\"xxxx\\",\\n \\"TaskId\\": \\"xxxx\\",\\n \\"Rating\\": \\"thumbsUp\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"Text\\": \\"xxx\\",\\n \\"GoodText\\": \\"xxx\\",\\n \\"Prompt\\": \\"xxx\\",\\n \\"CreateTime\\": \\"2024-11-25 13:33:01\\",\\n \\"DialogueType\\": 24,\\n \\"ResponseBodyStr\\": \\"{}\\",\\n \\"ChatConfig\\": {\\n \\"GenerateTechnology\\": \\"copilotReference\\",\\n \\"SearchParam\\": {\\n \\"SearchSources\\": [\\n {\\n \\"Code\\": \\"x\'x\\",\\n \\"Name\\": \\"x\\",\\n \\"DatasetName\\": \\"xx\\"\\n }\\n ],\\n \\"EndTime\\": \\"\\",\\n \\"StartTime\\": \\"\\",\\n \\"MultimodalSearchTypes\\": [\\n \\"\\"\\n ]\\n },\\n \\"DialogueType\\": 24,\\n \\"GenerateLevel\\": \\"concise\\",\\n \\"EndToEnd\\": true,\\n \\"SearchModels\\": [\\n \\"TextGenerate\\"\\n ]\\n }\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200\\n}","type":"json"}]', + ], + 'ListSearchTaskDialogueDatas' => [ + 'summary' => '查询搜索生成任务对话详情中数据列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '百炼业务空间唯一标识:[获取workspaceId](~~2587495~~)', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '查询条件', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'OriginalSessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '历史对话唯一标识:全量原始素材来源', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xx', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'title' => '历史对话唯一标识:参考素材来源', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xx', + ], + ], + [ + 'name' => 'MultimodalSearchType', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索数据类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'text', + ], + ], + [ + 'name' => 'SearchModel', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索agent类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ClusterGenerate', + ], + ], + [ + 'name' => 'SearchModelDataValue', + 'in' => 'formData', + 'schema' => [ + 'title' => '搜索agent分类下的数据', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xxx', + ], + ], + [ + 'name' => 'IncludeContent', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否包含正文', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'true', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页条数:默认10', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'minimum' => '0', + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RealtimeSearch' => [ + 'title' => '是否实时搜索', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'SearchType' => [ + 'title' => '搜索类型', + 'description' => '', + 'type' => 'string', + 'example' => 'realtime', + ], + 'Articles' => [ + 'title' => '文章列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PubTime' => [ + 'title' => '发布时间', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-25 14:25:59', + ], + 'Source' => [ + 'title' => '来源', + 'description' => '', + 'type' => 'string', + 'example' => '新华社', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '文章标题', + ], + 'Content' => [ + 'title' => '内容', + 'description' => '', + 'type' => 'string', + 'example' => '文章内容', + ], + 'Author' => [ + 'title' => '作者', + 'description' => '', + 'type' => 'string', + 'example' => '作者', + ], + 'Url' => [ + 'title' => '文章URL', + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + 'Summary' => [ + 'title' => '文章摘要', + 'description' => '', + 'type' => 'string', + 'example' => '文章摘要', + ], + 'DocUuid' => [ + 'title' => '内部文档唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DocId' => [ + 'title' => '文档-自定义的唯一ID', + 'description' => '', + 'type' => 'string', + 'example' => '文档-自定义的唯一ID', + ], + 'MultimodalMedias' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => '多模态数据唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据唯一标识', + ], + 'MediaType' => [ + 'title' => '多模态数据类型', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据类型', + ], + 'FileUrl' => [ + 'title' => '图片或视频文件地址', + 'description' => '', + 'type' => 'string', + 'example' => '图片或视频文件地址', + ], + ], + ], + ], + 'DocType' => [ + 'title' => '文档类型', + 'description' => '', + 'type' => 'string', + 'example' => 'text', + ], + 'CategoryUuid' => [ + 'title' => '类目唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend1' => [ + 'title' => '扩展字段1', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend2' => [ + 'title' => '扩展字段2', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + 'Extend3' => [ + 'title' => '扩展字段3', + 'description' => '', + 'type' => 'string', + 'example' => 'xx', + ], + ], + ], + ], + 'Images' => [ + 'title' => '图片列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => '多模态数据唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据唯一标识', + ], + 'MediaType' => [ + 'title' => '多模态数据类型', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据类型', + ], + 'FileUrl' => [ + 'title' => '图片或视频文件地址', + 'description' => '', + 'type' => 'string', + 'example' => '图片或视频文件地址', + ], + ], + ], + ], + 'Videos' => [ + 'title' => '视频列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => '多模态数据唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据唯一标识', + ], + 'MediaType' => [ + 'title' => '多模态数据类型', + 'description' => '', + 'type' => 'string', + 'example' => '多模态数据类型', + ], + 'FileUrl' => [ + 'title' => '图片或视频文件地址', + 'description' => '', + 'type' => 'string', + 'example' => '图片或视频文件地址', + ], + ], + ], + ], + 'PageNumber' => [ + 'title' => '当前页码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '每页记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalCount' => [ + 'title' => '总记录条数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Audios' => [ + 'title' => '语音列表', + 'type' => 'array', + 'items' => [ + 'title' => '语音信息', + 'type' => 'object', + 'properties' => [ + 'MediaId' => [ + 'title' => '多模态数据唯一标识', + 'type' => 'string', + 'example' => 'xxxx', + ], + 'FileUrl' => [ + 'title' => '图片或视频文件地址', + 'type' => 'string', + 'example' => 'http://xxx', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RealtimeSearch\\": true,\\n \\"SearchType\\": \\"realtime\\",\\n \\"Articles\\": [\\n {\\n \\"PubTime\\": \\"2024-11-25 14:25:59\\",\\n \\"Source\\": \\"新华社\\",\\n \\"Title\\": \\"文章标题\\",\\n \\"Content\\": \\"文章内容\\",\\n \\"Author\\": \\"作者\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\",\\n \\"Summary\\": \\"文章摘要\\",\\n \\"DocUuid\\": \\"xxx\\",\\n \\"DocId\\": \\"文档-自定义的唯一ID\\",\\n \\"MultimodalMedias\\": [\\n {\\n \\"MediaId\\": \\"多模态数据唯一标识\\",\\n \\"MediaType\\": \\"多模态数据类型\\",\\n \\"FileUrl\\": \\"图片或视频文件地址\\"\\n }\\n ],\\n \\"DocType\\": \\"text\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\"\\n }\\n ],\\n \\"Images\\": [\\n {\\n \\"MediaId\\": \\"多模态数据唯一标识\\",\\n \\"MediaType\\": \\"多模态数据类型\\",\\n \\"FileUrl\\": \\"图片或视频文件地址\\"\\n }\\n ],\\n \\"Videos\\": [\\n {\\n \\"MediaId\\": \\"多模态数据唯一标识\\",\\n \\"MediaType\\": \\"多模态数据类型\\",\\n \\"FileUrl\\": \\"图片或视频文件地址\\"\\n }\\n ],\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"NoData\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Audios\\": [\\n {\\n \\"MediaId\\": \\"xxxx\\",\\n \\"FileUrl\\": \\"http://xxx\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'RunSearchSimilarArticles' => [ + 'summary' => '妙搜-文搜文', + 'path' => '/quanmiao/aimiaosou/runSearchSimilarArticles', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'ChatConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SearchParam' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SearchSources' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'SystemSearch', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'DatasetName' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'CategoryUuids' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'CreateTimeStart' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'CreateTimeEnd' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'StartTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'EndTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'DocUuids' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'DocIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'DocTypes' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Title', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'DocType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'html', + ], + ], + [ + 'name' => 'Url', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'https://xxx/xxx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'BaseLlmResponse', + 'description' => 'BaseLlmResponse', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'title' => '响应头', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => '错误码', + ], + 'ErrorMessage' => [ + 'title' => '错误信息', + 'description' => '', + 'type' => 'string', + 'example' => '错误信息', + ], + 'Event' => [ + 'title' => 'SSE事件。task-started:开始,task-finished:结束,task-failed:失败', + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'SessionId' => [ + 'title' => '会话ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'Payload' => [ + 'title' => '响应体', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'title' => '输出', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'title' => '文本生成结果', + 'description' => '', + 'type' => 'string', + 'example' => '文本生成结果', + ], + 'Articles' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DocUuid' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'a26c2c1', + ], + 'SearchSourceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'PubTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2025-01-16 18:07:22', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx.com', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://xxx', + ], + 'Summary' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'DocId' => [ + 'type' => 'string', + ], + 'CategoryUuid' => [ + 'type' => 'string', + ], + 'Extend1' => [ + 'type' => 'string', + ], + 'Extend2' => [ + 'type' => 'string', + ], + 'Extend3' => [ + 'type' => 'string', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'SearchSource' => [ + 'type' => 'string', + ], + 'SearchSourceType' => [ + 'type' => 'string', + ], + 'DocType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '81', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '9', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '50', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"错误码\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"Event\\": \\"task-started\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"文本生成结果\\",\\n \\"Articles\\": [\\n {\\n \\"DocUuid\\": \\"a26c2c1\\",\\n \\"SearchSourceName\\": \\"互联网搜索\\",\\n \\"PubTime\\": \\"2025-01-16 18:07:22\\",\\n \\"Source\\": \\"xxx.com\\",\\n \\"Title\\": \\"标题\\",\\n \\"Url\\": \\"https://xxx\\",\\n \\"Summary\\": \\"xxx\\",\\n \\"DocId\\": \\"xxx\\",\\n \\"CategoryUuid\\": \\"xx\\",\\n \\"Extend1\\": \\"xx\\",\\n \\"Extend2\\": \\"xx\\",\\n \\"Extend3\\": \\"xx\\",\\n \\"Tags\\": [\\n \\"xx\\"\\n ],\\n \\"SearchSource\\": \\"QuarkCommonNews\\",\\n \\"SearchSourceType\\": \\"xx\\",\\n \\"DocType\\": \\"text\\"\\n }\\n ]\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 81,\\n \\"OutputTokens\\": 9,\\n \\"TotalTokens\\": 50\\n }\\n },\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n}","type":"json"}]', + ], + 'ListInterveneCnt' => [ + 'summary' => '获得干预项目数量列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fcb14f25c9ee41ccad33a049de8f941b_p_outbound_public', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '页面尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'formData', + 'schema' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetIntervenesCntListResult>', + 'description' => 'PlainResult<GetIntervenesCntListResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CntList' => [ + 'title' => '数量信息列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'any', + 'example' => '{'."\n" + .'"namespace":"namespace_qa_query", '."\n" + .'"interfereType":0,'."\n" + .'"cnt": 10'."\n" + .'}', + ], + ], + 'PageCnt' => [ + 'title' => '总页数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'PageIndex' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '页尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"CntList\\": [\\n \\"{\\\\n\\\\\\"namespace\\\\\\":\\\\\\"namespace_qa_query\\\\\\", \\\\n\\\\\\"interfereType\\\\\\":0,\\\\n\\\\\\"cnt\\\\\\": 10\\\\n}\\"\\n ],\\n \\"PageCnt\\": 10,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListIntervenes' => [ + 'summary' => '获得干预项列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '33a2658aaabf4c24b45d50e575125311_p_beebot_public', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => 'mqtt_outRule_1679019634514', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'title' => '问题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'InterveneType', + 'in' => 'formData', + 'schema' => [ + 'title' => '干预类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + '0-相似问干预项目' => '', + '2-正则表达式干预项 ' => '', + ' 1-关键词表达式干预项 ' => '', + '3-关键词库干预项' => '', + ' 4-URL干预' => '', + ], + 'example' => '', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'formData', + 'schema' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '页面尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetInterveneListResult>', + 'description' => 'PlainResult<GetInterveneListResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InterveneList' => [ + 'title' => '干预项列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => 'id', + 'description' => 'id', + 'type' => 'string', + 'example' => '36559', + ], + 'Query' => [ + 'title' => '干预query', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'PageIndex' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '页尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'TotalSize' => [ + 'title' => '总页书', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '428DCC0D-3C63-5306-BD1B-124396AB97BE', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"InterveneList\\": [\\n {\\n \\"Id\\": \\"36559\\",\\n \\"Query\\": \\"伊家楼\\"\\n }\\n ],\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalSize\\": 1,\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"428DCC0D-3C63-5306-BD1B-124396AB97BE\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ImportInterveneFile' => [ + 'summary' => '导入干预文件', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'DocName', + 'in' => 'formData', + 'schema' => [ + 'title' => '上传文件名字', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'import.xls', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件地址', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxx/xxx.xls', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件osskey', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'import.xsl', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<OperationResult>', + 'description' => 'PlainResult<OperationResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FailIdList' => [ + 'title' => '失败的索引id列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123456', + ], + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21'."\n", + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"FailIdList\\": [\\n \\"123456\\"\\n ],\\n \\"TaskId\\": \\"\\\\\\"3f7045e099474ba28ceca1b4eb6d6e21\\\\\\"\\",\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'InsertInterveneGlobalReply' => [ + 'summary' => '设置干预全局回复', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxx_efm', + ], + ], + [ + 'name' => 'ReplyMessagList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '回复内容列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'title' => '回复内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'ReplyType' => [ + 'title' => '回复类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'namespace_qa_query (问答输入干预)' => '', + 'namespace_qa_result (问答结果干预)' => '', + 'namespace_writing_result (写作结果干预)' => '', + 'namespace_writing_query (写作输入干预)' => '', + ], + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<OperationResult>', + 'description' => 'PlainResult<OperationResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FailIdList' => [ + 'title' => '失败的索引id列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1234', + ], + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'example' => '4829', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"FailIdList\\": [\\n \\"1234\\"\\n ],\\n \\"TaskId\\": \\"4829\\",\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ImportInterveneFileAsync' => [ + 'summary' => '异步导入干预文件', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'DocName', + 'in' => 'formData', + 'schema' => [ + 'title' => '上传文件名字', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'import.xls', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件地址', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://xxx/import.xls', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'title' => '文件osskey', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'import.xls', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<OperationResult>', + 'description' => 'PlainResult<OperationResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FailIdList' => [ + 'title' => '失败的索引id列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123', + ], + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '94512A33-8EC1-5452-A793-5C91F18ED2F0', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"FailIdList\\": [\\n \\"123\\"\\n ],\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"94512A33-8EC1-5452-A793-5C91F18ED2F0\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetInterveneTemplateFileUrl' => [ + 'summary' => '获得干预导入模版文件下载地址', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetTemplateFileUrlResult>', + 'description' => 'PlainResult<GetTemplateFileUrlResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'title' => '模版文件地址', + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxx/xxx.xls', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'DA021073-17CE-5CCF-9FEB-93226C766887', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"http://xxx/xxx.xls\\",\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"DA021073-17CE-5CCF-9FEB-93226C766887\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ClearIntervenes' => [ + 'summary' => '清除所有干预内容', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<OperationResult>', + 'description' => 'PlainResult<OperationResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FailIdList' => [ + 'title' => '失败的索引id列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1234', + ], + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"FailIdList\\": [\\n \\"\\\\\\"1234\\\\\\"\\"\\n ],\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetInterveneGlobalReply' => [ + 'summary' => '获得干预全局回复', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fcb14f25c9ee41ccad33a049de8f941b_p_outbound_public', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetGlobalReplyResult>', + 'description' => 'PlainResult<GetGlobalReplyResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ReplyMessagList' => [ + 'title' => '回复信息列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'title' => '回复内容', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ReplyType' => [ + 'title' => '回复类型', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'namespace_qa_query (问答输入干预)' => '', + 'namespace_qa_result (问答结果干预)' => '', + 'namespace_writing_result (写作结果干预)' => '', + 'namespace_writing_query (写作输入干预)' => '', + ], + 'example' => 'namespace_qa_query', + ], + ], + ], + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"ReplyMessagList\\": [\\n {\\n \\"Message\\": \\"success\\",\\n \\"ReplyType\\": \\"namespace_qa_query\\"\\n }\\n ],\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListInterveneRules' => [ + 'summary' => '获得干预规则列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'formData', + 'schema' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '页面尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetInterveneRuleListResult>', + 'description' => 'PlainResult<GetInterveneRuleListResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Count' => [ + 'title' => '数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'InterveneRuleList' => [ + 'title' => '规则列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AnswerConfig' => [ + 'title' => '答案配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AnswerType' => [ + 'title' => '答案类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '0-统一回复' => '', + '1-定向回复 ' => '', + ], + 'example' => '0', + ], + 'Message' => [ + 'title' => '答案内容', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Namespace' => [ + 'title' => '命名空间', + 'description' => '', + 'type' => 'string', + 'example' => 'namespace_qa_query', + ], + ], + ], + ], + 'CreateTime' => [ + 'title' => '创建时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-06-05 15:17:01', + ], + 'EffectTime' => [ + 'title' => '生效时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-04-03 02:42:01', + ], + 'InterveneType' => [ + 'title' => '干预类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '0-永久生效' => '', + '1-按时间生效' => '', + ], + 'example' => '0', + ], + 'NamespaceList' => [ + 'title' => '命名空间列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'namespace_qa_query (问答输入干预)' => '', + 'namespace_qa_result (问答结果干预)' => '', + 'namespace_writing_result (写作结果干预)' => '', + 'namespace_writing_query (写作输入干预)' => '', + ], + 'example' => 'namespace_qa_query', + ], + ], + 'RuleId' => [ + 'title' => '规则id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => 'mr-iuo9pi9w555phfbb', + ], + 'RuleName' => [ + 'title' => '规则名字', + 'description' => '', + 'type' => 'string', + 'example' => 'ruletest', + ], + ], + ], + ], + 'PageIndex' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '页尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'DA021073-17CE-5CCF-9FEB-93226C766887', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"Count\\": 1,\\n \\"InterveneRuleList\\": [\\n {\\n \\"AnswerConfig\\": [\\n {\\n \\"AnswerType\\": 0,\\n \\"Message\\": \\"抱歉我无法回答\\",\\n \\"Namespace\\": \\"namespace_qa_query\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2023-06-05 15:17:01\\",\\n \\"EffectTime\\": \\"2023-04-03 02:42:01\\",\\n \\"InterveneType\\": 0,\\n \\"NamespaceList\\": [\\n \\"namespace_qa_query\\"\\n ],\\n \\"RuleId\\": 0,\\n \\"RuleName\\": \\"ruletest\\"\\n }\\n ],\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"DA021073-17CE-5CCF-9FEB-93226C766887\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListInterveneImportTasks' => [ + 'summary' => '获得导入任务列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'formData', + 'schema' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => [ + 'title' => '每页尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<OperationStatusListResult>', + 'description' => 'PlainResult<OperationStatusListResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'title' => '页号', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '页尺寸', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'StatusList' => [ + 'title' => '任务状态信息', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Msg' => [ + 'title' => '任务信息', + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'Percentage' => [ + 'title' => '完成百分比', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5', + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'Success', + ], + 'TaskId' => [ + 'title' => '任务Id', + 'description' => '', + 'type' => 'string', + 'example' => '4854', + ], + 'TaskName' => [ + 'title' => '任务名字', + 'description' => '', + 'type' => 'string', + 'example' => '12344454', + ], + ], + ], + ], + 'TotalSize' => [ + 'title' => '总页数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"StatusList\\": [\\n {\\n \\"Msg\\": \\"Success\\",\\n \\"Percentage\\": 5,\\n \\"Status\\": 0,\\n \\"TaskId\\": \\"4854\\",\\n \\"TaskName\\": \\"12344454\\"\\n }\\n ],\\n \\"TotalSize\\": 0,\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'InsertInterveneRule' => [ + 'summary' => '插入干预规则', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'InterveneRuleConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '干预规则配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AnswerConfig' => [ + 'title' => '答案配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AnswerType' => [ + 'title' => '答案类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + '1-定向回复' => '', + ' 0-统一回复' => '', + ], + 'example' => '0', + ], + 'Message' => [ + 'title' => '答案内容', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Namespace' => [ + 'title' => '命名空间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + ' namespace_writing_query (写作输入干预)' => '', + ' namespace_qa_result (问答结果干预)' => '', + 'namespace_qa_query (问答输入干预)' => '', + ' namespace_writing_result (写作结果干预)' => '', + ], + 'example' => 'namespace_qa_query', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'EffectConfig' => [ + 'title' => '生效配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EffectType' => [ + 'title' => '生效类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + '0-永久生效 ' => '', + '1-按时间生效' => '', + ], + 'example' => '0', + ], + 'EndTime' => [ + 'title' => '结束时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-28 06:04:29', + ], + 'StartTime' => [ + 'title' => '开始时间', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-28 06:04:29', + ], + ], + 'required' => false, + ], + 'InterveneConfigList' => [ + 'title' => '干预配置列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'title' => 'id', + 'description' => 'id', + 'type' => 'string', + 'required' => false, + 'example' => '37249', + ], + 'OperationType' => [ + 'title' => '操作类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + '0-新建' => '', + ' 1-更新 ' => '', + '2-删除' => '', + ], + 'example' => '0', + ], + 'Query' => [ + 'title' => '干预query配置', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'InterveneType' => [ + 'title' => '干预类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [ + '0-相似问干预项目' => '', + ' 2-正则表达式干预项 ' => '', + '3-关键词库干预项' => '', + ' 4-URL干预' => '', + '1-关键词表达式干预项' => '', + ], + 'example' => '0', + ], + 'NamespaceList' => [ + 'title' => '命名空间列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'namespace_writing_image (智能配图)' => '', + 'namespace_qa_query (问答输入干预)' => '', + 'namespace_qa_article (问答参考)' => '', + 'namespace_writing_article (写作参考)' => '', + 'namespace_qa_result (问答结果干预)' => '', + 'namespace_writing_result (写作结果干预)' => '', + 'namespace_writing_query (写作输入干预)' => '', + ], + 'example' => '', + ], + 'required' => false, + ], + 'RuleId' => [ + 'title' => '规则Id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '2', + ], + 'RuleName' => [ + 'title' => '规则名字', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tf-test-rule', + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<InsertInterveneRuleResult>', + 'description' => 'PlainResult<InsertInterveneRuleResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RuleId' => [ + 'title' => '规则id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '12345', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => 'DD656AF9-0839-521A-A3D2-F320009F9C87', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"RuleId\\": 12345,\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"DD656AF9-0839-521A-A3D2-F320009F9C87\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetInterveneRuleDetail' => [ + 'summary' => '获得干预项规则详情', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2daaa2e0c209xb26acb97009ea77bd4b_p_efm', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '12345', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetInterveneRuleDetailResult>', + 'description' => 'PlainResult<GetInterveneRuleDetailResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InterveneRuleDetail' => [ + 'title' => '规则详情结构', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AnswerConfig' => [ + 'title' => '答案信息配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AnswerType' => [ + 'title' => '答案类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '0-统一回复' => '', + '1-定向回复 ' => '', + ], + 'example' => '0', + ], + 'Message' => [ + 'title' => '答案内容', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Namespace' => [ + 'title' => '命名空间', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + ' namespace_writing_query (写作输入干预)' => '', + ' namespace_qa_result (问答结果干预)' => '', + 'namespace_qa_query (问答输入干预)' => '', + ' namespace_writing_result (写作结果干预)' => '', + ], + 'example' => 'namespace_qa_query', + ], + ], + ], + ], + 'EffectConfig' => [ + 'title' => '生效配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'EffectType' => [ + 'title' => '生效类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '0-永久生效 ' => '', + '1-按时间生效' => '', + ], + 'example' => '0', + ], + 'EndTime' => [ + 'title' => '结束时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-11-25 14:21:15', + ], + 'StartTime' => [ + 'title' => '开始时间', + 'description' => '', + 'type' => 'string', + 'example' => '2023-11-25 14:21:15', + ], + ], + ], + 'InterveneType' => [ + 'title' => '干预类型', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '3-关键词库干预项 ' => '', + '0-相似问干预项目 ' => '', + ' 2-正则表达式干预项 ' => '', + '4-URL干预' => '', + '1-关键词表达式干预项' => '', + ], + 'example' => '0', + ], + 'NamespaceList' => [ + 'title' => '命名空间列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'namespace_writing_image (智能配图)' => '', + 'namespace_qa_query (问答输入干预)' => '', + 'namespace_qa_article (问答参考)' => '', + 'namespace_writing_article (写作参考)' => '', + 'namespace_qa_result (问答结果干预)' => '', + 'namespace_writing_result (写作结果干预)' => '', + 'namespace_writing_query (写作输入干预)' => '', + ], + 'example' => 'namespace_qa_query', + ], + ], + 'RuleId' => [ + 'title' => '规则id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100418', + ], + 'RuleName' => [ + 'title' => '规则名字', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '428DCC0D-3C63-5306-BD1B-124396AB97BE', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"InterveneRuleDetail\\": {\\n \\"AnswerConfig\\": [\\n {\\n \\"AnswerType\\": 0,\\n \\"Message\\": \\"早上好\\",\\n \\"Namespace\\": \\"namespace_qa_query\\"\\n }\\n ],\\n \\"EffectConfig\\": {\\n \\"EffectType\\": 0,\\n \\"EndTime\\": \\"2023-11-25 14:21:15\\",\\n \\"StartTime\\": \\"2023-11-25 14:21:15\\"\\n },\\n \\"InterveneType\\": 0,\\n \\"NamespaceList\\": [\\n \\"namespace_qa_query\\"\\n ],\\n \\"RuleId\\": 100418,\\n \\"RuleName\\": \\"规则001\\"\\n },\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"428DCC0D-3C63-5306-BD1B-124396AB97BE\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DeleteInterveneRule' => [ + 'summary' => '删除干预规则', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxxx_p_efm', + ], + ], + [ + 'name' => 'RuleId', + 'in' => 'formData', + 'schema' => [ + 'title' => '规则id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '12345', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<OperationResult>', + 'description' => 'PlainResult<OperationResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FailIdList' => [ + 'title' => '失败的索引id列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12345', + ], + ], + 'TaskId' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'example' => 'dt-s50ntwtywb4y', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '94512A33-8EC1-5452-A793-5C91F18ED2F0', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"success\\",\\n \\"Data\\": {\\n \\"FailIdList\\": [\\n \\"12345\\"\\n ],\\n \\"TaskId\\": \\"dt-s50ntwtywb4y\\",\\n \\"Code\\": 200\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"94512A33-8EC1-5452-A793-5C91F18ED2F0\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ExportIntervenes' => [ + 'summary' => '导出所有干预内容', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fed6555ec9e24b92aeecc34be484b887_p_efm', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<UrlResult>', + 'description' => 'PlainResult<UrlResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileUrl' => [ + 'title' => '文件url', + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxx/xxx.xls', + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"FileUrl\\": \\"http://xxx/xxx.xls\\",\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetInterveneImportTaskInfo' => [ + 'summary' => '获得导入任务信息', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '67c520d1fa43455ea44fb69fa402d54d_p_beebot_public', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务id', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '19162157', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetImportTaskInfoResult>', + 'description' => 'PlainResult<GetImportTaskInfoResult>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '0', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'title' => '任务状态信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Msg' => [ + 'title' => '任务信息', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Percentage' => [ + 'title' => '完成百分比', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [ + '3-超时' => '', + '2-错误' => '', + ' 1-进行中 ' => '', + '0-结束' => '', + ], + 'example' => '0', + ], + 'TaskId' => [ + 'title' => '任务Id', + 'description' => '', + 'type' => 'string', + 'example' => '41405255', + ], + 'TaskName' => [ + 'title' => '任务名字', + 'description' => '', + 'type' => 'string', + 'example' => 'ft-task-20190101m8rnK', + ], + ], + ], + 'Code' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"0\\",\\n \\"Data\\": {\\n \\"Status\\": {\\n \\"Msg\\": \\"success\\",\\n \\"Percentage\\": 80,\\n \\"Status\\": 0,\\n \\"TaskId\\": \\"41405255\\",\\n \\"TaskName\\": \\"ft-task-20190101m8rnK\\"\\n },\\n \\"Code\\": 0\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SaveDataSourceOrderConfig' => [ + 'summary' => '保存用户的信源配置', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'c160c841c8e54295bf2f441432785944_p_efm', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '产品类型 可选值 miaobi, miaosou', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'miaobi', + 'enum' => [ + 'miaobi', + 'miaosou', + ], + ], + ], + [ + 'name' => 'UserConfigDataSourceList', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '用户数据源配置', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => 'code描述', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'QuarkCommonNews', + ], + 'Name' => [ + 'title' => '显示名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Number' => [ + 'title' => '数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '20', + ], + 'Type' => [ + 'title' => 'type类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'SystemSearch', + ], + 'Enable' => [ + 'title' => '是否启用', + 'type' => 'boolean', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'GenerateTechnology', + 'in' => 'formData', + 'schema' => [ + 'title' => 'productCode=miaosou时,对应妙搜:生成技术'."\n" + .'取值:"copilotPrecise","copilotReference"', + 'type' => 'string', + 'example' => 'copilotReference', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<Boolean>', + 'description' => 'PlainResult<Boolean>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": true,\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetDataSourceOrderConfig' => [ + 'summary' => '获取系统数据源配置和个人配置', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'AgentKey', + 'in' => 'query', + 'schema' => [ + 'title' => '业务空间唯一标识:AgentKey', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'd9a1f6146a37446495d9985c2e7b267e_p_outbound_public', + ], + ], + [ + 'name' => 'ProductCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '配置类型 可选值 miaobi、miaosou', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'miaobi', + 'enum' => [ + 'miaobi', + 'miaosou', + ], + ], + ], + [ + 'name' => 'GenerateTechnology', + 'in' => 'formData', + 'schema' => [ + 'title' => 'productCode=miaosou时,对应妙搜:生成技术'."\n" + .'取值:"copilotPrecise","copilotReference"', + 'type' => 'string', + 'required' => false, + 'example' => 'copilotPrecise', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult<GetDataSourceOrderConfigResponse>', + 'description' => 'PlainResult<GetDataSourceOrderConfigResponse>', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Data' => [ + 'title' => '业务数据', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'UserConfigDataSourceList' => [ + 'title' => '用户配置数据源权重列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => 'code描述', + 'description' => '', + 'type' => 'string', + 'example' => 'QuarkCommonNews', + ], + 'Name' => [ + 'title' => '显示名称', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Number' => [ + 'title' => '数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '20', + ], + 'Type' => [ + 'title' => 'type类型', + 'description' => '', + 'type' => 'string', + 'example' => 'SystemSearch', + ], + 'Enable' => [ + 'title' => '是否启用', + 'type' => 'boolean', + ], + ], + ], + ], + 'TotalDocSize' => [ + 'title' => '最大文档总数', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '428DCC0D-3C63-5306-BD1B-124396AB97BE', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"UserConfigDataSourceList\\": [\\n {\\n \\"Code\\": \\"QuarkCommonNews\\",\\n \\"Name\\": \\"夸克通用搜索\\",\\n \\"Number\\": 20,\\n \\"Type\\": \\"SystemSearch\\",\\n \\"Enable\\": true\\n }\\n ],\\n \\"TotalDocSize\\": 1\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"428DCC0D-3C63-5306-BD1B-124396AB97BE\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetDocInfo' => [ + 'summary' => '妙读获取文档信息', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DocType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pdf', + ], + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxx/xxx.pdf', + ], + 'Status' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'StatusMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'VideoContents' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"DocName\\": \\"電視廣播2020年報\\",\\n \\"DocType\\": \\"pdf\\",\\n \\"FileUrl\\": \\"http://xxx/xxx.pdf\\",\\n \\"Status\\": 0,\\n \\"StatusMessage\\": \\"导入成功\\",\\n \\"VideoContents\\": [\\n \\"文本内容\\"\\n ],\\n \\"CategoryId\\": \\"default\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetFileContentLength' => [ + 'summary' => '妙读获得文档字数', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'DocName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test.pdf', + ], + ], + [ + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'https://xxx/test.pdf', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DD656AF9-0839-521A-A3D2-F320009F9C87', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'WordNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1024', + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD656AF9-0839-521A-A3D2-F320009F9C87\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"WordNum\\": 1024\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UploadBook' => [ + 'summary' => '妙读上传书籍', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-ipe7d81yq4sl5jmk', + ], + ], + [ + 'name' => 'Docs', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'http://xxx/ccc.pdf', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aaaxxx', + ], + ], + 'ExistedIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccccc', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"DocIds\\": [\\n \\"aaaxxx\\"\\n ],\\n \\"ExistedIds\\": [\\n \\"ccccc\\"\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'UploadDoc' => [ + 'summary' => '妙读上传文档接口', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-yigtrrjl377rcbab', + ], + ], + [ + 'name' => 'Docs', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://xxx/ccc.pdf', + ], + ], + 'required' => true, + ], + 'required' => true, + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DocIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'aaaxxx', + ], + ], + 'ExistedIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ccccc', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": {\\n \\"DocIds\\": [\\n \\"aaaxxx\\"\\n ],\\n \\"ExistedIds\\": [\\n \\"ccccc\\"\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'ListDocs' => [ + 'summary' => '妙读获取文档列表', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'DocName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'DocType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pdf', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '52a33dc83779f63641e16f5146cd7125', + ], + ], + [ + 'name' => 'Statuses', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + 'required' => false, + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2024-01-04 11:46:07', + ], + 'DocId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '12345', + ], + 'DocName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'DocType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pdf', + ], + 'Status' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'StatusMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'CategoryId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'default', + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJANEQ4mYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3MjZjN2E2NDYyNzUzODMxMzY3ODM0NmIzNTZkNjc=', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '70', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"Data\\": [\\n {\\n \\"CreateTime\\": 0,\\n \\"DocId\\": \\"12345\\",\\n \\"DocName\\": \\"标题093\\",\\n \\"DocType\\": \\"pdf\\",\\n \\"Status\\": 0,\\n \\"StatusMessage\\": \\"导入完成\\",\\n \\"CategoryId\\": \\"default\\"\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"MaxResults\\": 10,\\n \\"Message\\": \\"successful\\",\\n \\"NextToken\\": \\"CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJANEQ4mYAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM4NzA3MjZjN2E2NDYyNzUzODMxMzY3ODM0NmIzNTZkNjc=\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 70\\n}","type":"json"}]', + ], + 'DeleteDocs' => [ + 'summary' => '妙读删除多个文档', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'DocIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '2C565EDD-E624-5FED-8565-0A9CB0C8CC46', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"2C565EDD-E624-5FED-8565-0A9CB0C8CC46\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'RunMultiDocIntroduction' => [ + 'summary' => '文档批量导读', + 'path' => '/miaodu/stream/runMultiDocIntroduction', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'DocIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10022', + ], + 'required' => true, + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '75bf82fa-b71b-45d7-ae40-0b00e496cd9e', + ], + ], + [ + 'name' => 'SummaryPrompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'KeyPointPrompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Message does not exist.', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '92e16ccb-92b6-4894-abbf-fc6e2929a0df', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b057f2fa-2277-477b-babf-cbc062307828', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '46e5c2b5-0877-4f09-bd91-ab0cf314e48b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Summary' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'KeyPoints' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'KeyPoint' => [ + 'type' => 'string', + ], + 'Source' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '65', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '165', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"200\\",\\n \\"ErrorMessage\\": \\"Message does not exist.\\",\\n \\"Event\\": \\"finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"92e16ccb-92b6-4894-abbf-fc6e2929a0df\\",\\n \\"TaskId\\": \\"b057f2fa-2277-477b-babf-cbc062307828\\",\\n \\"TraceId\\": \\"46e5c2b5-0877-4f09-bd91-ab0cf314e48b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Summary\\": \\"大纲摘要内容\\",\\n \\"KeyPoints\\": [\\n {\\n \\"KeyPoint\\": \\"关键点信息\\",\\n \\"Source\\": \\"信息来源\\"\\n }\\n ]\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 65,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 165\\n }\\n }\\n}","type":"json"}]', + ], + 'RunDocBrainmap' => [ + 'summary' => '妙读脑图生成接口', + 'path' => '/miaodu/stream/runDocBrainmap', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CleanCache', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'NodeNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'WordNumber', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + [ + 'name' => 'referenceContent', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '07181f55-2311-48af-8048-132a77dee020', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '161816', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6427cdf4-2ffe-4d05-b0ef-c4adceea90f4', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"xxxx":"xxx"}', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '65', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '165', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"07181f55-2311-48af-8048-132a77dee020\\",\\n \\"TaskId\\": \\"161816\\",\\n \\"TraceId\\": \\"6427cdf4-2ffe-4d05-b0ef-c4adceea90f4\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"{\\\\\\"xxxx\\\\\\":\\\\\\"xxx\\\\\\"}\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 65,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 165\\n }\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\"\\n}","type":"json"}]', + ], + 'RunDocIntroduction' => [ + 'summary' => '妙读文档导读接口', + 'path' => '/miaodu/stream/runDocIntroduction', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREsfmJIZ0TW', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'a3b5eb35-6b28-4cf9-ac09-1dec25ab4df6', + ], + ], + [ + 'name' => 'SummaryPrompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'KeyPointPrompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'IntroductionPrompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'CleanCache', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'referenceContent', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20247a52-23e2-46fb-943d-309cdee2bc6d', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8a9cecb7-6d20-32db-8823-5882c217b647', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0bd58ea2-dc38-45da-ac02-17f05cb9040b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Introductions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Blocks' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '600', + ], + 'PageId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '600', + ], + 'X' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Y' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'BeginTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '0', + ], + 'EndTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1200', + ], + ], + ], + ], + 'StartPageId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Summary' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'KeyPoint' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Summary' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => 'C9B5BEA6-E8C4-5861-BE37-D906D516510E', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"task-started\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"20247a52-23e2-46fb-943d-309cdee2bc6d\\",\\n \\"TaskId\\": \\"8a9cecb7-6d20-32db-8823-5882c217b647\\",\\n \\"TraceId\\": \\"0bd58ea2-dc38-45da-ac02-17f05cb9040b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Introductions\\": [\\n {\\n \\"Blocks\\": [\\n {\\n \\"Height\\": 600,\\n \\"PageId\\": 10,\\n \\"Width\\": 600,\\n \\"X\\": 10,\\n \\"Y\\": 10,\\n \\"BeginTime\\": 0,\\n \\"EndTime\\": 1200\\n }\\n ],\\n \\"StartPageId\\": 10,\\n \\"Summary\\": \\"本段摘要内容\\",\\n \\"Title\\": \\"本段标题内容\\"\\n }\\n ],\\n \\"KeyPoint\\": \\"要点1;要点2;\\",\\n \\"Summary\\": \\"大纲摘要内容\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"C9B5BEA6-E8C4-5861-BE37-D906D516510E\\"\\n}","type":"json"}]', + ], + 'RunDocSummary' => [ + 'summary' => '妙读文档总结摘要接口', + 'path' => '/miaodu/stream/runDocSummary', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '0f56f98a-f2d8-47ec-98e9-1cbdcffa9539', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'RecommendContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CleanCache', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '92e16ccb-92b6-4894-abbf-fc6e2929a0df', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b057f2fa-2277-477b-babf-cbc062307828', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '3259D344-E871-5DE0-8FFE-CDA21F8D4382', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"task-started\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"92e16ccb-92b6-4894-abbf-fc6e2929a0df\\",\\n \\"TaskId\\": \\"b057f2fa-2277-477b-babf-cbc062307828\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"总结内容\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"3259D344-E871-5DE0-8FFE-CDA21F8D4382\\"\\n}","type":"json"}]', + ], + 'RunDocWashing' => [ + 'summary' => '文档改写', + 'path' => '/quanmiao/aimiaobi/runDocWashing', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'WritingTypeName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'WritingTypeRefDoc', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ReferenceContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'WordNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '500', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'End' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '20247a52-23e2-46fb-943d-309cdee2bc6d', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"End\\": false,\\n \\"Header\\": {\\n \\"Event\\": \\"task-finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"SessionId\\": \\"20247a52-23e2-46fb-943d-309cdee2bc6d\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"文本生成结果\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n }\\n}","type":"json"}]', + ], + 'RunBookIntroduction' => [ + 'summary' => '书籍导读接口', + 'path' => '/miaodu/stream/runBookIntroduction', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-vtmox6g2bhq2qv5c', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3YQRatoe8phnpIsIE6z7DTPknhG8Fj', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '0f56f98a-f2d8-47ec-98e9-1cbdcffa9539', + ], + ], + [ + 'name' => 'SummaryPrompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'KeyPointPrompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '411c4dfa-2168-4379-a902-675d67f453f8', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '46e5c2b5-0877-4f09-bd91-ab0cf314e48b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Summary' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'KeyPoint' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"411c4dfa-2168-4379-a902-675d67f453f8\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"46e5c2b5-0877-4f09-bd91-ab0cf314e48b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Summary\\": \\"简介内容\\",\\n \\"KeyPoint\\": \\"卖点内容\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n }\\n}","type":"json"}]', + ], + 'RunBookBrainmap' => [ + 'summary' => '妙读生成书籍脑图', + 'path' => '/miaodu/stream/runBookBrainmap', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-hx72jf15gqyobvd9', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '12345', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CleanCache', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'NodeNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + ], + ], + [ + 'name' => 'WordNumber', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '20', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-failed', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0bc1409b17210096103458421ec62e', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '{"xxxx":"xxx"}', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"Success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"task-failed\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"0bc1409b17210096103458421ec62e\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"{\\\\\\"xxxx\\\\\\":\\\\\\"xxx\\\\\\"}\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n }\\n}","type":"json"}]', + ], + 'RunCommentGeneration' => [ + 'summary' => '客户之声预测', + 'path' => '/quanmiao/aimiaobi/runCommentGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-3kcs1w3lltrtbfkr', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Length', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '20', + ], + ], + [ + 'name' => 'NumComments', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '10', + ], + ], + [ + 'name' => 'Style', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'SourceMaterial', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'AllowEmoji', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => true, + 'example' => '{"emotion":"50","opinion":"50"}'."\n", + ], + ], + [ + 'name' => 'Sentiment', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => true, + 'example' => '{"positive":"50","negative":"50"}'."\n", + ], + ], + [ + 'name' => 'LengthRange', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => true, + 'example' => '{"short":"50","long":“50”}'."\n", + ], + ], + [ + 'name' => 'ExtraInfo', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'End' => [ + 'description' => '', + 'type' => 'boolean', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated'."\n", + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0bd58ea2-dc38-45da-ac02-17f05cb9040b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '2', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"End\\": true,\\n \\"Header\\": {\\n \\"Event\\": \\"result-generated\\\\n\\",\\n \\"EventInfo\\": \\"可空\\\\n\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"0bd58ea2-dc38-45da-ac02-17f05cb9040b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"评论内容\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 2,\\n \\"TotalTokens\\": 3\\n }\\n }\\n}","type":"json"}]', + ], + 'RunHotword' => [ + 'summary' => '妙读文档关键词抽取接口', + 'path' => '/miaodu/stream/runHotword', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-baw8as25ll3wnzjr', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'e32a1a3f-1f7e-41dd-b888-ef1d91b96d1e', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '84ufBYEeLMZOjRFo84HJ7ySL3Efr55', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ReferenceContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '92e16ccb-92b6-4894-abbf-fc6e2929a0df', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0abb7e3217356108993888059ee72b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '101', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"200\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"92e16ccb-92b6-4894-abbf-fc6e2929a0df\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"0abb7e3217356108993888059ee72b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"全球影响,文化交流,孙悟空,动画改编\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 1,\\n \\"TotalTokens\\": 101\\n }\\n }\\n}","type":"json"}]', + ], + 'RunGenerateQuestions' => [ + 'summary' => '妙读猜你想问接口', + 'path' => '/miaodu/stream/runGenerateQuestions', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-w335gauzlbba2vze', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f486c4e2-b773-4d65-88f8-2ba540610456', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oOgIwodFANW1u5MnqxysOh1rtld3xn', + ], + ], + [ + 'name' => 'ReferenceContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3cd10828-0e42-471c-8f1a-931cde20b035', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'd3be9981-ca2d-4e17-bf31-1c0a628e9f99', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0bc3b4b417362160345997589e5f6e', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"RateLimit\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3cd10828-0e42-471c-8f1a-931cde20b035\\",\\n \\"TaskId\\": \\"d3be9981-ca2d-4e17-bf31-1c0a628e9f99\\",\\n \\"TraceId\\": \\"0bc3b4b417362160345997589e5f6e\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"问题1\\\\\\\\n问题2\\\\\\\\n问题3\\\\\\\\n\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n }\\n}","type":"json"}]', + ], + 'RunDocQa' => [ + 'summary' => '妙读问答接口', + 'path' => '/miaodu/stream/runDocQA', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => [ + 'FEATUREsfmJIZ0TW', + ], + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-dswd4003ny4gh9rw', + ], + ], + [ + 'name' => 'SearchSource', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'fromIndexLib' => '', + 'fromWeb' => '', + 'fromRefContent' => '', + 'fromDoc' => '', + ], + 'example' => 'fromWeb', + ], + ], + [ + 'name' => 'DocIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '10022', + ], + 'required' => false, + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'ReferenceContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ConversationContexts', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'Role' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'user', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f486c4e2-b773-4d65-88f8-2ba540610456', + ], + ], + [ + 'name' => 'CategoryIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'default', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'f5517ee8-dbec-4dc8-bd0a-af084b5e3db1', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '46e5c2b5-0877-4f09-bd91-ab0cf314e48b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'InterveneContent' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'IsReject' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + 'MediaUrlList' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ClipInfos' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'From' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '0', + ], + 'To' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '30', + ], + ], + ], + ], + 'FileUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://gw.alicdn.com/imgextra/i3/2775676850/O1CN01kdeffE20TM0E7wvpq_!!2775676850.jpg_q60.jpg', + ], + 'MediaType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'video', + ], + ], + ], + ], + 'Recommends' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'References' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PubTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-10-08 18:00', + ], + 'Source' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SourceDocId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '123456', + ], + 'Title' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxxxx', + ], + ], + ], + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"task-started\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"f5517ee8-dbec-4dc8-bd0a-af084b5e3db1\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"46e5c2b5-0877-4f09-bd91-ab0cf314e48b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"回答内容\\",\\n \\"InterveneContent\\": \\"干预后的回答内容\\",\\n \\"IsReject\\": false,\\n \\"MediaUrlList\\": [\\n {\\n \\"ClipInfos\\": [\\n {\\n \\"From\\": 0,\\n \\"To\\": 30\\n }\\n ],\\n \\"FileUrl\\": \\"https://gw.alicdn.com/imgextra/i3/2775676850/O1CN01kdeffE20TM0E7wvpq_!!2775676850.jpg_q60.jpg\\",\\n \\"MediaType\\": \\"video\\"\\n }\\n ],\\n \\"Recommends\\": [\\n {\\n \\"Title\\": \\"标题内容\\",\\n \\"Url\\": \\"推荐内容url\\"\\n }\\n ],\\n \\"References\\": [\\n {\\n \\"PubTime\\": \\"2024-10-08 18:00\\",\\n \\"Source\\": \\"新浪新闻\\",\\n \\"SourceDocId\\": \\"123456\\",\\n \\"Title\\": \\"标题内容\\",\\n \\"Url\\": \\"http://xxxxx\\"\\n }\\n ]\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\"\\n}","type":"json"}]', + ], + 'RunDocTranslation' => [ + 'summary' => '妙读文档翻译接口', + 'path' => '/miaodu/stream/runDocTranslation', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '2e6b3987-f743-4d4c-8326-d9c41a6af3ee', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '12345', + ], + ], + [ + 'name' => 'TransType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'toChinese'."\n" + .'toEnglish', + ], + ], + [ + 'name' => 'RecommendContent', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CleanCache', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '411c4dfa-2168-4379-a902-675d67f453f8', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '50a1cc8e-717e-4a2b-a76b-dc9734a8564b', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ebd19b12-0cae-488f-9e41-5a1c825f545b', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"task-started\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"411c4dfa-2168-4379-a902-675d67f453f8\\",\\n \\"TaskId\\": \\"50a1cc8e-717e-4a2b-a76b-dc9734a8564b\\",\\n \\"TraceId\\": \\"ebd19b12-0cae-488f-9e41-5a1c825f545b\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"翻译内容\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\"\\n}","type":"json"}]', + ], + 'RunDocSmartCard' => [ + 'summary' => '文档智能卡片接口', + 'path' => '/miaodu/stream/runDocSmartCard', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-2setzb9x4ewsd', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '84ufBYEeLMZOjRFo84HJ7ySL3Efr55', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ModelName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '07181f55-2311-48af-8048-132a77dee020', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8d55b429d7c6d321fcff54823e8d317b', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0abb781c17337107444473701ed7c3', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Usage' => [ + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '101', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"07181f55-2311-48af-8048-132a77dee020\\",\\n \\"TaskId\\": \\"8d55b429d7c6d321fcff54823e8d317b\\",\\n \\"TraceId\\": \\"0abb781c17337107444473701ed7c3\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"标题内容\\",\\n \\"Tags\\": [\\n \\"标签内容\\"\\n ]\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 101\\n }\\n }\\n}","type":"json"}]', + ], + 'RunBookSmartCard' => [ + 'summary' => '书籍智能卡片接口', + 'path' => '/miaodu/stream/runBookSmartCard', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xxx', + ], + ], + [ + 'name' => 'DocId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '84ufBYEeLMZOjRFo84HJ7ySL3Efr55', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'finished', + ], + 'EventInfo' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1a0e898717105546647125853d4f54', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '101', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"success\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Event\\": \\"finished\\",\\n \\"EventInfo\\": \\"模型生成事件\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TraceId\\": \\"1a0e898717105546647125853d4f54\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Content\\": \\"卡片标题内容\\",\\n \\"Tags\\": [\\n \\"卡片标签内容\\"\\n ]\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 1,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 101\\n }\\n }\\n}","type":"json"}]', + ], + 'SubmitDeepWriteTask' => [ + 'summary' => '提交深度写作任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-1setzb9xb8m11vrc', + ], + ], + [ + 'name' => 'Input', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户的问题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'Instructions', + 'in' => 'formData', + 'schema' => [ + 'title' => '指令', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'Files', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '附件列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FileKey' => [ + 'title' => '附件的OSS地址', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss://default/aimiaobi-poc/aimiaobi/deep-write-upload/1_1/xxx.txt', + 'maxLength' => 500, + ], + 'FileDescription' => [ + 'title' => '附件的备注', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '附件的备注', + 'maxLength' => 500, + ], + 'FileName' => [ + 'title' => '附件的名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '附件的名称', + 'maxLength' => 200, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'AgentOrchestration', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'DataCollectorAgent' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + 'default' => 'DataCollectorAgent', + ], + ], + ], + 'DataAnalystAgent' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + 'default' => 'DataAnalystAgent', + ], + 'EnableSearch' => [ + 'type' => 'boolean', + ], + ], + ], + 'ReporterAgent' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => [ + 'type' => 'string', + 'default' => 'ReporterAgent', + ], + 'EnableCitation' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xbabac91-fdad-44d6-95ce-******', + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'in_progress' => '', + 'queued' => '', + 'cancelled' => '', + 'completed' => '', + 'failed' => '', + ], + 'example' => 'queued', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xbabac91-fdad-44d6-95ce-******\\",\\n \\"Status\\": \\"queued\\"\\n }\\n}","type":"json"}]', + ], + 'GetDeepWriteTask' => [ + 'summary' => '查询深度写作任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-odl2p61i4vfbph4g', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '6d3c0bc9-7561-41a4-be4c-d906abdb40a9', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'a2267372-6042-46a4-aab0-1670dfc38c94', + ], + 'Input' => [ + 'title' => '用户的问题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'in_progress' => '', + 'queued' => '', + 'cancelled' => '', + 'completed' => '', + 'failed' => '', + ], + 'example' => 'queued', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"a2267372-6042-46a4-aab0-1670dfc38c94\\",\\n \\"Input\\": \\"北京2025年新能源汽车发展趋势\\",\\n \\"Status\\": \\"queued\\"\\n }\\n}","type":"json"}]', + ], + 'GetDeepWriteTaskResult' => [ + 'summary' => '查询深度写作任务的结果', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-1setzb9xb8m11vrc', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xbabac91-fdad-44d6-95ce-******', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'f8707efa-c30e-407f-a611-50871aa68952', + ], + 'ArtifactUrl' => [ + 'title' => '任务结果下载地址', + 'description' => '', + 'type' => 'string', + 'example' => 'https://aimiaobi-service-pre-hangzhou.oss-cn-hangzhou.aliyuncs.com/aimiaobi/deep-write-workspace/142***1/dbaaebd1-eb1b-41e8-9b99-******-result.zip?Expire=1111', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"f8707efa-c30e-407f-a611-50871aa68952\\",\\n \\"ArtifactUrl\\": \\"https://aimiaobi-service-pre-hangzhou.oss-cn-hangzhou.aliyuncs.com/aimiaobi/deep-write-workspace/142***1/dbaaebd1-eb1b-41e8-9b99-******-result.zip?Expire=1111\\"\\n }\\n}","type":"json"}]', + ], + 'CancelDeepWriteTask' => [ + 'summary' => '取消深度写作任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xxxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'xbabac91-fdad-44d6-95ce-******', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xbabac91-fdad-44d6-95ce-******', + ], + 'Input' => [ + 'title' => '用户的问题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Status' => [ + 'title' => '任务状态', + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'in_progress' => '', + 'queued' => '', + 'cancelled' => '', + 'completed' => '', + 'failed' => '', + ], + 'example' => 'cancelled', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"xbabac91-fdad-44d6-95ce-******\\",\\n \\"Input\\": \\"北京2025年新能源汽车发展趋势\\",\\n \\"Status\\": \\"cancelled\\"\\n }\\n}","type":"json"}]', + ], + 'RunDeepWriting' => [ + 'summary' => '流式输出深度写作事件', + 'path' => '/pop/deepWrite/runDeepWriting', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-ir8zkqry2fncaxwq', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '95c2fbe6-5a20-4fc2-8a93-376ed05fbe13', + ], + ], + [ + 'name' => 'Cursor', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'response.sub_task.created' => '', + 'response.output_item.done' => '', + 'response.completed' => '', + 'response.created' => '', + ], + 'example' => 'response.output_item.done', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c2e2e991-f96a-4fcc-9ff7-d0df46c6d232', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b84d31a5-44b2-4a35-9c6d-878d459c93d0', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'FAB10D42-F081-557B-8DCB-D6FB7AAF100B', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SequenceNumber' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1', + ], + 'OutputIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Response' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b2dc224b38694e0b668020159a7c5732', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'in_progress' => '', + 'completed' => '', + ], + 'example' => 'in_progress', + ], + ], + ], + 'Item' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Id' => [ + 'description' => '', + 'type' => 'string', + 'example' => '88f6ed9e85c4f9377378da23e6a370d1', + ], + 'Status' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'in_progress' => 'in_progress', + 'completed' => 'completed', + ], + 'example' => 'completed', + ], + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'function_call' => 'function_call', + 'message' => 'message', + ], + 'example' => 'function_call', + ], + 'Arguments' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Name' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Result' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Agent' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ProjectManager', + ], + 'Content' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'output_text', + ], + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '<TASK_DONE>', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '31AC01F1-88FB-5C4D-B6F5-E8BB136CD5A3', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"403\\",\\n \\"ErrorMessage\\": \\"错误消息\\",\\n \\"Event\\": \\"response.output_item.done\\",\\n \\"SessionId\\": \\"c2e2e991-f96a-4fcc-9ff7-d0df46c6d232\\",\\n \\"StatusCode\\": 200,\\n \\"TaskId\\": \\"b84d31a5-44b2-4a35-9c6d-878d459c93d0\\",\\n \\"TraceId\\": \\"FAB10D42-F081-557B-8DCB-D6FB7AAF100B\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Type\\": \\"同上级Event\\",\\n \\"SequenceNumber\\": \\"1\\",\\n \\"OutputIndex\\": 1,\\n \\"Response\\": {\\n \\"Id\\": \\"b2dc224b38694e0b668020159a7c5732\\",\\n \\"Status\\": \\"in_progress\\"\\n },\\n \\"Item\\": {\\n \\"Id\\": \\"88f6ed9e85c4f9377378da23e6a370d1\\",\\n \\"Status\\": \\"completed\\",\\n \\"Type\\": \\"function_call\\",\\n \\"Arguments\\": \\"item类型为function_call时,此字段有值,为调用函数的入参\\",\\n \\"Name\\": \\"item类型为function_call时,此字段有值,为调用的函数名字\\",\\n \\"Result\\": \\"item类型为function_call时,此字段有值,为调用的函数的输出\\",\\n \\"Agent\\": \\"ProjectManager\\",\\n \\"Content\\": [\\n {\\n \\"Type\\": \\"output_text\\",\\n \\"Text\\": \\"<TASK_DONE>\\"\\n }\\n ]\\n }\\n }\\n },\\n \\"RequestId\\": \\"31AC01F1-88FB-5C4D-B6F5-E8BB136CD5A3\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"successful\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'GetPptArtifact' => [ + 'summary' => '查询PPT作品信息', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-az2gglxxxx', + ], + ], + [ + 'name' => 'PptArtifactId', + 'in' => 'formData', + 'schema' => [ + 'title' => '作品ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '5232136', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-25 11:40:50', + ], + 'Id' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-11-25 11:40:50', + ], + 'FileKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx', + ], + 'FileAttr' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx.pptx', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '800', + ], + 'TmpUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.pptx', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '600', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"CreateTime\\": \\"2024-11-25 11:40:50\\",\\n \\"Id\\": 10,\\n \\"Title\\": \\"内容标题\\\\n\\\\n\\",\\n \\"UpdateTime\\": \\"2024-11-25 11:40:50\\",\\n \\"FileKey\\": \\"oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx\\",\\n \\"FileAttr\\": {\\n \\"FileName\\": \\"xxx.pptx\\",\\n \\"Width\\": 800,\\n \\"TmpUrl\\": \\"http://www.example.com/xxx.pptx\\",\\n \\"Height\\": 600\\n }\\n }\\n}","type":"json"}]', + ], + 'ListPptArtifacts' => [ + 'summary' => 'PPT作品-列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-az2xxxx', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cEoBWREAXdxaOyjq/cqAbg==', + ], + ], + [ + 'name' => 'Query', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CreateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2024-01-04 11:46:07', + ], + 'Id' => [ + 'title' => '文档唯一标识', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '10', + ], + 'Title' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'UpdateTime' => [ + 'title' => '更新日期', + 'description' => '', + 'type' => 'string', + 'example' => '2025-04-14 19:59:53', + ], + 'FileKey' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.jpg', + ], + 'FileAttr' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'TmpUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/xxx.jpg', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '500', + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cEoBWREAXdxaOyjq/cqAbg=='."\n", + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Current\\": 1,\\n \\"Data\\": [\\n {\\n \\"CreateTime\\": \\"2024-01-04 11:46:07\\",\\n \\"Id\\": 10,\\n \\"Title\\": \\"作品标题\\",\\n \\"UpdateTime\\": \\"2025-04-14 19:59:53\\",\\n \\"FileKey\\": \\"http://www.example.com/xxx.jpg\\",\\n \\"FileAttr\\": {\\n \\"FileName\\": \\"数字时代的营销策划与文案创作\\",\\n \\"Width\\": 100,\\n \\"TmpUrl\\": \\"http://www.example.com/xxx.jpg\\",\\n \\"Height\\": 500\\n }\\n }\\n ],\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Size\\": 10,\\n \\"Success\\": true,\\n \\"Total\\": 100,\\n \\"NextToken\\": \\"cEoBWREAXdxaOyjq/cqAbg==\\\\n\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', + ], + 'RunPptOutlineGeneration' => [ + 'summary' => '流式输出PPT大纲', + 'path' => '/pop/ppt/runPptOutlineGeneration', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-8v8a5mfpxffrj1pn', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '用户问题', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Success', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'xxx', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'task-started', + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1a3d7c9f-3a6d-4e49-b176-2d8721a27397', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '8996314ce5514867943c71935e6a45af', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0bc1ec3a17435601877224179ecc8a', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"Success\\",\\n \\"ErrorMessage\\": \\"xxx\\",\\n \\"Event\\": \\"task-started\\",\\n \\"SessionId\\": \\"1a3d7c9f-3a6d-4e49-b176-2d8721a27397\\",\\n \\"StatusCode\\": 200,\\n \\"TaskId\\": \\"8996314ce5514867943c71935e6a45af\\",\\n \\"TraceId\\": \\"0bc1ec3a17435601877224179ecc8a\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"文本生成结果\\"\\n }\\n },\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"success\\",\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'InitiatePptCreation' => [ + 'summary' => '初始化PPT创建操作', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-3fy94b2rtadt01qa', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '指令', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '95c2fbe6-5a20-4fc2-8a93-376ed05fbe13', + ], + ], + [ + 'name' => 'Outline', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '11AC01F1-88FB-5C4D-B6F5-E8BB136CD5A3', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AppKey' => [ + 'title' => 'AppKey', + 'description' => 'AppKey', + 'type' => 'string', + 'example' => 'S1X5ecouBztZelaQ', + ], + 'Code' => [ + 'title' => 'Code', + 'description' => 'Code', + 'type' => 'string', + 'example' => '7dhqd2', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"11AC01F1-88FB-5C4D-B6F5-E8BB136CD5A3\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"AppKey\\": \\"S1X5ecouBztZelaQ\\",\\n \\"Code\\": \\"7dhqd2\\"\\n }\\n}","type":"json"}]', + ], + 'GetPptConfig' => [ + 'summary' => '获取PPT组件的配置', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-az2gglkjauwnnhpq', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AppKey' => [ + 'title' => 'AppKey', + 'description' => 'AppKey', + 'type' => 'string', + 'example' => '333444766', + ], + 'Code' => [ + 'title' => 'Code', + 'description' => 'Code', + 'type' => 'string', + 'example' => 'r4wr5y6g', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"AppKey\\": \\"333444766\\",\\n \\"Code\\": \\"r4wr5y6g\\"\\n }\\n}","type":"json"}]', + ], + 'BindPptArtifact' => [ + 'summary' => '绑定PPT作品信息', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xgpt3m25qdosdjr3', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '85da2bfe-6f05-41af-9841-d73c5bbf43a2', + ], + ], + [ + 'name' => 'ArtifactId', + 'in' => 'formData', + 'schema' => [ + 'title' => '作品ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '12342', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '110f8401-e5ba-42db-addb-4f70196000c1', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"TaskId\\": \\"110f8401-e5ba-42db-addb-4f70196000c1\\"\\n }\\n}","type":"json"}]', + ], + 'DeletePptArtifact' => [ + 'summary' => '删除PPT作品', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'PptArtifactId', + 'in' => 'formData', + 'schema' => [ + 'title' => 'PPT作品ID', + 'description' => '', + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Success' => [ + 'title' => '此次请求是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Code' => [ + 'title' => '错误码', + 'description' => '', + 'type' => 'string', + 'example' => 'DataNotExists', + ], + 'Message' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '错误消息', + ], + 'HttpStatusCode' => [ + 'title' => 'http错误码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'Data' => [ + 'title' => '任务响应对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PptArtifactId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '5233498', + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"DataNotExists\\",\\n \\"Message\\": \\"错误消息\\",\\n \\"HttpStatusCode\\": 400,\\n \\"Data\\": {\\n \\"PptArtifactId\\": 5233498\\n }\\n}","type":"json"}]', + ], + 'AsyncUploadTenderDoc' => [ + 'summary' => '上传招标书文件', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-az2gglkjauwnnhpq', + ], + ], + [ + 'name' => 'TenderDocName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tender.pdf', + ], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss://default/aimiaobi-service-prod/aimiaobi/materialDocument/1601892701595700_10169811/208757545922605632_yst-test_9eb7d7e1deb543d88e2d6f1c9df456ef.docx', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"Code\\": \\"successful\\"\\n}","type":"json"}]', + ], + 'GetBiddingRemainLimitNum' => [ + 'summary' => '获得标书功能剩余额度', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'ApiName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'asyncUploadTenderDoc', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RemainNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"Code\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"RemainNum\\": 1\\n }\\n}","type":"json"}]', + ], + 'GetBiddingDocInfo' => [ + 'summary' => '获得标书写作结果接口', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'Step' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'analysis'."\n" + .'writing', + ], + 'Status' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0-waiting、1-running、2-success、3-pause、4-fail'."\n", + ], + 'Content' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'ContentType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'outline'."\n" + .'bidding', + ], + 'ContentFormat' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'markdown'."\n" + .'html', + ], + 'TenderDocUrl' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'http://xxx', + ], + 'TenderFileType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'pdf'."\n" + .'docx', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"Step\\": \\"analysis\\\\nwriting\\",\\n \\"Status\\": 0,\\n \\"Content\\": \\"文章内容\\",\\n \\"ContentType\\": \\"outline\\\\nbidding\\",\\n \\"ContentFormat\\": \\"markdown\\\\nhtml\\",\\n \\"TenderDocUrl\\": \\"http://xxx\\",\\n \\"TenderFileType\\": \\"pdf\\\\ndocx\\"\\n },\\n \\"Code\\": \\"successful\\"\\n}","type":"json"}]', + ], + 'EditBiddingDoc' => [ + 'summary' => '编辑标书内容接口', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '0dbf1055f8a2475d99904c3b76a0ffba', + ], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'ContentType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'outline'."\n" + .'bidding', + ], + ], + [ + 'name' => 'ContentFormat', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'html'."\n" + .'markdown', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"successful\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n }\\n}","type":"json"}]', + ], + 'DownloadBiddingDoc' => [ + 'summary' => '标书下载接口', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-az2gglkjauwnnhpq', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '111_Default_20250708142918', + ], + 'Url' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'https://www.example.com/aaa.docx', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TaskId\\": \\"111_Default_20250708142918\\",\\n \\"Url\\": \\"https://www.example.com/aaa.docx\\"\\n },\\n \\"Code\\": \\"successful\\"\\n}","type":"json"}]', + ], + 'AsyncWritingBiddingDoc' => [ + 'summary' => '标书写作接口', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '7AA2AE16-D873-5C5F-9708-15396C382EB1', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'CompanyKeyword', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'comany name', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'successful', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"Code\\": \\"successful\\"\\n}","type":"json"}]', + ], + 'ListBiddingDoc' => [ + 'summary' => '获得标书写作任务列表', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'TaskName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + ], + [ + 'name' => 'TaskStatus', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0-waiting、1-running、2-success、3-pause、4-fail', + ], + ], + [ + 'name' => 'CreateTimeStart', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-02-19 07:28:11', + ], + ], + [ + 'name' => 'CreateTimeEnd', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '2023-03-18 02:00:00', + ], + ], + [ + 'name' => 'Current', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'Size', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'Skip', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => 'null', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'null', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'MaxResults' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'null', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'null', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'null', + ], + 'Current' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Size' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Total' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'Data' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'TaskName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TaskStatus' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CreateTimeStart' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2023-03-18 02:00:00'."\n", + ], + 'TaskStep' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'analysis'."\n" + .'writing', + ], + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Code\\": \\"success\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true,\\n \\"MaxResults\\": 0,\\n \\"NextToken\\": \\"null\\",\\n \\"TotalCount\\": 0,\\n \\"Current\\": 1,\\n \\"Size\\": 10,\\n \\"Total\\": 10,\\n \\"Data\\": [\\n {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"TaskName\\": \\"任务名称\\",\\n \\"TaskStatus\\": 1,\\n \\"CreateTimeStart\\": \\"2023-03-18 02:00:00\\\\n\\",\\n \\"TaskStep\\": \\"analysis\\\\nwriting\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'RunVideoScriptGenerate' => [ + 'summary' => 'AI生成视频剪辑脚本', + 'path' => '/miaobi/runVideoScriptGenerate', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + 'sse', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'llm-xx', + ], + ], + [ + 'name' => 'Prompt', + 'in' => 'formData', + 'schema' => [ + 'title' => '视频脚本的提示词', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'UseSearch', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否使用联网检索(如果选是,则会意图理解后联网检索相关参考素材)', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'ScriptLength', + 'in' => 'formData', + 'schema' => [ + 'title' => '脚本篇幅 描述 可选值有:'."\n" + ."\n" + .'20~75:10~15s正常口播时长'."\n" + .'75~150:15~30s正常口播时长'."\n" + .'150~300:≈30~60s正常口播时长'."\n" + .'>=300:≥60s正常口播时长', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '>=300', + ], + ], + [ + 'name' => 'Language', + 'in' => 'formData', + 'schema' => [ + 'title' => '生成脚本的语言:'."\n" + .'建议取值有:'."\n" + .'zh-CN: 中文,'."\n" + .'en-US: 英文.'."\n" + .'默认中文', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'en-US', + ], + ], + [ + 'name' => 'ScriptNumber', + 'in' => 'formData', + 'schema' => [ + 'title' => '生成脚本的篇数。默认1篇,最多同时生成三篇'."\n" + .'如果指定多篇。则会并行返回流式多个脚本生成结果。(客户端通过不同sessionId区分)', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Header' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ErrorCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ScriptNumberExceed', + ], + 'ErrorMessage' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Event' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'result-generated'."\n", + ], + 'SessionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + 'StatusCode' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '400', + ], + 'TaskId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b057f2fa-2277-477b-babf-cbc062307828', + ], + 'TraceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2150451a17191950923411783e2927', + ], + ], + ], + 'Payload' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Output' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Text' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Usage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'OutputTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + ], + 'TotalTokens' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '200', + ], + ], + ], + ], + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F2F366D6-E9FE-1006-BB70-2C650896AAB5', + ], + 'HttpStatusCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '403', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NoPermission', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'You are not authorized to perform this action.', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'false', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 403 => [ + [ + 'errorCode' => 'NoPermission', + 'errorMessage' => 'You are not authorized to perform this action.', + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Header\\": {\\n \\"ErrorCode\\": \\"ScriptNumberExceed\\",\\n \\"ErrorMessage\\": \\"脚本篇数超限\\",\\n \\"Event\\": \\"result-generated\\\\n\\",\\n \\"SessionId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\",\\n \\"StatusCode\\": 400,\\n \\"TaskId\\": \\"b057f2fa-2277-477b-babf-cbc062307828\\",\\n \\"TraceId\\": \\"2150451a17191950923411783e2927\\"\\n },\\n \\"Payload\\": {\\n \\"Output\\": {\\n \\"Text\\": \\"大家好,我是[xxx]。今天带大家走进黄山,感受奇松、怪石、云海、温泉的绝美风光。首站迎客松,800年历史,枝干如臂,热情迎接每一位游客。接着登光明顶,360度全景尽收眼底。再探秘西海大峡谷,体验原始自然的震撼。最后,在温泉中放松身心,享受旅途的美好。希望这次旅行能给你留下难忘的记忆。我是[你的名字],感谢观看,我们下次再见!\\\\\\",\\\\\\"91522b25a4f440189320c9ede8ae6c85\\\\\\":\\\\\\"大家好,我是[您的名字],今天带大家探索黄山的奇妙之旅。首先,我们将见到黄山的象征——迎客松,感受它800年的历史与欢迎。随后攀登光明顶,迎接壮丽的日出;漫步西海大峡谷,体验险峻之美;最后,在温泉中放松身心。希望这次旅行能让你爱上黄山。谢谢观看!\\\\\\",\\\\\\"1c23af4a899e4b908bdcffa7d8d0ddc9\\\\\\":\\\\\\"大家好,欢迎来到黄山!这里以奇松、怪石、云海、温泉四绝闻名。从云谷寺开始,感受古朴氛围;挑战百步云梯,体验攀登乐趣;漫步西海大峡谷,领略壮丽景色;最后在玉屏楼迎接日出,享受心灵的宁静。希望这次旅行给你留下美好回忆!\\"\\n },\\n \\"Usage\\": {\\n \\"InputTokens\\": 100,\\n \\"OutputTokens\\": 100,\\n \\"TotalTokens\\": 200\\n }\\n },\\n \\"RequestId\\": \\"F2F366D6-E9FE-1006-BB70-2C650896AAB5\\",\\n \\"HttpStatusCode\\": \\"403\\",\\n \\"Code\\": \\"NoPermission\\",\\n \\"Message\\": \\"You are not authorized to perform this action.\\",\\n \\"Success\\": false\\n}","type":"json"}]', + ], + 'GetSmartClipTask' => [ + 'summary' => '查询一键成片剪辑任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'xxxx', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'task-03d46184ee7d8749', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '任务响应结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'title' => '任务状态:'."\n" + .' PENDING:待执行'."\n" + .' RUNNING:执行中'."\n" + .' SUCCESSED:成功'."\n" + .' FAILED:失败'."\n" + .' CANCELED:已取消', + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'ErrorMessage' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'SubJobs' => [ + 'title' => '子任务列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '子任务', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'SubJobId' => [ + 'title' => '子任务ID', + 'description' => '', + 'type' => 'string', + 'example' => 'xxxxx', + ], + 'Status' => [ + 'title' => '子任务状态'."\n" + .' PENDING:待执行'."\n" + .' RUNNING:执行中'."\n" + .' SUCCESSED:成功'."\n" + .' FAILED:失败'."\n" + .' CANCELED:已取消', + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'ErrorMessage' => [ + 'title' => '错误消息', + 'description' => '', + 'type' => 'string', + 'example' => 'x\'x\'x\'x', + ], + 'FileKey' => [ + 'title' => '文件FileKey', + 'description' => '', + 'type' => 'string', + 'example' => 'oss://default/bucket-name/path-xxx/xxx-1.mp4', + ], + 'FileAttr' => [ + 'title' => '文件属性', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'title' => '视频文件名称', + 'description' => '', + 'type' => 'string', + 'example' => '2024-12-12.mp4', + ], + 'FileLength' => [ + 'title' => '视频文件大小', + 'description' => '', + 'type' => 'string', + 'example' => '290804', + ], + 'TmpUrl' => [ + 'title' => '视频文件临时访问URL。1小时过期', + 'description' => '', + 'type' => 'string', + 'example' => 'http://www.example.com/tmp.mp4', + ], + 'Duration' => [ + 'title' => '视频时长,单位秒', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'example' => '120', + ], + 'Height' => [ + 'title' => '视频高度', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1080', + ], + 'Width' => [ + 'title' => '视频宽度', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1920', + ], + ], + ], + ], + ], + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"Status\\": \\"RUNNING\\",\\n \\"ErrorMessage\\": \\"错误信息\\",\\n \\"SubJobs\\": [\\n {\\n \\"SubJobId\\": \\"xxxxx\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"ErrorMessage\\": \\"文件名错误\\",\\n \\"FileKey\\": \\"oss://default/bucket-name/path-xxx/xxx-1.mp4\\",\\n \\"FileAttr\\": {\\n \\"FileName\\": \\"2024-12-12.mp4\\",\\n \\"FileLength\\": \\"290804\\",\\n \\"TmpUrl\\": \\"http://www.example.com/tmp.mp4\\",\\n \\"Duration\\": 120,\\n \\"Height\\": 1080,\\n \\"Width\\": 1920\\n }\\n }\\n ]\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'SubmitSmartClipTask' => [ + 'summary' => '提交一键成片剪辑任务', + 'path' => '', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WorkspaceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '业务空间ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '', + ], + ], + [ + 'name' => 'InputConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '输入配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'VideoIds' => [ + 'title' => '视频素材ID对象列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '素材ID对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'title' => 'ID的类型:'."\n" + .'materialId: 妙笔素材库引用ID'."\n" + .'fileKey: 妙笔FileKey'."\n" + .'url: 可公开访问的URL', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fileKey', + ], + 'Id' => [ + 'title' => '素材ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://default/bucket-name/filepath/video.mp4', + ], + ], + 'required' => false, + ], + 'required' => true, + ], + 'Titles' => [ + 'title' => '标题列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '标题', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + 'BackgroundMusics' => [ + 'title' => '背景音乐ID列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '背景音乐ID对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'title' => 'ID的类型:'."\n" + .'materialId: 妙笔素材库引用ID'."\n" + .'fileKey: 妙笔FileKey'."\n" + .'url: 可公开访问的URL', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fileKey', + ], + 'Id' => [ + 'title' => '背景音乐ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://default/bucket-name/filepath/video.mp3', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Stickers' => [ + 'title' => '贴纸列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '贴纸对象', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'X' => [ + 'title' => '贴纸左上角X坐标', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => true, + 'example' => '0.5', + ], + 'Y' => [ + 'title' => '贴纸左上角Y坐标', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => true, + 'example' => '0.5', + ], + 'Width' => [ + 'title' => '贴纸宽度', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => true, + 'example' => '0.5', + ], + 'Height' => [ + 'title' => '贴纸高度', + 'description' => '', + 'type' => 'number', + 'format' => 'double', + 'required' => true, + 'example' => '0.5', + ], + 'StickerId' => [ + 'title' => '贴纸ID', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'title' => 'ID的类型:'."\n" + .'materialId: 妙笔素材库引用ID'."\n" + .'fileKey: 妙笔FileKey'."\n" + .'url: 可公开访问的URL', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'fileKey', + ], + 'Id' => [ + 'title' => '贴纸ID', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss://default/bucket-name/filepath/sticker.png', + ], + ], + 'required' => true, + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'SpeechTexts' => [ + 'title' => '口播脚本文本列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'title' => '语音识别文本', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '', + ], + 'required' => false, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'OutputConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '输出配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FileName' => [ + 'title' => '输出文件名,必须包含{index}', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test_{index}.mp4', + 'pattern' => '.*\\{index\\}.*', + ], + 'Width' => [ + 'title' => '输出视频宽', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1920', + ], + 'Height' => [ + 'title' => '输出视频高', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1080', + ], + 'Count' => [ + 'title' => '输出视频数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'MaxDuration' => [ + 'title' => '输出视频最大时长,单位:秒', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '120', + ], + 'SaveToGeneratedContent' => [ + 'title' => '是否保存至内容管理', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'EditingConfig', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '剪辑配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TitleConfig' => [ + 'title' => '标题配置', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'X' => [ + 'title' => '横幅文字左上角距离输出视频左上角的横向距离。注:支持百分比和像素两种形式。当取值为[0~0.9999] 时,表示相对输出视频宽的占比。当取值为>=2的整数时,表示绝对像素。默认为0。该坐标会按照素材尺寸和成片尺寸进行缩放。', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '100', + ], + 'Y' => [ + 'title' => '横幅文字左上角距离输出视频左上角的纵向距离。注:支持百分比和像素两种形式。当取值为[0~0.9999] 时,表示相对输出视频高的占比。当取值为>=2的整数时,表示绝对像素。默认为0。该坐标会按照素材尺寸和成片尺寸进行缩放', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '100', + ], + 'TimelineIn' => [ + 'title' => '标题出现的时间', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '2', + ], + 'TimelineOut' => [ + 'title' => '标题消失的时间', + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'required' => false, + 'example' => '3', + ], + 'Alignment' => [ + 'title' => 'TopLeft:视频左上角 '."\n" + .'TopCenter:视频竖直中轴线上侧 '."\n" + .'TopRight:视频右上角 '."\n" + .'CenterLeft:视频水平中轴线左侧 '."\n" + .'CenterCenter:视频中心位置 '."\n" + .'CenterRight:视频水平中轴线右侧 '."\n" + .'BottomLeft:视频左下角 '."\n" + .'BottomCenter:视频竖直中轴线下侧 '."\n" + .'BottomRight:视频右下角', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'TopLeft', + ], + ], + 'required' => false, + ], + 'MediaConfig' => [ + 'title' => '媒体配置', + 'type' => 'object', + 'properties' => [ + 'Volume' => [ + 'title' => '视频素材声音(0:静音)', + 'type' => 'number', + 'format' => 'double', + ], + ], + ], + 'SpeechConfig' => [ + 'title' => '口播配置', + 'type' => 'object', + 'properties' => [ + 'Volume' => [ + 'title' => '口播音频的音量,默认1。取值:[0, 10.0],支持小数,例:0.5。', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.5', + 'default' => '1', + ], + 'Voice' => [ + 'title' => '指定单个或多个口播音色(英文逗号分隔)。当指定多个voice时,会随机选取一个合成。音色的可选范围请参见[智能语音效果示例](https://help.aliyun.com/zh/ims/developer-reference/smart-voice-effect-example?spm=a2c4g.11186623.0.0.13091ee6Pw4Jqz)。例:"zhimiao_emo,zhilun"。', + 'type' => 'string', + ], + 'Style' => [ + 'title' => '口播声音风格,默认为空。若同时指定Voice和Style,则优先取用Voice'."\n" + .'"Gentle": 柔和'."\n" + .'"Serious":严肃'."\n" + .'"Entertainment":娱乐', + 'type' => 'string', + ], + 'SpeechRate' => [ + 'title' => '口播脚本语速'."\n" + .'语速,取值范围:-500~500,默认值:0。'."\n" + .'[-500, 0, 500] 对应的语速倍速区间为 [0.5, 1.0, 2.0]。'."\n" + ."\n" + .'计算方法如下:'."\n" + .'0.8倍速(1-1/0.8)/0.002 = -125'."\n" + .'1.2倍速(1-1/1.2)/0.001 = 166'."\n" + .'小于1倍速时,使用0.002系数。'."\n" + .'大于1倍速时,使用0.001系数。'."\n" + .'实际算法结果取近似值。', + 'type' => 'number', + 'format' => 'double', + 'example' => '0', + 'default' => '0', + ], + 'AsrConfig' => [ + 'title' => '字幕参数配置', + 'type' => 'object', + 'properties' => [ + 'X' => [ + 'title' => '横幅文字左上角距离输出视频左上角的横向距离'."\n" + .'注:支持百分比和像素两种形式。当取值为[0~0.9999]时,表示相对输出视频宽的占比。当取值为>=2的整数时,表示绝对像素。默认为0。该坐标会按照素材尺寸和成片尺寸进行缩放。', + 'type' => 'number', + 'format' => 'float', + ], + 'Y' => [ + 'title' => '横幅文字左上角距离输出视频左上角的纵向距离'."\n" + .'注:支持百分比和像素两种形式。当取值为[0~0.9999]时,表示相对输出视频高的占比。当取值为>=2的整数时,表示绝对像素。默认为0。该坐标会按照素材尺寸和成片尺寸进行缩放。', + 'type' => 'number', + 'format' => 'float', + ], + 'Alignment' => [ + 'title' => '字幕对齐'."\n" + .'TopLeft:视频左上角'."\n" + .'TopCenter:视频竖直中轴线上侧'."\n" + .'TopRight:视频右上角'."\n" + .'CenterLeft:视频水平中轴线左侧'."\n" + .'CenterCenter:视频中心位置'."\n" + .'CenterRight:视频水平中轴线右侧'."\n" + .'BottomLeft:视频左下角'."\n" + .'BottomCenter:视频竖直中轴线下侧'."\n" + .'BottomRight:视频右下角', + 'type' => 'string', + ], + 'Font' => [ + 'title' => '字幕文字的字体。具体支持的字体参见字体列表。默认为SimSun字体。', + 'type' => 'string', + 'example' => 'SimSun', + 'default' => 'SimSun', + ], + 'FontColor' => [ + 'title' => '字幕文字的颜色,格式为#后跟16进制值。例如:#ffffff。', + 'type' => 'string', + 'example' => '#ffffff', + 'default' => '#ffffff', + ], + 'FontSize' => [ + 'title' => '字幕文字的字号。该字号会根据素材尺寸和成片尺寸进行缩放。默认为0,最大支持设置到5000。'."\n", + 'type' => 'string', + 'example' => '0', + 'default' => '0', + ], + 'Spacing' => [ + 'title' => '横幅文字字间距。单位:像素值', + 'type' => 'string', + 'required' => false, + 'example' => '0', + ], + ], + ], + ], + ], + 'BackgroundMusicConfig' => [ + 'title' => '背景音乐配置', + 'type' => 'object', + 'properties' => [ + 'Volume' => [ + 'title' => '背景音乐的音量,取值:[0, 10.0]', + 'type' => 'number', + 'format' => 'double', + 'example' => '0.2', + 'default' => '0.2', + ], + 'Style' => [ + 'title' => '背景音乐风格,默认为空,若InputConfig中已配置背景音乐,此字段不生效'."\n" + .'取值如下:'."\n" + .'"bgm-beauty":时尚'."\n" + .'"bgm-chinese-style":中国风'."\n" + .'"bgm-cuisine":美食'."\n" + .'"bgm-dynamic":动感'."\n" + .'"bgm-quirky":怪诞'."\n" + .'"bgm-relaxing":轻松'."\n" + .'"bgm-romantic":浪漫'."\n" + .'"bgm-upbeat":欢快', + 'type' => 'string', + ], + ], + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ExtendParam', + 'in' => 'formData', + 'schema' => [ + 'title' => '其他扩展参数(会与inputConfig、outputConfig、editingConfig合并)', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'description' => '成功', + 'schema' => [ + 'title' => 'PlainResult', + 'description' => 'PlainResult', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '状态码', + 'description' => '', + 'type' => 'string', + 'example' => 'NoData', + ], + 'Data' => [ + 'title' => '任务提交结果', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TaskId' => [ + 'title' => '任务ID', + 'description' => '', + 'type' => 'string', + 'example' => '3f7045e099474ba28ceca1b4eb6d6e21', + ], + ], + ], + 'HttpStatusCode' => [ + 'title' => 'http状态码', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '200', + ], + 'Message' => [ + 'title' => '错误说明', + 'description' => '', + 'type' => 'string', + 'example' => 'success', + ], + 'RequestId' => [ + 'title' => '请求唯一标识', + 'description' => '', + 'type' => 'string', + 'example' => '1813ceee-7fe5-41b4-87e5-982a4d18cca5', + ], + 'Success' => [ + 'title' => '是否成功:true 成功,false 失败', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"NoData\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"3f7045e099474ba28ceca1b4eb6d6e21\\"\\n },\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1813ceee-7fe5-41b4-87e5-982a4d18cca5\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'aimiaobi.cn-beijing.aliyuncs.com', + ], + ], +]; |
