@azure-rest/ai-document-intelligence package
Интерфейсы
Псевдонимы типа
| AnalyzeBatchDocumentsParameters | |
| AnalyzeDocumentFromStreamParameters | |
| AnalyzeDocumentParameters | |
| AnalyzeOutputOption |
Псевдоним для AnalyzeOutputOption |
| AuthorizeClassifierCopyParameters | |
| AuthorizeModelCopyParameters | |
| BuildClassifierParameters | |
| BuildModelParameters | |
| ClassifyDocumentFromStreamParameters | |
| ClassifyDocumentParameters | |
| ComposeModelParameters | |
| ContentFormat |
Псевдоним для ContentFormat |
| ContentFormatOutput |
Псевдоним для ContentFormatOutput |
| ContentSourceKind |
Псевдоним для ContentSourceKind |
| ContentSourceKindOutput |
Псевдоним для ContentSourceKindOutput |
| CopyClassifierToParameters | |
| CopyModelToParameters | |
| DeleteClassifierParameters | |
| DeleteModelParameters | |
| DocumentAnalysisFeature |
Псевдоним для DocumentAnalysisFeature |
| DocumentAnalysisFeatureOutput |
Псевдоним для DocumentAnalysisFeatureOutput |
| DocumentBarcodeKindOutput |
Псевдоним для DocumentBarcodeKindOutput |
| DocumentBuildMode |
Псевдоним для DocumentBuildMode |
| DocumentBuildModeOutput |
Псевдоним для DocumentBuildModeOutput |
| DocumentFieldType |
Псевдоним для DocumentFieldType |
| DocumentFieldTypeOutput |
Псевдоним для DocumentFieldTypeOutput |
| DocumentFormulaKindOutput |
Псевдоним для DocumentFormulaKindOutput |
| DocumentIntelligenceClient | |
| DocumentSelectionMarkStateOutput |
Псевдоним для DocumentSelectionMarkStateOutput |
| DocumentSignatureTypeOutput |
Псевдоним для DocumentSignatureTypeOutput |
| DocumentTableCellKindOutput |
Псевдоним для DocumentTableCellKindOutput |
| FontStyleOutput |
Псевдоним для FontStyleOutput |
| FontWeightOutput |
Псевдоним для FontWeightOutput |
| GetAnalyzeBatchResultParameters | |
| GetAnalyzeResultFigureParameters | |
| GetAnalyzeResultParameters | |
| GetAnalyzeResultPdfParameters | |
| GetArrayType |
Вспомогательный тип для извлечения типа массива |
| GetClassifierParameters | |
| GetClassifyResultParameters | |
| GetDocumentClassifierBuildOperationParameters | |
| GetDocumentClassifierCopyToOperationParameters | |
| GetDocumentModelBuildOperationParameters | |
| GetDocumentModelComposeOperationParameters | |
| GetDocumentModelCopyToOperationParameters | |
| GetModelParameters | |
| GetOperationParameters | |
| GetPage |
Тип настраиваемой функции, которая определяет, как получить страницу и ссылку на следующую. |
| GetResourceInfoParameters | |
| LengthUnitOutput |
Псевдоним для LengthUnitOutput |
| ListClassifiersParameters | |
| ListModelsParameters | |
| ListOperationsParameters | |
| OperationDetailsOutput |
Сведения об операциях. |
| OperationKindOutput |
Псевдоним для OperationKindOutput |
| OperationStatusOutput |
Псевдоним для OperationStatusOutput |
| PagedDocumentClassifierDetailsOutput |
Коллекция paged элементов DocumentClassifierDetails |
| PagedDocumentModelDetailsOutput |
Коллекция paged элементов DocumentModelDetails |
| PagedOperationDetailsOutput |
Коллекция paged элементов OperationDetails |
| PaginateReturn |
Вспомогательный тип для вывода типа страничных элементов из типа ответа этот тип создается на основе сведений swagger для x-ms-pageable специально в свойстве itemName, которое указывает свойство ответа, в котором находятся элементы страницы. Значение по умолчанию — |
| ParagraphRoleOutput |
Псевдоним для ParagraphRoleOutput |
| SplitMode |
Псевдоним для SplitMode |
| SplitModeOutput |
Псевдоним для SplitModeOutput |
| StringIndexType |
Псевдоним для StringIndexType |
| StringIndexTypeOutput |
Псевдоним для StringIndexTypeOutput |
Функции
Сведения о функции
default(string, TokenCredential | KeyCredential, DocumentIntelligenceClientOptions)
Инициализация нового экземпляра DocumentIntelligenceClient
function default(endpointParam: string, credentials: TokenCredential | KeyCredential, options?: DocumentIntelligenceClientOptions): DocumentIntelligenceClient
Параметры
- endpointParam
-
string
Конечная точка службы аналитики документов.
- credentials
уникально идентификация учетных данных клиента
параметр для всех необязательных параметров
Возвращаемое значение
getLongRunningPoller<TResult>(Client, AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
Вспомогающая функция, которая создает объект Poller, чтобы помочь провести опрос длительной операции.
function getLongRunningPoller<TResult>(client: Client, initialResponse: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
Клиент, используемый для отправки запроса, чтобы получить дополнительные страницы.
- initialResponse
-
AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse
Начальный ответ.
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Параметры для задания состояния возобновления или настраиваемого интервала опроса.
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
- Объект опроса для проверки обновлений состояния операции и в конечном итоге получает окончательный ответ.
getLongRunningPoller<TResult>(Client, BuildModel202Response | BuildModelDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: BuildModel202Response | BuildModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, ComposeModel202Response | ComposeModelDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: ComposeModel202Response | ComposeModelDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, CopyModelTo202Response | CopyModelToDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: CopyModelTo202Response | CopyModelToDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, BuildClassifier202Response | BuildClassifierDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: BuildClassifier202Response | BuildClassifierDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- initialResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, CopyClassifierTo202Response | CopyClassifierToDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: CopyClassifierTo202Response | CopyClassifierToDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- initialResponse
-
CopyClassifierTo202Response | CopyClassifierToDefaultResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- initialResponse
-
AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
getLongRunningPoller<TResult>(Client, ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, CreateHttpPollerOptions<TResult, OperationState<TResult>>)
function getLongRunningPoller<TResult>(client: Client, initialResponse: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>
Параметры
- client
- Client
- options
-
CreateHttpPollerOptions<TResult, OperationState<TResult>>
Возвращаемое значение
Promise<SimplePollerLike<OperationState<TResult>, TResult>>
isUnexpected(ListOperations200Response | ListOperationsDefaultResponse)
function isUnexpected(response: ListOperations200Response | ListOperationsDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse)
function isUnexpected(response: GetDocumentModelBuildOperation200Response | GetDocumentModelBuildOperationDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse)
function isUnexpected(response: GetDocumentModelComposeOperation200Response | GetDocumentModelComposeOperationDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse)
function isUnexpected(response: GetDocumentModelCopyToOperation200Response | GetDocumentModelCopyToOperationDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse)
function isUnexpected(response: GetDocumentClassifierCopyToOperation200Response | GetDocumentClassifierCopyToOperationDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse)
function isUnexpected(response: GetDocumentClassifierBuildOperation200Response | GetDocumentClassifierBuildOperationDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetOperation200Response | GetOperationDefaultResponse)
function isUnexpected(response: GetOperation200Response | GetOperationDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetResourceInfo200Response | GetResourceInfoDefaultResponse)
function isUnexpected(response: GetResourceInfo200Response | GetResourceInfoDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse)
function isUnexpected(response: GetAnalyzeResult200Response | GetAnalyzeResultDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse)
function isUnexpected(response: GetAnalyzeResultPdf200Response | GetAnalyzeResultPdfDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse)
function isUnexpected(response: GetAnalyzeResultFigure200Response | GetAnalyzeResultFigureDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse | AnalyzeDocumentFromStreamLogicalResponse)
function isUnexpected(response: AnalyzeDocumentFromStream202Response | AnalyzeDocumentFromStreamDefaultResponse | AnalyzeDocumentFromStreamLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse | AnalyzeDocumentLogicalResponse)
function isUnexpected(response: AnalyzeDocument202Response | AnalyzeDocumentDefaultResponse | AnalyzeDocumentLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse)
function isUnexpected(response: GetAnalyzeBatchResult200Response | GetAnalyzeBatchResultDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse | AnalyzeBatchDocumentsLogicalResponse)
function isUnexpected(response: AnalyzeBatchDocuments202Response | AnalyzeBatchDocumentsDefaultResponse | AnalyzeBatchDocumentsLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetModel200Response | GetModelDefaultResponse)
function isUnexpected(response: GetModel200Response | GetModelDefaultResponse): response
Параметры
- response
Возвращаемое значение
response
isUnexpected(DeleteModel204Response | DeleteModelDefaultResponse)
function isUnexpected(response: DeleteModel204Response | DeleteModelDefaultResponse): response
Параметры
- response
Возвращаемое значение
response
isUnexpected(BuildModel202Response | BuildModelDefaultResponse | BuildModelLogicalResponse)
function isUnexpected(response: BuildModel202Response | BuildModelDefaultResponse | BuildModelLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(ComposeModel202Response | ComposeModelDefaultResponse | ComposeModelLogicalResponse)
function isUnexpected(response: ComposeModel202Response | ComposeModelDefaultResponse | ComposeModelLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse)
function isUnexpected(response: AuthorizeModelCopy200Response | AuthorizeModelCopyDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(CopyModelTo202Response | CopyModelToDefaultResponse | CopyModelToLogicalResponse)
function isUnexpected(response: CopyModelTo202Response | CopyModelToDefaultResponse | CopyModelToLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(ListModels200Response | ListModelsDefaultResponse)
function isUnexpected(response: ListModels200Response | ListModelsDefaultResponse): response
Параметры
- response
Возвращаемое значение
response
isUnexpected(BuildClassifier202Response | BuildClassifierDefaultResponse | BuildClassifierLogicalResponse)
function isUnexpected(response: BuildClassifier202Response | BuildClassifierDefaultResponse | BuildClassifierLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(ListClassifiers200Response | ListClassifiersDefaultResponse)
function isUnexpected(response: ListClassifiers200Response | ListClassifiersDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetClassifier200Response | GetClassifierDefaultResponse)
function isUnexpected(response: GetClassifier200Response | GetClassifierDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(DeleteClassifier204Response | DeleteClassifierDefaultResponse)
function isUnexpected(response: DeleteClassifier204Response | DeleteClassifierDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse | ClassifyDocumentFromStreamLogicalResponse)
function isUnexpected(response: ClassifyDocumentFromStream202Response | ClassifyDocumentFromStreamDefaultResponse | ClassifyDocumentFromStreamLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(ClassifyDocument202Response | ClassifyDocumentDefaultResponse | ClassifyDocumentLogicalResponse)
function isUnexpected(response: ClassifyDocument202Response | ClassifyDocumentDefaultResponse | ClassifyDocumentLogicalResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(GetClassifyResult200Response | GetClassifyResultDefaultResponse)
function isUnexpected(response: GetClassifyResult200Response | GetClassifyResultDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse)
function isUnexpected(response: AuthorizeClassifierCopy200Response | AuthorizeClassifierCopyDefaultResponse): response
Параметры
Возвращаемое значение
response
isUnexpected(CopyClassifierTo202Response | CopyClassifierToDefaultResponse | CopyClassifierToLogicalResponse)
function isUnexpected(response: CopyClassifierTo202Response | CopyClassifierToDefaultResponse | CopyClassifierToLogicalResponse): response
Параметры
Возвращаемое значение
response
paginate<TResponse>(Client, TResponse, PagingOptions<TResponse>)
Вспомогательный элемент для разбивки результатов из первоначального ответа, который соответствует спецификации расширения autorest x-ms-pageable
function paginate<TResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>
Параметры
- client
- Client
Клиент, используемый для отправки запросов на следующую страницу
- initialResponse
-
TResponse
Начальный ответ, содержащий следующую ссылку и текущую страницу элементов
- options
-
PagingOptions<TResponse>
Возвращаемое значение
PagedAsyncIterableIterator<PaginateReturn<TResponse>>
- PagedAsyncIterableIterator для итерации элементов