Quickstart
Learn the core concepts of getting started with Vapi.
LLM-based voice AI apps undergo 3 phases: Speech-to-text, LLM computation, & Text-to-speech. Hearing, thinking, speaking.
The 3 Phases
To get you started as quickly as possible, we’re going to narrow down & focus on the 3 key concepts of Vapi voice assistants: the transcriber, the model, & the voice.
Note that this is not unique to Vapi, every LLM-based voice AI application is based around these 3 major legs of computation.
Vapi acts as a modular orchestration layer that lets you swap out each of these components to your liking. Additionally, Vapi runs custom ML models between each layer to facilitate natural conversational flow.
A standard voice AI application must do 3 things:
Listen (intake raw audio)
When a person speaks, the client device (whether it is a laptop, phone, etc) will record raw audio (1’s & 0’s at the core of it).
This raw audio will have to either be transcribed on the client device itself, or get shipped off to a server somewhere to turn into transcription text.
Run an LLM
That transcript text will then get fed into a prompt & run through an LLM (LLM inference). The LLM is the core intelligence that simulates a person behind-the-scenes.
Speak (text → raw audio)
The LLM outputs text that now must be spoken. That text is turned back into raw audio (again, 1’s & 0’s), that is playable back at the user’s device.
This process can also either happen on the user’s device itself, or on a server somewhere (then the raw speech audio be shipped back to the user).
Vapi pulls all these pieces together, ensuring a smooth & responsive conversation (in addition to providing you with a simple set of tools to manage these inner-workings).
Vapi’s Pizzeria
To demonstrate these core concepts & how you can configure them with Vapi, we’ll be implementing a simple order-taking agent for a pizza shop called “Vapi’s Pizzeria”.
We will base our basic walkthroughs on this core order-taking agent example. Pizza shop customers will order a pizza, a side, & a drink.
We will walk through the same quickstart demo with every major way you can integrate & interface with Vapi’s systems:
Dashboard Quickstart
Follow the walkthrough on the Vapi Web Dashboard.
Web SDK Quickstart
Coming Soon.
Was this page helpful?