package com.tencent.supersonic.common.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Text2SQLExemplar implements Serializable {

    public static final String PROPERTY_KEY = "sql_exemplar";

    private String question;

    private String sideInfo;

    private String dbSchema;

    private String sql;

    protected double similarity; // 传递相似度，可以作为样本筛选的依据
}
