February 2018
Intermediate to advanced
378 pages
10h 14m
English
Most chatbots look like reincarnations of console applications: you have a predefined set of commands and the bot produces an output for every command of yours. Someone even joked that Linux includes an awesome chatbot called console. But they don't always have to be that way. Let's see how we can make them more interesting. A typical chatbot consists of one or several input streams, a brain, and output streams. Inputs can be a keyboard, voice recognition, or set of predefined phrases. The brain is a sort of algorithm for transforming input into output. In our example, the brain will be based on word embeddings. Output streams also may be different, such as text, speech, search results (like Siri does), and so on.
Read now
Unlock full access