package org.jk.rag.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.jk.common.tenant.core.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 切片修正历史 slice_info_history
 *
 * @author jk
 */

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("evaluation_task")
public class EvaluationTask extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "task_id")
    private Long taskId;

    private String taskName;

    private String taskDescription;

    private String evaluationType;

    private String reviewRag;

    private String model;

    private String evaluationData;

    private String status;

    private BigDecimal resultStore;

    private BigDecimal answerLoyalty;

    private BigDecimal correctAnswer;

    private BigDecimal answerRelevance;

    private BigDecimal noiseSensitivity;

    private BigDecimal contextRecall;

    private BigDecimal contextRelevance;

    private String delFlag;

    private String embeddingId;

    private Date startTime;

    private Date endTime;

}
