- 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.
推薦閱讀
- Python機器學習:數據分析與評分卡建模(微課版)
- 算法零基礎一本通(Python版)
- Cassandra Data Modeling and Analysis
- PHP+MySQL網站開發項目式教程
- C語言從入門到精通
- iOS自動化測試實戰:基于Appium、Python與Pytest
- Learning YARN
- Hadoop 2.X HDFS源碼剖析
- 軟件測試分析與實踐
- jQuery從入門到精通(微課精編版)
- Java Hibernate Cookbook
- Java Web開發基礎與案例教程
- Mastering Unreal Engine 4.X
- Android初級應用開發
- Java 9:Building Robust Modular Applications