I am currently testing the multimodal capabilities of the Prompt API on Chrome [Version 143.0.7499.193 (Official Build) (64-bit)]. When I attempt to use audio-related features, I encounter the following error:
Uncaught NotAllowedError: Model capability is not available.
I have researched this extensively and I am confident that I have enabled the necessary experimental flags:
#optimization-guide-on-device-model: Enable Bypass...
#prompt-api-for-gemini-nano: Enabled
#prompt-api-for-gemini-nano-multimodal-input: Enabled
When I try to add audio support by including type: "audio" in expectedInput during model initialization, I receive the error Uncaught NotAllowedError: Model capability is not available, which prevents me from using the audio functionality.
System Environment:
- OS: Windows 11 64-bit
- Chrome Version: 143.0.7499.193 (Official Build) (64-bit)
- CPU: 13th Gen Intel(R) Core(TM) i7-13700 (2.10 GHz)
- RAM: 32GB
- GPU (if applicable): none
--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/4c8237b9-322e-4194-a9fd-fa2f11c6d6c6n%40chromium.org.
Thank you for your reply. However, I still have a few points of confusion.
When using chrome://on-device-internals/ with Chrome 143 [Version 143.0.7499.193 (Official Build) (64-bit)], I am able to invoke the audio capabilities normally. However, when I navigate to https://web-ai.studio/, I receive the following error: NotAllowedError: Model capability is not available.
Conversely, when using Chrome Canary [Version 145.0.7620.0 (Official Build) canary (64-bit)], everything works fine upon entering https://web-ai.studio/, and I can use the audio-related capabilities normally. This phenomenon confuses me. I asked a few colleagues to test this on their computers using the same latest version of Chrome Canary, but they encountered the NotAllowedError: Model capability is not available error on https://web-ai.studio/.
For your reference, https://web-ai.studio/ is an official demo page that I found in the official documentation: https://developer.chrome.com/docs/ai/prompt-api#demos.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/CAFr0sBiDnV1%2BQ5iKnv6EzXzN%2BwyJDixEXV4%2BJ3fC1A0ACf9%2BeQ%40mail.gmail.com.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/a4167546-b8eb-4504-a182-0101df1782b8n%40chromium.org.