Share via


DocumentIntelligenceModelFactory.AnalyzeResult Method

Definition

Initializes a new instance of AnalyzeResult.

public static Azure.AI.DocumentIntelligence.AnalyzeResult AnalyzeResult (string apiVersion = default, string modelId = default, Azure.AI.DocumentIntelligence.StringIndexType stringIndexType = default, Azure.AI.DocumentIntelligence.ContentFormat? contentFormat = default, string content = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentPage> pages = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentParagraph> paragraphs = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentTable> tables = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentFigure> figures = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSection> sections = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentKeyValuePair> keyValuePairs = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentStyle> styles = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentLanguage> languages = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.AnalyzedDocument> documents = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning> warnings = default);
static member AnalyzeResult : string * string * Azure.AI.DocumentIntelligence.StringIndexType * Nullable<Azure.AI.DocumentIntelligence.ContentFormat> * string * seq<Azure.AI.DocumentIntelligence.DocumentPage> * seq<Azure.AI.DocumentIntelligence.DocumentParagraph> * seq<Azure.AI.DocumentIntelligence.DocumentTable> * seq<Azure.AI.DocumentIntelligence.DocumentFigure> * seq<Azure.AI.DocumentIntelligence.DocumentSection> * seq<Azure.AI.DocumentIntelligence.DocumentKeyValuePair> * seq<Azure.AI.DocumentIntelligence.DocumentStyle> * seq<Azure.AI.DocumentIntelligence.DocumentLanguage> * seq<Azure.AI.DocumentIntelligence.AnalyzedDocument> * seq<Azure.AI.DocumentIntelligence.DocumentIntelligenceWarning> -> Azure.AI.DocumentIntelligence.AnalyzeResult
Public Shared Function AnalyzeResult (Optional apiVersion As String = Nothing, Optional modelId As String = Nothing, Optional stringIndexType As StringIndexType = Nothing, Optional contentFormat As Nullable(Of ContentFormat) = Nothing, Optional content As String = Nothing, Optional pages As IEnumerable(Of DocumentPage) = Nothing, Optional paragraphs As IEnumerable(Of DocumentParagraph) = Nothing, Optional tables As IEnumerable(Of DocumentTable) = Nothing, Optional figures As IEnumerable(Of DocumentFigure) = Nothing, Optional sections As IEnumerable(Of DocumentSection) = Nothing, Optional keyValuePairs As IEnumerable(Of DocumentKeyValuePair) = Nothing, Optional styles As IEnumerable(Of DocumentStyle) = Nothing, Optional languages As IEnumerable(Of DocumentLanguage) = Nothing, Optional documents As IEnumerable(Of AnalyzedDocument) = Nothing, Optional warnings As IEnumerable(Of DocumentIntelligenceWarning) = Nothing) As AnalyzeResult

Parameters

apiVersion
String

API version used to produce this result.

modelId
String

Document model ID used to produce this result.

stringIndexType
StringIndexType

Method used to compute string offset and length.

contentFormat
Nullable<ContentFormat>

Format of the analyze result top-level content.

content
String

Concatenate string representation of all textual and visual elements in reading order.

pages
IEnumerable<DocumentPage>

Analyzed pages.

paragraphs
IEnumerable<DocumentParagraph>

Extracted paragraphs.

tables
IEnumerable<DocumentTable>

Extracted tables.

figures
IEnumerable<DocumentFigure>

Extracted figures.

sections
IEnumerable<DocumentSection>

Extracted sections.

keyValuePairs
IEnumerable<DocumentKeyValuePair>

Extracted key-value pairs.

styles
IEnumerable<DocumentStyle>

Extracted font styles.

languages
IEnumerable<DocumentLanguage>

Detected languages.

documents
IEnumerable<AnalyzedDocument>

Extracted documents.

warnings
IEnumerable<DocumentIntelligenceWarning>

List of warnings encountered.

Returns

A new AnalyzeResult instance for mocking.

Applies to