Skip to content

Commit ce27728

Browse files
release 3.0.1183
1 parent 75257db commit ce27728

File tree

5 files changed

+145
-97
lines changed

5 files changed

+145
-97
lines changed

tencentcloud/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
__version__ = '3.0.1182'
16+
__version__ = '3.0.1183'

tencentcloud/ccc/v20200210/errorcodes.py

+9
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
# limitations under the License.
1515

1616

17+
#
18+
FAILEDOPERATION_AICONCURRENTNOPACKAGE = 'FailedOperation.AIConcurrentNoPackage'
19+
20+
#
21+
FAILEDOPERATION_AICONCURRENTOVERFREQUENCY = 'FailedOperation.AIConcurrentOverFrequency'
22+
1723
# Outbound call failure.
1824
FAILEDOPERATION_CALLOUTFAILED = 'FailedOperation.CallOutFailed'
1925

@@ -119,6 +125,9 @@
119125
# Error in the status of the review form.
120126
INVALIDPARAMETERVALUE_ERRORAPPLYSTATUS = 'InvalidParameterValue.ErrorApplyStatus'
121127

128+
#
129+
INVALIDPARAMETERVALUE_EXPERIENCEACCOUNT = 'InvalidParameterValue.ExperienceAccount'
130+
122131
# The SDKAppID does not exist.
123132
INVALIDPARAMETERVALUE_INSTANCENOTEXIST = 'InvalidParameterValue.InstanceNotExist'
124133

tencentcloud/ccc/v20200210/models.py

+95-83
Original file line numberDiff line numberDiff line change
@@ -1600,13 +1600,17 @@ def Callers(self, Callers):
16001600

16011601
@property
16021602
def PromptVariables(self):
1603+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
1604+
16031605
"""Prompt variable.
16041606
:rtype: list of Variable
16051607
"""
16061608
return self._PromptVariables
16071609

16081610
@PromptVariables.setter
16091611
def PromptVariables(self, PromptVariables):
1612+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
1613+
16101614
self._PromptVariables = PromptVariables
16111615

16121616

