Skip to content

Commit c4ac173

Browse files
committed
Update API RunDocSummary: add request parameters ModelName.
1 parent a1c0b49 commit c4ac173

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

aimiaobi-20230801/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-05-27 Version: 1.26.3
2+
- Update API RunDocSummary: add request parameters ModelName.
3+
4+
15
2025-05-23 Version: 1.26.2
26
- Update API GetGeneratedContent: add response parameters Body.Data.IgnoreContentAuditWords.
37

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.26.2'
1+
__version__ = '1.26.3'

aimiaobi-20230801/alibabacloud_aimiaobi20230801/client.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11495,6 +11495,8 @@ def run_doc_summary_with_options(
1149511495
body['CleanCache'] = request.clean_cache
1149611496
if not UtilClient.is_unset(request.doc_id):
1149711497
body['DocId'] = request.doc_id
11498+
if not UtilClient.is_unset(request.model_name):
11499+
body['ModelName'] = request.model_name
1149811500
if not UtilClient.is_unset(request.query):
1149911501
body['Query'] = request.query
1150011502
if not UtilClient.is_unset(request.recommend_content):
@@ -11540,6 +11542,8 @@ async def run_doc_summary_with_options_async(
1154011542
body['CleanCache'] = request.clean_cache
1154111543
if not UtilClient.is_unset(request.doc_id):
1154211544
body['DocId'] = request.doc_id
11545+
if not UtilClient.is_unset(request.model_name):
11546+
body['ModelName'] = request.model_name
1154311547
if not UtilClient.is_unset(request.query):
1154411548
body['Query'] = request.query
1154511549
if not UtilClient.is_unset(request.recommend_content):

aimiaobi-20230801/alibabacloud_aimiaobi20230801/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30901,13 +30901,15 @@ def __init__(
3090130901
self,
3090230902
clean_cache: bool = None,
3090330903
doc_id: str = None,
30904+
model_name: str = None,
3090430905
query: str = None,
3090530906
recommend_content: str = None,
3090630907
session_id: str = None,
3090730908
workspace_id: str = None,
3090830909
):
3090930910
self.clean_cache = clean_cache
3091030911
self.doc_id = doc_id
30912+
self.model_name = model_name
3091130913
self.query = query
3091230914
self.recommend_content = recommend_content
3091330915
# This parameter is required.
@@ -30928,6 +30930,8 @@ def to_map(self):
3092830930
result['CleanCache'] = self.clean_cache
3092930931
if self.doc_id is not None:
3093030932
result['DocId'] = self.doc_id
30933+
if self.model_name is not None:
30934+
result['ModelName'] = self.model_name
3093130935
if self.query is not None:
3093230936
result['Query'] = self.query
3093330937
if self.recommend_content is not None:
@@ -30944,6 +30948,8 @@ def from_map(self, m: dict = None):
3094430948
self.clean_cache = m.get('CleanCache')
3094530949
if m.get('DocId') is not None:
3094630950
self.doc_id = m.get('DocId')
30951+
if m.get('ModelName') is not None:
30952+
self.model_name = m.get('ModelName')
3094730953
if m.get('Query') is not None:
3094830954
self.query = m.get('Query')
3094930955
if m.get('RecommendContent') is not None:

aimiaobi-20230801/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"""
2525
setup module for alibabacloud_aimiaobi20230801.
2626
27-
Created on 23/05/2025
27+
Created on 27/05/2025
2828
2929
@author: Alibaba Cloud SDK
3030
"""

0 commit comments

Comments
 (0)