Skip to content

Commit 2afc9fb

Browse files
authored
Merge pull request #53 from seymourtang/fix-docs
chore: Add doc for Microsoft and ElevenLabs TTS vendor parameters
2 parents 816cbf2 + 50c37ad commit 2afc9fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/convoai/req/join.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ type TTSBytedanceVendorParams struct {
127127
func (TTSBytedanceVendorParams) VendorParam() {}
128128
func (TTSBytedanceVendorParams) GetVendorType() TTSVendor { return BytedanceTTSVendor }
129129

130+
// TTSMicrosoftVendorParams Defines the Microsoft vendor parameters for the Text-to-Speech (TTS) module when the agent joins the RTC channel
131+
//
132+
// @since v0.12.0
130133
type TTSMicrosoftVendorParams struct {
131134
// The API key used for authentication.(Required)
132135
Key string `json:"key"`
@@ -153,6 +156,9 @@ type TTSMicrosoftVendorParams struct {
153156
func (TTSMicrosoftVendorParams) VendorParam() {}
154157
func (TTSMicrosoftVendorParams) GetVendorType() TTSVendor { return MicrosoftTTSVendor }
155158

159+
// TTSElevenLabsVendorParams Defines the ElevenLabs vendor parameters for the Text-to-Speech (TTS) module when the agent joins the RTC channel
160+
//
161+
// @since v0.12.0
156162
type TTSElevenLabsVendorParams struct {
157163
// The API key used for authentication.(Required)
158164
Key string `json:"key"`

0 commit comments

Comments
 (0)