Language

ContentUnderstandingModelFactory.ContentAnalyzerConfig Method

Definition

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

shouldReturnDetails
Nullable<Boolean>

Return all content details.

locales
IEnumerable<String>

List of locale hints for speech transcription.

enableOcr
Nullable<Boolean>

Enable optical character recognition (OCR).

enableLayout
Nullable<Boolean>

Enable layout analysis.

enableFigureDescription
Nullable<Boolean>

Enable generation of figure description.

enableFigureAnalysis
Nullable<Boolean>

Enable analysis of figures, such as charts and diagrams.

enableFormula
Nullable<Boolean>

Enable mathematical formula detection.

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.

disableFaceBlurring
Nullable<Boolean>

Disable the default blurring of faces for privacy while processing the content.

estimateFieldSourceAndConfidence
Nullable<Boolean>

Return field grounding source and confidence.

contentCategories
IDictionary<String,ContentCategoryDefinition>

Map of categories to classify the input content(s) against.

enableSegment
Nullable<Boolean>

Enable segmentation of the input by contentCategories.

segmentPerPage
Nullable<Boolean>

Force segmentation of document content by page.

shouldOmitContent
Nullable<Boolean>

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.

allowInputTruncation
Nullable<Boolean>

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.

allowInPageSegments
Nullable<Boolean>

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.

Applies to