tccli 3.0.1405.1__py2.py3-none-any.whl → 3.0.1407.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +31 -21
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cloudhsm/v20191112/api.json +10 -10
- tccli/services/cls/v20201016/api.json +40 -31
- tccli/services/cls/v20201016/examples.json +8 -2
- tccli/services/ctem/v20231128/api.json +30 -0
- tccli/services/dbbrain/v20210527/api.json +17 -7
- tccli/services/dbbrain/v20210527/examples.json +1 -1
- tccli/services/dts/v20211206/api.json +16 -6
- tccli/services/emr/v20190103/api.json +9 -0
- tccli/services/es/es_client.py +57 -4
- tccli/services/es/v20250101/api.json +133 -0
- tccli/services/es/v20250101/examples.json +8 -0
- tccli/services/ess/ess_client.py +212 -0
- tccli/services/ess/v20201111/api.json +508 -24
- tccli/services/ess/v20201111/examples.json +41 -3
- tccli/services/essbasic/v20210526/api.json +12 -3
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/gwlb/gwlb_client.py +53 -0
- tccli/services/gwlb/v20240906/api.json +80 -0
- tccli/services/gwlb/v20240906/examples.json +8 -0
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/ioa/ioa_client.py +220 -8
- tccli/services/ioa/v20220601/api.json +559 -0
- tccli/services/ioa/v20220601/examples.json +38 -0
- tccli/services/iotexplorer/iotexplorer_client.py +220 -8
- tccli/services/iotexplorer/v20190423/api.json +959 -12
- tccli/services/iotexplorer/v20190423/examples.json +68 -0
- tccli/services/lcic/v20220817/api.json +2 -2
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/lke/v20231130/examples.json +2 -2
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/lkeap/v20240522/examples.json +7 -1
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +248 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +384 -2
- tccli/services/mqtt/v20240516/api.json +10 -0
- tccli/services/mqtt/v20240516/examples.json +3 -9
- tccli/services/nlp/v20190408/api.json +6 -6
- tccli/services/oceanus/oceanus_client.py +110 -4
- tccli/services/oceanus/v20190422/api.json +152 -8
- tccli/services/oceanus/v20190422/examples.json +16 -0
- tccli/services/ocr/v20181119/api.json +10 -0
- tccli/services/privatedns/privatedns_client.py +641 -58
- tccli/services/privatedns/v20201028/api.json +923 -12
- tccli/services/privatedns/v20201028/examples.json +88 -0
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/teo/v20220901/api.json +206 -66
- tccli/services/teo/v20220901/examples.json +32 -8
- tccli/services/tione/v20211111/api.json +1 -1
- tccli/services/tke/v20180525/api.json +23 -14
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +9 -9
- tccli/services/trtc/v20190722/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +30 -1
- tccli/services/vpc/v20170312/api.json +11 -2
- tccli/services/wedata/v20210820/api.json +1281 -601
- tccli/services/wedata/v20210820/examples.json +127 -157
- tccli/services/wedata/v20250806/api.json +480 -18
- tccli/services/wedata/v20250806/examples.json +38 -6
- tccli/services/wedata/wedata_client.py +216 -4
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/RECORD +70 -70
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/license_files/LICENSE +0 -0
|
@@ -356,6 +356,50 @@
|
|
|
356
356
|
"title": "新增产品配置信息"
|
|
357
357
|
}
|
|
358
358
|
],
|
|
359
|
+
"CreateTWeTalkProductConfigV2": [
|
|
360
|
+
{
|
|
361
|
+
"document": "",
|
|
362
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"O0IJ89GD\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n }\n}",
|
|
363
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
364
|
+
"title": "新增产品配置,使用系统默认 三段式,只配置系统提示词,问候语和音色"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"document": "",
|
|
368
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"O0IJ89GD\",\n \"DeviceName\": \"dev\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n }\n}",
|
|
369
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
370
|
+
"title": "新增设备配置,使用系统默认 三段式,只配置系统提示词,问候语和音色"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"document": "",
|
|
374
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"O0IJ89GD\",\n \"DeviceName\": \"dev\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n },\n \"STTConfig\": {\n \"STTType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"secretId*****\\\",\\\"SecretKey\\\":\\\"SecretKey****\\\",\\\"EngineType\\\":\\\"16k_zh\\\"}\"\n },\n \"ConversationConfig\": {\n \"SessionTimeout\": 300,\n \"InterruptionEnabled\": true,\n \"MaxContextTokens\": 20000,\n \"IdleDetection\": {\n \"Enabled\": true,\n \"TimeoutSeconds\": 4,\n \"MaxRetries\": 3,\n \"IdleResponses\": [\n {\n \"RetryCount\": 1,\n \"Message\": \"不好意思,刚才可能有点安静啦,您还在吗?\"\n },\n {\n \"RetryCount\": 2,\n \"Message\": \"我没有听到你。我们继续聊天吗?\"\n },\n {\n \"RetryCount\": 3,\n \"Message\": \"好的,我会在这里停下。以后再聊!\"\n }\n ]\n }\n }\n}",
|
|
375
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
376
|
+
"title": "新增产品配置,自定义STT,并配置系统提示词,问候语、音色和空闲检测"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"document": "",
|
|
380
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"dn1t3dgxbxmo\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n },\n \"STTConfig\": {\n \"STTType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"secretId*****\\\",\\\"SecretKey\\\":\\\"SecretKey****\\\",\\\"EngineType\\\":\\\"16k_zh\\\"}\"\n },\n \"LLMConfig\": {\n \"LLMType\": \"openai\",\n \"Model\": \"chatgpt4o\",\n \"Streaming\": true,\n \"Config\": \"{\\\"ApiKey\\\":\\\"sk-09***\\\",\\\"ApiUrl\\\":\\\"base_url\\\",\\\"SystemPrompt\\\":\\\"你是一个语音助手\\\",\\\"Timeout\\\":30,\\\"History\\\":0,\\\"MetaInfo\\\":{\\\"productID\\\":\\\"test\\\"}}\"\n },\n \"ConversationConfig\": {\n \"SessionTimeout\": 300,\n \"InterruptionEnabled\": true,\n \"MaxContextTokens\": 20000,\n \"IdleDetection\": {\n \"Enabled\": true,\n \"TimeoutSeconds\": 4,\n \"MaxRetries\": 3,\n \"IdleResponses\": [\n {\n \"RetryCount\": 1,\n \"Message\": \"不好意思,刚才可能有点安静啦,您还在吗?\"\n },\n {\n \"RetryCount\": 2,\n \"Message\": \"我没有听到你。我们继续聊天吗?\"\n },\n {\n \"RetryCount\": 3,\n \"Message\": \"好的,我会在这里停下。以后再聊!\"\n }\n ]\n }\n }\n}",
|
|
381
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
382
|
+
"title": "新增产品配置,自定义STT,LLM, 并配置系统提示词,问候语和音色"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"document": "",
|
|
386
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"dn1t3dgxbxmo\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\"\n },\n \"STTConfig\": {\n \"STTType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"secretId*****\\\",\\\"SecretKey\\\":\\\"SecretKey****\\\",\\\"EngineType\\\":\\\"16k_zh\\\"}\"\n },\n \"LLMConfig\": {\n \"LLMType\": \"openai\",\n \"Model\": \"chatgpt4o\",\n \"Streaming\": true,\n \"Config\": \"{\\\"ApiKey\\\":\\\"sk-09***\\\",\\\"ApiUrl\\\":\\\"base_url\\\",\\\"SystemPrompt\\\":\\\"你是一个语音助手\\\",\\\"Timeout\\\":30,\\\"History\\\":0,\\\"MetaInfo\\\":{\\\"productID\\\":\\\"test\\\"}}\"\n },\n \"TTSConfig\": {\n \"TTSType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"secretId*****\\\",\\\"SecretKey\\\":\\\"SecretKey****\\\",\\\"VoiceType\\\":10001}\"\n },\n \"ConversationConfig\": {\n \"SessionTimeout\": 300,\n \"InterruptionEnabled\": true,\n \"MaxContextTokens\": 20000,\n \"IdleDetection\": {\n \"Enabled\": true,\n \"TimeoutSeconds\": 4,\n \"MaxRetries\": 3,\n \"IdleResponses\": [\n {\n \"RetryCount\": 1,\n \"Message\": \"不好意思,刚才可能有点安静啦,您还在吗?\"\n },\n {\n \"RetryCount\": 2,\n \"Message\": \"我没有听到你。我们继续聊天吗?\"\n },\n {\n \"RetryCount\": 3,\n \"Message\": \"好的,我会在这里停下。以后再聊!\"\n }\n ]\n }\n }\n}",
|
|
387
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
388
|
+
"title": "新增产品配置,自定义STT,LLM, TTS"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"document": "",
|
|
392
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"dn1t3dgxbxmo\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\"\n },\n \"TTSConfig\": {\n \"TTSType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"secretId*****\\\",\\\"SecretKey\\\":\\\"SecretKey****\\\",\\\"VoiceType\\\":10001}\"\n }\n}",
|
|
393
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
394
|
+
"title": "新增设备配置,自定义TTS ,并配置系统提示词,问候语"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"document": "",
|
|
398
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"dn1t3dgxbxmo\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"DefaultVoiceType\": 101016,\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\"\n },\n \"LLMConfig\": {\n \"LLMType\": \"openai\",\n \"Model\": \"chatgpt4o\",\n \"Streaming\": true,\n \"Config\": \"{\\\"ApiKey\\\":\\\"sk-09***\\\",\\\"ApiUrl\\\":\\\"base_url\\\",\\\"SystemPrompt\\\":\\\"你是一个语音助手\\\",\\\"Timeout\\\":30,\\\"History\\\":0,\\\"MetaInfo\\\":{\\\"productID\\\":\\\"test\\\"}}\"\n }\n}",
|
|
399
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
400
|
+
"title": "新增设备配置,自定义LLM ,并配置系统提示词,问候语,音色"
|
|
401
|
+
}
|
|
402
|
+
],
|
|
359
403
|
"CreateTopicPolicy": [
|
|
360
404
|
{
|
|
361
405
|
"document": "",
|
|
@@ -946,6 +990,14 @@
|
|
|
946
990
|
"title": "获取配置信息"
|
|
947
991
|
}
|
|
948
992
|
],
|
|
993
|
+
"DescribeTWeTalkProductConfigV2": [
|
|
994
|
+
{
|
|
995
|
+
"document": "",
|
|
996
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"O0IJ89GD\",\n \"TargetLanguage\": \"zh\"\n}",
|
|
997
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Uin\": 100000103009,\n \"AppId\": 251198731,\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"dn1t3dgxbxmo\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n },\n \"STTConfig\": {\n \"STTType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"se************\\\",\\\"SecretKey\\\":\\\"Se***********\\\",\\\"EngineType\\\":\\\"16k_zh\\\"}\"\n },\n \"LLMConfig\": {\n \"LLMType\": \"openai\",\n \"Model\": \"chatgpt4o\",\n \"Streaming\": true,\n \"Config\": \"{\\\"ApiKey\\\":\\\"sk******\\\",\\\"ApiUrl\\\":\\\"base_url\\\",\\\"SystemPrompt\\\":\\\"你是一个语音助手\\\",\\\"Timeout\\\":30,\\\"History\\\":0,\\\"MetaInfo\\\":{\\\"productID\\\":\\\"test\\\"}}\",\n \"Temperature\": 0.7,\n \"MaxTokens\": 2000\n },\n \"TTSConfig\": {\n \"TTSType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"se************\\\",\\\"SecretKey\\\":\\\"Se***********\\\",\\\"VoiceType\\\":10001,\\\"PrimaryLanguage\\\":0}\",\n \"Speed\": 1,\n \"Volume\": 1\n },\n \"ConversationConfig\": {\n \"SessionTimeout\": 300,\n \"InterruptionEnabled\": true,\n \"MaxContextTokens\": 20000,\n \"IdleDetection\": {\n \"Enabled\": true,\n \"TimeoutSeconds\": 4,\n \"MaxRetries\": 3,\n \"IdleResponses\": [\n {\n \"RetryCount\": 1,\n \"Message\": \"不好意思,刚才可能有点安静啦,您还在吗?\"\n },\n {\n \"RetryCount\": 2,\n \"Message\": \"我没有听到你。我们继续聊天吗?\"\n },\n {\n \"RetryCount\": 3,\n \"Message\": \"好的,我会在这里停下。以后再聊!\"\n }\n ]\n }\n },\n \"Version\": 2,\n \"CreateTime\": 1758597730,\n \"UpdateTime\": 1758616735\n },\n \"RequestId\": \"acb8a-730ffg-e916118a\"\n }\n}",
|
|
998
|
+
"title": "查询配置示例"
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
949
1001
|
"DescribeTopicPolicy": [
|
|
950
1002
|
{
|
|
951
1003
|
"document": "",
|
|
@@ -1152,6 +1204,14 @@
|
|
|
1152
1204
|
"title": "获取配置信息列表"
|
|
1153
1205
|
}
|
|
1154
1206
|
],
|
|
1207
|
+
"GetTWeTalkProductConfigListV2": [
|
|
1208
|
+
{
|
|
1209
|
+
"document": "",
|
|
1210
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTWeTalkProductConfigListV2\n<公共请求参数>\n\n{\n \"ProductId\": \"O0IJ89GD\",\n \"Offset\": 0,\n \"Limit\": 10\n}",
|
|
1211
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Uin\": 100000103009,\n \"AppId\": 251198731,\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"dn1t3dgxbxmo\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n },\n \"STTConfig\": {\n \"STTType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"se************\\\",\\\"SecretKey\\\":\\\"Se***********\\\",\\\"EngineType\\\":\\\"16k_zh\\\"}\"\n },\n \"LLMConfig\": {\n \"LLMType\": \"openai\",\n \"Model\": \"chatgpt4o\",\n \"Streaming\": true,\n \"Config\": \"{\\\"ApiKey\\\":\\\"sk******\\\",\\\"ApiUrl\\\":\\\"base_url\\\",\\\"SystemPrompt\\\":\\\"你是一个语音助手\\\",\\\"Timeout\\\":30,\\\"History\\\":0,\\\"MetaInfo\\\":{\\\"productID\\\":\\\"test\\\"}}\",\n \"Temperature\": 0.7,\n \"MaxTokens\": 2000\n },\n \"TTSConfig\": {\n \"TTSType\": \"tencent\",\n \"Enabled\": true,\n \"Config\": \"{\\\"AppId\\\":123456,\\\"SecretId\\\":\\\"se************\\\",\\\"SecretKey\\\":\\\"Se***********\\\",\\\"VoiceType\\\":10001,\\\"PrimaryLanguage\\\":0}\",\n \"Speed\": 1,\n \"Volume\": 1\n },\n \"ConversationConfig\": {\n \"SessionTimeout\": 300,\n \"InterruptionEnabled\": true,\n \"MaxContextTokens\": 20000,\n \"IdleDetection\": {\n \"Enabled\": true,\n \"TimeoutSeconds\": 4,\n \"MaxRetries\": 3,\n \"IdleResponses\": [\n {\n \"RetryCount\": 1,\n \"Message\": \"不好意思,刚才可能有点安静啦,您还在吗?\"\n },\n {\n \"RetryCount\": 2,\n \"Message\": \"我没有听到你。我们继续聊天吗?\"\n },\n {\n \"RetryCount\": 3,\n \"Message\": \"好的,我会在这里停下。以后再聊!\"\n }\n ]\n }\n },\n \"Version\": 2,\n \"CreateTime\": 1758597730,\n \"UpdateTime\": 1758616735\n },\n {\n \"Uin\": 100000103009,\n \"AppId\": 251198731,\n \"ProductId\": \"Q7MZK2V1QR\",\n \"DeviceName\": \"\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n },\n \"ConversationConfig\": {\n \"SessionTimeout\": 1800,\n \"MaxContextTokens\": 30000\n },\n \"Version\": 1,\n \"CreateTime\": 1758597685,\n \"UpdateTime\": 1758597685\n }\n ],\n \"RequestId\": \"acb8a-730ffg-e916111118a\",\n \"Total\": 2\n }\n}",
|
|
1212
|
+
"title": "查询列表示例"
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1155
1215
|
"GetTopicRuleList": [
|
|
1156
1216
|
{
|
|
1157
1217
|
"document": "",
|
|
@@ -1436,6 +1496,14 @@
|
|
|
1436
1496
|
"title": "修改产品配置信息"
|
|
1437
1497
|
}
|
|
1438
1498
|
],
|
|
1499
|
+
"ModifyTWeTalkProductConfigV2": [
|
|
1500
|
+
{
|
|
1501
|
+
"document": "",
|
|
1502
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTWeTalkProductConfigV2\n<公共请求参数>\n\n{\n \"ProductId\": \"O0IJ89GD\",\n \"ConfigName\": \"小兵\",\n \"TargetLanguage\": \"zh\",\n \"BasicConfig\": {\n \"SystemPrompt\": \"You are a helpful assistant.\\n1.你的名字叫QQ鹅仔,是一个陪伴用户的AI玩偶,你将使用语音和用户对话\\n2.你的说话特点是温柔体贴,风趣幽默,有同理心和共情能力。尽可能使用简单、轻松的语言和拟人化的口吻回答用户问题,回复中不要出现表情符号\\n3.你具有tool call的能力,具体的tool list见下文。当用户的意图需要tool call才能完成时,必须调用对应的tool\\n4.遇到政治敏感事件或政治人物的相关话题,礼貌的拒绝回复\\n5.你是由腾讯云音视频Tea We Talk团队打造和开发的。\",\n \"GreetingMessage\": \"你好呀,我叫QQ鹅仔,是由腾讯云音视频Tea We Talk团队打造和开发的AI助手,今天过的怎么样呢?\",\n \"DefaultVoiceType\": 101016\n }\n}",
|
|
1503
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"acb8a-730ffg-e9168a\"\n }\n}",
|
|
1504
|
+
"title": "修改产品配置"
|
|
1505
|
+
}
|
|
1506
|
+
],
|
|
1439
1507
|
"ModifyTopicPolicy": [
|
|
1440
1508
|
{
|
|
1441
1509
|
"document": "",
|
|
@@ -5883,7 +5883,7 @@
|
|
|
5883
5883
|
{
|
|
5884
5884
|
"disabled": false,
|
|
5885
5885
|
"document": "子上课班号\n注意:此字段可能返回 null,表示取不到有效值。",
|
|
5886
|
-
"example": "[
|
|
5886
|
+
"example": "[\"groupID1\",\"groupID2\"]",
|
|
5887
5887
|
"member": "string",
|
|
5888
5888
|
"name": "SubGroupId",
|
|
5889
5889
|
"output_required": true,
|
|
@@ -5892,7 +5892,7 @@
|
|
|
5892
5892
|
},
|
|
5893
5893
|
{
|
|
5894
5894
|
"disabled": false,
|
|
5895
|
-
"document": "
|
|
5895
|
+
"document": "本堂课用户是否上过台。0 否;1 是",
|
|
5896
5896
|
"example": "0",
|
|
5897
5897
|
"member": "int64",
|
|
5898
5898
|
"name": "Stage",
|
|
@@ -361,8 +361,8 @@
|
|
|
361
361
|
"DescribeWorkflowRun": [
|
|
362
362
|
{
|
|
363
363
|
"document": "查询工作流运行实例详情",
|
|
364
|
-
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkflowRun\n<公共请求参数>\n\n{\n \"AppBizId\": \"1963140753734418240\",\n \"WorkflowRunId\": \"
|
|
365
|
-
"output": "{\n \"Response\": {\n \"WorkflowRun\": {\n \"RunEnv\": 1,\n \"AppBizId\": \"1854548189164339200\",\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6\",\n \"WorkflowId\": \"412f5a21-6223-4358-b8a0-b4d6\",\n \"Name\": \"订酒店\",\n \"State\": 1,\n \"FailMessage\": \"\",\n \"TotalTokens\": 100,\n \"StartTime\": \"1672531200000\",\n \"EndTime\": \"1672531300000\",\n \"CreateTime\": \"1672531100000\",\n \"DialogJson\": \"{\\\"Workflows\\\": {\\\"WorkflowID\\\":\\\"1dcf5a21-6223-4358-b8a0-b4d65712f44c\\\",\\\"WorkflowName\\\":\\\"异步\\\",\\\"WorkflowDesc\\\":\\\"异步\\\",\\\"Nodes\\\":[{\\\"NodeID\\\":\\\"a2b6549c-85b6-b404-a736-3d738591f297\\\",\\\"NodeName\\\":\\\"开始\\\",\\\"NodeType\\\":\\\"START\\\",\\\"NodeDesc\\\":\\\"\\\",\\\"StartNodeData\\\":{},\\\"NextNodeIDs\\\":[\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\"],\\\"Inputs\\\":[],\\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":false,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[]},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":400,\\\\\\\"y\\\\\\\":282},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84}}\\\"},{\\\"NodeID\\\":\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe\\\",\\\"NodeName\\\":\\\"结束\\\",\\\"NodeType\\\":\\\"END\\\",\\\"NodeDesc\\\":\\\"\\\",\\\"EndNodeData\\\":{},\\\"NextNodeIDs\\\":[],\\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\",\\\"Type\\\":\\\"OBJECT\\\",\\\"Required\\\":[],\\\"Properties\\\":[],\\\"Desc\\\":\\\"输出内容\\\"}],\\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":false,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"desc\\\\\\\":\\\\\\\"输出内容\\\\\\\",\\\\\\\"optionType\\\\\\\":\\\\\\\"REFERENCE_OUTPUT\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[]}]},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":1200,\\\\\\\"y\\\\\\\":282},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84}}\\\"},{\\\"NodeID\\\":\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\",\\\"NodeName\\\":\\\"代码1\\\",\\\"NodeType\\\":\\\"CODE_EXECUTOR\\\",\\\"NodeDesc\\\":\\\"\\\",\\\"CodeExecutorNodeData\\\":{\\\"Code\\\":\\\"CiMg6K+35L+d5a2Y5Ye95pWw5ZCN5Li6bWFpbizovpPlhaXovpPlh7rlnYfkuLpkaWN077yb5pyA57uI57uT5p6c5Lya5LulanNvbuWtl+espuS4suaWueW8j+i/lOWbnu+8jOivt+WLv+ebtOaOpei/lOWbnuS4jeaUr+aMgWpzb24uZHVtcHPnmoTlr7nosaEKZGVmIG1haW4ocGFyYW1zOiBkaWN0KSAtPiBkaWN0OgogICAgcmV0dXJuIHsKICAgICAgICAncmVzdWx0JzogcGFyYW1zLmdldCgnaW5wdXQnLCAwKQogICAgfQo=\\\",\\\"Language\\\":0},\\\"NextNodeIDs\\\":[\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe\\\"],\\\"Inputs\\\":[],\\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\",\\\"Type\\\":\\\"OBJECT\\\",\\\"Required\\\":[],\\\"Properties\\\":[{\\\"Title\\\":\\\"result\\\",\\\"Type\\\":\\\"STRING\\\",\\\"Required\\\":[],\\\"Properties\\\":[],\\\"Desc\\\":\\\"\\\"}],\\\"Desc\\\":\\\"输出内容\\\"}],\\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"outputs\\\\\\\":[\\\\\\\"Output\\\\\\\",\\\\\\\"Output.result\\\\\\\"],\\\\\\\"inputs\\\\\\\":[]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"b14d43a6-51ea-2df8-fcfc-759261cd5b1b\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"e8a0a1f1-8bb4-892a-34ba-e020e3f48c99\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]}]}]},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":700,\\\\\\\"y\\\\\\\":282},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":true,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":104}}\\\"}],\\\"Edge\\\":\\\"[{\\\\\\\"source\\\\\\\":\\\\\\\"a2b6549c-85b6-b404-a736-3d738591f297\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"a2b6549c-85b6-b404-a736-3d738591f297-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__a2b6549c-85b6-b404-a736-3d738591f297a2b6549c-85b6-b404-a736-3d738591f297-source-bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\\\\\"},{\\\\\\\"source\\\\\\\":\\\\\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__bb004f48-eabd-4104-6cb1-1fb9f154c24dbb004f48-eabd-4104-6cb1-1fb9f154c24d-source-4710f3a1-fa47-d542-e3be-5b5ce38be1fe4710f3a1-fa47-d542-e3be-5b5ce38be1fe-target\\\\\\\"}]\\\"}}\",\n \"Query\": \"我想订酒店\",\n \"MainModelName\": \"workflow-pro\",\n \"CustomVariables\": []\n },\n \"NodeRuns\": [\n {\n \"NodeRunId\": \"nf5a21-6223-4358-b8a789\",\n \"NodeId\": \"e60de932-b050-65ce-261e-027760e93d81\",\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6\",\n \"NodeName\": \"大模型节点\",\n \"NodeType\": 3,\n \"State\": 1,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"CostMilliseconds\": 1000,\n \"TotalTokens\": 100\n }\n ],\n \"RequestId\": \"925208e7-46fa-43b3-a429-ddcbccad24f6\"\n }\n}",
|
|
364
|
+
"input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkflowRun\n<公共请求参数>\n\n{\n \"AppBizId\": \"1963140753734418240\",\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n}",
|
|
365
|
+
"output": "{\n \"Response\": {\n \"NodeRuns\": [\n {\n \"CostMilliseconds\": 0,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"11a76786-2578-8f2e-ab4e-96fbe393b750\",\n \"NodeName\": \"开始\",\n \"NodeRunId\": \"nr-e0eecd24-7b19-40c6-b730-77b6f3c0b1c0\",\n \"NodeType\": 1,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n },\n {\n \"CostMilliseconds\": 105,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"4bb28c02-c142-4885-958b-e700c88d05e1\",\n \"NodeName\": \"代码1\",\n \"NodeRunId\": \"nr-d1b55ca0-ca64-46af-8cd7-e59995abd7a4\",\n \"NodeType\": 7,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n },\n {\n \"CostMilliseconds\": 2971,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"578d6b2e-d334-1df1-c512-551c358fb790\",\n \"NodeName\": \"代码2\",\n \"NodeRunId\": \"nr-9fd4a172-eaff-4b97-8479-46a6bc445163\",\n \"NodeType\": 7,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n },\n {\n \"CostMilliseconds\": 0,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"88753333-e45b-fdd4-2aa3-7660998fbb91\",\n \"NodeName\": \"结束\",\n \"NodeRunId\": \"nr-66a33273-e14a-4cc4-b6d2-a76fd3378242\",\n \"NodeType\": 16,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n }\n ],\n \"RequestId\": \"8d785cd9-bf9e-465b-a311-0b765d328b31\",\n \"WorkflowRun\": {\n \"AppBizId\": \"1928404831808934976\",\n \"CreateTime\": \"1759142308976\",\n \"CustomVariables\": [\n {\n \"Name\": \"is_show_tips\",\n \"Value\": \"aaaa\"\n }\n ],\n \"DialogJson\": \"{\\\"ProtoVersion\\\":\\\"V2_6\\\", \\\"WorkflowID\\\":\\\"47d7c1f7-501b-465a-aa6a-73846c92ca44\\\", \\\"WorkflowName\\\":\\\"代码\\\", \\\"WorkflowDesc\\\":\\\"代码\\\", \\\"Nodes\\\":[{\\\"NodeID\\\":\\\"11a76786-2578-8f2e-ab4e-96fbe393b750\\\", \\\"NodeName\\\":\\\"开始\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"START\\\", \\\"StartNodeData\\\":{\\\"WorkflowParams\\\":[{\\\"Name\\\":\\\"obj\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[{\\\"Name\\\":\\\"aaa\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}, {\\\"Name\\\":\\\"bb\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}], \\\"DefaultValue\\\":\\\"{\\\\\\\"aaa\\\\\\\": \\\\\\\"AAA\\\\\\\", \\\\\\\"bb\\\\\\\": \\\\\\\"BBBB\\\\\\\"}\\\", \\\"DefaultFileName\\\":\\\"\\\"}, {\\\"Name\\\":\\\"arrarr\\\", \\\"Type\\\":\\\"ARRAY_ARRAY\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"[[1, 2,3]]\\\", \\\"DefaultFileName\\\":\\\"\\\"}]}, \\\"Inputs\\\":[], \\\"Outputs\\\":[], \\\"NextNodeIDs\\\":[\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\", \\\"578d6b2e-d334-1df1-c512-551c358fb790\\\"], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"inputs\\\\\\\":[]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":false,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":434,\\\\\\\"y\\\\\\\":482},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84},\\\\\\\"dragging\\\\\\\":false}\\\"}, {\\\"NodeID\\\":\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\", \\\"NodeName\\\":\\\"结束\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"END\\\", \\\"Inputs\\\":[], \\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"输出内容\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"NextNodeIDs\\\":[], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":false,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":1041,\\\\\\\"y\\\\\\\":441},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84},\\\\\\\"dragging\\\\\\\":false}\\\"}, {\\\"NodeID\\\":\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\", \\\"NodeName\\\":\\\"代码1\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"CODE_EXECUTOR\\\", \\\"CodeExecutorNodeData\\\":{\\\"Code\\\":\\\"\\\\nfrom jinja2 import Template\\\\nimport json\\\\n\\\\ndef main(params: dict) -> dict:\\\\n input = params.get('input', '{}') # 获取用户输入的JSON字符串\\\\n template = Template(\\\\\\\"\\\\\\\"\\\\\\\"\\\\n{{ input.name }}\\\\n{{ input.age }}\\\\n{{ input.occupation }}\\\\n \\\\\\\"\\\\\\\"\\\\\\\") # 解析JSON字符串,分别输出字段\\\\n result = template.render(input=json.loads(input)) # 解析JSON字符串\\\\n return {'result': result.splitlines()} # 返回每个字段为单独的元素\\\\n\\\", \\\"Language\\\":\\\"PYTHON3\\\"}, \\\"Inputs\\\":[{\\\"Name\\\":\\\"input\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Input\\\":{\\\"InputType\\\":\\\"USER_INPUT\\\", \\\"UserInputValue\\\":{\\\"Values\\\":[\\\"{\\\\\\\"name\\\\\\\": 3, \\\\\\\"age\\\\\\\": 3, \\\\\\\"occupation\\\\\\\": 1 }\\\"]}}, \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}], \\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[{\\\"Title\\\":\\\"result\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"Desc\\\":\\\"输出内容\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"NextNodeIDs\\\":[\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\"], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"outputs\\\\\\\":[\\\\\\\"Output\\\\\\\",\\\\\\\"Output.result\\\\\\\"],\\\\\\\"inputs\\\\\\\":[\\\\\\\"input\\\\\\\"]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"21e93433-c30d-1fdc-b470-36275c437521\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"baedb05d-0daf-9968-5947-e7bb0d878714\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"da7598f7-4bea-bb2c-36db-8ea0908099f7\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"b3f535b9-f76d-5bd4-849d-94d5b7aa9f20\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]}]}],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":725,\\\\\\\"y\\\\\\\":333},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":true,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":104},\\\\\\\"dragging\\\\\\\":false}\\\", \\\"ExceptionHandling\\\":{\\\"Switch\\\":\\\"OFF\\\", \\\"MaxRetries\\\":\\\"3\\\", \\\"RetryInterval\\\":\\\"1\\\", \\\"AbnormalOutputResult\\\":\\\"\\\", \\\"HandleMethod\\\":\\\"EXCEPTION_OUTPUT\\\", \\\"NextNodeIDs\\\":[]}}, {\\\"NodeID\\\":\\\"578d6b2e-d334-1df1-c512-551c358fb790\\\", \\\"NodeName\\\":\\\"代码2\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"CODE_EXECUTOR\\\", \\\"CodeExecutorNodeData\\\":{\\\"Code\\\":\\\"\\\\n// 请保存函数名为main,输入输出均为object;最终结果会以json字符串方式返回\\\\nfunction main(params) {\\\\n console.log(\\\\\\\"XXXXXXXXXXX\\\\\\\")\\\\n return {\\\\n 'result': params.input || 0,\\\\n 'result2': 333,\\\\n 'arrarr': params.arrarr\\\\n };\\\\n}\\\\n\\\", \\\"Language\\\":\\\"JS\\\"}, \\\"Inputs\\\":[{\\\"Name\\\":\\\"input\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Input\\\":{\\\"InputType\\\":\\\"WORKFLOW_VARIABLE\\\", \\\"WorkflowParam\\\":{\\\"VarBizID\\\":\\\"\\\", \\\"JsonPath\\\":\\\"obj\\\"}}, \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}, {\\\"Name\\\":\\\"arrarr\\\", \\\"Type\\\":\\\"ARRAY_ARRAY\\\", \\\"Input\\\":{\\\"InputType\\\":\\\"WORKFLOW_VARIABLE\\\", \\\"WorkflowParam\\\":{\\\"VarBizID\\\":\\\"\\\", \\\"JsonPath\\\":\\\"arrarr\\\"}}, \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}], \\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[{\\\"Title\\\":\\\"result\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[{\\\"Title\\\":\\\"aaa\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}, {\\\"Title\\\":\\\"bb\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}, {\\\"Title\\\":\\\"result2\\\", \\\"Type\\\":\\\"INT\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"Desc\\\":\\\"输出内容\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"NextNodeIDs\\\":[\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\"], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"outputs\\\\\\\":[\\\\\\\"Output\\\\\\\",\\\\\\\"Output.result\\\\\\\",\\\\\\\"Output.result.aaa\\\\\\\",\\\\\\\"Output.result.bb\\\\\\\",\\\\\\\"Output.result2\\\\\\\"],\\\\\\\"inputs\\\\\\\":[\\\\\\\"input\\\\\\\",\\\\\\\"arrarr\\\\\\\"]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"3e79d81d-78e5-aeb0-5a85-567954684b11\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"a12efcf2-18fe-98a4-fdd8-063f429de5d3\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"c3e020aa-f147-27cc-64b9-ee795c5632fb\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"09208fe5-368e-a02d-fd19-db6f6f764fbf\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"4cba8343-a4ea-839a-de60-e043920351ec\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"aaa\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"aaa\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"806dd385-0fdb-acbf-3844-f2567d46953d\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]},{\\\\\\\"id\\\\\\\":\\\\\\\"38ac6193-6b23-e50a-760e-cf64831c0b67\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"bb\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"bb\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"0a8908cb-f21f-8904-df90-32c7fcd51aff\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]}]},{\\\\\\\"id\\\\\\\":\\\\\\\"c00d6733-c70d-5fa6-7121-e77f857256ed\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result2\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result2\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"a111c802-bd28-5f6f-cefa-25e2fa198311\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"INT\\\\\\\",\\\\\\\"children\\\\\\\":[]}]}],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":776,\\\\\\\"y\\\\\\\":563},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":124},\\\\\\\"dragging\\\\\\\":false}\\\", \\\"ExceptionHandling\\\":{\\\"Switch\\\":\\\"OFF\\\", \\\"MaxRetries\\\":\\\"3\\\", \\\"RetryInterval\\\":\\\"1\\\", \\\"AbnormalOutputResult\\\":\\\"\\\", \\\"HandleMethod\\\":\\\"EXCEPTION_OUTPUT\\\", \\\"NextNodeIDs\\\":[]}}], \\\"Edge\\\":\\\"[{\\\\\\\"source\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750-source\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__11a76786-2578-8f2e-ab4e-96fbe393b75011a76786-2578-8f2e-ab4e-96fbe393b750-source-4bb28c02-c142-4885-958b-e700c88d05e1\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false},{\\\\\\\"source\\\\\\\":\\\\\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"4bb28c02-c142-4885-958b-e700c88d05e1-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__4bb28c02-c142-4885-958b-e700c88d05e14bb28c02-c142-4885-958b-e700c88d05e1-source-88753333-e45b-fdd4-2aa3-7660998fbb9188753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false},{\\\\\\\"source\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__11a76786-2578-8f2e-ab4e-96fbe393b75011a76786-2578-8f2e-ab4e-96fbe393b750-source-578d6b2e-d334-1df1-c512-551c358fb790578d6b2e-d334-1df1-c512-551c358fb790-target\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false},{\\\\\\\"source\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__578d6b2e-d334-1df1-c512-551c358fb790578d6b2e-d334-1df1-c512-551c358fb790-source-88753333-e45b-fdd4-2aa3-7660998fbb9188753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false}]\\\", \\\"Mode\\\":\\\"NORMAL\\\", \\\"ReleaseTime\\\":\\\"\\\"}\",\n \"EndTime\": \"1759142312152\",\n \"FailMessage\": \"\",\n \"MainModelName\": \"cs-normal-70b\",\n \"Name\": \"代码\",\n \"Output\": \"{\\\"output\\\": 22}\",\n \"Query\": \"22\",\n \"RunEnv\": 0,\n \"StartTime\": \"1759142309058\",\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowId\": \"47d7c1f7-501b-465a-aa6a-73846c92ca44\",\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n }\n }\n}",
|
|
366
366
|
"title": "查询工作流运行实例详情"
|
|
367
367
|
}
|
|
368
368
|
],
|
|
@@ -1445,7 +1445,7 @@
|
|
|
1445
1445
|
},
|
|
1446
1446
|
{
|
|
1447
1447
|
"disabled": false,
|
|
1448
|
-
"document": "说明:自定义任务指令词,当且仅当TextType=query时,生效",
|
|
1448
|
+
"document": "说明:自定义任务指令词,当且仅当TextType=query且Model为youtu-embedding-llm-v1时,生效",
|
|
1449
1449
|
"example": "问题:",
|
|
1450
1450
|
"member": "string",
|
|
1451
1451
|
"name": "Instruction",
|
|
@@ -117,9 +117,15 @@
|
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"document": "",
|
|
120
|
-
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"lke-text-embedding-v2\",\n \"Inputs\": [\n \"1\"\n ],\n \"TextType\": \"document\"
|
|
120
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"lke-text-embedding-v2\",\n \"Inputs\": [\n \"1\"\n ],\n \"TextType\": \"document\"\n}",
|
|
121
121
|
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0.009212733\n ]\n }\n ],\n \"Usage\": {\n \"TotalTokens\": 3\n },\n \"RequestId\": \"d4b6b8fb-597c-43f3-860d-715916c787b8\"\n }\n}",
|
|
122
122
|
"title": "获取特征向量v2"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"document": "",
|
|
126
|
+
"input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"youtu-embedding-llm-v1\",\n \"Inputs\": [\n \"1\"\n ],\n \"TextType\": \"query\",\n \"Instruction\": \"query:\"\n}",
|
|
127
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0.009212733\n ]\n }\n ],\n \"Usage\": {\n \"TotalTokens\": 3\n },\n \"RequestId\": \"b69e784e-8807-440e-a8df-f970eca48f3c\"\n }\n}",
|
|
128
|
+
"title": "获取特征向量-自定义Instruction"
|
|
123
129
|
}
|
|
124
130
|
],
|
|
125
131
|
"GetReconstructDocumentResult": [
|
|
@@ -2463,6 +2463,58 @@ def doDeletePrometheusTemp(args, parsed_globals):
|
|
|
2463
2463
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
2464
2464
|
|
|
2465
2465
|
|
|
2466
|
+
def doDescribePrometheusScrapeStatistics(args, parsed_globals):
|
|
2467
|
+
g_param = parse_global_arg(parsed_globals)
|
|
2468
|
+
|
|
2469
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
2470
|
+
cred = credential.CVMRoleCredential()
|
|
2471
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
2472
|
+
cred = credential.STSAssumeRoleCredential(
|
|
2473
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
2474
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
2475
|
+
)
|
|
2476
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
2477
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
2478
|
+
else:
|
|
2479
|
+
cred = credential.Credential(
|
|
2480
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
2481
|
+
)
|
|
2482
|
+
http_profile = HttpProfile(
|
|
2483
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
2484
|
+
reqMethod="POST",
|
|
2485
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
2486
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
2487
|
+
)
|
|
2488
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
2489
|
+
if g_param[OptionsDefine.Language]:
|
|
2490
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
2491
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
2492
|
+
client = mod.MonitorClient(cred, g_param[OptionsDefine.Region], profile)
|
|
2493
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
2494
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
2495
|
+
model = models.DescribePrometheusScrapeStatisticsRequest()
|
|
2496
|
+
model.from_json_string(json.dumps(args))
|
|
2497
|
+
start_time = time.time()
|
|
2498
|
+
while True:
|
|
2499
|
+
rsp = client.DescribePrometheusScrapeStatistics(model)
|
|
2500
|
+
result = rsp.to_json_string()
|
|
2501
|
+
try:
|
|
2502
|
+
json_obj = json.loads(result)
|
|
2503
|
+
except TypeError as e:
|
|
2504
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
2505
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
2506
|
+
break
|
|
2507
|
+
cur_time = time.time()
|
|
2508
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
2509
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
2510
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
2511
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
2512
|
+
else:
|
|
2513
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
2514
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
2515
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
2516
|
+
|
|
2517
|
+
|
|
2466
2518
|
def doCreateAlarmShield(args, parsed_globals):
|
|
2467
2519
|
g_param = parse_global_arg(parsed_globals)
|
|
2468
2520
|
|
|
@@ -8815,6 +8867,7 @@ ACTION_MAP = {
|
|
|
8815
8867
|
"DeleteServiceDiscovery": doDeleteServiceDiscovery,
|
|
8816
8868
|
"DeleteExporterIntegration": doDeleteExporterIntegration,
|
|
8817
8869
|
"DeletePrometheusTemp": doDeletePrometheusTemp,
|
|
8870
|
+
"DescribePrometheusScrapeStatistics": doDescribePrometheusScrapeStatistics,
|
|
8818
8871
|
"CreateAlarmShield": doCreateAlarmShield,
|
|
8819
8872
|
"CreatePrometheusMultiTenantInstancePostPayMode": doCreatePrometheusMultiTenantInstancePostPayMode,
|
|
8820
8873
|
"UpdateGrafanaEnvironments": doUpdateGrafanaEnvironments,
|