AI API Explorer: Add supported file types extensions for Speech-To-Text Generation Explorer
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3519474. --> Reported by: [ishani patel](https://www.drupal.org/user/3720333) Related to !560 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>Need to add file type extension or supported formats as help text below the choose file option in Speech-To-Text Generation Explorer </p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <p>1) Enable ai_api_explorer module<br> 2) Go to '/admin/config/ai/explorers/speech_to_text_generator'<br> 3) Click on the choose file option<br> 4) Upload any image file<br> 5) Response showing file format error</p> <p>The following screenshot is from the Speech-To-Text Generation explorer:<br> <img src="https://www.drupal.org/files/issues/2025-04-16/speech-to-text.png" alt=" speech to text explorer file type error"></p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>- Add help text or description below the choose file option<br> - Help text should be =&gt; Allowed or supported file formats : ['flac', 'm4a', 'mp3', 'mp4', 'mpeg', 'mpga', 'oga', 'ogg', 'wav', 'webm']</p> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-api-changes">API changes</h3> <h3 id="summary-data-model-changes">Data model changes</h3>
issue