Class: TencentCloud::Iotexplorer::V20190423::TalkBasicConfigInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190423/models.rb

Overview

基础配置信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(systemprompt = nil, greetingmessage = nil, defaultvoicetype = nil, fastvoicetype = nil) ⇒ TalkBasicConfigInfo

Returns a new instance of TalkBasicConfigInfo.



13368
13369
13370
13371
13372
13373
# File 'lib/v20190423/models.rb', line 13368

def initialize(systemprompt=nil, greetingmessage=nil, defaultvoicetype=nil, fastvoicetype=nil)
  @SystemPrompt = systemprompt
  @GreetingMessage = greetingmessage
  @DefaultVoiceType = defaultvoicetype
  @FastVoiceType = fastvoicetype
end

Instance Attribute Details

#DefaultVoiceTypeObject

Parameters:

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语,支持多个欢迎语随机切换,格式:字符串数组,JSON字符串。

  • DefaultVoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色ID,当不为空时,DefaultVoiceType为200000000



13366
13367
13368
# File 'lib/v20190423/models.rb', line 13366

def DefaultVoiceType
  @DefaultVoiceType
end

#FastVoiceTypeObject

Parameters:

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语,支持多个欢迎语随机切换,格式:字符串数组,JSON字符串。

  • DefaultVoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色ID,当不为空时,DefaultVoiceType为200000000



13366
13367
13368
# File 'lib/v20190423/models.rb', line 13366

def FastVoiceType
  @FastVoiceType
end

#GreetingMessageObject

Parameters:

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语,支持多个欢迎语随机切换,格式:字符串数组,JSON字符串。

  • DefaultVoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色ID,当不为空时,DefaultVoiceType为200000000



13366
13367
13368
# File 'lib/v20190423/models.rb', line 13366

def GreetingMessage
  @GreetingMessage
end

#SystemPromptObject

Parameters:

  • SystemPrompt:

    系统提示词

  • GreetingMessage:

    欢迎语,支持多个欢迎语随机切换,格式:字符串数组,JSON字符串。

  • DefaultVoiceType:

    音色,支持的音色列表:100510000-阅读男声智逍遥;101001-情感女声智瑜;101002-通用女声智聆;101003-客服女声智美;101004-通用男声智云;101005-通用女声智莉;101006-助手女声智言;101008-客服女声智琪;101009-知性女声智芸;101010-通用男声智华;101011-新闻女声智燕;101012-新闻女声智丹;101013-新闻男声智辉;101014 -新闻男声智宁;101015-男童声智萌;101016-女童声智甜;101017-情感女声智蓉;101018-情感男声智靖;101019-粤语女声智彤。

  • FastVoiceType:

    复刻音色ID,当不为空时,DefaultVoiceType为200000000



13366
13367
13368
# File 'lib/v20190423/models.rb', line 13366

def SystemPrompt
  @SystemPrompt
end

Instance Method Details

#deserialize(params) ⇒ Object



13375
13376
13377
13378
13379
13380
# File 'lib/v20190423/models.rb', line 13375

def deserialize(params)
  @SystemPrompt = params['SystemPrompt']
  @GreetingMessage = params['GreetingMessage']
  @DefaultVoiceType = params['DefaultVoiceType']
  @FastVoiceType = params['FastVoiceType']
end