@@ -1600,13 +1600,17 @@ def Callers(self, Callers):
1600
1600
1601
1601
@property
1602
1602
def PromptVariables (self ):
1603
+ warnings .warn ("parameter `PromptVariables` is deprecated" , DeprecationWarning )
1604
+
1603
1605
"""Prompt variable.
1604
1606
:rtype: list of Variable
1605
1607
"""
1606
1608
return self ._PromptVariables
1607
1609
1608
1610
@PromptVariables .setter
1609
1611
def PromptVariables (self , PromptVariables ):
1612
+ warnings .warn ("parameter `PromptVariables` is deprecated" , DeprecationWarning )
1613
+
1610
1614
self ._PromptVariables = PromptVariables
1611
1615
1612
1616
@@ -1685,6 +1689,32 @@ def __init__(self):
1685
1689
:type SdkAppId: int
1686
1690
:param _Callee: Called number.
1687
1691
: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
1688
1718
:param _SystemPrompt: ## Identity
1689
1719
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.
1690
1720
@@ -1717,12 +1747,6 @@ def __init__(self):
1717
1747
- 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.
1718
1748
- If user do not have any questions, call function end_call to hang up.
1719
1749
: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
1726
1750
:param _Model: Model name, such as
1727
1751
1728
1752
- OpenAI protocol
@@ -1734,26 +1758,6 @@ def __init__(self):
1734
1758
- Minimax protocol
1735
1759
"deepseek-chat".
1736
1760
: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
1757
1761
: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.
1758
1762
1759
1763
Chinese:
@@ -1904,11 +1908,11 @@ def __init__(self):
1904
1908
"""
1905
1909
self ._SdkAppId = None
1906
1910
self ._Callee = None
1907
- self ._SystemPrompt = None
1908
1911
self ._LLMType = None
1909
- self ._Model = None
1910
1912
self ._APIKey = None
1911
1913
self ._APIUrl = None
1914
+ self ._SystemPrompt = None
1915
+ self ._Model = None
1912
1916
self ._VoiceType = None
1913
1917
self ._Callers = None
1914
1918
self ._WelcomeMessage = None
@@ -1952,6 +1956,59 @@ def Callee(self):
1952
1956
def Callee (self , Callee ):
1953
1957
self ._Callee = Callee
1954
1958
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
+
1955
2012
@property
1956
2013
def SystemPrompt (self ):
1957
2014
"""## Identity
@@ -1993,21 +2050,6 @@ def SystemPrompt(self):
1993
2050
def SystemPrompt (self , SystemPrompt ):
1994
2051
self ._SystemPrompt = SystemPrompt
1995
2052
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
-
2011
2053
@property
2012
2054
def Model (self ):
2013
2055
"""Model name, such as
@@ -2028,44 +2070,6 @@ def Model(self):
2028
2070
def Model (self , Model ):
2029
2071
self ._Model = Model
2030
2072
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
-
2069
2073
@property
2070
2074
def VoiceType (self ):
2071
2075
"""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):
2362
2366
2363
2367
@property
2364
2368
def PromptVariables (self ):
2369
+ warnings .warn ("parameter `PromptVariables` is deprecated" , DeprecationWarning )
2370
+
2365
2371
"""Prompt word variable.
2366
2372
:rtype: list of Variable
2367
2373
"""
2368
2374
return self ._PromptVariables
2369
2375
2370
2376
@PromptVariables .setter
2371
2377
def PromptVariables (self , PromptVariables ):
2378
+ warnings .warn ("parameter `PromptVariables` is deprecated" , DeprecationWarning )
2379
+
2372
2380
self ._PromptVariables = PromptVariables
2373
2381
2374
2382
@property
@@ -2397,11 +2405,11 @@ def ExtractConfig(self, ExtractConfig):
2397
2405
def _deserialize (self , params ):
2398
2406
self ._SdkAppId = params .get ("SdkAppId" )
2399
2407
self ._Callee = params .get ("Callee" )
2400
- self ._SystemPrompt = params .get ("SystemPrompt" )
2401
2408
self ._LLMType = params .get ("LLMType" )
2402
- self ._Model = params .get ("Model" )
2403
2409
self ._APIKey = params .get ("APIKey" )
2404
2410
self ._APIUrl = params .get ("APIUrl" )
2411
+ self ._SystemPrompt = params .get ("SystemPrompt" )
2412
+ self ._Model = params .get ("Model" )
2405
2413
self ._VoiceType = params .get ("VoiceType" )
2406
2414
self ._Callers = params .get ("Callers" )
2407
2415
self ._WelcomeMessage = params .get ("WelcomeMessage" )
@@ -11516,13 +11524,17 @@ def StaffNumber(self, StaffNumber):
11516
11524
11517
11525
@property
11518
11526
def RoleId (self ):
11527
+ warnings .warn ("parameter `RoleId` is deprecated" , DeprecationWarning )
11528
+
11519
11529
"""User role id.
11520
11530
:rtype: int
11521
11531
"""
11522
11532
return self ._RoleId
11523
11533
11524
11534
@RoleId .setter
11525
11535
def RoleId (self , RoleId ):
11536
+ warnings .warn ("parameter `RoleId` is deprecated" , DeprecationWarning )
11537
+
11526
11538
self ._RoleId = RoleId
11527
11539
11528
11540
@property
0 commit comments