package com.easyagents.rag.retrieval;

import java.util.ArrayList;
import java.util.List;

public class RagRetrievalResult {

    private List<RagHit> hits = new ArrayList<RagHit>();
    private Integer total;

    public List<RagHit> getHits() {
        return hits;
    }

    public void setHits(List<RagHit> hits) {
        this.hits = hits == null ? new ArrayList<RagHit>() : hits;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
