using System.Text.Json.Nodes;
using AIStudio.Tools.RAG;
namespace AIStudio.Tools.ToolCallingSystem.ToolCallingImplementations.Mailboxes;
///
/// A mail found, written for the model and for the user once its texts went through the filter.
///
/// What the model reads of the mail.
/// The source of the mail, listed below the answer.
/// What the user is shown of the mail: what the model received of it.
/// How long the description is, as the model receives it.
internal sealed record DescribedMail(JsonObject Description, Source Source, SourcePassage Passage, int Characters);