Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HKGclient houndify.Client
View Source
var HoundEnable bool = true
View Source
var NoResult string = "NoResultCommand"
View Source
var NoResultSpoken string
View Source
var VoiceProcessor = ""
Functions ¶
func InitKnowledge ¶
func InitKnowledge()
func KgRequest ¶
func KgRequest(speechReq sr.SpeechRequest) string
Takes a SpeechRequest, figures out knowledgegraph provider, makes request, returns API response
func ParseSpokenResponse ¶
func ReloadVosk ¶
func ReloadVosk()
func StreamAudioToHoundify ¶
func StreamAudioToHoundify(sreq sr.SpeechRequest, client houndify.Client) string
Types ¶
type JsonIntent ¶
type Server ¶
type Server struct{}
Server stores the config
func (*Server) ProcessIntent ¶
func (s *Server) ProcessIntent(req *vtt.IntentRequest) (*vtt.IntentResponse, error)
This is here for compatibility with 1.6 and older software
func (*Server) ProcessIntentGraph ¶
func (s *Server) ProcessIntentGraph(req *vtt.IntentGraphRequest) (*vtt.IntentGraphResponse, error)
func (*Server) ProcessKnowledgeGraph ¶
func (s *Server) ProcessKnowledgeGraph(req *vtt.KnowledgeGraphRequest) (*vtt.KnowledgeGraphResponse, error)
Click to show internal directories.
Click to hide internal directories.