The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Jun. 02, 2026
Filed:
Mar. 06, 2025
Microsoft Technology Licensing, Llc, Redmond, WA (US);
Saravanakumar Rajmohan, Redmond, WA (US);
Drishti Goel, Bengaluru, IN;
Akshay Uttama Nambi, Bengaluru, IN;
Xuchao Zhang, Sammamish, WA (US);
Chetan Bansal, Seattle, WA (US);
Supriyo Ghosh, Bangalore, IN;
Prathamesh Subodh Deshpande, Bangalore, IN;
Raghav Magazine, Bengaluru, IN;
Microsoft Technology Licensing, LLC, Redmond, WA (US);
Abstract
Techniques for generating optimized input prompts for generative language models combines automated prompt refinement with intelligent context retrieval. A prompt optimization service automatically refines initial prompt instructions through controlled mutation and evaluation cycles using multiple generative language models. A context management service maintains a vector database of historical examples pre-encoded as embedding vectors, enabling efficient retrieval of semantically similar examples for new tasks. A dynamic prompt generator assembles optimized prompts by combining refined instructions with relevant historical examples and task context. The system supports deployment with both large language models and smaller fine-tuned models, enabling efficient operation across diverse applications. Configurable parameters allow balancing optimization quality against computational costs. The system maintains efficiency through single-call mutations, fast vector similarity search, and support for compact fine-tuned models that reduce resource requirements while preserving response quality.