@@ -1685,6 +1689,32 @@ def __init__(self):
16851689
:type SdkAppId: int
16861690
:param _Callee: Called number.
16871691
:type Callee: str
1692+
:param _LLMType: Model interface protocol types, currently compatible with three protocol types:
1693+
1694+
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
1695+
- Azure protocol:"azure"
1696+
- Minimax protocol:"minimax"
1697+
:type LLMType: str
1698+
:param _APIKey: Model API key, for authentication information, please refer to the respective model's official website
1699+
1700+
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1701+
1702+
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1703+
1704+
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1705+
:type APIKey: str
1706+
:param _APIUrl: Model interface address
1707+
1708+
- OpenAI protocol
1709+
GPT:"https://api.openai.com/v1/"
1710+
Deepseek:"https://api.deepseek.com/v1"
1711+
1712+
- Azure protocol
1713+
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
1714+
1715+
- Minimax protocol
1716+
"https://api.minimax.chat/v1"
1717+
:type APIUrl: str
16881718
:param _SystemPrompt: ## Identity
16891719
You are Kate from the appointment department at Retell Health calling Cindy over the phone to prepare for the annual checkup coming up. You are a pleasant and friendly receptionist caring deeply for the user. You don't provide medical advice but would use the medical knowledge to understand user responses.
16901720
@@ -1717,12 +1747,6 @@ def __init__(self):
17171747
- If user asks something you do not know, let them know you don't have the answer. Ask them if they have any other questions.
17181748
- If user do not have any questions, call function end_call to hang up.
17191749
:type SystemPrompt: str
1720-
:param _LLMType: Model interface protocol types, currently compatible with three protocol types:
1721-
1722-
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
1723-
- Azure protocol:"azure"
1724-
- Minimax protocol:"minimax"
1725-
:type LLMType: str
17261750
:param _Model: Model name, such as
17271751
17281752
- OpenAI protocol
@@ -1734,26 +1758,6 @@ def __init__(self):
17341758
- Minimax protocol
17351759
"deepseek-chat".
17361760
:type Model: str
1737-
:param _APIKey: Model API key, for authentication information, please refer to the respective model's official website
1738-
1739-
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1740-
1741-
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1742-
1743-
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1744-
:type APIKey: str
1745-
:param _APIUrl: Model interface address
1746-
1747-
- OpenAI protocol
1748-
GPT:"https://api.openai.com/v1/"
1749-
Deepseek:"https://api.deepseek.com/v1"
1750-
1751-
- Azure protocol
1752-
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
1753-
1754-
- Minimax protocol
1755-
"https://api.minimax.chat/v1"
1756-
:type APIUrl: str
17571761
:param _VoiceType: The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
17581762
17591763
Chinese:
@@ -1904,11 +1908,11 @@ def __init__(self):
19041908
"""
19051909
self._SdkAppId = None
19061910
self._Callee = None
1907-
self._SystemPrompt = None
19081911
self._LLMType = None
1909-
self._Model = None
19101912
self._APIKey = None
19111913
self._APIUrl = None
1914+
self._SystemPrompt = None
1915+
self._Model = None
19121916
self._VoiceType = None
19131917
self._Callers = None
19141918
self._WelcomeMessage = None
@@ -1952,6 +1956,59 @@ def Callee(self):
19521956
def Callee(self, Callee):
19531957
self._Callee = Callee
19541958

1959+
@property
1960+
def LLMType(self):
1961+
"""Model interface protocol types, currently compatible with three protocol types:
1962+
1963+
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
1964+
- Azure protocol:"azure"
1965+
- Minimax protocol:"minimax"
1966+
:rtype: str
1967+
"""
1968+
return self._LLMType
1969+
1970+
@LLMType.setter
1971+
def LLMType(self, LLMType):
1972+
self._LLMType = LLMType
1973+
1974+
@property
1975+
def APIKey(self):
1976+
"""Model API key, for authentication information, please refer to the respective model's official website
1977+
1978+
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
1979+
1980+
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
1981+
1982+
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
1983+
:rtype: str
1984+
"""
1985+
return self._APIKey
1986+
1987+
@APIKey.setter
1988+
def APIKey(self, APIKey):
1989+
self._APIKey = APIKey
1990+
1991+
@property
1992+
def APIUrl(self):
1993+
"""Model interface address
1994+
1995+
- OpenAI protocol
1996+
GPT:"https://api.openai.com/v1/"
1997+
Deepseek:"https://api.deepseek.com/v1"
1998+
1999+
- Azure protocol
2000+
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
2001+
2002+
- Minimax protocol
2003+
"https://api.minimax.chat/v1"
2004+
:rtype: str
2005+
"""
2006+
return self._APIUrl
2007+
2008+
@APIUrl.setter
2009+
def APIUrl(self, APIUrl):
2010+
self._APIUrl = APIUrl
2011+
19552012
@property
19562013
def SystemPrompt(self):
19572014
"""## Identity
@@ -1993,21 +2050,6 @@ def SystemPrompt(self):
19932050
def SystemPrompt(self, SystemPrompt):
19942051
self._SystemPrompt = SystemPrompt
19952052

