Skip to content

Commit bba6001

Browse files
authored
Merge pull request #3778 from MicrosoftDocs/main
main to live Apr. 16, 2026
2 parents 9c1c766 + a89a724 commit bba6001

1 file changed

Lines changed: 16 additions & 28 deletions

File tree

  • microsoft-edge/web-platform/release-notes

microsoft-edge/web-platform/release-notes/148.md

Lines changed: 16 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ To stay up-to-date and get the latest web platform features, download a preview
3232
* [Manifest localization](#manifest-localization)
3333
* [Support for avar2 in OpenType font format](#support-for-avar2-in-opentype-font-format)
3434
* [Pointer event suppression on drag start](#pointer-event-suppression-on-drag-start)
35+
* [Prompt API](#prompt-api)
3536
* [Reuse `no-store` images when same `src` is reassigned](#reuse-no-store-images-when-same-src-is-reassigned)
3637
* [Web Authentication Immediate UI mode](#web-authentication-immediate-ui-mode)
3738
* [WebGPU `linear_indexing` feature](#webgpu-linear_indexing-feature)
@@ -41,7 +42,7 @@ To stay up-to-date and get the latest web platform features, download a preview
4142
* [Writer API](#writer-api)
4243
* [Rewriter API](#rewriter-api)
4344
* [Proofreader API](#proofreader-api)
44-
* [Prompt API](#prompt-api)
45+
* [Prompt API](#prompt-api-1)
4546
* [WebGPU Compatibility Mode](#webgpu-compatibility-mode)
4647
* [Extended lifetime for Shared Workers](#extended-lifetime-for-shared-workers)
4748
* [SharedArrayBuffers in non-isolated pages on Desktop platforms](#sharedarraybuffers-in-non-isolated-pages-on-desktop-platforms)
@@ -291,35 +292,30 @@ See also:
291292
* [Pointer events](https://developer.mozilla.org/docs/Web/API/Pointer_events) at MDN.
292293

293294

294-
<!-- ------------------------------
295-
todo: verify if this is also shipping in Edge.
295+
<!-- ------------------------------ -->
296296
#### Prompt API
297297

298-
The Prompt API provides direct access to a browser-provided on-device AI language model.
298+
The Prompt API provides direct access to a browser-provided on-device AI language model. The API design offers fine-grained control for progressively enhancing sites with model interactions tailored to individualized use cases.
299299

300-
The API design offers fine-grained control for progressively enhancing sites with model interactions tailored to individualized use cases.
300+
The Prompt API complements task-based language model APIs (such as the Summarizer API), and varied APIs and frameworks for generalized on-device inference using developer-supplied ML models.
301301

302-
This complements task-based language model APIs (such as the Summarizer API) and varied APIs and frameworks for generalized on-device inference with developer-supplied ML models.
303-
304-
The initial implementation supports text, image, and audio inputs, as well as response constraints that ensure generated text conforms with predefined regex and JSON schema formats.
305-
306-
Use for:
302+
The initial implementation supports:
303+
* Text inputs.
304+
* Image inputs.
305+
* Audio inputs.
306+
* Response constraints that ensure that the generated text conforms with predefined regex and JSON schema formats.
307307

308+
Use the Prompt API for:
308309
* Generating image captions.
309-
310310
* Performing visual searches.
311-
312311
* Transcribing audio.
313-
314312
* Classifying sound events.
315-
316313
* Generating text by following specific instructions.
317-
318314
* Extracting information or insights from multimodal source material.
319315

320316
See also:
321-
* [Prompt API](https://developer.chrome.com/docs/extensions/ai/prompt-api) on developer.chrome.com.
322-
-->
317+
* [Prompt a built-in language model with the Prompt API](../prompt-api.md)
318+
* [Origin trials > Prompt API](#prompt-api-1), below.
323319

324320

325321
<!-- ------------------------------ -->
@@ -410,9 +406,7 @@ The Writer API can be used to generate text from a writing task prompt, backed b
410406
For example, use this API to:
411407

412408
* Generate a textual explanation of structured data.
413-
414409
* Compose a post about a product, based on reviews or a product description.
415-
416410
* Generate a biography based on background information.
417411

418412
See also [Summarize, write, and rewrite text with the Writing Assistance APIs](../writing-assistance-apis.md).
@@ -432,9 +426,7 @@ The Rewriter API transforms and rephrases input text in requested ways, backed b
432426
Use this API to remove redundancies within input text, in order to:
433427

434428
* Fit the text into a word limit.
435-
436429
* Rephrase the text to suit the intended audience.
437-
438430
* Be more constructive if the text uses inadequate language.
439431

440432
See also [Summarize, write, and rewrite text with the Writing Assistance APIs](../writing-assistance-apis.md).
@@ -472,16 +464,16 @@ The Prompt API is an experimental web API.
472464
Use the Prompt API to:
473465

474466
* Generate and analyze text.
475-
476467
* Create application logic based on user input.
477-
478468
* Discover innovative ways to integrate prompt-engineering capabilities into your web app.
479469

470+
See also:
471+
* [Prompt API](#prompt-api), above.
472+
480473
Information about this origin trial:
481474
* [Explainer](https://github.com/webmachinelearning/prompt-api/blob/main/README.md)
482475
* [Feedback](https://github.com/webmachinelearning/prompt-api/issues)
483476
* [Register](https://developer.microsoft.com/microsoft-edge/origin-trials/trials/b7d35247-b855-4b08-b237-89e7a5056117)
484-
* [Register](https://developer.microsoft.com/microsoft-edge/origin-trials/trials/b7d35247-b855-4b08-b237-89e7a5056117)
485477

486478

487479
<!-- ------------------------------ -->
@@ -510,9 +502,7 @@ Set the `extendedLifetime` option when creating a shared worker, to keep the ser
510502
Such async operations include:
511503

512504
* IndexedDB writes.
513-
514505
* Encryption or compression.
515-
516506
* Analytics requests.
517507

518508
Information about this origin trial:
@@ -698,9 +688,7 @@ By default, WebAudio processes audio in fixed blocks of 128 sample-frames (a ren
698688
Use the WebAudio Configurable Render Quantum origin trial to specify a `renderSizeHint` option when creating an `AudioContext` or `OfflineAudioContext`, to request a particular render quantum size.
699689

700690
* Pass an integer, to request a specific size.
701-
702691
* Pass `"default"` (or omit the option), to use the default of 128 frames.
703-
704692
* Pass `"hardware"`, to let the browser pick an optimal size for the current configuration.
705693

706694
Information about this origin trial:

0 commit comments

Comments
 (0)