{"path":"NexusReader.Application/DTOs/AI/SemanticSearchResultDto.cs","purpose":"Defines a simple Data Transfer Object (DTO) representing a semantic search result used by the Application layer to carry search snippet, relevance and metadata.","classification":{"role":"dto","layer":"application","confidence":0.95,"evidence":["DTO/view-model naming pattern","Namespace NexusReader.Application.DTOs.AI","Class name ends with 'Dto' and file path under Application/DTOs"]},"className":"SemanticSearchResultDto","methods":[],"types":[{"name":"SemanticSearchResultDto","kind":"dto","line":3,"purpose":"Carries the result of a semantic search (content hash, snippet, relevance, source and optional metadata).","fields":[{"name":"ContentHash","type":"string","required":true,"line":5,"description":"Identifier/hash of the content returned"},{"name":"Snippet","type":"string","required":true,"line":6,"description":"Short text snippet excerpt from matched content"},{"name":"UnitType","type":"string?","required":false,"line":7,"description":"Optional type of the content unit (e.g., chapter, paragraph)"},{"name":"RelevanceScore","type":"float","required":true,"line":8,"description":"Numeric relevance score for ordering results"},{"name":"SourceBookTitle","type":"string?","required":false,"line":9,"description":"Optional source book title where the content came from"},{"name":"Metadata","type":"Dictionary?","required":false,"line":10,"description":"Optional additional context key/value pairs"}]}],"serviceRegistrations":[],"startupActions":[],"dependencies":[],"patterns":["DTO"],"domainConcepts":["SemanticSearch","AI","SearchResult"],"keyDetails":"Simple immutable-shaped DTO (auto-properties) used to transfer semantic search results; no methods or runtime behavior in this file.","orchestrationMethods":[],"typedContracts":[{"name":"SemanticSearchResultDto","kind":"dto","line":3,"fieldCount":6,"evidencePaths":["NexusReader.Application/DTOs/AI/SemanticSearchResultDto.cs"]}],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[{"kind":"typed-contract","label":"SemanticSearchResultDto","line":3,"summary":"dto with 6 fields.","confidence":0.8,"evidencePaths":["NexusReader.Application/DTOs/AI/SemanticSearchResultDto.cs"]}],"cacheMetadata":{"schemaVersion":2,"analysisVersion":"2026-05-23.cache-v1","contentChecksum":"173f463b736020dd7ae03300cd14d0e1d44d68597fc2661b44cde85051f21c43","sourceByteSize":428,"analyzedAt":"2026-05-23T16:17:05.113Z","technology":"dotnet"}}