using AIStudio.Tools.RAG; namespace AIStudio.Agents; /// /// Represents the result of a retrieval context validation. /// /// Whether the retrieval context is useful or not. /// The reason for the decision. /// The confidence of the decision. /// The retrieval context that was validated. public readonly record struct RetrievalContextValidationResult(bool Decision, string Reason, float Confidence, IRetrievalContext? RetrievalContext) : IConfidence;