ContentUnderstandingModelFactory.ContentAnalyzerConfig Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration settings for an analyzer.
public static Azure.AI.ContentUnderstanding.ContentAnalyzerConfig ContentAnalyzerConfig(bool? shouldReturnDetails = default, System.Collections.Generic.IEnumerable<string> locales = default, bool? enableOcr = default, bool? enableLayout = default, bool? enableFigureDescription = default, bool? enableFigureAnalysis = default, bool? enableFormula = default, Azure.AI.ContentUnderstanding.TableFormat? tableFormat = default, Azure.AI.ContentUnderstanding.ChartFormat? chartFormat = default, Azure.AI.ContentUnderstanding.AnnotationFormat? annotationFormat = default, bool? disableFaceBlurring = default, bool? estimateFieldSourceAndConfidence = default, System.Collections.Generic.IDictionary<string,Azure.AI.ContentUnderstanding.ContentCategoryDefinition> contentCategories = default, bool? enableSegment = default, bool? segmentPerPage = default, bool? shouldOmitContent = default, Azure.AI.ContentUnderstanding.ContentAnalyzerWorkflow? workflow = default, bool? allowInputTruncation = default, bool? allowInPageSegments = default, Azure.AI.ContentUnderstanding.ChunkingStrategy chunkingStrategy = default);
static member ContentAnalyzerConfig : Nullable<bool> * seq<string> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.AI.ContentUnderstanding.TableFormat> * Nullable<Azure.AI.ContentUnderstanding.ChartFormat> * Nullable<Azure.AI.ContentUnderstanding.AnnotationFormat> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IDictionary<string, Azure.AI.ContentUnderstanding.ContentCategoryDefinition> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.AI.ContentUnderstanding.ContentAnalyzerWorkflow> * Nullable<bool> * Nullable<bool> * Azure.AI.ContentUnderstanding.ChunkingStrategy -> Azure.AI.ContentUnderstanding.ContentAnalyzerConfig
Public Shared Function ContentAnalyzerConfig (Optional shouldReturnDetails As Nullable(Of Boolean) = Nothing, Optional locales As IEnumerable(Of String) = Nothing, Optional enableOcr As Nullable(Of Boolean) = Nothing, Optional enableLayout As Nullable(Of Boolean) = Nothing, Optional enableFigureDescription As Nullable(Of Boolean) = Nothing, Optional enableFigureAnalysis As Nullable(Of Boolean) = Nothing, Optional enableFormula As Nullable(Of Boolean) = Nothing, Optional tableFormat As Nullable(Of TableFormat) = Nothing, Optional chartFormat As Nullable(Of ChartFormat) = Nothing, Optional annotationFormat As Nullable(Of AnnotationFormat) = Nothing, Optional disableFaceBlurring As Nullable(Of Boolean) = Nothing, Optional estimateFieldSourceAndConfidence As Nullable(Of Boolean) = Nothing, Optional contentCategories As IDictionary(Of String, ContentCategoryDefinition) = Nothing, Optional enableSegment As Nullable(Of Boolean) = Nothing, Optional segmentPerPage As Nullable(Of Boolean) = Nothing, Optional shouldOmitContent As Nullable(Of Boolean) = Nothing, Optional workflow As Nullable(Of ContentAnalyzerWorkflow) = Nothing, Optional allowInputTruncation As Nullable(Of Boolean) = Nothing, Optional allowInPageSegments As Nullable(Of Boolean) = Nothing, Optional chunkingStrategy As ChunkingStrategy = Nothing) As ContentAnalyzerConfig
Parameters
- locales
- IEnumerable<String>
List of locale hints for speech transcription.
- tableFormat
- Nullable<TableFormat>
Representation format of tables in analyze result markdown.
- chartFormat
- Nullable<ChartFormat>
Representation format of charts in analyze result markdown.
- annotationFormat
- Nullable<AnnotationFormat>
Representation format of annotations in analyze result markdown.
Disable the default blurring of faces for privacy while processing the content.
- contentCategories
- IDictionary<String,ContentCategoryDefinition>
Map of categories to classify the input content(s) against.
Omit the content for this analyzer from analyze result. Only return content(s) from additional analyzers specified in contentCategories, if any.
- workflow
- Nullable<ContentAnalyzerWorkflow>
Workflow used for content analysis.
When true, input that exceeds the service's processable-unit limit is truncated to the limit and returned as a partial result with a warning, instead of failing. Field extraction and segmentation, where configured, run over the processed content and may be inaccurate. Defaults to false. Overridable per request by the allowInputTruncation query parameter.
Enable sub-page segmentation. When true, segments may cover a portion of a page instead of full pages.
- chunkingStrategy
- ChunkingStrategy
Strategy for chunking document content into smaller units for RAG scenarios. When omitted, chunking is disabled.
Returns
A new ContentAnalyzerConfig instance for mocking.