package at.procon.dip.embedding.model;

import java.util.List;

public record EmbeddingProviderResult(
        EmbeddingModelDescriptor model,
        List<float[]> vectors,
        List<String> warnings,
        String providerRequestId,
        Integer tokenCount,
        EmbeddingPrefixMode prefixMode,
        String appliedPrefix
) {
    public EmbeddingProviderResult(EmbeddingModelDescriptor model,
                                   List<float[]> vectors,
                                   List<String> warnings,
                                   String providerRequestId,
                                   Integer tokenCount) {
        this(model, vectors, warnings, providerRequestId, tokenCount, EmbeddingPrefixMode.OFF, null);
    }
}
