ExtractionDocumentImageElement(AIContent, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ExtractionDocumentImageElement class.
public ExtractionDocumentImageElement(Microsoft.Extensions.AI.AIContent? content = default, string? text = default);
new Microsoft.Extensions.Documents.ExtractionDocumentImageElement : Microsoft.Extensions.AI.AIContent * string -> Microsoft.Extensions.Documents.ExtractionDocumentImageElement
Public Sub New (Optional content As AIContent = Nothing, Optional text As String = Nothing)
Parameters
- content
- AIContent
The local image payload, such as image bytes, a reference, or producer-supplied text.
- text
- String
The optional OCR or transcription text, independently of any caption or description.