mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-01 20:07:21 +00:00
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
12 lines
643 B
C#
12 lines
643 B
C#
using AIStudio.Tools.RAG;
|
|
|
|
namespace AIStudio.Agents;
|
|
|
|
/// <summary>
|
|
/// Represents the result of a retrieval context validation.
|
|
/// </summary>
|
|
/// <param name="Decision">Whether the retrieval context is useful or not.</param>
|
|
/// <param name="Reason">The reason for the decision.</param>
|
|
/// <param name="Confidence">The confidence of the decision.</param>
|
|
/// <param name="RetrievalContext">The retrieval context that was validated, as it is prepared for the AI.</param>
|
|
public readonly record struct RetrievalContextValidationResult(bool Decision, string Reason, float Confidence, PreparedRetrievalContext? RetrievalContext) : IConfidence; |