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
4773dba7
Commit
4773dba7
authored
Jun 16, 2025
by
赵文静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加国学
parent
ce1c23a9
Pipeline
#5415
passed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
5 deletions
+18
-5
CHANGELOG.md
CHANGELOG.md
+1
-0
c2c.http
c2c.http
+15
-3
service/speechNlu/constant.go
service/speechNlu/constant.go
+1
-1
service/speechNlu/register.go
service/speechNlu/register.go
+1
-1
No files found.
CHANGELOG.md
View file @
4773dba7
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
-
修改sessionId记录
-
修改sessionId记录
-
修改播控
-
修改播控
-
增加一个http的入口
-
增加一个http的入口
-
增加国学
## [0.0.1-beta.2] - 2025.5.29
## [0.0.1-beta.2] - 2025.5.29
### Changed
### Changed
...
...
c2c.http
View file @
4773dba7
POST https://testnlu.gree.com/semantic/unisoundc2c/speech-nlu-parse
Content-Type: application/json
{
"ip": "14.215.222.17",
"mac": "ece154a865eb",
"mid": "11011",
"query":"播放弟子规",
"requestId": "123456111"
}
###
POST http://localhost:13302/semantic/unisoundc2c/speech-nlu-parse
POST http://localhost:13302/semantic/unisoundc2c/speech-nlu-parse
Content-Type: application/json
Content-Type: application/json
...
@@ -5,7 +17,7 @@ Content-Type: application/json
...
@@ -5,7 +17,7 @@ Content-Type: application/json
"ip": "14.215.222.17",
"ip": "14.215.222.17",
"mac": "ece154a865eb",
"mac": "ece154a865eb",
"mid": "11011",
"mid": "11011",
"query":"
明天天气
",
"query":"
播放弟子规
",
"requestId": "123456111"
"requestId": "123456111"
}
}
...
@@ -26,7 +38,7 @@ Content-Type: application/json
...
@@ -26,7 +38,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;"
"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": {
"nluRet": {
"text": "
珠海在哪里
"
"text": "
播放海来阿木的专辑
"
},
},
"postProc": {}
"postProc": {}
}
}
...
@@ -67,7 +79,7 @@ Content-Type: application/json
...
@@ -67,7 +79,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;"
"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": {
"nluRet": {
"text": "
计算五加三
"
"text": "
播放国学故事
"
},
},
"postProc": {}
"postProc": {}
}
}
...
...
service/speechNlu/constant.go
View file @
4773dba7
...
@@ -78,7 +78,7 @@ const (
...
@@ -78,7 +78,7 @@ const (
SCIENCE
=
"计算器"
SCIENCE
=
"计算器"
CHENGYU
=
"成语"
CHENGYU
=
"成语"
BAIKE
=
"百科"
BAIKE
=
"百科"
FM
=
"
网络电台
"
FM
=
"
国学
"
CHILDMUSIC
=
"儿歌"
CHILDMUSIC
=
"儿歌"
GLOBALCTRL
=
"中控"
GLOBALCTRL
=
"中控"
PlayCTRL
=
"播放控制"
PlayCTRL
=
"播放控制"
...
...
service/speechNlu/register.go
View file @
4773dba7
...
@@ -38,7 +38,7 @@ func register() {
...
@@ -38,7 +38,7 @@ func register() {
DomainRegister
(
SCIENCE
,
scienceDomain
)
DomainRegister
(
SCIENCE
,
scienceDomain
)
DomainRegister
(
CHENGYU
,
chengyuDomain
)
DomainRegister
(
CHENGYU
,
chengyuDomain
)
DomainRegister
(
BAIKE
,
baikeDomain
)
DomainRegister
(
BAIKE
,
baikeDomain
)
//
DomainRegister(FM, fmDomain)
DomainRegister
(
FM
,
fmDomain
)
DomainRegister
(
CHILDMUSIC
,
childMusicDomain
)
DomainRegister
(
CHILDMUSIC
,
childMusicDomain
)
DomainRegister
(
GLOBALCTRL
,
globalCtrlDomain
)
DomainRegister
(
GLOBALCTRL
,
globalCtrlDomain
)
DomainRegister
(
PlayCTRL
,
playCtrlDomain
)
DomainRegister
(
PlayCTRL
,
playCtrlDomain
)
...
...
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