Commit 4773dba7 authored by 赵文静's avatar 赵文静

增加国学

parent ce1c23a9
Pipeline #5415 passed with stage
in 0 seconds
......@@ -9,6 +9,7 @@
- 修改sessionId记录
- 修改播控
- 增加一个http的入口
- 增加国学
## [0.0.1-beta.2] - 2025.5.29
### Changed
......
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
Content-Type: application/json
......@@ -5,7 +17,7 @@ Content-Type: application/json
"ip": "14.215.222.17",
"mac": "ece154a865eb",
"mid": "11011",
"query":"明天天气",
"query":"播放弟子规",
"requestId": "123456111"
}
......@@ -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;"
},
"nluRet": {
"text": "珠海在哪里"
"text": "播放海来阿木的专辑"
},
"postProc": {}
}
......@@ -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;"
},
"nluRet": {
"text": "计算五加三"
"text": "播放国学故事"
},
"postProc": {}
}
......
......@@ -78,7 +78,7 @@ const (
SCIENCE = "计算器"
CHENGYU = "成语"
BAIKE = "百科"
FM = "网络电台"
FM = "国学"
CHILDMUSIC = "儿歌"
GLOBALCTRL = "中控"
PlayCTRL = "播放控制"
......
......@@ -38,7 +38,7 @@ func register() {
DomainRegister(SCIENCE, scienceDomain)
DomainRegister(CHENGYU, chengyuDomain)
DomainRegister(BAIKE, baikeDomain)
//DomainRegister(FM, fmDomain)
DomainRegister(FM, fmDomain)
DomainRegister(CHILDMUSIC, childMusicDomain)
DomainRegister(GLOBALCTRL, globalCtrlDomain)
DomainRegister(PlayCTRL, playCtrlDomain)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment