Last active
January 5, 2026 21:43
-
-
Save swissspidy/477df0a812ba68fada7ab54695eb7a78 to your computer and use it in GitHub Desktop.
TypeScript type definitions for Chrome's new built-in AI Prompt API and Writing Assistance APIs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * DEPRECATED! PLEASE USE https://www.npmjs.com/package/@types/dom-chromium-ai | |
| */ |
Author
Thanks for making https://www.npmjs.com/package/@types/dom-chromium-ai happen! 🎉
Thanks for making https://www.npmjs.com/package/@types/dom-chromium-ai happen! 🎉
🥳
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have created a draft PR here: DefinitelyTyped/DefinitelyTyped#70426
numberfor the temperature instead of a union type, as using discrete values would hinder the calculation of a temperature value. This approach aligns with the guidelines outlined in the Prompt API explainer.