← Back to AIMPACT Tutorial Hub

Engineering · tutorial

AI Voice Assistant

Try browser-based voice commands

What does this project try to do?

Try browser-based voice commands Use the browser speech recognition and speech synthesis APIs to test a small set of predefined commands.

How does it work?

Use the browser speech recognition and speech synthesis APIs to test a small set of predefined commands.

What will you learn?

Demonstrate a lightweight voice interface; it does not use a large language model.

How to run this project

Option A — Google Colab (recommended for beginners)

  1. Click Download Notebook (.ipynb) below. The file should download instead of displaying raw JSON.
  2. Open Google Colab.
  3. Choose File → Upload notebook → Browse and select the downloaded .ipynb.
  4. Run any dependency-install cell first, if present.
  5. Choose Runtime → Run all, or run cells individually with ▶.
  6. Review tables, charts and evaluation metrics. If a compatible real dataset is used, upload it to Colab and update the notebook file path.

Option B — Run on your computer

  1. Install Python 3 and enable Add Python to PATH.
  2. Open Command Prompt and run pip install jupyterlab pandas numpy scikit-learn matplotlib openpyxl.
  3. Open the folder containing the downloaded notebook.
  4. Run jupyter lab.
  5. Open the .ipynb file and choose Run → Run All Cells.

Open, run or download

These projects run locally in Python, Jupyter or a browser. There is no hosted execution server; “Run” means opening a browser demo where provided or following the local setup steps.

Read original tutorialRun browser demo
Educational demonstration only. Bundled sample data may be synthetic. Results have not been independently validated for industrial or cybersecurity deployment. Do not upload confidential project data.