mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 13:00:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			411 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			411 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace AIStudio.Tools;
 | 
						|
 | 
						|
/// <summary>
 | 
						|
/// A contract for data classes with a confidence value.
 | 
						|
/// </summary>
 | 
						|
/// <remarks>
 | 
						|
/// Using this confidence contract allows us to provide
 | 
						|
/// algorithms based on confidence values.
 | 
						|
/// </remarks>
 | 
						|
public interface IConfidence
 | 
						|
{
 | 
						|
    /// <summary>
 | 
						|
    /// How confident is the AI in this task or decision?
 | 
						|
    /// </summary>
 | 
						|
    public float Confidence { get; init; }
 | 
						|
} |