- 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.
推薦閱讀
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- LabVIEW入門與實戰開發100例
- Learning ArcGIS Pro 2
- Learning Elixir
- 深入理解Java7:核心技術與最佳實踐
- 持續輕量級Java EE開發:編寫可測試的代碼
- 動手學數據結構與算法
- Illustrator CC平面設計實戰從入門到精通(視頻自學全彩版)
- PHP 7從零基礎到項目實戰
- C語言程序設計實訓教程與水平考試指導
- Java程序設計實用教程(第2版)
- 計算機系統解密:從理解計算機到編寫高效代碼
- Scala編程(第4版)
- JavaScript全棧開發
- Building E-Commerce Solutions with WooCommerce(Second Edition)