Skip to content

merge_pr_53706

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 11 Jul 02:24

Add Spanish and Japanese support; Add canonicalization & validation.

  1. Enables Spanish and Japanese as a supported language in the browser
    process for Prompt and Summarizer APIs.
  2. Adds Feature Params for kAISummarizationAPI and kAIPromptAPI
    to control enabled languages.
  3. Adds validation and canonicalization of language tags for
    expectedInputs and expectedOutputs in LanguageModel availability()
    and create(). Adds web platform tests to test the behavior.

Bug: 422210273, 422211699
Change-Id: I35d152e05119382ce156c715c72d297de59c210d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6628446
Reviewed-by: Mike Wasserman [email protected]
Commit-Queue: Brad Triebwasser [email protected]
Cr-Commit-Position: refs/heads/main@{#1485302}