- Voice User Interface Projects
- Henry Lee
- 189字
- 2021-07-23 17:17:08
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Let's create a sendResponse function that will respond with a simple response."
A block of code is set as follows:
var request, response;
exports.dialogflowFirebaseFulfillment = firebase.https.onRequest((req, res) => {
request = req;
response = res;
console.log('Fortune Cookie Request headers: ' + JSON.stringify(request.headers));
console.log('Fortune Cookie Request body: ' + JSON.stringify(request.body));
if (request.body.queryResult) {
processV2Request();
} else {
console.log('Invalid Request');
return response.status(400).end('Invalid Webhook Request');
}
});
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
var request, response, parameters;
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Click Add follow-up intent and select custom intent."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- Learning Neo4j
- Web程序設(shè)計(jì)及應(yīng)用
- Qt 5 and OpenCV 4 Computer Vision Projects
- 測試驅(qū)動開發(fā):入門、實(shí)戰(zhàn)與進(jìn)階
- JavaScript Unlocked
- C/C++算法從菜鳥到達(dá)人
- MATLAB實(shí)用教程
- C語言程序設(shè)計(jì)實(shí)踐教程
- TradeStation交易應(yīng)用實(shí)踐:量化方法構(gòu)建贏家策略(原書第2版)
- Android Wear Projects
- Go語言精進(jìn)之路:從新手到高手的編程思想、方法和技巧(2)
- Service Mesh實(shí)戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實(shí)踐
- HTML5秘籍(第2版)
- 打開Go語言之門:入門、實(shí)戰(zhàn)與進(jìn)階
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析