package at.procon.dip.embedding.config;

import at.procon.dip.domain.document.RepresentationType;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "dip.embedding.profiles")
@Data
public class EmbeddingProfileProperties {

    private Map<String, ProfileDefinition> definitions = new LinkedHashMap<>();

    @Data
    public static class ProfileDefinition {
        private List<RepresentationType> embedRepresentationTypes = new ArrayList<>();
    }
}
