Class AiProviderController

java.lang.Object
com.axelor.ai.web.AiProviderController

public class AiProviderController extends Object
  • Constructor Details

    • AiProviderController

      public AiProviderController()
  • Method Details

    • syncModels

      public void syncModels(ActionRequest request, ActionResponse response)
      Syncs models from the provider's own API.

      There is no preview, so the message built here is the administrator's record of what changed — it names the models, not just the counts.

    • resetSyncRules

      public void resetSyncRules(ActionRequest request, ActionResponse response)
      Restores the sync rules the platform ships for this provider.

      Seeding never overwrites edited rules, so this is the only route back to the shipped set.