skip to Main Content

How do I save and later load Azure AnalyzeResult object in python?

I have generated document analysis result using, with open(pdf_path, "rb") as f: poller = document_intelligence_client_sections.begin_analyze_document( "prebuilt-layout", f.read(), content_type="application/pdf", output_content_format=ContentFormat.MARKDOWN, ) result = poller.result() type(section_layout) >> azure.ai.documentintelligence.models._models.AnalyzeResult # Want in this format! I have saved the result using ...as_dict() as follows,…

VIEW QUESTION

Service Bus trigger not working in Azure portal but works locally with Node.js v4 Azure Functions

I'm using the Node.js v4 programming model for Azure Functions, and I have a Service Bus-triggered function with the following setup: app.serviceBusQueue('MyFunctionName', { queueName: 'myQueueName', connection: 'ServiceBusConnectionString', handler: azureFunction, isSessionsEnabled: true, }); Host.json: { "version": "2.0", "extensionBundle": { "id": "Microsoft.Azure.Functions.ExtensionBundle",…

VIEW QUESTION
Back To Top
Search