Skip to main content
class DocumentAnalysisClient
Re-export
import { DocumentAnalysisClient } from "https://deno.land/x/ai_form_recognizer@v1.0.1/mod.ts";

Constructors

new
DocumentAnalysisClient(
endpoint: string,
credentials: IAzureCredentials,
options?: { version?: string; },
)

Properties

options: { version: string; }

Methods

private
sendResults<TResult>(uri: string, result: AnalyzeOperationResult<TResult>)
analyze<TResult>(
model: string,
input: AnalyseInput,
options?: AnalyseOptions,
)
analyzeDocument(input: AnalyseInput, options?: AnalyseOptions): Promise<AnalyzeOperationResult<AnalyzeResult>>
analyzeDocumentFromUrl(formUrl: string, options?: AnalyseOptions): Promise<AnalyzeOperationResult<AnalyzeResult>>
awaitResults<TResult>(model: string, input: AnalyseInput): Promise<IAsyncAnalyzeResult<TResult>>
beginAnalyze<TResult>(model: string, input: AnalyseInput): Promise<AnalyzeOperationResult<TResult>>
beginAnalyzeDocument(input: AnalyseInput): Promise<AnalyzeOperationResult<AnalyzeResult>>
beginAnalyzeDocumentFromUrl(formUrl: string): Promise<AnalyzeOperationResult<AnalyzeResult>>
retrieveResults<TResult>(model: string, requestId: string): Promise<AnalyzeOperationResult<TResult>>