package at.procon.dip.embedding.policy; import at.procon.dip.domain.document.RepresentationType; import java.util.List; public record EmbeddingProfile( String profileKey, List embedRepresentationTypes ) { public boolean includes(RepresentationType representationType) { return embedRepresentationTypes != null && embedRepresentationTypes.contains(representationType); } }