-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Cognitive - Document Intelligencecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: More information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Query/Question
I have migrated to the new documentintelligence 1.0.0 sdk. I'm using DocumentIntelligence(Async)Client method beginAnalyzeDocument. I'm using the following flavor:
PollerFlux<AnalyzeOperationDetails, AnalyzeResult> beginAnalyzeDocument(String modelId,
AnalyzeDocumentOptions analyzeDocumentOptions)
and I'm setting up the AnalyzeDocumentOptions as follows:
AnalyzeDocumentOptions docOpts = new AnalyzeDocumentOptions(BinaryData.fromStream(inputStream, contentLength));
The question is whether the SDK fully loads the document in-memory as a large bytearray before sending or streams the document to the DocIntelligence service. In a multi-user environment, fully loading into memory can be a concern and we'd like to get ahead of this before rolling to production. Additionally, if I use this flavor
public PollerFlux<BinaryData, BinaryData> beginAnalyzeDocument(String modelId, BinaryData analyzeRequest,
RequestOptions requestOptions)
is the document streamed or preloaded?
Why is this not a Bug or a feature Request?
N/A
Setup (please complete the following information if applicable):
- OS: Windows/Linux
- IDE: N/A
- Library/Libraries: com.azure:azure-ai-documentintelligence:1.0.0
Metadata
Metadata
Assignees
Labels
Cognitive - Document Intelligencecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: More information is needed from author to address the issue.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that