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)
Click to show internal directories.
Click to hide internal directories.