All lessons in AI Engineering: From Foundation Models to Evaluated Applications

Multimodal Applications

Add image or document inputs and evaluate each processing stage.

240 minutes · Members lesson · preview

What you will learn

  • Add a bounded PDF-document input path with page-level provenance and explicit unsupported-input behavior.
  • Evaluate extraction, normalization, and answer generation separately using original synthetic receipts.
  • Compare a document pipeline with a verified-text baseline without claiming that unrun OCR or vision models were tested.

A customer attaches a receipt instead of typing an order number. Your text assistant cannot assume that the attachment is already clean text. The document may contain multiple pages, a scanned image, ambiguous layout, or a misleading total. This optional four-hour practice adds a document input path and measures each processing stage.

Complete Grounded Answers and RAG Evaluation first. The assessed implementation accepts small text-bearing PDFs and extracts receipt fields. It explicitly rejects unsupported image-only documents for manual review. You may later extend it with OCR or a vision model, but those extensions are not required to complete this bounded exercise and must not be reported as tested unless you actually run them.

Choose another lesson