Skip to content

Commit 86173a2

Browse files
committed
Support API CreateGeneralConfig.
1 parent f8bfcef commit 86173a2

29 files changed

+3314
-1
lines changed

aimiaobi-20230801/ChangeLog.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
2025-12-04 Version: 1.38.0
2+
- Support API CreateGeneralConfig.
3+
- Support API DeleteGeneralConfig.
4+
- Support API GetGeneralConfig.
5+
- Support API ListDocumentRetrieve.
6+
- Support API ListGeneralConfigs.
7+
- Support API RunQuickWriting.
8+
- Support API RunTopicSelectionMerge.
9+
- Support API UpdateGeneralConfig.
10+
11+
112
2025-11-12 Version: 1.37.5
213
- Update API RunSearchGeneration: add request parameters ChatConfig.ModelCustomPromptTemplate.
314
- Update API RunSearchGeneration: add request parameters ChatConfig.ModelCustomVlPromptTemplate.

aimiaobi-20230801/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.aliyun</groupId>
55
<artifactId>aimiaobi20230801</artifactId>
6-
<version>1.37.5</version>
6+
<version>1.38.0</version>
77
<packaging>jar</packaging>
88
<name>aimiaobi20230801</name>
99
<description>Alibaba Cloud AiMiaoBi (20230801) SDK for Java

