Class ContentSafetyDocumentAnalysisResult
- Namespace
- FoundationaLLM.Common.Models.ContentSafety
- Assembly
- FoundationaLLM.Common.dll
Represents the result of a content safety analysis for multiple documents.
public class ContentSafetyDocumentAnalysisResult
- Inheritance
-
ContentSafetyDocumentAnalysisResult
- Inherited Members
- Extension Methods
Properties
Details
Gets or sets the details associated with the analysis, such as error messages if the analysis was not successful.
public string? Details { get; set; }
Property Value
DocumentResults
Gets or sets the analysis results for each processed document, indexed by document identifier.
public Dictionary<int, ContentSafetyAnalysisResult> DocumentResults { get; set; }
Property Value
Remarks
Each entry in the dictionary maps a unique document identifier to its corresponding content safety analysis result. The dictionary will be empty if no documents have been analyzed.
Success
Gets or sets a flag representing if the analysis was executed successfully.
public bool Success { get; set; }
Property Value
Remarks
In this context, success means that there was at least one attempt to evaluate each document. The DocumentResults property might still contain documents for which the attempt was not successfully carried out.