日本語が発話されない件の2
This commit is contained in:
@@ -132,14 +132,13 @@ app.post('/speak', async function(req, res) {
|
|||||||
'@type': 'com.amazon.alexa.behaviors.model.Sequence',
|
'@type': 'com.amazon.alexa.behaviors.model.Sequence',
|
||||||
startNode: {
|
startNode: {
|
||||||
'@type': 'com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode',
|
'@type': 'com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode',
|
||||||
type: 'Alexa.Speak',
|
type: 'Alexa.SpeakSsml', // ← ここ変更
|
||||||
operationPayload: {
|
operationPayload: {
|
||||||
deviceType: target.deviceType,
|
deviceType: target.deviceType,
|
||||||
deviceSerialNumber: target.serialNumber,
|
deviceSerialNumber: target.serialNumber,
|
||||||
customerId: customerId,
|
customerId: customerId,
|
||||||
locale: 'ja-JP',
|
locale: 'ja-JP',
|
||||||
textToSpeak: text,
|
textToSpeak: text
|
||||||
speakType: 'ssml'
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user