1996-
@property
1997-
def LLMType(self):
1998-
"""Model interface protocol types, currently compatible with three protocol types:
1999-
2000-
- OpenAI protocol (including GPT, DeepSeek, etc.):"openai"
2001-
- Azure protocol:"azure"
2002-
- Minimax protocol:"minimax"
2003-
:rtype: str
2004-
"""
2005-
return self._LLMType
2006-
2007-
@LLMType.setter
2008-
def LLMType(self, LLMType):
2009-
self._LLMType = LLMType
2010-
20112053
@property
20122054
def Model(self):
20132055
"""Model name, such as
@@ -2028,44 +2070,6 @@ def Model(self):
20282070
def Model(self, Model):
20292071
self._Model = Model
20302072

2031-
@property
2032-
def APIKey(self):
2033-
"""Model API key, for authentication information, please refer to the respective model's official website
2034-
2035-
- OpenAI protocol: [GPT](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key), [DeepSeek](https://api-docs.deepseek.com/zh-cn/);
2036-
2037-
- Azure protocol: [Azure GPT](https://learn.microsoft.com/en-us/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line%2Ctypescript%2Cpython-new&pivots=programming-language-studio#key-settings);
2038-
2039-
- Minimax:[Minimax](https://platform.minimaxi.com/document/Fast%20access?key=66701cf51d57f38758d581b2)
2040-
:rtype: str
2041-
"""
2042-
return self._APIKey
2043-
2044-
@APIKey.setter
2045-
def APIKey(self, APIKey):
2046-
self._APIKey = APIKey
2047-
2048-
@property
2049-
def APIUrl(self):
2050-
"""Model interface address
2051-
2052-
- OpenAI protocol
2053-
GPT:"https://api.openai.com/v1/"
2054-
Deepseek:"https://api.deepseek.com/v1"
2055-
2056-
- Azure protocol
2057-
"https://{your-resource-name}.openai.azure.com?api-version={api-version}"
2058-
2059-
- Minimax protocol
2060-
"https://api.minimax.chat/v1"
2061-
:rtype: str
2062-
"""
2063-
return self._APIUrl
2064-
2065-
@APIUrl.setter
2066-
def APIUrl(self, APIUrl):
2067-
self._APIUrl = APIUrl
2068-
20692073
@property
20702074
def VoiceType(self):
20712075
"""The following voice parameter values are available by default. If you wish to customize the voice type, please leave VoiceType blank and configure it in the CustomTTSConfig parameter.
@@ -2362,13 +2366,17 @@ def CustomTTSConfig(self, CustomTTSConfig):
23622366

23632367
@property
23642368
def PromptVariables(self):
2369+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
2370+
23652371
"""Prompt word variable.
23662372
:rtype: list of Variable
23672373
"""
23682374
return self._PromptVariables
23692375

23702376
@PromptVariables.setter
23712377
def PromptVariables(self, PromptVariables):
2378+
warnings.warn("parameter `PromptVariables` is deprecated", DeprecationWarning)
2379+
23722380
self._PromptVariables = PromptVariables
23732381

23742382
@property
@@ -2397,11 +2405,11 @@ def ExtractConfig(self, ExtractConfig):
23972405
def _deserialize(self, params):
23982406
self._SdkAppId = params.get("SdkAppId")
23992407
self._Callee = params.get("Callee")
2400-
self._SystemPrompt = params.get("SystemPrompt")
24012408
self._LLMType = params.get("LLMType")
2402-
self._Model = params.get("Model")
24032409
self._APIKey = params.get("APIKey")
24042410
self._APIUrl = params.get("APIUrl")
2411+
self._SystemPrompt = params.get("SystemPrompt")
2412+
self._Model = params.get("Model")
24052413
self._VoiceType = params.get("VoiceType")
24062414
self._Callers = params.get("Callers")
24072415
self._WelcomeMessage = params.get("WelcomeMessage")
@@ -11516,13 +11524,17 @@ def StaffNumber(self, StaffNumber):
1151611524

1151711525
@property
1151811526
def RoleId(self):
11527+
warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
11528+
1151911529
"""User role id.
1152011530
:rtype: int
1152111531
"""
1152211532
return self._RoleId
1152311533

1152411534
@RoleId.setter
1152511535
def RoleId(self, RoleId):
11536+
warnings.warn("parameter `RoleId` is deprecated", DeprecationWarning)
11537+
1152611538
self._RoleId = RoleId
1152711539

1152811540
@property

tencentcloud/vpc/v20170312/errorcodes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
# Tags are not assigned quotas.
387387
INVALIDPARAMETERVALUE_TAGNOTALLOCATEDQUOTA = 'InvalidParameterValue.TagNotAllocatedQuota'
388388

389-
# The tag and value do not exist.
389+
# The Tag does not exist.
390390
INVALIDPARAMETERVALUE_TAGNOTEXISTED = 'InvalidParameterValue.TagNotExisted'
391391

392392
# Unsupported tag.

0 commit comments

Comments
 (0)