I have created a dialogflow ES with Webhook and integrated with Google Assistant. I want my Google assistant to accept inputs in Tamil language. But there is no Tamil listed in language section. Is there is any other way to accept my inputs in Tamil ? I enabled Hindi and said Ek Baje
, it has accepted and I consoled with 1 a.m. I want to do the same with Tamil.
Accepted language by Google assistant
Webhook
const express = require('express');
const app = express();
const df = require('dialogflow-fulfillment');
var voice = "female";
var variant = "2"
app.get('/', (req, res) => {
res.send('We are live')
});
app.post('/', express.json(), (req, res) => {
const agent = new df.WebhookClient({
request: req,
response: res
});
function getTime(agent) {
let conv = agent.conv();
var breakfastTime = agent.context.get('time');
const ssml = '<speak> <voice language="ta-IN" gender="'+voice+'" variant="'+variant+'">' +
'Thank you, Have a great day ' +
' </voice> </speak>';
conv.ask(ssml);
agent.add(conv);
}
var intentMap = new Map();
intentMap.set('Time', getTime);
})
app.listen(3000, () => console.log("Sever is live"));