code: public static AIService getService(final Context context, final AIConfiguration config) {
          if (config.getRecognitionEngine() == AIConfiguration.RecognitionEngine.Google) {
              return new GoogleRecognitionServiceImpl(context, config);
          }
          if (config.getRecognitionEngine() == AIConfiguration.RecognitionEngine.System) {
              return new GoogleRecognitionServiceImpl(context, config);
          }
          else if (config.getRecognitionEngine() == AIConfiguration.RecognitionEngine.Speaktoit) {
              return new SpeaktoitRecognitionServiceImpl(context, config);
          } else {
              throw new UnsupportedOperationException("This engine still not supported");
          }
      }
docs: Use this method to get ready to work instance
  @param context
  @param config
  @return instance of AIService implementation