Why do we need knowledge base actions?
One of the common challenges you face when building a chatbot is that users might not refer to things using names but with pronouns such as "it," "this," and "that" or "the previous one" and "the second one." Here is an example:
User: Do you have any recommended songs for me? Bot: I find the following songs: 1: Billie Jean 2: The Shape of My Heart 3: Like a Rolling Stone User: Which album is the first song? Bot: "Billie Jean" is from Michael Jackson's album "Thriller".
In the preceding example, User
refers to Billie Jean
as the first song
. This pattern is common in spoken language, especially when the name of the item is uncommon (for example, IKEA's "FRAKATA Carrier Bag") or the name...