feat: implement KM-RAG methodology artifacts and core architectural standards with supporting query and service updates

This commit is contained in:
2026-05-03 16:12:07 +02:00
parent 1f187b5125
commit afdfc31d1a
11 changed files with 823 additions and 11 deletions
@@ -28,15 +28,10 @@ internal sealed class GetKnowledgeGraphQueryHandler : IQueryHandler<GetKnowledge
if (graph is null)
return Result.Ok(new GraphDataDto());
var nodes = graph.Nodes
.Select(n => new GraphNodeDto(n.Id, n.Label, n.Group))
.ToList();
var links = graph.Links
.Select(l => new GraphLinkDto(l.Source, l.Target, l.Value))
.ToList();
return Result.Ok(new GraphDataDto { Nodes = nodes, Links = links });
if (graph is null)
return Result.Ok(new GraphDataDto());
return Result.Ok(graph);
}
}