mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 08:20:21 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			606 B
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			606 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.</param>
							 | 
						||
| 
								 | 
							
								public readonly record struct RetrievalContextValidationResult(bool Decision, string Reason, float Confidence, IRetrievalContext? RetrievalContext) : IConfidence;
							 |