Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) Options ¶
func (c *Config) Options() []option.RequestOption
type Synthesizer ¶
type Synthesizer struct { *Config // contains filtered or unexported fields }
func NewSynthesizer ¶
func NewSynthesizer(url, model string, options ...Option) (*Synthesizer, error)
func (*Synthesizer) Synthesize ¶
func (s *Synthesizer) Synthesize(ctx context.Context, content string, options *provider.SynthesizeOptions) (*provider.Synthesis, error)
type Transcriber ¶
type Transcriber struct { *Config // contains filtered or unexported fields }
func NewTranscriber ¶
func NewTranscriber(url, model string, options ...Option) (*Transcriber, error)
func (*Transcriber) Transcribe ¶
func (t *Transcriber) Transcribe(ctx context.Context, input provider.File, options *provider.TranscribeOptions) (*provider.Transcription, error)
Click to show internal directories.
Click to hide internal directories.