alibabacloud-lingmou20250527 1.0.0__tar.gz → 1.1.0__tar.gz
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.
- alibabacloud_lingmou20250527-1.1.0/ChangeLog.md +3 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/PKG-INFO +1 -1
- alibabacloud_lingmou20250527-1.1.0/alibabacloud_lingmou20250527/__init__.py +1 -0
- alibabacloud_lingmou20250527-1.1.0/alibabacloud_lingmou20250527/client.py +390 -0
- alibabacloud_lingmou20250527-1.1.0/alibabacloud_lingmou20250527/models.py +675 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/alibabacloud_lingmou20250527.egg-info/PKG-INFO +1 -1
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/alibabacloud_lingmou20250527.egg-info/SOURCES.txt +1 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/alibabacloud_lingmou20250527.egg-info/requires.txt +1 -1
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/setup.py +2 -2
- alibabacloud_lingmou20250527-1.0.0/alibabacloud_lingmou20250527/__init__.py +0 -1
- alibabacloud_lingmou20250527-1.0.0/alibabacloud_lingmou20250527/client.py +0 -158
- alibabacloud_lingmou20250527-1.0.0/alibabacloud_lingmou20250527/models.py +0 -316
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/LICENSE +0 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/MANIFEST.in +0 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/README-CN.md +0 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/README.md +0 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/alibabacloud_lingmou20250527.egg-info/dependency_links.txt +0 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/alibabacloud_lingmou20250527.egg-info/top_level.txt +0 -0
- {alibabacloud_lingmou20250527-1.0.0 → alibabacloud_lingmou20250527-1.1.0}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.1.0'
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from typing import Dict
|
|
4
|
+
from Tea.core import TeaCore
|
|
5
|
+
|
|
6
|
+
from alibabacloud_tea_openapi.client import Client as OpenApiClient
|
|
7
|
+
from alibabacloud_tea_openapi import models as open_api_models
|
|
8
|
+
from alibabacloud_tea_util.client import Client as UtilClient
|
|
9
|
+
from alibabacloud_endpoint_util.client import Client as EndpointUtilClient
|
|
10
|
+
from alibabacloud_lingmou20250527 import models as ling_mou_20250527_models
|
|
11
|
+
from alibabacloud_tea_util import models as util_models
|
|
12
|
+
from alibabacloud_openapi_util.client import Client as OpenApiUtilClient
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class Client(OpenApiClient):
|
|
16
|
+
"""
|
|
17
|
+
*\
|
|
18
|
+
"""
|
|
19
|
+
def __init__(
|
|
20
|
+
self,
|
|
21
|
+
config: open_api_models.Config,
|
|
22
|
+
):
|
|
23
|
+
super().__init__(config)
|
|
24
|
+
self._endpoint_rule = ''
|
|
25
|
+
self.check_config(config)
|
|
26
|
+
self._endpoint = self.get_endpoint('lingmou', self._region_id, self._endpoint_rule, self._network, self._suffix, self._endpoint_map, self._endpoint)
|
|
27
|
+
|
|
28
|
+
def get_endpoint(
|
|
29
|
+
self,
|
|
30
|
+
product_id: str,
|
|
31
|
+
region_id: str,
|
|
32
|
+
endpoint_rule: str,
|
|
33
|
+
network: str,
|
|
34
|
+
suffix: str,
|
|
35
|
+
endpoint_map: Dict[str, str],
|
|
36
|
+
endpoint: str,
|
|
37
|
+
) -> str:
|
|
38
|
+
if not UtilClient.empty(endpoint):
|
|
39
|
+
return endpoint
|
|
40
|
+
if not UtilClient.is_unset(endpoint_map) and not UtilClient.empty(endpoint_map.get(region_id)):
|
|
41
|
+
return endpoint_map.get(region_id)
|
|
42
|
+
return EndpointUtilClient.get_endpoint_rules(product_id, region_id, endpoint_rule, network, suffix)
|
|
43
|
+
|
|
44
|
+
def close_chat_instance_sessions_with_options(
|
|
45
|
+
self,
|
|
46
|
+
instance_id: str,
|
|
47
|
+
tmp_req: ling_mou_20250527_models.CloseChatInstanceSessionsRequest,
|
|
48
|
+
headers: Dict[str, str],
|
|
49
|
+
runtime: util_models.RuntimeOptions,
|
|
50
|
+
) -> ling_mou_20250527_models.CloseChatInstanceSessionsResponse:
|
|
51
|
+
"""
|
|
52
|
+
@summary 关闭会话实例session
|
|
53
|
+
|
|
54
|
+
@param tmp_req: CloseChatInstanceSessionsRequest
|
|
55
|
+
@param headers: map
|
|
56
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
57
|
+
@return: CloseChatInstanceSessionsResponse
|
|
58
|
+
"""
|
|
59
|
+
UtilClient.validate_model(tmp_req)
|
|
60
|
+
request = ling_mou_20250527_models.CloseChatInstanceSessionsShrinkRequest()
|
|
61
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
62
|
+
if not UtilClient.is_unset(tmp_req.session_ids):
|
|
63
|
+
request.session_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.session_ids, 'sessionIds', 'json')
|
|
64
|
+
body = {}
|
|
65
|
+
if not UtilClient.is_unset(request.session_ids_shrink):
|
|
66
|
+
body['sessionIds'] = request.session_ids_shrink
|
|
67
|
+
req = open_api_models.OpenApiRequest(
|
|
68
|
+
headers=headers,
|
|
69
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
70
|
+
)
|
|
71
|
+
params = open_api_models.Params(
|
|
72
|
+
action='CloseChatInstanceSessions',
|
|
73
|
+
version='2025-05-27',
|
|
74
|
+
protocol='HTTPS',
|
|
75
|
+
pathname=f'/openapi/chat/instances/{OpenApiUtilClient.get_encode_param(instance_id)}/sessions/close',
|
|
76
|
+
method='PUT',
|
|
77
|
+
auth_type='AK',
|
|
78
|
+
style='ROA',
|
|
79
|
+
req_body_type='formData',
|
|
80
|
+
body_type='json'
|
|
81
|
+
)
|
|
82
|
+
return TeaCore.from_map(
|
|
83
|
+
ling_mou_20250527_models.CloseChatInstanceSessionsResponse(),
|
|
84
|
+
self.call_api(params, req, runtime)
|
|
85
|
+
)
|
|
86
|
+
|
|
87
|
+
async def close_chat_instance_sessions_with_options_async(
|
|
88
|
+
self,
|
|
89
|
+
instance_id: str,
|
|
90
|
+
tmp_req: ling_mou_20250527_models.CloseChatInstanceSessionsRequest,
|
|
91
|
+
headers: Dict[str, str],
|
|
92
|
+
runtime: util_models.RuntimeOptions,
|
|
93
|
+
) -> ling_mou_20250527_models.CloseChatInstanceSessionsResponse:
|
|
94
|
+
"""
|
|
95
|
+
@summary 关闭会话实例session
|
|
96
|
+
|
|
97
|
+
@param tmp_req: CloseChatInstanceSessionsRequest
|
|
98
|
+
@param headers: map
|
|
99
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
100
|
+
@return: CloseChatInstanceSessionsResponse
|
|
101
|
+
"""
|
|
102
|
+
UtilClient.validate_model(tmp_req)
|
|
103
|
+
request = ling_mou_20250527_models.CloseChatInstanceSessionsShrinkRequest()
|
|
104
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
105
|
+
if not UtilClient.is_unset(tmp_req.session_ids):
|
|
106
|
+
request.session_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.session_ids, 'sessionIds', 'json')
|
|
107
|
+
body = {}
|
|
108
|
+
if not UtilClient.is_unset(request.session_ids_shrink):
|
|
109
|
+
body['sessionIds'] = request.session_ids_shrink
|
|
110
|
+
req = open_api_models.OpenApiRequest(
|
|
111
|
+
headers=headers,
|
|
112
|
+
body=OpenApiUtilClient.parse_to_map(body)
|
|
113
|
+
)
|
|
114
|
+
params = open_api_models.Params(
|
|
115
|
+
action='CloseChatInstanceSessions',
|
|
116
|
+
version='2025-05-27',
|
|
117
|
+
protocol='HTTPS',
|
|
118
|
+
pathname=f'/openapi/chat/instances/{OpenApiUtilClient.get_encode_param(instance_id)}/sessions/close',
|
|
119
|
+
method='PUT',
|
|
120
|
+
auth_type='AK',
|
|
121
|
+
style='ROA',
|
|
122
|
+
req_body_type='formData',
|
|
123
|
+
body_type='json'
|
|
124
|
+
)
|
|
125
|
+
return TeaCore.from_map(
|
|
126
|
+
ling_mou_20250527_models.CloseChatInstanceSessionsResponse(),
|
|
127
|
+
await self.call_api_async(params, req, runtime)
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
def close_chat_instance_sessions(
|
|
131
|
+
self,
|
|
132
|
+
instance_id: str,
|
|
133
|
+
request: ling_mou_20250527_models.CloseChatInstanceSessionsRequest,
|
|
134
|
+
) -> ling_mou_20250527_models.CloseChatInstanceSessionsResponse:
|
|
135
|
+
"""
|
|
136
|
+
@summary 关闭会话实例session
|
|
137
|
+
|
|
138
|
+
@param request: CloseChatInstanceSessionsRequest
|
|
139
|
+
@return: CloseChatInstanceSessionsResponse
|
|
140
|
+
"""
|
|
141
|
+
runtime = util_models.RuntimeOptions()
|
|
142
|
+
headers = {}
|
|
143
|
+
return self.close_chat_instance_sessions_with_options(instance_id, request, headers, runtime)
|
|
144
|
+
|
|
145
|
+
async def close_chat_instance_sessions_async(
|
|
146
|
+
self,
|
|
147
|
+
instance_id: str,
|
|
148
|
+
request: ling_mou_20250527_models.CloseChatInstanceSessionsRequest,
|
|
149
|
+
) -> ling_mou_20250527_models.CloseChatInstanceSessionsResponse:
|
|
150
|
+
"""
|
|
151
|
+
@summary 关闭会话实例session
|
|
152
|
+
|
|
153
|
+
@param request: CloseChatInstanceSessionsRequest
|
|
154
|
+
@return: CloseChatInstanceSessionsResponse
|
|
155
|
+
"""
|
|
156
|
+
runtime = util_models.RuntimeOptions()
|
|
157
|
+
headers = {}
|
|
158
|
+
return await self.close_chat_instance_sessions_with_options_async(instance_id, request, headers, runtime)
|
|
159
|
+
|
|
160
|
+
def create_chat_session_with_options(
|
|
161
|
+
self,
|
|
162
|
+
id: str,
|
|
163
|
+
request: ling_mou_20250527_models.CreateChatSessionRequest,
|
|
164
|
+
headers: Dict[str, str],
|
|
165
|
+
runtime: util_models.RuntimeOptions,
|
|
166
|
+
) -> ling_mou_20250527_models.CreateChatSessionResponse:
|
|
167
|
+
"""
|
|
168
|
+
@summary 创建数字人会话
|
|
169
|
+
|
|
170
|
+
@param request: CreateChatSessionRequest
|
|
171
|
+
@param headers: map
|
|
172
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
173
|
+
@return: CreateChatSessionResponse
|
|
174
|
+
"""
|
|
175
|
+
UtilClient.validate_model(request)
|
|
176
|
+
query = {}
|
|
177
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
178
|
+
query['instanceId'] = request.instance_id
|
|
179
|
+
if not UtilClient.is_unset(request.license):
|
|
180
|
+
query['license'] = request.license
|
|
181
|
+
if not UtilClient.is_unset(request.platform):
|
|
182
|
+
query['platform'] = request.platform
|
|
183
|
+
req = open_api_models.OpenApiRequest(
|
|
184
|
+
headers=headers,
|
|
185
|
+
query=OpenApiUtilClient.query(query)
|
|
186
|
+
)
|
|
187
|
+
params = open_api_models.Params(
|
|
188
|
+
action='CreateChatSession',
|
|
189
|
+
version='2025-05-27',
|
|
190
|
+
protocol='HTTPS',
|
|
191
|
+
pathname=f'/openapi/chat/init/{OpenApiUtilClient.get_encode_param(id)}',
|
|
192
|
+
method='POST',
|
|
193
|
+
auth_type='AK',
|
|
194
|
+
style='ROA',
|
|
195
|
+
req_body_type='json',
|
|
196
|
+
body_type='json'
|
|
197
|
+
)
|
|
198
|
+
return TeaCore.from_map(
|
|
199
|
+
ling_mou_20250527_models.CreateChatSessionResponse(),
|
|
200
|
+
self.call_api(params, req, runtime)
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
async def create_chat_session_with_options_async(
|
|
204
|
+
self,
|
|
205
|
+
id: str,
|
|
206
|
+
request: ling_mou_20250527_models.CreateChatSessionRequest,
|
|
207
|
+
headers: Dict[str, str],
|
|
208
|
+
runtime: util_models.RuntimeOptions,
|
|
209
|
+
) -> ling_mou_20250527_models.CreateChatSessionResponse:
|
|
210
|
+
"""
|
|
211
|
+
@summary 创建数字人会话
|
|
212
|
+
|
|
213
|
+
@param request: CreateChatSessionRequest
|
|
214
|
+
@param headers: map
|
|
215
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
216
|
+
@return: CreateChatSessionResponse
|
|
217
|
+
"""
|
|
218
|
+
UtilClient.validate_model(request)
|
|
219
|
+
query = {}
|
|
220
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
221
|
+
query['instanceId'] = request.instance_id
|
|
222
|
+
if not UtilClient.is_unset(request.license):
|
|
223
|
+
query['license'] = request.license
|
|
224
|
+
if not UtilClient.is_unset(request.platform):
|
|
225
|
+
query['platform'] = request.platform
|
|
226
|
+
req = open_api_models.OpenApiRequest(
|
|
227
|
+
headers=headers,
|
|
228
|
+
query=OpenApiUtilClient.query(query)
|
|
229
|
+
)
|
|
230
|
+
params = open_api_models.Params(
|
|
231
|
+
action='CreateChatSession',
|
|
232
|
+
version='2025-05-27',
|
|
233
|
+
protocol='HTTPS',
|
|
234
|
+
pathname=f'/openapi/chat/init/{OpenApiUtilClient.get_encode_param(id)}',
|
|
235
|
+
method='POST',
|
|
236
|
+
auth_type='AK',
|
|
237
|
+
style='ROA',
|
|
238
|
+
req_body_type='json',
|
|
239
|
+
body_type='json'
|
|
240
|
+
)
|
|
241
|
+
return TeaCore.from_map(
|
|
242
|
+
ling_mou_20250527_models.CreateChatSessionResponse(),
|
|
243
|
+
await self.call_api_async(params, req, runtime)
|
|
244
|
+
)
|
|
245
|
+
|
|
246
|
+
def create_chat_session(
|
|
247
|
+
self,
|
|
248
|
+
id: str,
|
|
249
|
+
request: ling_mou_20250527_models.CreateChatSessionRequest,
|
|
250
|
+
) -> ling_mou_20250527_models.CreateChatSessionResponse:
|
|
251
|
+
"""
|
|
252
|
+
@summary 创建数字人会话
|
|
253
|
+
|
|
254
|
+
@param request: CreateChatSessionRequest
|
|
255
|
+
@return: CreateChatSessionResponse
|
|
256
|
+
"""
|
|
257
|
+
runtime = util_models.RuntimeOptions()
|
|
258
|
+
headers = {}
|
|
259
|
+
return self.create_chat_session_with_options(id, request, headers, runtime)
|
|
260
|
+
|
|
261
|
+
async def create_chat_session_async(
|
|
262
|
+
self,
|
|
263
|
+
id: str,
|
|
264
|
+
request: ling_mou_20250527_models.CreateChatSessionRequest,
|
|
265
|
+
) -> ling_mou_20250527_models.CreateChatSessionResponse:
|
|
266
|
+
"""
|
|
267
|
+
@summary 创建数字人会话
|
|
268
|
+
|
|
269
|
+
@param request: CreateChatSessionRequest
|
|
270
|
+
@return: CreateChatSessionResponse
|
|
271
|
+
"""
|
|
272
|
+
runtime = util_models.RuntimeOptions()
|
|
273
|
+
headers = {}
|
|
274
|
+
return await self.create_chat_session_with_options_async(id, request, headers, runtime)
|
|
275
|
+
|
|
276
|
+
def query_chat_instance_sessions_with_options(
|
|
277
|
+
self,
|
|
278
|
+
instance_id: str,
|
|
279
|
+
tmp_req: ling_mou_20250527_models.QueryChatInstanceSessionsRequest,
|
|
280
|
+
headers: Dict[str, str],
|
|
281
|
+
runtime: util_models.RuntimeOptions,
|
|
282
|
+
) -> ling_mou_20250527_models.QueryChatInstanceSessionsResponse:
|
|
283
|
+
"""
|
|
284
|
+
@summary 查询会话实例session
|
|
285
|
+
|
|
286
|
+
@param tmp_req: QueryChatInstanceSessionsRequest
|
|
287
|
+
@param headers: map
|
|
288
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
289
|
+
@return: QueryChatInstanceSessionsResponse
|
|
290
|
+
"""
|
|
291
|
+
UtilClient.validate_model(tmp_req)
|
|
292
|
+
request = ling_mou_20250527_models.QueryChatInstanceSessionsShrinkRequest()
|
|
293
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
294
|
+
if not UtilClient.is_unset(tmp_req.session_ids):
|
|
295
|
+
request.session_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.session_ids, 'sessionIds', 'json')
|
|
296
|
+
query = {}
|
|
297
|
+
if not UtilClient.is_unset(request.session_ids_shrink):
|
|
298
|
+
query['sessionIds'] = request.session_ids_shrink
|
|
299
|
+
req = open_api_models.OpenApiRequest(
|
|
300
|
+
headers=headers,
|
|
301
|
+
query=OpenApiUtilClient.query(query)
|
|
302
|
+
)
|
|
303
|
+
params = open_api_models.Params(
|
|
304
|
+
action='QueryChatInstanceSessions',
|
|
305
|
+
version='2025-05-27',
|
|
306
|
+
protocol='HTTPS',
|
|
307
|
+
pathname=f'/openapi/chat/instances/{OpenApiUtilClient.get_encode_param(instance_id)}/sessions',
|
|
308
|
+
method='GET',
|
|
309
|
+
auth_type='AK',
|
|
310
|
+
style='ROA',
|
|
311
|
+
req_body_type='json',
|
|
312
|
+
body_type='json'
|
|
313
|
+
)
|
|
314
|
+
return TeaCore.from_map(
|
|
315
|
+
ling_mou_20250527_models.QueryChatInstanceSessionsResponse(),
|
|
316
|
+
self.call_api(params, req, runtime)
|
|
317
|
+
)
|
|
318
|
+
|
|
319
|
+
async def query_chat_instance_sessions_with_options_async(
|
|
320
|
+
self,
|
|
321
|
+
instance_id: str,
|
|
322
|
+
tmp_req: ling_mou_20250527_models.QueryChatInstanceSessionsRequest,
|
|
323
|
+
headers: Dict[str, str],
|
|
324
|
+
runtime: util_models.RuntimeOptions,
|
|
325
|
+
) -> ling_mou_20250527_models.QueryChatInstanceSessionsResponse:
|
|
326
|
+
"""
|
|
327
|
+
@summary 查询会话实例session
|
|
328
|
+
|
|
329
|
+
@param tmp_req: QueryChatInstanceSessionsRequest
|
|
330
|
+
@param headers: map
|
|
331
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
332
|
+
@return: QueryChatInstanceSessionsResponse
|
|
333
|
+
"""
|
|
334
|
+
UtilClient.validate_model(tmp_req)
|
|
335
|
+
request = ling_mou_20250527_models.QueryChatInstanceSessionsShrinkRequest()
|
|
336
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
337
|
+
if not UtilClient.is_unset(tmp_req.session_ids):
|
|
338
|
+
request.session_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.session_ids, 'sessionIds', 'json')
|
|
339
|
+
query = {}
|
|
340
|
+
if not UtilClient.is_unset(request.session_ids_shrink):
|
|
341
|
+
query['sessionIds'] = request.session_ids_shrink
|
|
342
|
+
req = open_api_models.OpenApiRequest(
|
|
343
|
+
headers=headers,
|
|
344
|
+
query=OpenApiUtilClient.query(query)
|
|
345
|
+
)
|
|
346
|
+
params = open_api_models.Params(
|
|
347
|
+
action='QueryChatInstanceSessions',
|
|
348
|
+
version='2025-05-27',
|
|
349
|
+
protocol='HTTPS',
|
|
350
|
+
pathname=f'/openapi/chat/instances/{OpenApiUtilClient.get_encode_param(instance_id)}/sessions',
|
|
351
|
+
method='GET',
|
|
352
|
+
auth_type='AK',
|
|
353
|
+
style='ROA',
|
|
354
|
+
req_body_type='json',
|
|
355
|
+
body_type='json'
|
|
356
|
+
)
|
|
357
|
+
return TeaCore.from_map(
|
|
358
|
+
ling_mou_20250527_models.QueryChatInstanceSessionsResponse(),
|
|
359
|
+
await self.call_api_async(params, req, runtime)
|
|
360
|
+
)
|
|
361
|
+
|
|
362
|
+
def query_chat_instance_sessions(
|
|
363
|
+
self,
|
|
364
|
+
instance_id: str,
|
|
365
|
+
request: ling_mou_20250527_models.QueryChatInstanceSessionsRequest,
|
|
366
|
+
) -> ling_mou_20250527_models.QueryChatInstanceSessionsResponse:
|
|
367
|
+
"""
|
|
368
|
+
@summary 查询会话实例session
|
|
369
|
+
|
|
370
|
+
@param request: QueryChatInstanceSessionsRequest
|
|
371
|
+
@return: QueryChatInstanceSessionsResponse
|
|
372
|
+
"""
|
|
373
|
+
runtime = util_models.RuntimeOptions()
|
|
374
|
+
headers = {}
|
|
375
|
+
return self.query_chat_instance_sessions_with_options(instance_id, request, headers, runtime)
|
|
376
|
+
|
|
377
|
+
async def query_chat_instance_sessions_async(
|
|
378
|
+
self,
|
|
379
|
+
instance_id: str,
|
|
380
|
+
request: ling_mou_20250527_models.QueryChatInstanceSessionsRequest,
|
|
381
|
+
) -> ling_mou_20250527_models.QueryChatInstanceSessionsResponse:
|
|
382
|
+
"""
|
|
383
|
+
@summary 查询会话实例session
|
|
384
|
+
|
|
385
|
+
@param request: QueryChatInstanceSessionsRequest
|
|
386
|
+
@return: QueryChatInstanceSessionsResponse
|
|
387
|
+
"""
|
|
388
|
+
runtime = util_models.RuntimeOptions()
|
|
389
|
+
headers = {}
|
|
390
|
+
return await self.query_chat_instance_sessions_with_options_async(instance_id, request, headers, runtime)
|