new web ai apis
two powerful on-device ai apis are now available in pwafire v6.1.0:
-
summarizer api - on-device text summarization with support for key-points, tldr, teaser, and headline formats. choose markdown or plain-text output in short, medium, or long lengths.
-
translator api - on-device language translation supporting english, spanish, french, german, italian, portuguese, chinese, japanese, and korean.
-
language detector api - on-device language detection. see docs.pwafire.org/language-detector.
all three apis support streaming and batch operations with consistent status codes for better error handling.
refreshed documentation
complete guides and examples for implementing the new ai apis at docs.pwafire.org.
apis playground
interactive console with real-time streaming visualization and configurable parameters for testing the apis at console.pwafire.org.
pwafire remains the api of apis for progressive web apps — one package to access all the web capabilities you need.
happy coding folks!