Building a Chatbot in Neo4j (Part Two)

Ready for Part Two?
You may also like: Building a Chatbot in Neo4j

In part one our this building a chatbot series, we figured out how to use OpenNLP to "hear" what a user is saying and figure out both their intent and any entities they may have mentioned. Today we're going to learn how to use Neo4j to talk back...like an impudent child.

We haven't done any graph modeling yet, so let's tackle part of this. Our chatbot will be used by a team of Shadowrunners under a single account, but by different members of the team. We need Account nodes and these nodes will have Members that send us messages, and we'll have to reply to those messages. The messages will be in order, so we can chain them together in a list. It looks like this: