Class TurAssetTrainingService

java.lang.Object
com.viglet.turing.service.asset.TurAssetTrainingService

@Service public class TurAssetTrainingService extends Object
Orchestrates training (embedding indexing) of all MinIO assets into a Vector Store.
Since:
2026.1.14
Author:
Alexandre Oliveira
  • Constructor Details

  • Method Details

    • getStatus

      public TurAssetTrainingStatus getStatus()
    • getTrainedAtMap

      public Map<String,String> getTrainedAtMap(List<String> objectNames)
      Returns a map of objectName -> trainedAt ISO string for the given file names. Files not yet trained are absent from the map.
    • indexSingleFile

      public void indexSingleFile(String objectName, String contentType, long size)
      Index a single file (called from event listener on upload).
    • deindexSingleFile

      public void deindexSingleFile(String objectName)
      Deindex a single file (called from event listener on delete).
    • startTraining

      public TurAssetTrainingStatus startTraining()