alibabacloud-aimiaobi20230801 1.26.2__py3-none-any.whl → 1.26.4__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.
- alibabacloud_aimiaobi20230801/__init__.py +1 -1
- alibabacloud_aimiaobi20230801/client.py +4 -0
- alibabacloud_aimiaobi20230801/models.py +101 -0
- {alibabacloud_aimiaobi20230801-1.26.2.dist-info → alibabacloud_aimiaobi20230801-1.26.4.dist-info}/METADATA +1 -1
- alibabacloud_aimiaobi20230801-1.26.4.dist-info/RECORD +8 -0
- alibabacloud_aimiaobi20230801-1.26.2.dist-info/RECORD +0 -8
- {alibabacloud_aimiaobi20230801-1.26.2.dist-info → alibabacloud_aimiaobi20230801-1.26.4.dist-info}/LICENSE +0 -0
- {alibabacloud_aimiaobi20230801-1.26.2.dist-info → alibabacloud_aimiaobi20230801-1.26.4.dist-info}/WHEEL +0 -0
- {alibabacloud_aimiaobi20230801-1.26.2.dist-info → alibabacloud_aimiaobi20230801-1.26.4.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '1.26.
|
|
1
|
+
__version__ = '1.26.4'
|
|
@@ -11495,6 +11495,8 @@ class Client(OpenApiClient):
|
|
|
11495
11495
|
body['CleanCache'] = request.clean_cache
|
|
11496
11496
|
if not UtilClient.is_unset(request.doc_id):
|
|
11497
11497
|
body['DocId'] = request.doc_id
|
|
11498
|
+
if not UtilClient.is_unset(request.model_name):
|
|
11499
|
+
body['ModelName'] = request.model_name
|
|
11498
11500
|
if not UtilClient.is_unset(request.query):
|
|
11499
11501
|
body['Query'] = request.query
|
|
11500
11502
|
if not UtilClient.is_unset(request.recommend_content):
|
|
@@ -11540,6 +11542,8 @@ class Client(OpenApiClient):
|
|
|
11540
11542
|
body['CleanCache'] = request.clean_cache
|
|
11541
11543
|
if not UtilClient.is_unset(request.doc_id):
|
|
11542
11544
|
body['DocId'] = request.doc_id
|
|
11545
|
+
if not UtilClient.is_unset(request.model_name):
|
|
11546
|
+
body['ModelName'] = request.model_name
|
|
11543
11547
|
if not UtilClient.is_unset(request.query):
|
|
11544
11548
|
body['Query'] = request.query
|
|
11545
11549
|
if not UtilClient.is_unset(request.recommend_content):
|
|
@@ -11905,6 +11905,86 @@ class GetPropertiesResponseBodyDataIntelligentSearchConfig(TeaModel):
|
|
|
11905
11905
|
return self
|
|
11906
11906
|
|
|
11907
11907
|
|
|
11908
|
+
class GetPropertiesResponseBodyDataMiaosouConfigModelInfos(TeaModel):
|
|
11909
|
+
def __init__(
|
|
11910
|
+
self,
|
|
11911
|
+
model_id: str = None,
|
|
11912
|
+
model_name: str = None,
|
|
11913
|
+
):
|
|
11914
|
+
self.model_id = model_id
|
|
11915
|
+
self.model_name = model_name
|
|
11916
|
+
|
|
11917
|
+
def validate(self):
|
|
11918
|
+
pass
|
|
11919
|
+
|
|
11920
|
+
def to_map(self):
|
|
11921
|
+
_map = super().to_map()
|
|
11922
|
+
if _map is not None:
|
|
11923
|
+
return _map
|
|
11924
|
+
|
|
11925
|
+
result = dict()
|
|
11926
|
+
if self.model_id is not None:
|
|
11927
|
+
result['ModelId'] = self.model_id
|
|
11928
|
+
if self.model_name is not None:
|
|
11929
|
+
result['ModelName'] = self.model_name
|
|
11930
|
+
return result
|
|
11931
|
+
|
|
11932
|
+
def from_map(self, m: dict = None):
|
|
11933
|
+
m = m or dict()
|
|
11934
|
+
if m.get('ModelId') is not None:
|
|
11935
|
+
self.model_id = m.get('ModelId')
|
|
11936
|
+
if m.get('ModelName') is not None:
|
|
11937
|
+
self.model_name = m.get('ModelName')
|
|
11938
|
+
return self
|
|
11939
|
+
|
|
11940
|
+
|
|
11941
|
+
class GetPropertiesResponseBodyDataMiaosouConfig(TeaModel):
|
|
11942
|
+
def __init__(
|
|
11943
|
+
self,
|
|
11944
|
+
max_doc_size: int = None,
|
|
11945
|
+
model_infos: List[GetPropertiesResponseBodyDataMiaosouConfigModelInfos] = None,
|
|
11946
|
+
use_doc_size: int = None,
|
|
11947
|
+
):
|
|
11948
|
+
self.max_doc_size = max_doc_size
|
|
11949
|
+
self.model_infos = model_infos
|
|
11950
|
+
self.use_doc_size = use_doc_size
|
|
11951
|
+
|
|
11952
|
+
def validate(self):
|
|
11953
|
+
if self.model_infos:
|
|
11954
|
+
for k in self.model_infos:
|
|
11955
|
+
if k:
|
|
11956
|
+
k.validate()
|
|
11957
|
+
|
|
11958
|
+
def to_map(self):
|
|
11959
|
+
_map = super().to_map()
|
|
11960
|
+
if _map is not None:
|
|
11961
|
+
return _map
|
|
11962
|
+
|
|
11963
|
+
result = dict()
|
|
11964
|
+
if self.max_doc_size is not None:
|
|
11965
|
+
result['MaxDocSize'] = self.max_doc_size
|
|
11966
|
+
result['ModelInfos'] = []
|
|
11967
|
+
if self.model_infos is not None:
|
|
11968
|
+
for k in self.model_infos:
|
|
11969
|
+
result['ModelInfos'].append(k.to_map() if k else None)
|
|
11970
|
+
if self.use_doc_size is not None:
|
|
11971
|
+
result['UseDocSize'] = self.use_doc_size
|
|
11972
|
+
return result
|
|
11973
|
+
|
|
11974
|
+
def from_map(self, m: dict = None):
|
|
11975
|
+
m = m or dict()
|
|
11976
|
+
if m.get('MaxDocSize') is not None:
|
|
11977
|
+
self.max_doc_size = m.get('MaxDocSize')
|
|
11978
|
+
self.model_infos = []
|
|
11979
|
+
if m.get('ModelInfos') is not None:
|
|
11980
|
+
for k in m.get('ModelInfos'):
|
|
11981
|
+
temp_model = GetPropertiesResponseBodyDataMiaosouConfigModelInfos()
|
|
11982
|
+
self.model_infos.append(temp_model.from_map(k))
|
|
11983
|
+
if m.get('UseDocSize') is not None:
|
|
11984
|
+
self.use_doc_size = m.get('UseDocSize')
|
|
11985
|
+
return self
|
|
11986
|
+
|
|
11987
|
+
|
|
11908
11988
|
class GetPropertiesResponseBodyDataSearchSourceList(TeaModel):
|
|
11909
11989
|
def __init__(
|
|
11910
11990
|
self,
|
|
@@ -12101,6 +12181,7 @@ class GetPropertiesResponseBodyData(TeaModel):
|
|
|
12101
12181
|
console_config: GetPropertiesResponseBodyDataConsoleConfig = None,
|
|
12102
12182
|
general_config_map: Dict[str, Any] = None,
|
|
12103
12183
|
intelligent_search_config: GetPropertiesResponseBodyDataIntelligentSearchConfig = None,
|
|
12184
|
+
miaosou_config: GetPropertiesResponseBodyDataMiaosouConfig = None,
|
|
12104
12185
|
search_source_list: List[GetPropertiesResponseBodyDataSearchSourceList] = None,
|
|
12105
12186
|
search_sources: List[GetPropertiesResponseBodyDataSearchSources] = None,
|
|
12106
12187
|
slr_authorized: bool = None,
|
|
@@ -12112,6 +12193,7 @@ class GetPropertiesResponseBodyData(TeaModel):
|
|
|
12112
12193
|
self.console_config = console_config
|
|
12113
12194
|
self.general_config_map = general_config_map
|
|
12114
12195
|
self.intelligent_search_config = intelligent_search_config
|
|
12196
|
+
self.miaosou_config = miaosou_config
|
|
12115
12197
|
self.search_source_list = search_source_list
|
|
12116
12198
|
self.search_sources = search_sources
|
|
12117
12199
|
self.slr_authorized = slr_authorized
|
|
@@ -12124,6 +12206,8 @@ class GetPropertiesResponseBodyData(TeaModel):
|
|
|
12124
12206
|
self.console_config.validate()
|
|
12125
12207
|
if self.intelligent_search_config:
|
|
12126
12208
|
self.intelligent_search_config.validate()
|
|
12209
|
+
if self.miaosou_config:
|
|
12210
|
+
self.miaosou_config.validate()
|
|
12127
12211
|
if self.search_source_list:
|
|
12128
12212
|
for k in self.search_source_list:
|
|
12129
12213
|
if k:
|
|
@@ -12157,6 +12241,8 @@ class GetPropertiesResponseBodyData(TeaModel):
|
|
|
12157
12241
|
result['GeneralConfigMap'] = self.general_config_map
|
|
12158
12242
|
if self.intelligent_search_config is not None:
|
|
12159
12243
|
result['IntelligentSearchConfig'] = self.intelligent_search_config.to_map()
|
|
12244
|
+
if self.miaosou_config is not None:
|
|
12245
|
+
result['MiaosouConfig'] = self.miaosou_config.to_map()
|
|
12160
12246
|
result['SearchSourceList'] = []
|
|
12161
12247
|
if self.search_source_list is not None:
|
|
12162
12248
|
for k in self.search_source_list:
|
|
@@ -12191,6 +12277,9 @@ class GetPropertiesResponseBodyData(TeaModel):
|
|
|
12191
12277
|
if m.get('IntelligentSearchConfig') is not None:
|
|
12192
12278
|
temp_model = GetPropertiesResponseBodyDataIntelligentSearchConfig()
|
|
12193
12279
|
self.intelligent_search_config = temp_model.from_map(m['IntelligentSearchConfig'])
|
|
12280
|
+
if m.get('MiaosouConfig') is not None:
|
|
12281
|
+
temp_model = GetPropertiesResponseBodyDataMiaosouConfig()
|
|
12282
|
+
self.miaosou_config = temp_model.from_map(m['MiaosouConfig'])
|
|
12194
12283
|
self.search_source_list = []
|
|
12195
12284
|
if m.get('SearchSourceList') is not None:
|
|
12196
12285
|
for k in m.get('SearchSourceList'):
|
|
@@ -30901,6 +30990,7 @@ class RunDocSummaryRequest(TeaModel):
|
|
|
30901
30990
|
self,
|
|
30902
30991
|
clean_cache: bool = None,
|
|
30903
30992
|
doc_id: str = None,
|
|
30993
|
+
model_name: str = None,
|
|
30904
30994
|
query: str = None,
|
|
30905
30995
|
recommend_content: str = None,
|
|
30906
30996
|
session_id: str = None,
|
|
@@ -30908,6 +30998,7 @@ class RunDocSummaryRequest(TeaModel):
|
|
|
30908
30998
|
):
|
|
30909
30999
|
self.clean_cache = clean_cache
|
|
30910
31000
|
self.doc_id = doc_id
|
|
31001
|
+
self.model_name = model_name
|
|
30911
31002
|
self.query = query
|
|
30912
31003
|
self.recommend_content = recommend_content
|
|
30913
31004
|
# This parameter is required.
|
|
@@ -30928,6 +31019,8 @@ class RunDocSummaryRequest(TeaModel):
|
|
|
30928
31019
|
result['CleanCache'] = self.clean_cache
|
|
30929
31020
|
if self.doc_id is not None:
|
|
30930
31021
|
result['DocId'] = self.doc_id
|
|
31022
|
+
if self.model_name is not None:
|
|
31023
|
+
result['ModelName'] = self.model_name
|
|
30931
31024
|
if self.query is not None:
|
|
30932
31025
|
result['Query'] = self.query
|
|
30933
31026
|
if self.recommend_content is not None:
|
|
@@ -30944,6 +31037,8 @@ class RunDocSummaryRequest(TeaModel):
|
|
|
30944
31037
|
self.clean_cache = m.get('CleanCache')
|
|
30945
31038
|
if m.get('DocId') is not None:
|
|
30946
31039
|
self.doc_id = m.get('DocId')
|
|
31040
|
+
if m.get('ModelName') is not None:
|
|
31041
|
+
self.model_name = m.get('ModelName')
|
|
30947
31042
|
if m.get('Query') is not None:
|
|
30948
31043
|
self.query = m.get('Query')
|
|
30949
31044
|
if m.get('RecommendContent') is not None:
|
|
@@ -33899,11 +33994,13 @@ class RunSearchGenerationRequestChatConfigSearchParam(TeaModel):
|
|
|
33899
33994
|
class RunSearchGenerationRequestChatConfig(TeaModel):
|
|
33900
33995
|
def __init__(
|
|
33901
33996
|
self,
|
|
33997
|
+
enable_thinking: bool = None,
|
|
33902
33998
|
generate_level: str = None,
|
|
33903
33999
|
generate_technology: str = None,
|
|
33904
34000
|
search_models: List[str] = None,
|
|
33905
34001
|
search_param: RunSearchGenerationRequestChatConfigSearchParam = None,
|
|
33906
34002
|
):
|
|
34003
|
+
self.enable_thinking = enable_thinking
|
|
33907
34004
|
self.generate_level = generate_level
|
|
33908
34005
|
self.generate_technology = generate_technology
|
|
33909
34006
|
self.search_models = search_models
|
|
@@ -33919,6 +34016,8 @@ class RunSearchGenerationRequestChatConfig(TeaModel):
|
|
|
33919
34016
|
return _map
|
|
33920
34017
|
|
|
33921
34018
|
result = dict()
|
|
34019
|
+
if self.enable_thinking is not None:
|
|
34020
|
+
result['EnableThinking'] = self.enable_thinking
|
|
33922
34021
|
if self.generate_level is not None:
|
|
33923
34022
|
result['GenerateLevel'] = self.generate_level
|
|
33924
34023
|
if self.generate_technology is not None:
|
|
@@ -33931,6 +34030,8 @@ class RunSearchGenerationRequestChatConfig(TeaModel):
|
|
|
33931
34030
|
|
|
33932
34031
|
def from_map(self, m: dict = None):
|
|
33933
34032
|
m = m or dict()
|
|
34033
|
+
if m.get('EnableThinking') is not None:
|
|
34034
|
+
self.enable_thinking = m.get('EnableThinking')
|
|
33934
34035
|
if m.get('GenerateLevel') is not None:
|
|
33935
34036
|
self.generate_level = m.get('GenerateLevel')
|
|
33936
34037
|
if m.get('GenerateTechnology') is not None:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_aimiaobi20230801/__init__.py,sha256=0boEa7N17OokuZBtl2P-6gtAAVBsQ4vnTvhjCHd46nA,22
|
|
2
|
+
alibabacloud_aimiaobi20230801/client.py,sha256=aCt92D2iP8zLZ_txYILzHrA1-JbV7530nt4qHUvmhIY,674776
|
|
3
|
+
alibabacloud_aimiaobi20230801/models.py,sha256=_sAWp_FKzIDEE05rmloFIEFdUJENAkpQfxgABomXNgA,1656207
|
|
4
|
+
alibabacloud_aimiaobi20230801-1.26.4.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_aimiaobi20230801-1.26.4.dist-info/METADATA,sha256=IhXoGAhk33B_X95SmrYlTtTBhiQ35vwZmXumdCjUbZQ,2348
|
|
6
|
+
alibabacloud_aimiaobi20230801-1.26.4.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_aimiaobi20230801-1.26.4.dist-info/top_level.txt,sha256=8_10N8zQLrK-NI6L5TUyufvojDqjPl1Q-dHKwoC_b5Q,30
|
|
8
|
+
alibabacloud_aimiaobi20230801-1.26.4.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_aimiaobi20230801/__init__.py,sha256=s2opz9sC5pA7gthHE_BqmNIC52e9XIdb6zEmwSL-gyE,22
|
|
2
|
-
alibabacloud_aimiaobi20230801/client.py,sha256=1LW4RBlcpJkHavPTXlS_8AO5IHBZfpY0LdQzECpbVlo,674562
|
|
3
|
-
alibabacloud_aimiaobi20230801/models.py,sha256=Ei3Qq91_2-Hd-6dHwI_dtRkYpIyUZR7Kd_RrFcE9uGk,1652692
|
|
4
|
-
alibabacloud_aimiaobi20230801-1.26.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_aimiaobi20230801-1.26.2.dist-info/METADATA,sha256=3fuwnxFu1E2756hk9kgm5LlGwGckgWaqAXUoIEtDBFk,2348
|
|
6
|
-
alibabacloud_aimiaobi20230801-1.26.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_aimiaobi20230801-1.26.2.dist-info/top_level.txt,sha256=8_10N8zQLrK-NI6L5TUyufvojDqjPl1Q-dHKwoC_b5Q,30
|
|
8
|
-
alibabacloud_aimiaobi20230801-1.26.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|