assistant

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assistant

type Assistant struct {
	// contains filtered or unexported fields
}

func New

func New(assistantImpl *ainterfaces.AssistantImpl, opts *AssistantOptions) (*Assistant, error)

func (*Assistant) Speak added in v0.1.4

func (a *Assistant) Speak(text string) error

func (*Assistant) Start

func (a *Assistant) Start() error

func (*Assistant) Stop

func (a *Assistant) Stop() error

type AssistantOptions added in v0.1.4

type AssistantOptions struct {
	InputChannels int
	SamplingRate  int

	VoiceType    texttospeechpb.SsmlVoiceGender
	LanguageCode string
}

assistant implementation

type Transcriber added in v0.1.4

type Transcriber interface {
	Start() error
	Stop() error
}

Transcriber interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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