GraphRAG collection profile。
Profile 描述某类 collection 是否启用 GraphRAG,以及运行时需要哪些图能力。 企业平台通过 profile 把合同、制度、设备关系、供应链关系等强实体关系场景 与普通 RAG collection 区分开。
Summary
Types
@type mode() :: :plain_rag | :entity_graph | :relationship_graph | :community_graph
@type t() :: %CMDCRAGArcana.Graph.Profile{ evidence_limit: pos_integer(), graph_enabled?: boolean(), id: String.t(), metadata: map(), mode: mode(), name: String.t() | nil, requires_communities?: boolean(), requires_entity_embeddings?: boolean(), requires_llm?: boolean(), requires_relationships?: boolean() }