AI Search Homepage Redesign: Intent Routing and Engineering Practices
This article examines how the search homepage evolves from a simple keyword box into a unified entry point for multimodal AI tasks. It presents a reusable implementation framework covering layered intent routing, context and document handling, orchestration strategies, safety and compliance defaults, evaluation metrics, and a pre-launch checklist, with illustrative code for slot filling and structured outputs.
When the search box is no longer limited to keywords but becomes a unified entry point for multimodal tasks, product and engineering teams must answer three questions: how to identify intent accurately, how to carry context safely, and how to evaluate generated results reliably. Using the AI entry points added to a cloud vendor’s search homepage as technical background, this article abstracts a reusable implementation framework and provides architecture layers, prompting and orchestration strategies, illustrative code, and a launch checklist.
1. From Query Box to Task Desk
The traditional search homepage is deliberately minimal: one input box, one submit button, and a results page with roughly ten links. This design works because user intent is assumed to be clear, and the system only needs to match keywords to a document set.
Once generative capabilities enter the homepage, the semantics of the input box change. Users are no longer just looking for web pages; they want the system to produce a usable result directly, such as an image, rewritten text, or a to-do list.
The three new entry types described in the original article correspond to three task shapes:
- Generative tasks: The input is a short description, and the output is a content object that did not exist before, such as an AI image. Evaluation focuses on relevance, usability, and aesthetic consistency rather than whether an existing document was matched.
- Understanding tasks: The input is a document or a set of materials, and the output is analysis, a summary, a rewrite, or question answering about those materials. The key challenges are long-context handling, traceable citations, and avoiding fabricated content beyond the source.
- Planning tasks: The input is a vague goal, and the output is a structured action plan, such as a checklist, learning path, or step breakdown. The key is turning a vague statement into an executable plan while allowing multiple rounds of revision.
With these three shapes defined, the design goal of the homepage becomes clear: route a single sentence to the right capability chain with minimal interaction cost, and fill in missing information along the way.
2. Interaction Layer: One Input Box, Multiple Intents
2.1 Consolidating the Entry While Exposing Capabilities
Consolidating everything into one input box reduces cognitive load but creates a discoverability problem: users cannot see what the system can do. A common engineering compromise is to keep a single main input box and place a few shortcut tags for high-frequency capabilities below it, such as generate image, ask a file, or brainstorm. Clicking a tag does not navigate away; it expands the corresponding parameter or upload area on the same page. This progressive disclosure preserves the minimal feel of the homepage while showing new users what is possible.
2.2 When to Collect Parameters and Materials
Do not ask users to upload files or fill in style parameters before they have expressed intent. A better order is to accept the natural language description first, then let intent recognition decide what to ask next. For example, only after the request is classified as document understanding should the UI prompt for a file upload and state the supported file types and size limits. Only after the request is classified as image generation should options such as aspect ratio and style preference appear, all with default values so the user can press Enter and get a result immediately.
2.3 Boundaries of Multi-Turn Clarification
Multi-turn clarification improves accuracy, but every turn consumes user patience. A practical constraint is to allow at most one follow-up question and to make clarification a skippable suggestion rather than a blocking dialog. A simplified state machine can be expressed as follows:
INTENT_ROUTER = {"image": ["style", "aspect_ratio"],"doc": ["file", "question"],"plan": ["goal", "constraints"],}def next_question(intent, state):for slot in INTENT_ROUTER.get(intent, []):if not state.get(slot):return slot # return the missing slot; the user may skip itreturn None
3. Intent Recognition and Orchestration: Routing Accuracy Sets the Ceiling
3.1 Layered Routing Instead of One-Shot Classification
Splitting intent recognition into two layers is more robust. The first layer performs coarse classification into generation, understanding, planning, or ordinary search. The second layer performs fine-grained classification within a category, for example splitting document understanding into summarization, rewriting, question answering, and action-item extraction. Coarse classification can use a lightweight model or a small-sample classifier, while fine-grained classification can call a stronger model, balancing latency and cost.
3.2 Fallback When Confidence Is Low
When classification confidence falls below a threshold, do not force a guess. Fall back to general search or ask one clarifying question. Keep a default pipeline so that any input produces a usable output and the homepage never shows an empty results page.
3.3 Responsibilities of the Orchestration Layer
The orchestration layer is responsible for slot completion, material preprocessing (parsing and chunking), capability invocation, result post-processing (format validation and sensitive content filtering), and citation assembly. Decoupling orchestration logic from model calls makes models replaceable, strategies easy to roll out gradually, and issues easy to replay.
4. Context and Material Handling: Key Engineering Points for Long Documents
Document understanding entry points expose engineering weaknesses most easily. The main points are:
- Parsing and chunking: Convert materials in different formats into plain text and structured blocks, split along semantic boundaries, and preserve section hierarchy. Avoid mixing tables with body text in the same chunk, which breaks semantics.
- Retrieval augmentation instead of stuffing everything in: For very long materials, first create chunk-level vector and keyword hybrid retrieval, then send only relevant chunks to the generation stage to control context length and cost.
- Traceable citations: Attach source chunk identifiers to conclusions so users can locate the original text. This is both a usability and a compliance requirement.
- Boundary protection: State explicitly in the system prompt that answers must rely only on the given materials and that missing information must be called out. Run consistency checks during post-processing.
Illustrative structure:
{"task": "doc_qa","chunks": [{"id": "c1", "text": "...", "section": "2.1"}],"answer": "...","citations": ["c1"]}
5. Generative Capabilities: Engineering Constraints for Image Entry Points
Image generation entry points look simple but put the most pressure on the backend. Key concerns include:
- Asynchronous task handling: Return a task identifier on submission, and let the frontend poll or subscribe to results.
- Upfront content safety checks: Filter both prompts and results.
- Retry and graceful degradation: If a queue times out, return a friendly message instead of a blank screen.
- Result caching: Reuse results when the same prompt and parameters hit the cache.
On the cloud, these capabilities typically map to general-purpose categories such as task queues, object storage, logging services, and monitoring and alerting. General components are sufficient; there is no need to depend on vendor-specific proprietary interfaces.
6. Planning Capabilities: Turning Vague Goals into Executable Plans
The value of brainstorming entry points is lowering the barrier to expression. The difficulty lies in clarifying goals and structuring plans. A workable approach is to ask one follow-up question to fill in key constraints such as time, budget, and existing background, then output a step list with priorities and dependencies, allowing users to check off items and request reordering at any time. A structured output format makes it easy for the frontend to render a checklist component:
{"goal": "Learn programming basics in two weeks","steps": [{"id": 1, "title": "Master basic syntax", "priority": "P0"},{"id": 2, "title": "Complete a small project", "priority": "P1", "depends_on": [1]}]}
7. Security, Permissions, and Compliance
The homepage is a traffic entry point, so risk is amplified. The following should be enabled by default: bidirectional content filtering for inputs and outputs, tenant isolation and encrypted storage for uploaded materials, per-user invocation quotas, full-chain audit logs retained after desensitization, and labeling and traceability of generated content.
For the permission model, bind the visibility scope of materials to the visibility scope of results so that materials uploaded by user A cannot be retrieved in user B’s session.
8. Evaluation and Cost Control
Do not evaluate AI entry points on the homepage by subjective impression alone. Build three layers of metrics:
- Routing layer: intent classification accuracy, clarification trigger rate, and fallback rate.
- Task layer: citation hit rate and unsupported-answer rate for document question answering, human relevance scores for image generation, and step executability rate for planning tasks.
- System layer: time to first token, end-to-end latency percentiles, cost per task, and cache hit rate.
For cost control, prioritize three actions: use small models for coarse routing, use retrieval to reduce context length, and use result caching and batching to merge requests.
9. Launch Checklist
- Are there fallbacks for empty input, overly long input, and unexpected file types?
- Is clarification skippable and limited to at most one question?
- Are citations locatable, and are unsupported answers blocked?
- Do asynchronous task timeouts have friendly degradation?
- Are quotas, auditing, and tenant isolation enabled by default?
- Is gradual rollout and fast rollback available?
The essence of AI on the search homepage is not piling on more buttons but smoothing the path from a single sentence to a usable result. Make intent routing, context handling, security and compliance, and evaluation and cost solid, and the minimal entry can coexist with rich capabilities.
