{"path":"NexusReader.Application/Queries/Graph/GetKnowledgeGraphQuery.cs","purpose":"Defines a CQRS query record used to request a knowledge graph extraction from provided text within a tenant scope and optional ebook context.","classification":{"role":"handler","layer":"application","confidence":0.9,"evidence":["Query naming pattern","namespace NexusReader.Application.Queries.Graph","record implements IQuery"]},"className":"GetKnowledgeGraphQuery","methods":[],"types":[{"name":"GetKnowledgeGraphQuery","kind":"query","line":8,"purpose":"Represents a request to produce a GraphDataDto from input text for a given tenant and optional ebook.","fields":[{"name":"Text","type":"string","required":true,"line":8,"description":"Chapter or page content to extract the graph from (doc comment line 5)."},{"name":"TenantId","type":"string","required":true,"line":8,"description":"Tenant scope for knowledge extraction and caching (doc comment line 6)."},{"name":"EbookId","type":"Guid?","required":false,"line":8,"description":"Optional Ebook ID to link the knowledge units to (doc comment line 7)."}]}],"serviceRegistrations":[],"startupActions":[],"dependencies":["NexusReader.Application.Abstractions.Messaging (IQuery)","GraphDataDto (output type)"],"patterns":["CQRS","QueryObject"],"domainConcepts":["Knowledge Graph","Tenant","Ebook"],"keyDetails":"Simple immutable record used as a query DTO; no runtime logic in this file. Implements IQuery and carries three parameters (Text, TenantId, optional EbookId).","orchestrationMethods":[],"typedContracts":[{"name":"GetKnowledgeGraphQuery","kind":"query","line":8,"fieldCount":3,"evidencePaths":["NexusReader.Application/Queries/Graph/GetKnowledgeGraphQuery.cs"]}],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[{"kind":"typed-contract","label":"GetKnowledgeGraphQuery","line":8,"summary":"query with 3 fields.","confidence":0.8,"evidencePaths":["NexusReader.Application/Queries/Graph/GetKnowledgeGraphQuery.cs"]}],"cacheMetadata":{"schemaVersion":2,"analysisVersion":"2026-05-23.cache-v1","contentChecksum":"fa6e2a386c82139c846d9edde8a8b2b4a293ce1f2cce8db44521fcf94f94b903","sourceByteSize":480,"analyzedAt":"2026-05-23T16:17:25.691Z","technology":"dotnet"}}