Multimodal Context
In this article
- Decide, for each page of a document and the question asked, whether it goes into the request as extracted text, as a page image or as both, from the evidence the question needs.
- Count what each form costs in tokens and check the choice against the call's context budget.
- Record each item's source page, form and resolution, and use that record with the request trace to place a wrong answer in the representation the model received.
- Apply the same choice to audio and video, where frame rate, segments and timestamps decide what survives.
- Terms defined here: multimodal input, OCR.
Overview
A customer opens the support chat, attaches their monthly bill as a PDF and types: "why did my March bill rise?" The bill says what was charged. Why it was charged is not written anywhere on it: it is drawn, in a usage chart on page 3.
Brightline is an invented home-internet provider, and its support assistant is a chat assistant on Brightline's website that answers customers, can look up an order and can issue a refund up to an approved limit. The bill is a Brightline monthly bill with a page of prose, a table of charges and a usage chart. The company, the bill and every number below are made up.
Whether the assistant can answer depends on one decision the application makes before the model sees anything: in what form the bill goes into the request.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- What a request can carry
- Three forms of one document
- Three requests for one question
- Legible and labelled
- A record per page
- Audio and video
- Sources
- Check yourself, 5 questions