core

package module
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 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 ModelCore

type ModelCore struct {
	AsistenCore interface{}
	// contains filtered or unexported fields
}

ModelCore model

func NewCoreClient

func NewCoreClient(CoreDir string, DataDir string) (*ModelCore, error)

NewCoreClient new model

func (*ModelCore) GetDB

func (ctx *ModelCore) GetDB() *gorm.DB

GetDB conection

func (*ModelCore) Invoke

func (ctx *ModelCore) Invoke(name string, args ...interface{}) []reflect.Value

Invoke methods by name

func (*ModelCore) WordsToAsistenResponse

func (ctx *ModelCore) WordsToAsistenResponse(words string) (string, func())

WordsToAsistenResponse convert Words In Asisten Response

func (*ModelCore) WordsToSpeechBase64

func (ctx *ModelCore) WordsToSpeechBase64(words string) string

WordsToSpeechBase64 convert Words In speech base64

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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