package com.easyagents.rag.retrieval;

public enum HitSource {
    VECTOR,
    KEYWORD,
    BOTH;

    public static HitSource merge(HitSource current, HitSource incoming) {
        if (current == null) {
            return incoming;
        }
        if (incoming == null || current == incoming) {
            return current;
        }
        return BOTH;
    }
}
