impl

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CHUNK_SIZE = 1024 * 2
)

constants...

Variables

View Source
var (
	//ErrCommandCreateFailed creating the command failed
	ErrCommandCreateFailed = errors.New("Unable to create the command object")

	// ErrNoActiveTask no active task
	ErrNoActiveTask = errors.New("no active task")
)
View Source
var (
	// Naive trigger/activation implementation
	GreetingWords = []string{"hi", "hello", "hey", "hallo", "salut", "bonjour", "hola", "eh", "ey"}
	NameWords     = []string{"kit", "chatgpt", "gpt", "kitt", "kid", "kate", "kent", "kiss"}
)

Functions

This section is empty.

Types

type MyAssistant

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

func New

func New() *MyAssistant

func (*MyAssistant) Response

func (a *MyAssistant) Response(text string) error

func (*MyAssistant) SetSpeech

func (a *MyAssistant) SetSpeech(s *interfaces.Speech)

Jump to

Keyboard shortcuts

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