Skip to content
yuyupopo edited this page Nov 18, 2017 · 2 revisions
export class Agent {
  id: number;
  name: string;
  dialogs: Array<Dialog>;
  explanation: string;
  experiments : Array<Experiment>;
}

export class Dialog {
  id: number;
  trigger: Trigger;
  action: Action;
  behaviors: Array<Behavior>;
}

export class Behavior {
  id: number;
  behavior: string;
  nextDialogId: number;
}

export class Trigger {
  listenTrigger: string;
}

export class Action {
  talkAction: string;
}