Four-Project Series

Building an AI Voice Assistant

you own this product
prerequisites
Working with npm, HTML, JavaScript, and Fetch API • knowledge of CSS concepts will be helpful
skills learned
Building UI widgets with HTML and Tailwind CSS • communicating with external APIs
Joe Attardi
4 weeks · 4-6 hours per week average · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


AI is the future—and Smart Solutions, Inc. knows it! That’s why they’ve called on you to build EchoBuddy, a new AI-powered voice assistant designed to help their customers interact with smart-home technology more effectively. In this liveProject series, you’ll build EchoBuddy with standard web technologies combined with third-party API services and OpenAI’s powerful industry-leading GPT model. You’ll work with the Web Speech API to capture user queries and generate spoken responses, and utilize the SvelteKit framework, the OpenAI JavaScript library, and Tailwind CSS to build an intuitive and attractive app with rich UI widgets.


This series requires use of the OpenAI platform, which is a paid service. For the purposes of this series, $5 should be sufficient.

These projects are designed for learning purposes and are not complete, production-ready applications or solutions.

This was a fun, insightful, fast-paced, engaging project. It uses modern technologies, which are well mixed to provide a solid foundation to deliver the intended functionality. The theme is a popular need, with instantaneous value, delivered through an accessible voice interface. It was a great developer and user experience!

Adail Retamal, Systems Engineer, Serpro

here's what's included

Project 1 Basic Voice Chatbot

In this liveProject, you’ll create an MVP of a very basic voice chatbot for Smart Solutions, Inc.'s new AI tool EchoBuddy. You'll begin by creating the foundational app with a simple text input, then integrate OpenAI's chat completion API to enable intelligent responses. Next, you'll add voice capabilities using the Web Speech API, allowing users to speak their queries and hear spoken responses. Finally, you'll expand EchoBuddy's abilities by connecting to external services, including a fun integration with an API that serves up dad jokes on demand.


This liveProject requires use of the OpenAI platform, which is a paid service. For the purposes of this project, $5 should be sufficient.

Project 2 Weather

In this liveProject, you’ll enhance the AI-powered voice assistant EchoBuddy with weather capabilities. Your challenge is to transform EchoBuddy from a basic chatbot into a sophisticated weather assistant that can respond to natural language queries like "What's the weather in Boston?" with accurate forecasts. You'll start with static data integration, then progress to working with the OpenWeather API, implement geocoding to handle any location request, and finally create an intuitive weather widget that displays conditions visually in the browser.


This liveProject requires use of the OpenAI platform, which is a paid service. For the purposes of this project, $5 should be sufficient.

Project 3 News and Stock Quotes

In this liveProject, you’ll transform the basic EchoBuddy AI assistant into a comprehensive information hub that can deliver breaking news headlines and stock market data through natural conversation. You'll integrate with NPR's news feed to provide the latest stories, implement stock tracking using the polygon.io API to fetch market prices and create sleek visual widgets that display both news and financial data.


This liveProject requires use of the OpenAI platform, which is a paid service. For the purposes of this project, $5 should be sufficient.

Project 4 Movie Information

In this liveProject, you’ll give AI assistant EchoBuddy a new superpower: becoming a movie expert. Your task is to transform the AI assistant into a comprehensive entertainment guide that can answer questions about everything from current theatrical releases to actor filmographies. Using the TMDB API, you'll enable EchoBuddy to respond to natural language queries about movies playing now, help users discover an actor's most popular works, and provide detailed information about specific films, complete with visual elements like movie posters and actor photos.


This liveProject requires use of the OpenAI platform, which is a paid service. For the purposes of this project, $5 should be sufficient.

books resources

When you start each of the projects in this series, you'll get full access to the following books for 90 days.

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Building an AI Voice Assistant project for free

Overall very good. I feel the content struck a good balance between too hard and too easy. it was just enough to be able to understand what was being done.

Jeremy Zeidner, Principal Software Engineer, A Large Financial Company

project author

Joe Attardi
Joe Attardi is a software developer from Massachusetts. He has worked with companies such as Synopsys, Salesforce, Constant Contact, and Dell to build engaging frontend experiences. He has worked extensively with Java, JavaScript, and web technologies for over 20 years. Joe is the author of several books from Apress and O'Reilly Media and also writes freelance articles on the topic of web development.

Prerequisites

This liveProject series is for frontend or full stack web developers who want to start working with AI. You’ll need to be confident in JavaScript programming and have some experience with Svelte, Tailwind CSS, and CSS concepts.


TOOLS
  • Basic HTML
  • Basic CSS
  • Intermediate JavaScript
  • Intermediate Svelte
  • Intermediate Node.js/npm
TECHNIQUES:
  • CSS styling and layout concepts
  • Structuring HTML elements
  • HTML forms

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from fellow participants and even more help with paid sessions with our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.