Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultServerPort = 8000
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerConfig ¶
type SpeechToTextConfig ¶
type TalkConfig ¶
type TalkConfig struct { Server ServerConfig `mapstructure:"server"` SpeechToText SpeechToTextConfig `mapstructure:"speech-to-text"` TextToSpeech TextToSpeechConfig `mapstructure:"text-to-speech"` Llm LlmConfig `mapstructure:"llm"` Creds map[string]string `mapstructure:"creds"` }
func LoadConfig ¶
func LoadConfig(logger *zap.Logger) (*TalkConfig, error)
func MustLoadConfig ¶
func MustLoadConfig(logger *zap.Logger) *TalkConfig
type TextToSpeechConfig ¶
Click to show internal directories.
Click to hide internal directories.