tencentcloud-sdk-python-apis 3.1.67__tar.gz → 3.1.82__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.
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/setup.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/models.py +310 -138
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_apis-3.1.82/tencentcloud_sdk_python_apis.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_apis-3.1.67/tencentcloud_sdk_python_apis.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/README.rst +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/setup.cfg +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/__init__.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/apis_client.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/apis_client_async.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud/apis/v20240801/errorcodes.py +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_apis-3.1.67 → tencentcloud_sdk_python_apis-3.1.82}/tencentcloud_sdk_python_apis.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apis
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.82
|
|
4
4
|
Summary: Tencent Cloud Apis SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-apis',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.82,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Apis SDK for Python',
|
|
@@ -1938,44 +1938,48 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
1938
1938
|
|
|
1939
1939
|
def __init__(self):
|
|
1940
1940
|
r"""
|
|
1941
|
-
:param _InstanceID:
|
|
1941
|
+
:param _InstanceID: <p>实例</p>
|
|
1942
1942
|
:type InstanceID: str
|
|
1943
|
-
:param _Name:
|
|
1943
|
+
:param _Name: <p>模型服务名称</p>
|
|
1944
1944
|
:type Name: str
|
|
1945
|
-
:param _Description:
|
|
1945
|
+
:param _Description: <p>描述</p>
|
|
1946
1946
|
:type Description: str
|
|
1947
|
-
:param _PubPath:
|
|
1947
|
+
:param _PubPath: <p>访问路径</p>
|
|
1948
1948
|
:type PubPath: str
|
|
1949
|
-
:param _TargetModels:
|
|
1949
|
+
:param _TargetModels: <p>模型ID列表</p>
|
|
1950
1950
|
:type TargetModels: list of TargetModelDTO
|
|
1951
|
-
:param _PathMatchType:
|
|
1951
|
+
:param _PathMatchType: <p>路径匹配类型: prefix 前缀匹配(不送默认); absolute 绝对匹配; regex正则匹配;</p>
|
|
1952
1952
|
:type PathMatchType: str
|
|
1953
|
-
:param _InvokeLimitConfigStatus:
|
|
1953
|
+
:param _InvokeLimitConfigStatus: <p>是否开启限流</p>
|
|
1954
1954
|
:type InvokeLimitConfigStatus: bool
|
|
1955
|
-
:param _InvokeLimitConfig:
|
|
1955
|
+
:param _InvokeLimitConfig: <p>限流配置</p>
|
|
1956
1956
|
:type InvokeLimitConfig: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
1957
|
-
:param _TokenLimitStatus:
|
|
1957
|
+
:param _TokenLimitStatus: <p>是否开启token控制</p>
|
|
1958
1958
|
:type TokenLimitStatus: bool
|
|
1959
|
-
:param _TokenLimitConfig: token
|
|
1959
|
+
:param _TokenLimitConfig: <p>token控制</p>
|
|
1960
1960
|
:type TokenLimitConfig: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
1961
|
-
:param _TmsStatus:
|
|
1961
|
+
:param _TmsStatus: <p>是否开启内容安全</p>
|
|
1962
1962
|
:type TmsStatus: bool
|
|
1963
|
-
:param _TmsConfig:
|
|
1963
|
+
:param _TmsConfig: <p>内容安全配置</p>
|
|
1964
1964
|
:type TmsConfig: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
1965
|
-
:param _IpWhiteStatus:
|
|
1965
|
+
:param _IpWhiteStatus: <p>是否开启IP白名单</p>
|
|
1966
1966
|
:type IpWhiteStatus: bool
|
|
1967
|
-
:param _IpWhiteList: IP
|
|
1967
|
+
:param _IpWhiteList: <p>IP白名单</p>
|
|
1968
1968
|
:type IpWhiteList: list of str
|
|
1969
|
-
:param _IpBlackList: IP
|
|
1969
|
+
:param _IpBlackList: <p>IP黑名单</p>
|
|
1970
1970
|
:type IpBlackList: list of str
|
|
1971
|
-
:param _PluginConfigs:
|
|
1971
|
+
:param _PluginConfigs: <p>插件配置</p>
|
|
1972
1972
|
:type PluginConfigs: list of PluginConfigDTO
|
|
1973
|
-
:param _Timeout:
|
|
1973
|
+
:param _Timeout: <p>超时配置,秒</p>
|
|
1974
1974
|
:type Timeout: int
|
|
1975
|
-
:param _PromptModerateStatus:
|
|
1975
|
+
:param _PromptModerateStatus: <p>是否开启提示词安全检测</p>
|
|
1976
1976
|
:type PromptModerateStatus: bool
|
|
1977
|
-
:param _PromptModerateConfig:
|
|
1977
|
+
:param _PromptModerateConfig: <p>提示词安全检测配置</p>
|
|
1978
1978
|
:type PromptModerateConfig: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
1979
|
+
:param _SensitiveDataCheckStatus: <p>是否开启敏感数据检测</p>
|
|
1980
|
+
:type SensitiveDataCheckStatus: bool
|
|
1981
|
+
:param _SensitiveDataCheckConfig: <p>敏感数据检测配置</p>
|
|
1982
|
+
:type SensitiveDataCheckConfig: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
1979
1983
|
"""
|
|
1980
1984
|
self._InstanceID = None
|
|
1981
1985
|
self._Name = None
|
|
@@ -1996,10 +2000,12 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
1996
2000
|
self._Timeout = None
|
|
1997
2001
|
self._PromptModerateStatus = None
|
|
1998
2002
|
self._PromptModerateConfig = None
|
|
2003
|
+
self._SensitiveDataCheckStatus = None
|
|
2004
|
+
self._SensitiveDataCheckConfig = None
|
|
1999
2005
|
|
|
2000
2006
|
@property
|
|
2001
2007
|
def InstanceID(self):
|
|
2002
|
-
r"""
|
|
2008
|
+
r"""<p>实例</p>
|
|
2003
2009
|
:rtype: str
|
|
2004
2010
|
"""
|
|
2005
2011
|
return self._InstanceID
|
|
@@ -2010,7 +2016,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2010
2016
|
|
|
2011
2017
|
@property
|
|
2012
2018
|
def Name(self):
|
|
2013
|
-
r"""
|
|
2019
|
+
r"""<p>模型服务名称</p>
|
|
2014
2020
|
:rtype: str
|
|
2015
2021
|
"""
|
|
2016
2022
|
return self._Name
|
|
@@ -2021,7 +2027,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2021
2027
|
|
|
2022
2028
|
@property
|
|
2023
2029
|
def Description(self):
|
|
2024
|
-
r"""
|
|
2030
|
+
r"""<p>描述</p>
|
|
2025
2031
|
:rtype: str
|
|
2026
2032
|
"""
|
|
2027
2033
|
return self._Description
|
|
@@ -2032,7 +2038,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2032
2038
|
|
|
2033
2039
|
@property
|
|
2034
2040
|
def PubPath(self):
|
|
2035
|
-
r"""
|
|
2041
|
+
r"""<p>访问路径</p>
|
|
2036
2042
|
:rtype: str
|
|
2037
2043
|
"""
|
|
2038
2044
|
return self._PubPath
|
|
@@ -2043,7 +2049,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2043
2049
|
|
|
2044
2050
|
@property
|
|
2045
2051
|
def TargetModels(self):
|
|
2046
|
-
r"""
|
|
2052
|
+
r"""<p>模型ID列表</p>
|
|
2047
2053
|
:rtype: list of TargetModelDTO
|
|
2048
2054
|
"""
|
|
2049
2055
|
return self._TargetModels
|
|
@@ -2054,7 +2060,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2054
2060
|
|
|
2055
2061
|
@property
|
|
2056
2062
|
def PathMatchType(self):
|
|
2057
|
-
r"""
|
|
2063
|
+
r"""<p>路径匹配类型: prefix 前缀匹配(不送默认); absolute 绝对匹配; regex正则匹配;</p>
|
|
2058
2064
|
:rtype: str
|
|
2059
2065
|
"""
|
|
2060
2066
|
return self._PathMatchType
|
|
@@ -2065,7 +2071,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2065
2071
|
|
|
2066
2072
|
@property
|
|
2067
2073
|
def InvokeLimitConfigStatus(self):
|
|
2068
|
-
r"""
|
|
2074
|
+
r"""<p>是否开启限流</p>
|
|
2069
2075
|
:rtype: bool
|
|
2070
2076
|
"""
|
|
2071
2077
|
return self._InvokeLimitConfigStatus
|
|
@@ -2076,7 +2082,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2076
2082
|
|
|
2077
2083
|
@property
|
|
2078
2084
|
def InvokeLimitConfig(self):
|
|
2079
|
-
r"""
|
|
2085
|
+
r"""<p>限流配置</p>
|
|
2080
2086
|
:rtype: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
2081
2087
|
"""
|
|
2082
2088
|
return self._InvokeLimitConfig
|
|
@@ -2087,7 +2093,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2087
2093
|
|
|
2088
2094
|
@property
|
|
2089
2095
|
def TokenLimitStatus(self):
|
|
2090
|
-
r"""
|
|
2096
|
+
r"""<p>是否开启token控制</p>
|
|
2091
2097
|
:rtype: bool
|
|
2092
2098
|
"""
|
|
2093
2099
|
return self._TokenLimitStatus
|
|
@@ -2098,7 +2104,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2098
2104
|
|
|
2099
2105
|
@property
|
|
2100
2106
|
def TokenLimitConfig(self):
|
|
2101
|
-
r"""token
|
|
2107
|
+
r"""<p>token控制</p>
|
|
2102
2108
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
2103
2109
|
"""
|
|
2104
2110
|
return self._TokenLimitConfig
|
|
@@ -2109,7 +2115,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2109
2115
|
|
|
2110
2116
|
@property
|
|
2111
2117
|
def TmsStatus(self):
|
|
2112
|
-
r"""
|
|
2118
|
+
r"""<p>是否开启内容安全</p>
|
|
2113
2119
|
:rtype: bool
|
|
2114
2120
|
"""
|
|
2115
2121
|
return self._TmsStatus
|
|
@@ -2120,7 +2126,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2120
2126
|
|
|
2121
2127
|
@property
|
|
2122
2128
|
def TmsConfig(self):
|
|
2123
|
-
r"""
|
|
2129
|
+
r"""<p>内容安全配置</p>
|
|
2124
2130
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
2125
2131
|
"""
|
|
2126
2132
|
return self._TmsConfig
|
|
@@ -2131,7 +2137,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2131
2137
|
|
|
2132
2138
|
@property
|
|
2133
2139
|
def IpWhiteStatus(self):
|
|
2134
|
-
r"""
|
|
2140
|
+
r"""<p>是否开启IP白名单</p>
|
|
2135
2141
|
:rtype: bool
|
|
2136
2142
|
"""
|
|
2137
2143
|
return self._IpWhiteStatus
|
|
@@ -2142,7 +2148,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2142
2148
|
|
|
2143
2149
|
@property
|
|
2144
2150
|
def IpWhiteList(self):
|
|
2145
|
-
r"""IP
|
|
2151
|
+
r"""<p>IP白名单</p>
|
|
2146
2152
|
:rtype: list of str
|
|
2147
2153
|
"""
|
|
2148
2154
|
return self._IpWhiteList
|
|
@@ -2153,7 +2159,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2153
2159
|
|
|
2154
2160
|
@property
|
|
2155
2161
|
def IpBlackList(self):
|
|
2156
|
-
r"""IP
|
|
2162
|
+
r"""<p>IP黑名单</p>
|
|
2157
2163
|
:rtype: list of str
|
|
2158
2164
|
"""
|
|
2159
2165
|
return self._IpBlackList
|
|
@@ -2164,7 +2170,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2164
2170
|
|
|
2165
2171
|
@property
|
|
2166
2172
|
def PluginConfigs(self):
|
|
2167
|
-
r"""
|
|
2173
|
+
r"""<p>插件配置</p>
|
|
2168
2174
|
:rtype: list of PluginConfigDTO
|
|
2169
2175
|
"""
|
|
2170
2176
|
return self._PluginConfigs
|
|
@@ -2175,7 +2181,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2175
2181
|
|
|
2176
2182
|
@property
|
|
2177
2183
|
def Timeout(self):
|
|
2178
|
-
r"""
|
|
2184
|
+
r"""<p>超时配置,秒</p>
|
|
2179
2185
|
:rtype: int
|
|
2180
2186
|
"""
|
|
2181
2187
|
return self._Timeout
|
|
@@ -2186,7 +2192,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2186
2192
|
|
|
2187
2193
|
@property
|
|
2188
2194
|
def PromptModerateStatus(self):
|
|
2189
|
-
r"""
|
|
2195
|
+
r"""<p>是否开启提示词安全检测</p>
|
|
2190
2196
|
:rtype: bool
|
|
2191
2197
|
"""
|
|
2192
2198
|
return self._PromptModerateStatus
|
|
@@ -2197,7 +2203,7 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2197
2203
|
|
|
2198
2204
|
@property
|
|
2199
2205
|
def PromptModerateConfig(self):
|
|
2200
|
-
r"""
|
|
2206
|
+
r"""<p>提示词安全检测配置</p>
|
|
2201
2207
|
:rtype: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
2202
2208
|
"""
|
|
2203
2209
|
return self._PromptModerateConfig
|
|
@@ -2206,6 +2212,28 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2206
2212
|
def PromptModerateConfig(self, PromptModerateConfig):
|
|
2207
2213
|
self._PromptModerateConfig = PromptModerateConfig
|
|
2208
2214
|
|
|
2215
|
+
@property
|
|
2216
|
+
def SensitiveDataCheckStatus(self):
|
|
2217
|
+
r"""<p>是否开启敏感数据检测</p>
|
|
2218
|
+
:rtype: bool
|
|
2219
|
+
"""
|
|
2220
|
+
return self._SensitiveDataCheckStatus
|
|
2221
|
+
|
|
2222
|
+
@SensitiveDataCheckStatus.setter
|
|
2223
|
+
def SensitiveDataCheckStatus(self, SensitiveDataCheckStatus):
|
|
2224
|
+
self._SensitiveDataCheckStatus = SensitiveDataCheckStatus
|
|
2225
|
+
|
|
2226
|
+
@property
|
|
2227
|
+
def SensitiveDataCheckConfig(self):
|
|
2228
|
+
r"""<p>敏感数据检测配置</p>
|
|
2229
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
2230
|
+
"""
|
|
2231
|
+
return self._SensitiveDataCheckConfig
|
|
2232
|
+
|
|
2233
|
+
@SensitiveDataCheckConfig.setter
|
|
2234
|
+
def SensitiveDataCheckConfig(self, SensitiveDataCheckConfig):
|
|
2235
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfig
|
|
2236
|
+
|
|
2209
2237
|
|
|
2210
2238
|
def _deserialize(self, params):
|
|
2211
2239
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -2245,6 +2273,10 @@ class CreateModelServiceRequest(AbstractModel):
|
|
|
2245
2273
|
if params.get("PromptModerateConfig") is not None:
|
|
2246
2274
|
self._PromptModerateConfig = PromptModerateConfigDTO()
|
|
2247
2275
|
self._PromptModerateConfig._deserialize(params.get("PromptModerateConfig"))
|
|
2276
|
+
self._SensitiveDataCheckStatus = params.get("SensitiveDataCheckStatus")
|
|
2277
|
+
if params.get("SensitiveDataCheckConfig") is not None:
|
|
2278
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfigDTO()
|
|
2279
|
+
self._SensitiveDataCheckConfig._deserialize(params.get("SensitiveDataCheckConfig"))
|
|
2248
2280
|
memeber_set = set(params.keys())
|
|
2249
2281
|
for name, value in vars(self).items():
|
|
2250
2282
|
property_name = name[1:]
|
|
@@ -2262,7 +2294,7 @@ class CreateModelServiceResponse(AbstractModel):
|
|
|
2262
2294
|
|
|
2263
2295
|
def __init__(self):
|
|
2264
2296
|
r"""
|
|
2265
|
-
:param _Data:
|
|
2297
|
+
:param _Data: <p>结果集</p>
|
|
2266
2298
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
2267
2299
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2268
2300
|
:type RequestId: str
|
|
@@ -2272,7 +2304,7 @@ class CreateModelServiceResponse(AbstractModel):
|
|
|
2272
2304
|
|
|
2273
2305
|
@property
|
|
2274
2306
|
def Data(self):
|
|
2275
|
-
r"""
|
|
2307
|
+
r"""<p>结果集</p>
|
|
2276
2308
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
2277
2309
|
"""
|
|
2278
2310
|
return self._Data
|
|
@@ -5762,71 +5794,77 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5762
5794
|
|
|
5763
5795
|
def __init__(self):
|
|
5764
5796
|
r"""
|
|
5765
|
-
:param _AppID:
|
|
5797
|
+
:param _AppID: <p>腾讯云AppID</p>
|
|
5766
5798
|
:type AppID: int
|
|
5767
|
-
:param _Uin:
|
|
5799
|
+
:param _Uin: <p>腾讯云Uin</p>
|
|
5768
5800
|
:type Uin: str
|
|
5769
|
-
:param _InstanceID:
|
|
5801
|
+
:param _InstanceID: <p>实例ID</p>
|
|
5770
5802
|
:type InstanceID: str
|
|
5771
|
-
:param _ID:
|
|
5803
|
+
:param _ID: <p>模型ID</p>
|
|
5772
5804
|
:type ID: str
|
|
5773
|
-
:param _Name:
|
|
5805
|
+
:param _Name: <p>模型名称</p>
|
|
5774
5806
|
:type Name: str
|
|
5775
|
-
:param _Description:
|
|
5807
|
+
:param _Description: <p>描述</p>
|
|
5776
5808
|
:type Description: str
|
|
5777
|
-
:param _PubPath:
|
|
5809
|
+
:param _PubPath: <p>访问路径</p>
|
|
5778
5810
|
:type PubPath: str
|
|
5779
|
-
:param _PathMatchType:
|
|
5811
|
+
:param _PathMatchType: <p>路径匹配方式:absolute,prefix,regex</p>
|
|
5780
5812
|
:type PathMatchType: str
|
|
5781
|
-
:param _TargetModels:
|
|
5813
|
+
:param _TargetModels: <p>目标模型列表</p>
|
|
5782
5814
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5783
5815
|
:type TargetModels: list of TargetModelDTO
|
|
5784
|
-
:param _ModelNames:
|
|
5816
|
+
:param _ModelNames: <p>模板模型的名称列表</p>
|
|
5785
5817
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5786
5818
|
:type ModelNames: list of str
|
|
5787
|
-
:param _InvokeLimitConfigStatus:
|
|
5819
|
+
:param _InvokeLimitConfigStatus: <p>是否开启限流</p>
|
|
5788
5820
|
:type InvokeLimitConfigStatus: bool
|
|
5789
|
-
:param _InvokeLimitConfig:
|
|
5821
|
+
:param _InvokeLimitConfig: <p>限流配置</p>
|
|
5790
5822
|
:type InvokeLimitConfig: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
5791
|
-
:param _CreateTime:
|
|
5823
|
+
:param _CreateTime: <p>创建时间</p>
|
|
5792
5824
|
:type CreateTime: str
|
|
5793
|
-
:param _LastUpdateTime:
|
|
5825
|
+
:param _LastUpdateTime: <p>最后修改时间</p>
|
|
5794
5826
|
:type LastUpdateTime: str
|
|
5795
|
-
:param _TokenLimitStatus:
|
|
5827
|
+
:param _TokenLimitStatus: <p>是否开启token控制</p>
|
|
5796
5828
|
:type TokenLimitStatus: bool
|
|
5797
|
-
:param _TokenLimitConfig: token
|
|
5829
|
+
:param _TokenLimitConfig: <p>token控制</p>
|
|
5798
5830
|
:type TokenLimitConfig: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
5799
|
-
:param _TmsStatus:
|
|
5831
|
+
:param _TmsStatus: <p>是否开启tms配置</p>
|
|
5800
5832
|
:type TmsStatus: bool
|
|
5801
|
-
:param _TmsConfig: tms
|
|
5833
|
+
:param _TmsConfig: <p>tms配置</p>
|
|
5802
5834
|
:type TmsConfig: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
5803
|
-
:param _IpWhiteStatus:
|
|
5835
|
+
:param _IpWhiteStatus: <p>是否开启IP白名单</p>
|
|
5804
5836
|
:type IpWhiteStatus: bool
|
|
5805
|
-
:param _IpWhiteList: IP
|
|
5837
|
+
:param _IpWhiteList: <p>IP白名单列表</p>
|
|
5806
5838
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5807
5839
|
:type IpWhiteList: list of str
|
|
5808
|
-
:param _IpBlackStatus:
|
|
5840
|
+
:param _IpBlackStatus: <p>是否开启IP黑名单</p>
|
|
5809
5841
|
:type IpBlackStatus: bool
|
|
5810
|
-
:param _IpBlackList: IP
|
|
5842
|
+
:param _IpBlackList: <p>IP黑名单列表</p>
|
|
5811
5843
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5812
5844
|
:type IpBlackList: list of str
|
|
5813
|
-
:param _PluginConfigs:
|
|
5845
|
+
:param _PluginConfigs: <p>插件配置</p>
|
|
5814
5846
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5815
5847
|
:type PluginConfigs: list of PluginConfigDTO
|
|
5816
|
-
:param _Timeout:
|
|
5848
|
+
:param _Timeout: <p>超时配置,单位秒</p>
|
|
5817
5849
|
:type Timeout: int
|
|
5818
|
-
:param _Status:
|
|
5850
|
+
:param _Status: <p>状态:normal,disabled</p>
|
|
5819
5851
|
:type Status: str
|
|
5820
|
-
:param _RelateAgentAppNum:
|
|
5852
|
+
:param _RelateAgentAppNum: <p>关联应用数</p>
|
|
5821
5853
|
:type RelateAgentAppNum: int
|
|
5822
|
-
:param _Url:
|
|
5854
|
+
:param _Url: <p>请求路径</p>
|
|
5823
5855
|
:type Url: str
|
|
5824
|
-
:param _PromptModerateStatus:
|
|
5856
|
+
:param _PromptModerateStatus: <p>是否开启提示词安全检测</p>
|
|
5825
5857
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5826
5858
|
:type PromptModerateStatus: bool
|
|
5827
|
-
:param _PromptModerateConfig:
|
|
5859
|
+
:param _PromptModerateConfig: <p>提示词安全检测配置</p>
|
|
5828
5860
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5829
5861
|
:type PromptModerateConfig: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
5862
|
+
:param _SensitiveDataCheckStatus: <p>是否开启敏感数据检测</p>
|
|
5863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5864
|
+
:type SensitiveDataCheckStatus: bool
|
|
5865
|
+
:param _SensitiveDataCheckConfig: <p>敏感数据检测配置</p>
|
|
5866
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5867
|
+
:type SensitiveDataCheckConfig: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
5830
5868
|
"""
|
|
5831
5869
|
self._AppID = None
|
|
5832
5870
|
self._Uin = None
|
|
@@ -5857,10 +5895,12 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5857
5895
|
self._Url = None
|
|
5858
5896
|
self._PromptModerateStatus = None
|
|
5859
5897
|
self._PromptModerateConfig = None
|
|
5898
|
+
self._SensitiveDataCheckStatus = None
|
|
5899
|
+
self._SensitiveDataCheckConfig = None
|
|
5860
5900
|
|
|
5861
5901
|
@property
|
|
5862
5902
|
def AppID(self):
|
|
5863
|
-
r"""
|
|
5903
|
+
r"""<p>腾讯云AppID</p>
|
|
5864
5904
|
:rtype: int
|
|
5865
5905
|
"""
|
|
5866
5906
|
return self._AppID
|
|
@@ -5871,7 +5911,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5871
5911
|
|
|
5872
5912
|
@property
|
|
5873
5913
|
def Uin(self):
|
|
5874
|
-
r"""
|
|
5914
|
+
r"""<p>腾讯云Uin</p>
|
|
5875
5915
|
:rtype: str
|
|
5876
5916
|
"""
|
|
5877
5917
|
return self._Uin
|
|
@@ -5882,7 +5922,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5882
5922
|
|
|
5883
5923
|
@property
|
|
5884
5924
|
def InstanceID(self):
|
|
5885
|
-
r"""
|
|
5925
|
+
r"""<p>实例ID</p>
|
|
5886
5926
|
:rtype: str
|
|
5887
5927
|
"""
|
|
5888
5928
|
return self._InstanceID
|
|
@@ -5893,7 +5933,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5893
5933
|
|
|
5894
5934
|
@property
|
|
5895
5935
|
def ID(self):
|
|
5896
|
-
r"""
|
|
5936
|
+
r"""<p>模型ID</p>
|
|
5897
5937
|
:rtype: str
|
|
5898
5938
|
"""
|
|
5899
5939
|
return self._ID
|
|
@@ -5904,7 +5944,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5904
5944
|
|
|
5905
5945
|
@property
|
|
5906
5946
|
def Name(self):
|
|
5907
|
-
r"""
|
|
5947
|
+
r"""<p>模型名称</p>
|
|
5908
5948
|
:rtype: str
|
|
5909
5949
|
"""
|
|
5910
5950
|
return self._Name
|
|
@@ -5915,7 +5955,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5915
5955
|
|
|
5916
5956
|
@property
|
|
5917
5957
|
def Description(self):
|
|
5918
|
-
r"""
|
|
5958
|
+
r"""<p>描述</p>
|
|
5919
5959
|
:rtype: str
|
|
5920
5960
|
"""
|
|
5921
5961
|
return self._Description
|
|
@@ -5926,7 +5966,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5926
5966
|
|
|
5927
5967
|
@property
|
|
5928
5968
|
def PubPath(self):
|
|
5929
|
-
r"""
|
|
5969
|
+
r"""<p>访问路径</p>
|
|
5930
5970
|
:rtype: str
|
|
5931
5971
|
"""
|
|
5932
5972
|
return self._PubPath
|
|
@@ -5937,7 +5977,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5937
5977
|
|
|
5938
5978
|
@property
|
|
5939
5979
|
def PathMatchType(self):
|
|
5940
|
-
r"""
|
|
5980
|
+
r"""<p>路径匹配方式:absolute,prefix,regex</p>
|
|
5941
5981
|
:rtype: str
|
|
5942
5982
|
"""
|
|
5943
5983
|
return self._PathMatchType
|
|
@@ -5948,7 +5988,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5948
5988
|
|
|
5949
5989
|
@property
|
|
5950
5990
|
def TargetModels(self):
|
|
5951
|
-
r"""
|
|
5991
|
+
r"""<p>目标模型列表</p>
|
|
5952
5992
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5953
5993
|
:rtype: list of TargetModelDTO
|
|
5954
5994
|
"""
|
|
@@ -5960,7 +6000,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5960
6000
|
|
|
5961
6001
|
@property
|
|
5962
6002
|
def ModelNames(self):
|
|
5963
|
-
r"""
|
|
6003
|
+
r"""<p>模板模型的名称列表</p>
|
|
5964
6004
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5965
6005
|
:rtype: list of str
|
|
5966
6006
|
"""
|
|
@@ -5972,7 +6012,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5972
6012
|
|
|
5973
6013
|
@property
|
|
5974
6014
|
def InvokeLimitConfigStatus(self):
|
|
5975
|
-
r"""
|
|
6015
|
+
r"""<p>是否开启限流</p>
|
|
5976
6016
|
:rtype: bool
|
|
5977
6017
|
"""
|
|
5978
6018
|
return self._InvokeLimitConfigStatus
|
|
@@ -5983,7 +6023,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5983
6023
|
|
|
5984
6024
|
@property
|
|
5985
6025
|
def InvokeLimitConfig(self):
|
|
5986
|
-
r"""
|
|
6026
|
+
r"""<p>限流配置</p>
|
|
5987
6027
|
:rtype: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
5988
6028
|
"""
|
|
5989
6029
|
return self._InvokeLimitConfig
|
|
@@ -5994,7 +6034,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
5994
6034
|
|
|
5995
6035
|
@property
|
|
5996
6036
|
def CreateTime(self):
|
|
5997
|
-
r"""
|
|
6037
|
+
r"""<p>创建时间</p>
|
|
5998
6038
|
:rtype: str
|
|
5999
6039
|
"""
|
|
6000
6040
|
return self._CreateTime
|
|
@@ -6005,7 +6045,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6005
6045
|
|
|
6006
6046
|
@property
|
|
6007
6047
|
def LastUpdateTime(self):
|
|
6008
|
-
r"""
|
|
6048
|
+
r"""<p>最后修改时间</p>
|
|
6009
6049
|
:rtype: str
|
|
6010
6050
|
"""
|
|
6011
6051
|
return self._LastUpdateTime
|
|
@@ -6016,7 +6056,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6016
6056
|
|
|
6017
6057
|
@property
|
|
6018
6058
|
def TokenLimitStatus(self):
|
|
6019
|
-
r"""
|
|
6059
|
+
r"""<p>是否开启token控制</p>
|
|
6020
6060
|
:rtype: bool
|
|
6021
6061
|
"""
|
|
6022
6062
|
return self._TokenLimitStatus
|
|
@@ -6027,7 +6067,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6027
6067
|
|
|
6028
6068
|
@property
|
|
6029
6069
|
def TokenLimitConfig(self):
|
|
6030
|
-
r"""token
|
|
6070
|
+
r"""<p>token控制</p>
|
|
6031
6071
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
6032
6072
|
"""
|
|
6033
6073
|
return self._TokenLimitConfig
|
|
@@ -6038,7 +6078,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6038
6078
|
|
|
6039
6079
|
@property
|
|
6040
6080
|
def TmsStatus(self):
|
|
6041
|
-
r"""
|
|
6081
|
+
r"""<p>是否开启tms配置</p>
|
|
6042
6082
|
:rtype: bool
|
|
6043
6083
|
"""
|
|
6044
6084
|
return self._TmsStatus
|
|
@@ -6049,7 +6089,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6049
6089
|
|
|
6050
6090
|
@property
|
|
6051
6091
|
def TmsConfig(self):
|
|
6052
|
-
r"""tms
|
|
6092
|
+
r"""<p>tms配置</p>
|
|
6053
6093
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
6054
6094
|
"""
|
|
6055
6095
|
return self._TmsConfig
|
|
@@ -6060,7 +6100,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6060
6100
|
|
|
6061
6101
|
@property
|
|
6062
6102
|
def IpWhiteStatus(self):
|
|
6063
|
-
r"""
|
|
6103
|
+
r"""<p>是否开启IP白名单</p>
|
|
6064
6104
|
:rtype: bool
|
|
6065
6105
|
"""
|
|
6066
6106
|
return self._IpWhiteStatus
|
|
@@ -6071,7 +6111,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6071
6111
|
|
|
6072
6112
|
@property
|
|
6073
6113
|
def IpWhiteList(self):
|
|
6074
|
-
r"""IP
|
|
6114
|
+
r"""<p>IP白名单列表</p>
|
|
6075
6115
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6076
6116
|
:rtype: list of str
|
|
6077
6117
|
"""
|
|
@@ -6083,7 +6123,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6083
6123
|
|
|
6084
6124
|
@property
|
|
6085
6125
|
def IpBlackStatus(self):
|
|
6086
|
-
r"""
|
|
6126
|
+
r"""<p>是否开启IP黑名单</p>
|
|
6087
6127
|
:rtype: bool
|
|
6088
6128
|
"""
|
|
6089
6129
|
return self._IpBlackStatus
|
|
@@ -6094,7 +6134,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6094
6134
|
|
|
6095
6135
|
@property
|
|
6096
6136
|
def IpBlackList(self):
|
|
6097
|
-
r"""IP
|
|
6137
|
+
r"""<p>IP黑名单列表</p>
|
|
6098
6138
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6099
6139
|
:rtype: list of str
|
|
6100
6140
|
"""
|
|
@@ -6106,7 +6146,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6106
6146
|
|
|
6107
6147
|
@property
|
|
6108
6148
|
def PluginConfigs(self):
|
|
6109
|
-
r"""
|
|
6149
|
+
r"""<p>插件配置</p>
|
|
6110
6150
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6111
6151
|
:rtype: list of PluginConfigDTO
|
|
6112
6152
|
"""
|
|
@@ -6118,7 +6158,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6118
6158
|
|
|
6119
6159
|
@property
|
|
6120
6160
|
def Timeout(self):
|
|
6121
|
-
r"""
|
|
6161
|
+
r"""<p>超时配置,单位秒</p>
|
|
6122
6162
|
:rtype: int
|
|
6123
6163
|
"""
|
|
6124
6164
|
return self._Timeout
|
|
@@ -6129,7 +6169,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6129
6169
|
|
|
6130
6170
|
@property
|
|
6131
6171
|
def Status(self):
|
|
6132
|
-
r"""
|
|
6172
|
+
r"""<p>状态:normal,disabled</p>
|
|
6133
6173
|
:rtype: str
|
|
6134
6174
|
"""
|
|
6135
6175
|
return self._Status
|
|
@@ -6140,7 +6180,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6140
6180
|
|
|
6141
6181
|
@property
|
|
6142
6182
|
def RelateAgentAppNum(self):
|
|
6143
|
-
r"""
|
|
6183
|
+
r"""<p>关联应用数</p>
|
|
6144
6184
|
:rtype: int
|
|
6145
6185
|
"""
|
|
6146
6186
|
return self._RelateAgentAppNum
|
|
@@ -6151,7 +6191,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6151
6191
|
|
|
6152
6192
|
@property
|
|
6153
6193
|
def Url(self):
|
|
6154
|
-
r"""
|
|
6194
|
+
r"""<p>请求路径</p>
|
|
6155
6195
|
:rtype: str
|
|
6156
6196
|
"""
|
|
6157
6197
|
return self._Url
|
|
@@ -6162,7 +6202,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6162
6202
|
|
|
6163
6203
|
@property
|
|
6164
6204
|
def PromptModerateStatus(self):
|
|
6165
|
-
r"""
|
|
6205
|
+
r"""<p>是否开启提示词安全检测</p>
|
|
6166
6206
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6167
6207
|
:rtype: bool
|
|
6168
6208
|
"""
|
|
@@ -6174,7 +6214,7 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6174
6214
|
|
|
6175
6215
|
@property
|
|
6176
6216
|
def PromptModerateConfig(self):
|
|
6177
|
-
r"""
|
|
6217
|
+
r"""<p>提示词安全检测配置</p>
|
|
6178
6218
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6179
6219
|
:rtype: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
6180
6220
|
"""
|
|
@@ -6184,6 +6224,30 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6184
6224
|
def PromptModerateConfig(self, PromptModerateConfig):
|
|
6185
6225
|
self._PromptModerateConfig = PromptModerateConfig
|
|
6186
6226
|
|
|
6227
|
+
@property
|
|
6228
|
+
def SensitiveDataCheckStatus(self):
|
|
6229
|
+
r"""<p>是否开启敏感数据检测</p>
|
|
6230
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6231
|
+
:rtype: bool
|
|
6232
|
+
"""
|
|
6233
|
+
return self._SensitiveDataCheckStatus
|
|
6234
|
+
|
|
6235
|
+
@SensitiveDataCheckStatus.setter
|
|
6236
|
+
def SensitiveDataCheckStatus(self, SensitiveDataCheckStatus):
|
|
6237
|
+
self._SensitiveDataCheckStatus = SensitiveDataCheckStatus
|
|
6238
|
+
|
|
6239
|
+
@property
|
|
6240
|
+
def SensitiveDataCheckConfig(self):
|
|
6241
|
+
r"""<p>敏感数据检测配置</p>
|
|
6242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6243
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
6244
|
+
"""
|
|
6245
|
+
return self._SensitiveDataCheckConfig
|
|
6246
|
+
|
|
6247
|
+
@SensitiveDataCheckConfig.setter
|
|
6248
|
+
def SensitiveDataCheckConfig(self, SensitiveDataCheckConfig):
|
|
6249
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfig
|
|
6250
|
+
|
|
6187
6251
|
|
|
6188
6252
|
def _deserialize(self, params):
|
|
6189
6253
|
self._AppID = params.get("AppID")
|
|
@@ -6233,6 +6297,10 @@ class DescribeModelServiceResponseVO(AbstractModel):
|
|
|
6233
6297
|
if params.get("PromptModerateConfig") is not None:
|
|
6234
6298
|
self._PromptModerateConfig = PromptModerateConfigDTO()
|
|
6235
6299
|
self._PromptModerateConfig._deserialize(params.get("PromptModerateConfig"))
|
|
6300
|
+
self._SensitiveDataCheckStatus = params.get("SensitiveDataCheckStatus")
|
|
6301
|
+
if params.get("SensitiveDataCheckConfig") is not None:
|
|
6302
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfigDTO()
|
|
6303
|
+
self._SensitiveDataCheckConfig._deserialize(params.get("SensitiveDataCheckConfig"))
|
|
6236
6304
|
memeber_set = set(params.keys())
|
|
6237
6305
|
for name, value in vars(self).items():
|
|
6238
6306
|
property_name = name[1:]
|
|
@@ -8886,44 +8954,48 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8886
8954
|
|
|
8887
8955
|
def __init__(self):
|
|
8888
8956
|
r"""
|
|
8889
|
-
:param _InstanceID:
|
|
8957
|
+
:param _InstanceID: <p>实例</p>
|
|
8890
8958
|
:type InstanceID: str
|
|
8891
|
-
:param _ID:
|
|
8959
|
+
:param _ID: <p>模型服务ID</p>
|
|
8892
8960
|
:type ID: str
|
|
8893
|
-
:param _Name:
|
|
8961
|
+
:param _Name: <p>模型服务名称</p>
|
|
8894
8962
|
:type Name: str
|
|
8895
|
-
:param _Description:
|
|
8963
|
+
:param _Description: <p>描述</p>
|
|
8896
8964
|
:type Description: str
|
|
8897
|
-
:param _TargetModels:
|
|
8965
|
+
:param _TargetModels: <p>模板模型列表</p>
|
|
8898
8966
|
:type TargetModels: list of TargetModelDTO
|
|
8899
|
-
:param _InvokeLimitConfigStatus:
|
|
8967
|
+
:param _InvokeLimitConfigStatus: <p>是否开启限流</p>
|
|
8900
8968
|
:type InvokeLimitConfigStatus: bool
|
|
8901
|
-
:param _InvokeLimitConfig:
|
|
8969
|
+
:param _InvokeLimitConfig: <p>限流配置</p>
|
|
8902
8970
|
:type InvokeLimitConfig: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
8903
|
-
:param _TokenLimitStatus:
|
|
8971
|
+
:param _TokenLimitStatus: <p>是否开启token控制</p>
|
|
8904
8972
|
:type TokenLimitStatus: bool
|
|
8905
|
-
:param _TokenLimitConfig: token
|
|
8973
|
+
:param _TokenLimitConfig: <p>token控制</p>
|
|
8906
8974
|
:type TokenLimitConfig: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
8907
|
-
:param _TmsStatus:
|
|
8975
|
+
:param _TmsStatus: <p>是否开启内容安全</p>
|
|
8908
8976
|
:type TmsStatus: bool
|
|
8909
|
-
:param _TmsConfig:
|
|
8977
|
+
:param _TmsConfig: <p>内容安全配置</p>
|
|
8910
8978
|
:type TmsConfig: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
8911
|
-
:param _IpWhiteStatus:
|
|
8979
|
+
:param _IpWhiteStatus: <p>是否开启IP白名单</p>
|
|
8912
8980
|
:type IpWhiteStatus: bool
|
|
8913
|
-
:param _IpWhiteList: IP
|
|
8981
|
+
:param _IpWhiteList: <p>IP白名单</p>
|
|
8914
8982
|
:type IpWhiteList: list of str
|
|
8915
|
-
:param _IpBlackStatus:
|
|
8983
|
+
:param _IpBlackStatus: <p>是否开启IP黑名单</p>
|
|
8916
8984
|
:type IpBlackStatus: bool
|
|
8917
|
-
:param _IpBlackList: IP
|
|
8985
|
+
:param _IpBlackList: <p>IP黑名单</p>
|
|
8918
8986
|
:type IpBlackList: list of str
|
|
8919
|
-
:param _PluginConfigs:
|
|
8987
|
+
:param _PluginConfigs: <p>插件配置</p>
|
|
8920
8988
|
:type PluginConfigs: list of PluginConfigDTO
|
|
8921
|
-
:param _Timeout:
|
|
8989
|
+
:param _Timeout: <p>超时配置,秒</p>
|
|
8922
8990
|
:type Timeout: int
|
|
8923
|
-
:param _PromptModerateStatus:
|
|
8991
|
+
:param _PromptModerateStatus: <p>是否开启提示词安全检测配置</p>
|
|
8924
8992
|
:type PromptModerateStatus: bool
|
|
8925
|
-
:param _PromptModerateConfig:
|
|
8993
|
+
:param _PromptModerateConfig: <p>提示词安全检测配置</p>
|
|
8926
8994
|
:type PromptModerateConfig: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
8995
|
+
:param _SensitiveDataCheckStatus: <p>是否开启敏感数据检测</p>
|
|
8996
|
+
:type SensitiveDataCheckStatus: bool
|
|
8997
|
+
:param _SensitiveDataCheckConfig: <p>敏感数据检测配置</p>
|
|
8998
|
+
:type SensitiveDataCheckConfig: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
8927
8999
|
"""
|
|
8928
9000
|
self._InstanceID = None
|
|
8929
9001
|
self._ID = None
|
|
@@ -8944,10 +9016,12 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8944
9016
|
self._Timeout = None
|
|
8945
9017
|
self._PromptModerateStatus = None
|
|
8946
9018
|
self._PromptModerateConfig = None
|
|
9019
|
+
self._SensitiveDataCheckStatus = None
|
|
9020
|
+
self._SensitiveDataCheckConfig = None
|
|
8947
9021
|
|
|
8948
9022
|
@property
|
|
8949
9023
|
def InstanceID(self):
|
|
8950
|
-
r"""
|
|
9024
|
+
r"""<p>实例</p>
|
|
8951
9025
|
:rtype: str
|
|
8952
9026
|
"""
|
|
8953
9027
|
return self._InstanceID
|
|
@@ -8958,7 +9032,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8958
9032
|
|
|
8959
9033
|
@property
|
|
8960
9034
|
def ID(self):
|
|
8961
|
-
r"""
|
|
9035
|
+
r"""<p>模型服务ID</p>
|
|
8962
9036
|
:rtype: str
|
|
8963
9037
|
"""
|
|
8964
9038
|
return self._ID
|
|
@@ -8969,7 +9043,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8969
9043
|
|
|
8970
9044
|
@property
|
|
8971
9045
|
def Name(self):
|
|
8972
|
-
r"""
|
|
9046
|
+
r"""<p>模型服务名称</p>
|
|
8973
9047
|
:rtype: str
|
|
8974
9048
|
"""
|
|
8975
9049
|
return self._Name
|
|
@@ -8980,7 +9054,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8980
9054
|
|
|
8981
9055
|
@property
|
|
8982
9056
|
def Description(self):
|
|
8983
|
-
r"""
|
|
9057
|
+
r"""<p>描述</p>
|
|
8984
9058
|
:rtype: str
|
|
8985
9059
|
"""
|
|
8986
9060
|
return self._Description
|
|
@@ -8991,7 +9065,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
8991
9065
|
|
|
8992
9066
|
@property
|
|
8993
9067
|
def TargetModels(self):
|
|
8994
|
-
r"""
|
|
9068
|
+
r"""<p>模板模型列表</p>
|
|
8995
9069
|
:rtype: list of TargetModelDTO
|
|
8996
9070
|
"""
|
|
8997
9071
|
return self._TargetModels
|
|
@@ -9002,7 +9076,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9002
9076
|
|
|
9003
9077
|
@property
|
|
9004
9078
|
def InvokeLimitConfigStatus(self):
|
|
9005
|
-
r"""
|
|
9079
|
+
r"""<p>是否开启限流</p>
|
|
9006
9080
|
:rtype: bool
|
|
9007
9081
|
"""
|
|
9008
9082
|
return self._InvokeLimitConfigStatus
|
|
@@ -9013,7 +9087,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9013
9087
|
|
|
9014
9088
|
@property
|
|
9015
9089
|
def InvokeLimitConfig(self):
|
|
9016
|
-
r"""
|
|
9090
|
+
r"""<p>限流配置</p>
|
|
9017
9091
|
:rtype: :class:`tencentcloud.apis.v20240801.models.InvokeLimitConfigDTO`
|
|
9018
9092
|
"""
|
|
9019
9093
|
return self._InvokeLimitConfig
|
|
@@ -9024,7 +9098,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9024
9098
|
|
|
9025
9099
|
@property
|
|
9026
9100
|
def TokenLimitStatus(self):
|
|
9027
|
-
r"""
|
|
9101
|
+
r"""<p>是否开启token控制</p>
|
|
9028
9102
|
:rtype: bool
|
|
9029
9103
|
"""
|
|
9030
9104
|
return self._TokenLimitStatus
|
|
@@ -9035,7 +9109,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9035
9109
|
|
|
9036
9110
|
@property
|
|
9037
9111
|
def TokenLimitConfig(self):
|
|
9038
|
-
r"""token
|
|
9112
|
+
r"""<p>token控制</p>
|
|
9039
9113
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TokenLimitConfigDTO`
|
|
9040
9114
|
"""
|
|
9041
9115
|
return self._TokenLimitConfig
|
|
@@ -9046,7 +9120,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9046
9120
|
|
|
9047
9121
|
@property
|
|
9048
9122
|
def TmsStatus(self):
|
|
9049
|
-
r"""
|
|
9123
|
+
r"""<p>是否开启内容安全</p>
|
|
9050
9124
|
:rtype: bool
|
|
9051
9125
|
"""
|
|
9052
9126
|
return self._TmsStatus
|
|
@@ -9057,7 +9131,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9057
9131
|
|
|
9058
9132
|
@property
|
|
9059
9133
|
def TmsConfig(self):
|
|
9060
|
-
r"""
|
|
9134
|
+
r"""<p>内容安全配置</p>
|
|
9061
9135
|
:rtype: :class:`tencentcloud.apis.v20240801.models.TmsConfigDTO`
|
|
9062
9136
|
"""
|
|
9063
9137
|
return self._TmsConfig
|
|
@@ -9068,7 +9142,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9068
9142
|
|
|
9069
9143
|
@property
|
|
9070
9144
|
def IpWhiteStatus(self):
|
|
9071
|
-
r"""
|
|
9145
|
+
r"""<p>是否开启IP白名单</p>
|
|
9072
9146
|
:rtype: bool
|
|
9073
9147
|
"""
|
|
9074
9148
|
return self._IpWhiteStatus
|
|
@@ -9079,7 +9153,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9079
9153
|
|
|
9080
9154
|
@property
|
|
9081
9155
|
def IpWhiteList(self):
|
|
9082
|
-
r"""IP
|
|
9156
|
+
r"""<p>IP白名单</p>
|
|
9083
9157
|
:rtype: list of str
|
|
9084
9158
|
"""
|
|
9085
9159
|
return self._IpWhiteList
|
|
@@ -9090,7 +9164,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9090
9164
|
|
|
9091
9165
|
@property
|
|
9092
9166
|
def IpBlackStatus(self):
|
|
9093
|
-
r"""
|
|
9167
|
+
r"""<p>是否开启IP黑名单</p>
|
|
9094
9168
|
:rtype: bool
|
|
9095
9169
|
"""
|
|
9096
9170
|
return self._IpBlackStatus
|
|
@@ -9101,7 +9175,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9101
9175
|
|
|
9102
9176
|
@property
|
|
9103
9177
|
def IpBlackList(self):
|
|
9104
|
-
r"""IP
|
|
9178
|
+
r"""<p>IP黑名单</p>
|
|
9105
9179
|
:rtype: list of str
|
|
9106
9180
|
"""
|
|
9107
9181
|
return self._IpBlackList
|
|
@@ -9112,7 +9186,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9112
9186
|
|
|
9113
9187
|
@property
|
|
9114
9188
|
def PluginConfigs(self):
|
|
9115
|
-
r"""
|
|
9189
|
+
r"""<p>插件配置</p>
|
|
9116
9190
|
:rtype: list of PluginConfigDTO
|
|
9117
9191
|
"""
|
|
9118
9192
|
return self._PluginConfigs
|
|
@@ -9123,7 +9197,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9123
9197
|
|
|
9124
9198
|
@property
|
|
9125
9199
|
def Timeout(self):
|
|
9126
|
-
r"""
|
|
9200
|
+
r"""<p>超时配置,秒</p>
|
|
9127
9201
|
:rtype: int
|
|
9128
9202
|
"""
|
|
9129
9203
|
return self._Timeout
|
|
@@ -9134,7 +9208,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9134
9208
|
|
|
9135
9209
|
@property
|
|
9136
9210
|
def PromptModerateStatus(self):
|
|
9137
|
-
r"""
|
|
9211
|
+
r"""<p>是否开启提示词安全检测配置</p>
|
|
9138
9212
|
:rtype: bool
|
|
9139
9213
|
"""
|
|
9140
9214
|
return self._PromptModerateStatus
|
|
@@ -9145,7 +9219,7 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9145
9219
|
|
|
9146
9220
|
@property
|
|
9147
9221
|
def PromptModerateConfig(self):
|
|
9148
|
-
r"""
|
|
9222
|
+
r"""<p>提示词安全检测配置</p>
|
|
9149
9223
|
:rtype: :class:`tencentcloud.apis.v20240801.models.PromptModerateConfigDTO`
|
|
9150
9224
|
"""
|
|
9151
9225
|
return self._PromptModerateConfig
|
|
@@ -9154,6 +9228,28 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9154
9228
|
def PromptModerateConfig(self, PromptModerateConfig):
|
|
9155
9229
|
self._PromptModerateConfig = PromptModerateConfig
|
|
9156
9230
|
|
|
9231
|
+
@property
|
|
9232
|
+
def SensitiveDataCheckStatus(self):
|
|
9233
|
+
r"""<p>是否开启敏感数据检测</p>
|
|
9234
|
+
:rtype: bool
|
|
9235
|
+
"""
|
|
9236
|
+
return self._SensitiveDataCheckStatus
|
|
9237
|
+
|
|
9238
|
+
@SensitiveDataCheckStatus.setter
|
|
9239
|
+
def SensitiveDataCheckStatus(self, SensitiveDataCheckStatus):
|
|
9240
|
+
self._SensitiveDataCheckStatus = SensitiveDataCheckStatus
|
|
9241
|
+
|
|
9242
|
+
@property
|
|
9243
|
+
def SensitiveDataCheckConfig(self):
|
|
9244
|
+
r"""<p>敏感数据检测配置</p>
|
|
9245
|
+
:rtype: :class:`tencentcloud.apis.v20240801.models.SensitiveDataCheckConfigDTO`
|
|
9246
|
+
"""
|
|
9247
|
+
return self._SensitiveDataCheckConfig
|
|
9248
|
+
|
|
9249
|
+
@SensitiveDataCheckConfig.setter
|
|
9250
|
+
def SensitiveDataCheckConfig(self, SensitiveDataCheckConfig):
|
|
9251
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfig
|
|
9252
|
+
|
|
9157
9253
|
|
|
9158
9254
|
def _deserialize(self, params):
|
|
9159
9255
|
self._InstanceID = params.get("InstanceID")
|
|
@@ -9193,6 +9289,10 @@ class ModifyModelServiceRequest(AbstractModel):
|
|
|
9193
9289
|
if params.get("PromptModerateConfig") is not None:
|
|
9194
9290
|
self._PromptModerateConfig = PromptModerateConfigDTO()
|
|
9195
9291
|
self._PromptModerateConfig._deserialize(params.get("PromptModerateConfig"))
|
|
9292
|
+
self._SensitiveDataCheckStatus = params.get("SensitiveDataCheckStatus")
|
|
9293
|
+
if params.get("SensitiveDataCheckConfig") is not None:
|
|
9294
|
+
self._SensitiveDataCheckConfig = SensitiveDataCheckConfigDTO()
|
|
9295
|
+
self._SensitiveDataCheckConfig._deserialize(params.get("SensitiveDataCheckConfig"))
|
|
9196
9296
|
memeber_set = set(params.keys())
|
|
9197
9297
|
for name, value in vars(self).items():
|
|
9198
9298
|
property_name = name[1:]
|
|
@@ -9210,7 +9310,7 @@ class ModifyModelServiceResponse(AbstractModel):
|
|
|
9210
9310
|
|
|
9211
9311
|
def __init__(self):
|
|
9212
9312
|
r"""
|
|
9213
|
-
:param _Data:
|
|
9313
|
+
:param _Data: <p>结果集</p>
|
|
9214
9314
|
:type Data: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
9215
9315
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9216
9316
|
:type RequestId: str
|
|
@@ -9220,7 +9320,7 @@ class ModifyModelServiceResponse(AbstractModel):
|
|
|
9220
9320
|
|
|
9221
9321
|
@property
|
|
9222
9322
|
def Data(self):
|
|
9223
|
-
r"""
|
|
9323
|
+
r"""<p>结果集</p>
|
|
9224
9324
|
:rtype: :class:`tencentcloud.apis.v20240801.models.ResultIDVO`
|
|
9225
9325
|
"""
|
|
9226
9326
|
return self._Data
|
|
@@ -9562,6 +9662,78 @@ class ResultIDsVO(AbstractModel):
|
|
|
9562
9662
|
|
|
9563
9663
|
|
|
9564
9664
|
|
|
9665
|
+
class SensitiveDataCheckConfigDTO(AbstractModel):
|
|
9666
|
+
r"""敏感数据检测配置
|
|
9667
|
+
|
|
9668
|
+
"""
|
|
9669
|
+
|
|
9670
|
+
def __init__(self):
|
|
9671
|
+
r"""
|
|
9672
|
+
:param _Action: <p>执行动作</p>
|
|
9673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9674
|
+
:type Action: str
|
|
9675
|
+
:param _InterceptMessage: <p>响应拦截内容</p>
|
|
9676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9677
|
+
:type InterceptMessage: str
|
|
9678
|
+
:param _CheckItems: <p>检测项</p><p>枚举值:</p><ul><li>birthday: 生日</li><li>email: 邮箱</li><li>identity_number: 身份证</li><li>phone_number: 电话号码</li><li>secret: 秘钥</li><li>password: 密码</li><li>private_key: 私钥</li></ul>
|
|
9679
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9680
|
+
:type CheckItems: list of str
|
|
9681
|
+
"""
|
|
9682
|
+
self._Action = None
|
|
9683
|
+
self._InterceptMessage = None
|
|
9684
|
+
self._CheckItems = None
|
|
9685
|
+
|
|
9686
|
+
@property
|
|
9687
|
+
def Action(self):
|
|
9688
|
+
r"""<p>执行动作</p>
|
|
9689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9690
|
+
:rtype: str
|
|
9691
|
+
"""
|
|
9692
|
+
return self._Action
|
|
9693
|
+
|
|
9694
|
+
@Action.setter
|
|
9695
|
+
def Action(self, Action):
|
|
9696
|
+
self._Action = Action
|
|
9697
|
+
|
|
9698
|
+
@property
|
|
9699
|
+
def InterceptMessage(self):
|
|
9700
|
+
r"""<p>响应拦截内容</p>
|
|
9701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9702
|
+
:rtype: str
|
|
9703
|
+
"""
|
|
9704
|
+
return self._InterceptMessage
|
|
9705
|
+
|
|
9706
|
+
@InterceptMessage.setter
|
|
9707
|
+
def InterceptMessage(self, InterceptMessage):
|
|
9708
|
+
self._InterceptMessage = InterceptMessage
|
|
9709
|
+
|
|
9710
|
+
@property
|
|
9711
|
+
def CheckItems(self):
|
|
9712
|
+
r"""<p>检测项</p><p>枚举值:</p><ul><li>birthday: 生日</li><li>email: 邮箱</li><li>identity_number: 身份证</li><li>phone_number: 电话号码</li><li>secret: 秘钥</li><li>password: 密码</li><li>private_key: 私钥</li></ul>
|
|
9713
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9714
|
+
:rtype: list of str
|
|
9715
|
+
"""
|
|
9716
|
+
return self._CheckItems
|
|
9717
|
+
|
|
9718
|
+
@CheckItems.setter
|
|
9719
|
+
def CheckItems(self, CheckItems):
|
|
9720
|
+
self._CheckItems = CheckItems
|
|
9721
|
+
|
|
9722
|
+
|
|
9723
|
+
def _deserialize(self, params):
|
|
9724
|
+
self._Action = params.get("Action")
|
|
9725
|
+
self._InterceptMessage = params.get("InterceptMessage")
|
|
9726
|
+
self._CheckItems = params.get("CheckItems")
|
|
9727
|
+
memeber_set = set(params.keys())
|
|
9728
|
+
for name, value in vars(self).items():
|
|
9729
|
+
property_name = name[1:]
|
|
9730
|
+
if property_name in memeber_set:
|
|
9731
|
+
memeber_set.remove(property_name)
|
|
9732
|
+
if len(memeber_set) > 0:
|
|
9733
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9734
|
+
|
|
9735
|
+
|
|
9736
|
+
|
|
9565
9737
|
class StartEndTime(AbstractModel):
|
|
9566
9738
|
r"""开始结束时间结构体
|
|
9567
9739
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-apis
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.82
|
|
4
4
|
Summary: Tencent Cloud Apis SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.82
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.67
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|