You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
426 B
Java

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