Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.71 KB

TTSTemplateItem.md

File metadata and controls

59 lines (39 loc) · 1.71 KB

TTSTemplateItem

{TTSTemplateItem} TTS模版项

Kind: global class

new TTSTemplateItem(ttsKey)

构造方法

Param Type Description
ttsKey string 每个话术模板对应的唯一key

ttsTemplateItem.addTemplateSlot(slotKey, slotValue)

添加TemplateSlot

Kind: instance method of TTSTemplateItem

Param Type Description
slotKey string 槽位名称
slotValue string 槽位值

ttsTemplateItem.setTtsKey(ttsKey)

设置话术模板key

Kind: instance method of TTSTemplateItem

Param Type Description
ttsKey string 每个话术模板对应的唯一key

ttsTemplateItem.clearTemplateSlots()

清除话术模板的槽位信息

Kind: instance method of TTSTemplateItem

ttsTemplateItem.getData() ⇒ Object

获取数据

Kind: instance method of TTSTemplateItem