Skip to content
Trilha

Runnable contextual assistant

Ask about invoice 42. The demo uses the real Assistant, Chat, dialog and streaming client; only the model's answer is deterministic and runs in the browser.

Invoice #42

Northwind Ltd.

OpenCustomer: Northwind Ltd.
Status
Open
Total
$1,284.50
Due date
September 30, 2026

Invoice assistant

Asking about invoice 42

I know which invoice is open. Ask about its total, status, or due date.

Without JavaScript

The launcher is a link before it is a button: with the script off it comes here, to the same conversation as a page. In an application, point AssistantOpts.Page at the server-rendered conversation.

I know which invoice is open. Ask about its total, status, or due date.