Files
Nexus.Reader/src/.documentation/cache/summaries/NexusReader.Application__DTOs__AI__GroundedResponseDto.cs.json
T
2026-05-25 14:02:56 +02:00

1 line
2.7 KiB
JSON

{"path":"NexusReader.Application/DTOs/AI/GroundedResponseDto.cs","purpose":"Defines simple DTOs for AI grounded responses and their citations used across the application boundary.","classification":{"role":"dto","layer":"application","confidence":0.8,"evidence":["DTO/view-model naming pattern","Namespace NexusReader.Application.DTOs.AI indicates application-layer DTOs","File contains plain POCO classes with public properties and default initializers"]},"className":"","methods":[],"types":[{"name":"GroundedResponseDto","kind":"dto","line":5,"purpose":"Represents a grounded AI answer plus associated citations.","fields":[{"name":"Answer","type":"string","required":true,"line":7,"description":"Primary textual answer from the AI"},{"name":"Citations","type":"List<CitationDto>","required":true,"line":8,"description":"List of citation entries that support the answer"}]},{"name":"CitationDto","kind":"dto","line":11,"purpose":"Represents a single citation/snippet referencing source material supporting an AI response.","fields":[{"name":"CitationId","type":"string","required":true,"line":13,"description":"Identifier for the cited chunk (e.g., chunk hash/ID)"},{"name":"Snippet","type":"string","required":true,"line":14,"description":"Verified text snippet extracted from the source context"},{"name":"SourceBook","type":"string","required":true,"line":15,"description":"Book title or human-readable source description"}]}],"serviceRegistrations":[],"startupActions":[],"dependencies":[],"patterns":["DTO","POCO"],"domainConcepts":["Grounded AI Response","Citation"],"keyDetails":"Simple, immutable-seeming DTOs (with default initializers) meant for transporting AI answers and their provenance; no runtime behavior, external calls, or persistence in this file.","orchestrationMethods":[],"typedContracts":[{"name":"GroundedResponseDto","kind":"dto","line":5,"fieldCount":2,"evidencePaths":["NexusReader.Application/DTOs/AI/GroundedResponseDto.cs"]},{"name":"CitationDto","kind":"dto","line":11,"fieldCount":3,"evidencePaths":["NexusReader.Application/DTOs/AI/GroundedResponseDto.cs"]}],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[{"kind":"typed-contract","label":"GroundedResponseDto","line":5,"summary":"dto with 2 fields.","confidence":0.8,"evidencePaths":["NexusReader.Application/DTOs/AI/GroundedResponseDto.cs"]},{"kind":"typed-contract","label":"CitationDto","line":11,"summary":"dto with 3 fields.","confidence":0.8,"evidencePaths":["NexusReader.Application/DTOs/AI/GroundedResponseDto.cs"]}],"cacheMetadata":{"schemaVersion":2,"analysisVersion":"2026-05-23.cache-v1","contentChecksum":"717b4a7e0b2e1e969aef25735b5861388e6278777c1e5664d997fb572d9351f8","sourceByteSize":546,"analyzedAt":"2026-05-23T16:17:01.422Z","technology":"dotnet"}}