Domain name for API request: lke.intl.tencentcloudapi.com.
This API is used to modify application request structure.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyApp. |
| Version | Yes | String | Common Params. The value used for this API: 2023-11-30. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-jakarta. |
| AppBizId | Yes | String | Application ID. |
| AppType | Yes | String | Application type; knowledge_qa - knowledge Q&A management; summary - knowledge summary; classifys - knowledge label extraction. |
| BaseConfig | Yes | BaseConfig | Basic application configuration. |
| AppConfig | Yes | AppConfig | Application configuration. |
| LoginSubAccountUin | No | String | Login to user's sub-account (required in integrator mode). |
| Parameter Name | Type | Description |
|---|---|---|
| AppBizId | String | Application. |
| UpdateTime | String | Update time. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Modify an application.
POST / HTTP/1.1
Host: lke.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyApp
<Common request parameters>
{
"AppBizId": "1801166480814637056",
"AppType": "knowledge_qa",
"BaseConfig":
{
"Avatar": "Profile photo"
"Desc": "Application description
"Name": "My application"
},
"AppConfig": {
"KnowledgeQa":
{
"Greeting": "welcome message"
"Model":
{
"Name": "cs-normal",
"IsUseContext": true,
"HistoryLimit": 1,
AliasName": "Fine-tuned Knowledge Large Model - Standard",
"ContextLimit": 0,
"Desc": "",
"TokenBalance": 0,
"Temperature": "0.5",
"TopP": "0.5"
},
"Output": {
"Method": 1,
BareAnswer": "I'm unable to answer this question for now. Please ask another question.",
"UseGeneralKnowledge": false
},
"Pattern": "standard",
"Plugins": [
{
"PluginId": "3ad9ddae-587e-4bcc-ae07-ad13bfb1aaca",
"ToolId": "0ca8d482-1e77-462b-bc21-xddd7c8f052f69"
}
],
RoleDescription": "Role: Customer Service\nSkills: Provide customer support, Solve technical\nTone: Patient, Friendly\nPersonality Traits: Professional, Attentive\nRole Restrictions: Only answer questions related to products or services",
"Search": [
{
"Confidence": 0.2,
"DocTopN": 3,
"IsEnabled": true,
"QaTopN": 0,
"ReplyFlexibility": 0,
"ResourceStatus": 0,
"ShowSearchEngine": false,
"Type": "doc",
"UseSearchEngine": false
},
{
"Confidence": 0.9,
"DocTopN": 0,
"IsEnabled": true,
"QaTopN": 2,
"ReplyFlexibility": 1,
"ResourceStatus": 0,
"ShowSearchEngine": false,
"Type": "qa",
"UseSearchEngine": false
},
{
"Confidence": 0,
"DocTopN": 0,
"IsEnabled": false,
"QaTopN": 0,
"ReplyFlexibility": 0,
"ResourceStatus": 0,
"ShowSearchEngine": false,
"Type": "taskflow",
"UseSearchEngine": false
},
{
"Confidence": 0,
"DocTopN": 0,
"IsEnabled": true,
"QaTopN": 0,
"ReplyFlexibility": 0,
"ResourceStatus": 2,
"ShowSearchEngine": false,
"Type": "search",
"UseSearchEngine": true
}
],
"SearchRange": {
"ApiVarAttrInfos": [
{
"ApiVarId": "7a6d67e0-eff1-406b-b092-3b8072c19570",
"AttrBizId": "18537d934840613760"
}
],
"Condition": "and"
},
"SearchStrategy": {
"StrategyType": 0,
"TableEnhancement": false
},
"Workflow": {
"IsEnabled": true,
"UsePdl": false
},
"SingleWorkflow": {
"WorkflowId": "Single workflow ID"
},
"ThoughtModel": {
AliasName": "Fine-tuned Function-call Model",
"ContextLimit": 0,
"Desc": "",
"HistoryLimit": 0,
"IsUseContext": false,
"Name": "function-call-pro",
"TokenBalance": 0,
"Temperature": "0.5",
"TopP": "0.5"
}
}
}
}{
"Response": {
"AppBizId": "198848848484848",
"RequestId": "dwec-adsdsdsd-sfsfdsfsf"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Feedback