Personal Graph - MessageOnTap/MessageOnTap_API GitHub Wiki

Personal Knowledge Graph runs independently with MessageOnTap, continuously listens to personal data streams and centralizes them into a graph structure. MessageOnTap connects the message semantics and the semantic structures of personal data by integrating Personal Knowledge Graph, making it very easy to retrieve or update personal data. Plugin developers can communicate with MessageOnTap to query all kinds of personal data through a unifi€ed interface, and then choose to present either useful prompts or direct actions for end-users to simplify any of their tasks they might have.

Here is the Graph HashMap Key developers may use.

Types

  • Person
  • Image
  • Place
  • Event
  • Browser Search
  • Browser Visit
  • Flight
  • Ticket
  • Order
  • Document

Usage

import edu.cmu.chimps.messageontap_api.Tag;
import edu.cmu.chimps.messageontap_api.ParseTree;
import edu.cmu.chimps.messageontap_api.EntityAttributes;

Node newNode = new Node();
newNode.addTag(EntityAttributes.Graph.Person.Name);

Other Fields

  • Graph.SYNTAX_TREE
  • Graph.CARD_LIST
  • CURRENT_MESSAGE_CONTACT_NAME
  • CURRENT_MESSAGE_RELATIVE_POSITION
  • CURRENT_MESSAGE_EMBEDDED_TIME
  • CURRENT_MESSAGE_TEXT_BOX_ACCESSIBILITY_NODE_INFO
  • PMS.TRIGGER_SOURCE