microsoft

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2025 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleSpeech added in v0.1.0

func HandleSpeech(c echo.Context, options mo.Option[types.SpeechRequestOptions]) mo.Result[any]

func HandleVoices added in v0.1.0

func HandleVoices(c echo.Context, options mo.Option[types.VoicesRequestOptions]) mo.Result[any]

Types

type Voice added in v0.1.0

type Voice struct {
	Name            string                `json:"Name"`
	DisplayName     string                `json:"DisplayName"`
	LocalName       string                `json:"LocalName"`
	ShortName       string                `json:"ShortName"`
	Gender          string                `json:"Gender"`
	Locale          string                `json:"Locale"`
	LocaleName      string                `json:"LocaleName"`
	SampleRateHertz string                `json:"SampleRateHertz"`
	VoiceType       string                `json:"VoiceType"`
	Status          string                `json:"Status"`
	VoiceTag        map[VoiceTagKey][]any `json:"VoiceTag"`
	WordsPerMinute  string                `json:"WordsPerMinute"`
}

type VoiceTagKey added in v0.1.0

type VoiceTagKey string
const (
	VoiceTagKeyTailoredScenarios  VoiceTagKey = "TailoredScenarios"
	VoiceTagKeyVoicePersonalities VoiceTagKey = "VoicePersonalities"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL