Step 3, continued
Some explanations of what we just did:
The knowledge bases to instantiate are described in the JSON files in
examples/knowledgebases/victorian
A local knowledge base of class
RoutingKnowledgebase
is instantiatedThe routing knowledge base connects to the remote knowledge bases
babbage
,darwin
andgalton
The routing knowledge base uses the descriptions of the remote knowledge bases to match them to queries
A knowledge base named
general
is used to catch queries not matching any specialist knowledge baseOur
general
knowledge base simply replies that it doesn’t know; this could be replaced with more capable behavior