aimiaobi-20230801/src/main/java/com/aliyun/aimiaobi20230801/Client.java

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.aimiaobi20230801.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class CreateGeneralConfigRequest extends TeaModel {
7+
/**
8+
* <p>This parameter is required.</p>
9+
*
10+
* <strong>example:</strong>
11+
* <p>xxxx</p>
12+
*/
13+
@NameInMap("ConfigKey")
14+
public String configKey;
15+
16+
/**
17+
* <p>This parameter is required.</p>
18+
*
19+
* <strong>example:</strong>
20+
* <p>xxx</p>
21+
*/
22+
@NameInMap("ConfigValue")
23+
public String configValue;
24+
25+
/**
26+
* <p>This parameter is required.</p>
27+
*
28+
* <strong>example:</strong>
29+
* <p>llm-</p>
30+
*/
31+
@NameInMap("WorkspaceId")
32+
public String workspaceId;
33+
34+
public static CreateGeneralConfigRequest build(java.util.Map<String, ?> map) throws Exception {
35+
CreateGeneralConfigRequest self = new CreateGeneralConfigRequest();
36+
return TeaModel.build(map, self);
37+
}
38+
39+
public CreateGeneralConfigRequest setConfigKey(String configKey) {
40+
this.configKey = configKey;
41+
return this;
42+
}
43+
public String getConfigKey() {
44+
return this.configKey;
45+
}
46+
47+
public CreateGeneralConfigRequest setConfigValue(String configValue) {
48+
this.configValue = configValue;
49+
return this;
50+
}
51+
public String getConfigValue() {
52+
return this.configValue;
53+
}
54+
55+
public CreateGeneralConfigRequest setWorkspaceId(String workspaceId) {
56+
this.workspaceId = workspaceId;
57+
return this;
58+
}
59+
public String getWorkspaceId() {
60+
return this.workspaceId;
61+
}
62+
63+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.aimiaobi20230801.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class CreateGeneralConfigResponse extends TeaModel {
7+
@NameInMap("headers")
8+
public java.util.Map<String, String> headers;
9+
10+
@NameInMap("statusCode")
11+
public Integer statusCode;
12+
13+
@NameInMap("body")
14+
public CreateGeneralConfigResponseBody body;
15+
16+
public static CreateGeneralConfigResponse build(java.util.Map<String, ?> map) throws Exception {
17+
CreateGeneralConfigResponse self = new CreateGeneralConfigResponse();
18+
return TeaModel.build(map, self);
19+
}
20+
21+
public CreateGeneralConfigResponse setHeaders(java.util.Map<String, String> headers) {
22+
this.headers = headers;
23+
return this;
24+
}
25+
public java.util.Map<String, String> getHeaders() {
26+
return this.headers;
27+
}
28+
29+
public CreateGeneralConfigResponse setStatusCode(Integer statusCode) {
30+
this.statusCode = statusCode;
31+
return this;
32+
}
33+
public Integer getStatusCode() {
34+
return this.statusCode;
35+
}
36+
37+
public CreateGeneralConfigResponse setBody(CreateGeneralConfigResponseBody body) {
38+
this.body = body;
39+
return this;
40+
}
41+
public CreateGeneralConfigResponseBody getBody() {
42+
return this.body;
43+
}
44+
45+
}
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.aimiaobi20230801.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class CreateGeneralConfigResponseBody extends TeaModel {
7+
/**
8+
* <strong>example:</strong>
9+
* <p>DataNotExists</p>
10+
*/
11+
@NameInMap("Code")
12+
public String code;
13+
14+
@NameInMap("Data")
15+
public CreateGeneralConfigResponseBodyData data;
16+
17+
/**
18+
* <strong>example:</strong>
19+
* <p>200</p>
20+
*/
21+
@NameInMap("HttpStatusCode")
22+
public Integer httpStatusCode;
23+
24+
/**
25+
* <strong>example:</strong>
26+
* <p>数据不存在</p>
27+
*/
28+
@NameInMap("Message")
29+
public String message;
30+
31+
/**
32+
* <strong>example:</strong>
33+
* <p>3f7045e099474ba28ceca1b4eb6d6e21</p>
34+
*/
35+
@NameInMap("RequestId")
36+
public String requestId;
37+
38+
/**
39+
* <strong>example:</strong>
40+
* <p>false</p>
41+
*/
42+
@NameInMap("Success")
43+
public Boolean success;
44+
45+
public static CreateGeneralConfigResponseBody build(java.util.Map<String, ?> map) throws Exception {
46+
CreateGeneralConfigResponseBody self = new CreateGeneralConfigResponseBody();
47+
return TeaModel.build(map, self);
48+
}
49+
50+
public CreateGeneralConfigResponseBody setCode(String code) {
51+
this.code = code;
52+
return this;
53+
}
54+
public String getCode() {
55+
return this.code;
56+
}
57+
58+
public CreateGeneralConfigResponseBody setData(CreateGeneralConfigResponseBodyData data) {
59+
this.data = data;
60+
return this;
61+
}
62+
public CreateGeneralConfigResponseBodyData getData() {
63+
return this.data;
64+
}
65+
66+
public CreateGeneralConfigResponseBody setHttpStatusCode(Integer httpStatusCode) {
67+
this.httpStatusCode = httpStatusCode;
68+
return this;
69+
}
70+
public Integer getHttpStatusCode() {
71+
return this.httpStatusCode;
72+
}
73+
74+
public CreateGeneralConfigResponseBody setMessage(String message) {
75+
this.message = message;
76+
return this;
77+
}
78+
public String getMessage() {
79+
return this.message;
80+
}
81+
82+
public CreateGeneralConfigResponseBody setRequestId(String requestId) {
83+
this.requestId = requestId;
84+
return this;
85+
}
86+
public String getRequestId() {
87+
return this.requestId;
88+
}
89+
90+
public CreateGeneralConfigResponseBody setSuccess(Boolean success) {
91+
this.success = success;
92+
return this;
93+
}
94+
public Boolean getSuccess() {
95+
return this.success;
96+
}
97+
98+
public static class CreateGeneralConfigResponseBodyData extends TeaModel {
99+
/**
100+
* <strong>example:</strong>
101+
* <p>xx</p>
102+
*/
103+
@NameInMap("ConfigDesc")
104+
public String configDesc;
105+
106+
/**
107+
* <strong>example:</strong>
108+
* <p>xx</p>
109+
*/
110+
@NameInMap("ConfigKey")
111+
public String configKey;
112+
113+
/**
114+
* <strong>example:</strong>
115+
* <p>xx</p>
116+
*/
117+
@NameInMap("ConfigValue")
118+
public String configValue;
119+
120+
/**
121+
* <strong>example:</strong>
122+
* <p>xx</p>
123+
*/
124+
@NameInMap("ConfigValueType")
125+
public String configValueType;
126+
127+
public static CreateGeneralConfigResponseBodyData build(java.util.Map<String, ?> map) throws Exception {
128+
CreateGeneralConfigResponseBodyData self = new CreateGeneralConfigResponseBodyData();
129+
return TeaModel.build(map, self);
130+
}
131+
132+
public CreateGeneralConfigResponseBodyData setConfigDesc(String configDesc) {
133+
this.configDesc = configDesc;
134+
return this;
135+
}
136+
public String getConfigDesc() {
137+
return this.configDesc;
138+
}
139+
140+
public CreateGeneralConfigResponseBodyData setConfigKey(String configKey) {
141+
this.configKey = configKey;
142+
return this;
143+
}
144+
public String getConfigKey() {
145+
return this.configKey;
146+
}
147+
148+
public CreateGeneralConfigResponseBodyData setConfigValue(String configValue) {
149+
this.configValue = configValue;
150+
return this;
151+
}
152+
public String getConfigValue() {
153+
return this.configValue;
154+
}
155+
156+
public CreateGeneralConfigResponseBodyData setConfigValueType(String configValueType) {
157+
this.configValueType = configValueType;
158+
return this;
159+
}
160+
public String getConfigValueType() {
161+
return this.configValueType;
162+
}
163+
164+
}
165+
166+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.aimiaobi20230801.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class DeleteGeneralConfigRequest extends TeaModel {
7+
/**
8+
* <p>This parameter is required.</p>
9+
*
10+
* <strong>example:</strong>
11+
* <p>xx</p>
12+
*/
13+
@NameInMap("ConfigKey")
14+
public String configKey;
15+
16+
/**
17+
* <p>This parameter is required.</p>
18+
*
19+
* <strong>example:</strong>
20+
* <p>llm-</p>
21+
*/
22+
@NameInMap("WorkspaceId")
23+
public String workspaceId;
24+
25+
public static DeleteGeneralConfigRequest build(java.util.Map<String, ?> map) throws Exception {
26+
DeleteGeneralConfigRequest self = new DeleteGeneralConfigRequest();
27+
return TeaModel.build(map, self);
28+
}
29+
30+
public DeleteGeneralConfigRequest setConfigKey(String configKey) {
31+
this.configKey = configKey;
32+
return this;
33+
}
34+
public String getConfigKey() {
35+
return this.configKey;
36+
}
37+
38+
public DeleteGeneralConfigRequest setWorkspaceId(String workspaceId) {
39+
this.workspaceId = workspaceId;
40+
return this;
41+
}
42+
public String getWorkspaceId() {
43+
return this.workspaceId;
44+
}
45+
46+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
package com.aliyun.aimiaobi20230801.models;
3+
4+
import com.aliyun.tea.*;
5+
6+
public class DeleteGeneralConfigResponse extends TeaModel {
7+
@NameInMap("headers")
8+
public java.util.Map<String, String> headers;
9+
10+
@NameInMap("statusCode")
11+
public Integer statusCode;
12+
13+
@NameInMap("body")
14+
public DeleteGeneralConfigResponseBody body;
15+
16+
public static DeleteGeneralConfigResponse build(java.util.Map<String, ?> map) throws Exception {
17+
DeleteGeneralConfigResponse self = new DeleteGeneralConfigResponse();
18+
return TeaModel.build(map, self);
19+
}
20+
21+
public DeleteGeneralConfigResponse setHeaders(java.util.Map<String, String> headers) {
22+
this.headers = headers;
23+
return this;
24+
}
25+
public java.util.Map<String, String> getHeaders() {
26+
return this.headers;
27+
}
28+
29+
public DeleteGeneralConfigResponse setStatusCode(Integer statusCode) {
30+
this.statusCode = statusCode;
31+
return this;
32+
}
33+
public Integer getStatusCode() {
34+
return this.statusCode;
35+
}
36+
37+
public DeleteGeneralConfigResponse setBody(DeleteGeneralConfigResponseBody body) {
38+
this.body = body;
39+
return this;
40+
}
41+
public DeleteGeneralConfigResponseBody getBody() {
42+
return this.body;
43+
}
44+
45+
}

0 commit comments

Comments
 (0)