You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Extended lifetime for Shared Workers](#extended-lifetime-for-shared-workers)
47
48
*[SharedArrayBuffers in non-isolated pages on Desktop platforms](#sharedarraybuffers-in-non-isolated-pages-on-desktop-platforms)
@@ -291,35 +292,30 @@ See also:
291
292
*[Pointer events](https://developer.mozilla.org/docs/Web/API/Pointer_events) at MDN.
292
293
293
294
294
-
<!-- ------------------------------
295
-
todo: verify if this is also shipping in Edge.
295
+
<!-- ------------------------------ -->
296
296
#### Prompt API
297
297
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.
299
299
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.
301
301
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.
307
307
308
+
Use the Prompt API for:
308
309
* Generating image captions.
309
-
310
310
* Performing visual searches.
311
-
312
311
* Transcribing audio.
313
-
314
312
* Classifying sound events.
315
-
316
313
* Generating text by following specific instructions.
317
-
318
314
* Extracting information or insights from multimodal source material.
319
315
320
316
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)
@@ -510,9 +502,7 @@ Set the `extendedLifetime` option when creating a shared worker, to keep the ser
510
502
Such async operations include:
511
503
512
504
* IndexedDB writes.
513
-
514
505
* Encryption or compression.
515
-
516
506
* Analytics requests.
517
507
518
508
Information about this origin trial:
@@ -698,9 +688,7 @@ By default, WebAudio processes audio in fixed blocks of 128 sample-frames (a ren
698
688
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.
699
689
700
690
* Pass an integer, to request a specific size.
701
-
702
691
* Pass `"default"` (or omit the option), to use the default of 128 frames.
703
-
704
692
* Pass `"hardware"`, to let the browser pick an optimal size for the current configuration.
0 commit comments