GenAI Engineer Data preparation MEDIUM
PRODUCTION SCENARIO
A Generative AI Engineer must parse 20,000 scanned contracts held as binary files in a Unity Catalog volume. The parsed output has to arrive as elements carrying type, content, and bounding box so a downstream SQL job can chunk by section.

Which approach produces that output with the least custom code?

Answering here is anonymous. Nothing is saved unless you sign in.

Show answer and explanation

Answer: Call ai_parse_document on the binary column read from the volume

ai_parse_document is a Databricks SQL function that parses unstructured documents stored as binary data and returns elements with type, content, confidence, and bounding box, so the whole step stays in SQL. The alternatives all require custom code and still do not produce positioned elements.
Free

Keep practicing GenAI Engineer

undefined original GenAI Engineer practice questions, each with an explanation and a source link. No account needed.

Start free practice set → Timed, explained, free