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 instantiated

  • The routing knowledge base connects to the remote knowledge bases babbage, darwin and galton

  • 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 base

  • Our general knowledge base simply replies that it doesn’t know; this could be replaced with more capable behavior