Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing Assistance APIs #991

Open
1 task done
domenic opened this issue Sep 10, 2024 · 0 comments
Open
1 task done

Writing Assistance APIs #991

domenic opened this issue Sep 10, 2024 · 0 comments
Assignees

Comments

@domenic
Copy link
Member

domenic commented Sep 10, 2024

こんにちは TAG-さん!

I'm requesting an early TAG design review of the writing assistance APIs.

Browsers and operating systems are increasingly expected to gain access to a language model. (Example, example, example.) Web applications can benefit from using language models for a variety of use cases.

We're proposing a group of APIs that use language models to give web developers high-level assistance with writing. Specifically:

  • The summarizer API produces summaries of input text;
  • The writer API writes new material, given a writing task prompt;
  • The rewriter API transforms and rephrases input text in the requested ways.

Because these APIs share underlying infrastructure and API shape, and have many cross-cutting concerns, we include them all in one explainer, to avoid repeating ourselves across three repositories. However, they are separate API proposals, and can be evaluated independently.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): WICG
  • The group where standardization of this work is intended to be done ("unknown" if not known): not completely known, but we are discussing the APIs with the Web Machine Learning Working Group at TPAC, and it is possible a future version of their charter would welcome us.
  • Existing major pieces of multi-implementer review or discussion of this design: see above.
  • Major unresolved issues with or opposition to this design:
    • We are aware of previous TAG feedback (in Web Translation API #948) regarding API surface details, and have captured that in the explainer.
    • As with the translator/language detector APIs (Web Translation API #948), there is a tension between interoperability and exposing whether the model is on-device or cloud-based; we discuss this a bit more in the explainer.
    • As with the translator/language detector APIs (Web Translation API #948), there are several privacy concerns, discussed in the explainer. We believe there are reasonable mitigations possible there, but will need to do some experimentation to find the best ones.
  • This work is being funded by: Google

You should also know that...

This is not a generic prompt API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants