TapinYour learning

Complex · Giving an agent something to stand on

Questions that need several facts joined

Some questions need facts from several pages, joined in a chain. “Can the bread rolls arrive before the long weekend?” needs the bakery, its delivery days and the closed days. A knowledge graph stores things as points, with named links between them. Code follows the links and passes the joined facts to the model. A wrong link spreads into every answer that follows it, so links are kept with care.

Video coming

Example

Maple Mart knowledge graph bakery --delivers--> bread rolls bakery --delivers on--> Tuesday, Friday Friday --is in--> the long weekend, store closed Question: can the rolls arrive before the long weekend? Follow the links: Tuesday, yes. Friday, the store is closed.

Try it Yourself

Write one more link for Milo’s graph, in the form: thing --link--> thing.

Exercise

When is a knowledge graph worth building?

Project: Plan one weekly job at Maple Mart
Project: Wire Maple Mart’s reorder agent, from the tool to the gateway
Project: Make Maple Mart’s order agent production-ready