How should tool activity be shown to users?
Show clear status such as searching documents or checking an order without exposing secrets or internal implementation details.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 205–216 of 3610 questions
Show clear status such as searching documents or checking an order without exposing secrets or internal implementation details.
If a stream fails after partial text, mark the response as incomplete and offer a safe retry or continuation path.
Human-in-the-loop AI inserts review or approval into a workflow where model output is uncertain or the action is consequential.
Represent the proposed action as a typed request, show its parameters and consequences to the user, and execute only after a server-verified approval token authorizes that exact request.
Store reviewer corrections with appropriate access controls and use them to refine evaluation datasets, rules, and prompts.
Escalate when evidence is insufficient, confidence signals fall below a validated threshold, policy requires approval, repeated tool failures occur, or the request is outside the supported domain.
Record who approved, what exact action and parameters were approved, when approval occurred, and the outcome of execution.
Multimodal input combines text with content such as images, audio, or video, depending on the model's capabilities.
An invoice workflow can combine OCR or multimodal extraction with a structured schema for vendor, invoice number, dates, totals, and line items.
Preserve document IDs, page numbers, section headings, and character or chunk offsets during ingestion.
Retain OCR confidence or extraction warnings where available, validate fields using domain constraints, and ask for confirmation when uncertainty affects an important decision.
Validate file type and size, scan where appropriate, store files with least-privilege access, and enforce tenant-level authorization.