Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssemblyAISTT ¶
type AssemblyAISTT struct { OnTranscript func(string) // contains filtered or unexported fields }
func NewAssemblyAISTT ¶
func NewAssemblyAISTT(onTranscript ...func(string)) (*AssemblyAISTT, error)
func (*AssemblyAISTT) IsSpeechDetected ¶
func (a *AssemblyAISTT) IsSpeechDetected() bool
func (*AssemblyAISTT) SendAudio ¶
func (a *AssemblyAISTT) SendAudio(ctx context.Context, audio []byte) error
func (*AssemblyAISTT) StartListening ¶
func (a *AssemblyAISTT) StartListening(ctx context.Context) error
func (*AssemblyAISTT) StopListening ¶
func (a *AssemblyAISTT) StopListening(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.