AgenticFileParser¶
This docs was updated at: 2026-02-23
com.paragon.parsing.AgenticFileParser ยท Class
Agentic file parser that uses LLM to convert documents to markdown.
Virtual Thread Design: Uses synchronous API optimized for Java 21+ virtual threads.
Methods¶
parse¶
Parses a file from the given path into markdown.
Parameters
| Name | Description |
|---|---|
path |
the path to the file |
Returns
the markdown result
Throws
| Type | Condition |
|---|---|
IOException |
if the file cannot be read |
parse¶
Parses a file from a URI into markdown.
Parameters
| Name | Description |
|---|---|
uri |
the URI of the file |
Returns
the markdown result
Throws
| Type | Condition |
|---|---|
IOException |
if the file cannot be read |
parse¶
Parses a base64-encoded file into markdown.
Parameters
| Name | Description |
|---|---|
base64 |
the base64-encoded file content |
Returns
the markdown result
Throws
| Type | Condition |
|---|---|
IOException |
if processing fails |
parse¶
Parses a File object into markdown.
Parameters
| Name | Description |
|---|---|
file |
the file to parse |
Returns
the markdown result
Throws
| Type | Condition |
|---|---|
IOException |
if processing fails |