AnalyzeResultOperationOutput deprecated
SebastianBodza opened this issue · comments
Type of issue
Typo
Description
According to the Doc Intelligence SDK and the Changelog:
The AnalyzeResultOperationOutput is deprecated for AnalyzeOperationOutput. In the documentation the examples still use the old type naming:
import {
getLongRunningPoller,
AnalyzeResultOperationOutput,
isUnexpected,
} from "@azure-rest/ai-document-intelligence";
if (isUnexpected(initialResponse)) {
throw initialResponse.body.error;
}
const poller = getLongRunningPoller(client, initialResponse);
const result = (await poller.pollUntilDone()).body as AnalyzeResultOperationOutput;
console.log(result);
// {
// status: 'succeeded',
// createdDateTime: '2023-11-10T13:31:31Z',
// lastUpdatedDateTime: '2023-11-10T13:31:34Z',
// analyzeResult: {
// apiVersion: '2023-10-31-preview',
// .
// .
// .
// contentFormat: 'text'
// }
// }
Page URL
Content source URL
Document Version Independent Id
c7f369bf-dfcb-b4c0-22cc-b9a45ef50c3f
Article author
Metadata
- ID: 61da34d2-7ddf-b283-ba13-472ef0665f59
- PlatformId: c94a96ad-5db0-2deb-f77e-fa9a1dff974d
- Service: documentintelligence