Learning by doing – building a knowledge-based music query chatbot
We have designed this section to enhance your understanding of knowledge base actions. We will create a QA bot based on a homemade toy-level knowledge base. This QA robot will answer questions regarding music: songs, albums, and singers.
What are the features of our bot?
In this section, we will introduce the characteristics of our robot. Its features can be divided into two types: one is the unconstrained query, and the other is the constrained query (or with filter conditions). The former does not make any constraints or filters on the query object, such as list all singers. The latter has clear constraints, such as List all-male singers born in 1980, where born in 1980 and male are both constraints.
To begin, let's discuss the unconstrained query.
Querying the list of objects and asking for the attributes of the specified object
Example #1: Search for songs and ask for the album attributes...