Multimodal Context
In this article
- Choose, 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.
- Count what each form costs in tokens and check the choice against the budget of the call.
- Write a page-level record of what was sent, and use it with the request trace to find why an answer went wrong.
- Say what a transcript and sampled video frames lose, and why timestamps matter.
- Terms defined here: multimodal input, OCR.
Overview
In a support chat, a customer attaches their internet bill as a PDF and asks: "Why did my March bill rise?" The bill's words name a new charge; why it appeared is shown only in a chart, whose bars pass the data the plan includes in March's second week.
Brightline, an invented home-internet provider, runs that chat with its support assistant, a chat assistant on its website that answers customers, can look up an order and can issue a refund up to an approved limit. Its bill holds a letter, a table of charges, the chart and the terms. A model writes each reply from the request the application sends. A request carrying images, documents, audio or video besides text is multimodal, and each page can go in as its text, as a picture of the page, or both. By the end you can choose the form of each page, count its cost and record what was sent.
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
- A file in a request
- Three forms of one page
- Three requests for one question
- Legible, labelled pages
- Recording what was sent
- Audio and video
- Common mistakes
- In production
- Sources
- Check yourself, 5 questions