Skip to content

Files

Latest commit

 

History

History
61 lines (39 loc) · 2.35 KB

VoiceForm.md

File metadata and controls

61 lines (39 loc) · 2.35 KB

Assignment: Voice-Activated Form

Objective: Build a web page featuring a form with 4-5 input fields, a "Speak" button enabling users to record a 1-minute audio clip. The form should dynamically populate based on the audio content, leaving fields empty if not mentioned. Additionally, provide users the ability to edit the automatically filled information before submitting.

Requirements:

  1. HTML Structure:

    • Create an HTML form with 4-5 input fields.
    • Include a "Speak" button for voice recording.
  2. Voice Recording:

    • Implement audio recording functionality using the Web Speech API or any suitable library.
    • Set a limit of 1 minute for voice recordings.
  3. Dynamic Form Filling:

    • Upon clicking the "Speak" button, transcribe the audio and auto-fill relevant form fields.
    • Leave fields empty if information is not mentioned in the audio.
  4. Edit Functionality:

    • Enable users to manually edit the filled information in each form field.
  5. Submit and View:

    • Implement a submission button to store the form data.
    • After submission, display the details in a view mode.
  6. User Experience:

    • Ensure a user-friendly interface with clear instructions.
    • Implement error handling for recording or transcription issues.
  7. Optional Enhancements (Bonus):

    • Implement additional validation for form fields.
    • Add a feature to replay the recorded audio.
    • Provide user feedback during the recording process.

Submission:

  1. Push the complete codebase to the your own GitHub repository and share the link.
  2. Include a README.md file with clear instructions on how to set up and run the application.
  3. Provide a short document explaining the structure, AI technologies used, and any challenges faced.

Evaluation Criteria:

  • Successful implementation of the voice recording and transcription.
  • Accurate and dynamic form filling based on audio content.
  • Effective editing functionality.
  • Clear and organized code structure.
  • User interface design and experience.
  • Submission and display of form data.

Note: Feel free to use any front-end libraries or frameworks as needed. The goal is to create a functional and user-friendly voice-activated form with the specified features.

Submission date : 1 Week. code push in your own github repo.

© 2023 RecursiveZero, All rights reserved.