Skip to content

Webai-polyfill#81

Draft
MiguelsPizza wants to merge 3 commits into
alexanderatallah:mainfrom
MiguelsPizza:webai-polyfill
Draft

Webai-polyfill#81
MiguelsPizza wants to merge 3 commits into
alexanderatallah:mainfrom
MiguelsPizza:webai-polyfill

Conversation

@MiguelsPizza

@MiguelsPizza MiguelsPizza commented Jul 5, 2024

Copy link
Copy Markdown

This is a quick and dirty proof of concept which implements the async textGeneration and stream api's of the new chrome window.ai spec https://github.com/explainers-by-googlers/prompt-api.

It seems to me that this extension has the potential to be a great opt-in resource for users to choose which models the browser calls on. The window.ai spec is also likely to become far more popular if it becomes a web standard

@vercel

vercel Bot commented Jul 5, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
window-ai ❌ Failed (Inspect) Jul 7, 2024 3:19pm

@MiguelsPizza

Copy link
Copy Markdown
Author

@alexanderatallah Is this project still being maintained?

@alexanderatallah

Copy link
Copy Markdown
Owner

Thanks for opening this! Will check it out soon

updated types

updated hook and react view to support the new api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants