package com.agent.management.rag.capability;

import com.agent.management.rag.graph.GraphSchemaSnapshot;
import com.agent.management.rag.model.RagSourceType;

import java.time.Instant;
import java.util.List;

public record RagCapabilityProfile(RagSourceType sourceType, String sourceId, String version,
                                   Instant generatedAt, SqlSchemaSnapshot sqlSchema,
                                   GraphSchemaSnapshot graphSchema, List<RagSemanticEntry> semanticCatalog) {
    public RagCapabilityProfile { semanticCatalog = List.copyOf(semanticCatalog == null ? List.of() : semanticCatalog); }
}
