uselessbox

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cognitive

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

func NewCognitive

func NewCognitive() *Cognitive

func (*Cognitive) CreateNewContext

func (useless *Cognitive) CreateNewContext(c *context.Context, info neo.PersonInfo) *neo.Context

func (*Cognitive) GetProtoResponse

func (useless *Cognitive) GetProtoResponse(c *neo.Context, in *neo.Input) (*neo.Output, error)

func (*Cognitive) NewInput

func (useless *Cognitive) NewInput(data neo.InputData, i []neo.Intent, e []neo.Entity) *neo.Input

func (*Cognitive) NewInputText

func (useless *Cognitive) NewInputText(text string, i []neo.Intent, e []neo.Entity) *neo.Input

func (*Cognitive) NewOutput

func (useless *Cognitive) NewOutput(c *neo.Context, res []neo.Response, i []neo.Intent, e []neo.Entity) *neo.Output

func (*Cognitive) NewOutputText

func (useless *Cognitive) NewOutputText(c *neo.Context) *neo.Output

func (*Cognitive) OnContextIsDone

func (useless *Cognitive) OnContextIsDone(callback func(c *neo.Context))

Jump to

Keyboard shortcuts

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