dueros / bot-sdk-go Goto Github PK
View Code? Open in Web Editor NEWDuerOS技能开发go语言sdk
License: Apache License 2.0
DuerOS技能开发go语言sdk
License: Apache License 2.0
在小度在家正常播放音频,但不能暂停,系统意图已触发,但发出的"AudioPlayer.Stop"指令不起作用。
bot.AddIntentHandler("ai.dueros.common.pause_intent", stopPlay)
func stopPlay(this *dueros.Bot, request *model.IntentRequest) {
log.Println("[系统意图]:暂停播放")
stopDirective := audio_player.NewStopDirective()
this.Response.Tell("已经停止播放").Command(stopDirective)
}
好久没更新,示例又不齐全。说明文档内容又少。
../../go/pkg/mod/github.com/dueros/[email protected]/bot/directive/base.go:12:18: not enough arguments in call to uuid.Must
have (uuid.UUID)
want (uuid.UUID, error)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.