code: function Models(ml, base_url) {
    this.ml = ml;
    this.base_url = base_url;
  
    if (includes(base_url, 'classifiers')) {
      this.run_action = 'classify';
    } else if (includes(base_url, 'extractors')) {
      this.run_action = 'extract';
    } else {
      this.run_action = undefined;
    }
  }
docs: base class for endpoints that are in extractors, classifiers and workflows