Browser Drafting Assistant with Context-Aware Prompt Engineering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing web interfaces lack efficient methods for generating high-quality and relevant text inputs in text boxes on web pages, requiring users to interact extensively with computing devices and generative language models, and often fail to protect users from untrustworthy sites.

Innovation Solution

A drafting assistant tool integrated within a browser that uses generative AI to modify user prompts based on web page context, providing instructions to enhance response relevance and quality, while ensuring security by assessing trustworthiness and preventing spoofing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If users directly interact with generative language models to generate text inputs, then users can obtain text generation capability, but user interaction complexity and computing resource usage increase

Engineering Contradiction:
Improveuser interaction simplicityVSAvoidcomputing resource usage
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The drafting assistant acts as an intermediary between the user and the generative language model. It receives the user's prompt, automatically generates optimized instructions based on web page context, modifies the prompt accordingly, and submits it to the language model. This intermediary role simplifies user interaction while managing computing resources efficiently by pre-processing prompts with contextual information.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The drafting assistant performs preliminary actions by automatically generating instructions and modifying prompts before they are submitted to the generative language model. It extracts context from the web page, formulates appropriate instructions, and prepares the optimized prompt in advance, reducing the need for complex user interactions during the generation process.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If generic prompts are submitted to generative language models, then text generation is fast, but response relevance and quality decrease

Engineering Contradiction:
Improveresponse generation speedVSAvoidresponse relevance
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The drafting assistant applies local quality by customizing instructions based on the specific web page context. It extracts relevant information from the current page (such as page title, URL, visible content) and generates tailored instructions that are specific to the user's needs and the context, rather than using generic prompts. This ensures high response relevance while maintaining generation speed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically changes prompt parameters by modifying the instructions based on extracted web page context. It adjusts the prompt structure, adds context-specific instructions, and optimizes the input parameters for the generative model, thereby improving response quality and relevance without significantly impacting generation speed.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If web page context is used to modify prompts, then response quality improves, but system complexity increases

Engineering Contradiction:
Improveresponse qualityVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The drafting assistant extracts only the necessary context from the web page (such as page title, URL, and relevant visible content) rather than processing the entire page. This selective extraction approach improves response quality by providing relevant context while minimizing system complexity by focusing only on essential information.

Inventive Principle:
Principle #2Taking out (Extraction)

4Measurement precision

If users manually craft detailed prompts for generative models, then response relevance improves, but user time and effort increase

Engineering Contradiction:
Improveresponse relevanceVSAvoiduser time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The drafting assistant enables self-service by automatically generating optimized instructions and modifying prompts based on web page context. Users simply need to provide their initial prompt idea, and the system handles the complex task of crafting detailed, context-aware instructions, thereby improving response relevance while minimizing user time investment.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12430498B2Drafting assistant for a browser
Publication Date: 2025.09.30 GOOGLE LLC
  • US12430498B2 patent drawing
  • US12430498B2 patent drawing
  • US12430498B2 patent drawing

AI summary

Implementations relate to a drafting assistant that assists users in generating prompts for a language model that generates responses for text boxes for a web page. Implementations may receive a prompt from a user regarding an input for the text box, generate a modified prompt by incorporating contextual information identified from the web page, and provide the modified prompt to a generative language model, which generates a response for the modified prompt. The response is presented to the user and can be used as the input for the text box. Implementations dynamically engineer/enhance prompts based on the context of the web page, thereby facilitating more accurate and relevant responses from the generative language model.