Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
speech_nlu_parse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵文静
speech_nlu_parse
Commits
e282b311
Commit
e282b311
authored
Jun 25, 2025
by
赵文静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加换一首歌
parent
27c3f916
Pipeline
#5473
passed with stage
in 0 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
CHANGELOG.md
CHANGELOG.md
+1
-0
c2c.http
c2c.http
+6
-5
service/speechNlu/domain.go
service/speechNlu/domain.go
+1
-1
No files found.
CHANGELOG.md
View file @
e282b311
...
...
@@ -5,6 +5,7 @@
-
修改日志打印
-
故事返回增加专辑字段
-
http入口新增需要AppKey校验
-
增加换一首歌
## [0.0.1-beta.3] - 2025.6.19
### Changed
...
...
c2c.http
View file @
e282b311
...
...
@@ -10,7 +10,7 @@ Content-Type: application/json
},
"nluRet": {
"asr_recongize": "",
"text": "
暂停闹钟
"
"text": "
合肥今天几点下雨
"
}
},
"version": "v0"
...
...
@@ -19,12 +19,13 @@ Content-Type: application/json
###
POST https://testnlu.gree.com/semantic/unisoundc2c/speech-nlu-parse
Content-Type: application/json
X-AppKey: 391b50b5ed634fc49a3db7cfd6bc40db
{
"ip": "14.215.222.17",
"mac": "ece154a865eb",
"mid": "11011",
"query":"
暂停闹钟
",
"query":"
换一首歌
",
"requestId": "123456111"
}
...
...
@@ -38,7 +39,7 @@ X-AppKey: 391b50b5ed634fc49a3db7cfd6bc40db
"ip": "14.215.222.17",
"mac": "ece154a865eb",
"mid": "11011",
"query":"播放
故事
",
"query":"播放
正版
",
"requestId": "123456111"
}
...
...
@@ -59,7 +60,7 @@ Content-Type: application/json
"trafficParameter": "mode=childxxx;macWifi=28b77c218ed1;mid=10f05;vender=7e000025;macVoice=testyuntiancloud;ver=3.0;scenario=smarthome;filterName=nlu;req_nlu_length=1;returnType=json;fullDuplex=true;appendLength=1;additionalService=geli_nlu2;version=0.5;filterUrl=https://testnlu.gree.com:443/semantic/unisoundc2c/querys;"
},
"nluRet": {
"text": "
暂停闹钟
"
"text": "
哈萨克斯坦的全称
"
},
"postProc": {}
}
...
...
@@ -100,7 +101,7 @@ Content-Type: application/json
"trafficParameter": "mode=childxx;macWifi=ece154a73d38;mid=11011;macVoice=testyuntiancloud;ver=3.0;scenario=smarthome;filterName=nlu;req_nlu_length=1;returnType=json;fullDuplex=true;appendLength=1;additionalService=geli_nlu2;version=0.5;filterUrl=https://testnlu.gree.com:443/semantic/unisoundc2c/querys;"
},
"nluRet": {
"text": "
暂停闹钟
"
"text": "
换一首歌
"
},
"postProc": {}
}
...
...
service/speechNlu/domain.go
View file @
e282b311
...
...
@@ -780,7 +780,7 @@ func playCtrlDomain(params *model.SpeechDomainParams) []byte {
return
transformGreeProtocolReply
(
query
,
"PlayControl"
,
"control_resume"
,
nil
)
case
"DUI.MediaController.Stop"
:
return
transformGreeProtocolReply
(
query
,
"PlayControl"
,
"control_stop"
,
nil
)
case
"DUI.MediaController.Next"
:
case
"DUI.MediaController.Next"
,
"DUI.MediaController.Switch"
:
return
transformGreeProtocolReply
(
query
,
"PlayControl"
,
"control_next"
,
nil
)
case
"DUI.MediaController.Prev"
:
return
transformGreeProtocolReply
(
query
,
"PlayControl"
,
"control_previous"
,
nil
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment