namespace AIStudio.Tools.Databases.ProvenanceStore; /// /// One piece of content a chat received besides its messages, exactly as the AI received it. /// /// /// Where the content comes from, such as the file, the page, or the tool, is kept by the chat /// itself, next to the id of this entry. The chat needs it to list its sources even without this /// store, and it would only be stored twice here. /// /// The id the chat refers to the entry by. /// What sort of content this is. /// The content, after the prompt injection filter. /// The content an ERI server sent along around its passage, empty for everything else. /// When the entry was stored. public sealed record ProvenanceEntry(Guid Id, ProvenanceKind Kind, string Content, IReadOnlyList SurroundingContent, DateTimeOffset CreatedAtUtc);