Table of Contents

Method ClearContent

Namespace
LMKit.Extraction
Assembly
LM-Kit.NET.dll

ClearContent()

Removes all previously set input (both text and attachments) so that no content remains for extraction.

public void ClearContent()

Remarks

After calling ClearContent(), the internal LMKit.Extraction.ExtractionInput will be empty. Any subsequent Parse(CancellationToken) or ParseAsync(CancellationToken) invocation will throw InvalidOperationException unless new content is provided via SetContent(string), SetContent(Attachment), or SetContent(IEnumerable<Attachment>).