Types of AI Models

Updated · 6 min read
easyPython 3.13aimodelslanguage-modelsembeddingsbeginnersinterview

Which model would you need to summarize a phone call? Navika's online shop in Dallas gets dozens of support calls a day, and she wants a short summary of each. One model isn't enough: something has to turn speech into text, and something else has to turn a long transcript into three lines. Picking the right types of models is the first design decision in almost every AI system.

This lesson introduces the six common types, what each takes in and gives out, and how they combine.

Six Common Types

Six common types of AI models, by input and output
TypeInput → outputEveryday example
Language modelText → textA chat assistant answering a question
Image modelImage → labels, or text → imagePhoto search, or an image generator
Speech modelAudio → text, or text → audioVoice typing, or a voice reading a message aloud
Video modelVideo → text, or text → videoDescribing a clip, or generating a short video
Embedding modelText or image → a list of numbersFinding documents with similar meaning
Predictive modelA row of data → a number or categoryA house price, or "will this payment be late?"

Embedding models need one more sentence, because their output looks strange: a list of numbers. The numbers place things with similar meaning close together, the way a library shelves similar books side by side. "Refund my order" and "I want my money back" get similar numbers, even though the words differ. A later chapter is devoted to embeddings.

Combining Models: Summarizing a Support Call

Real systems often chain models, each doing the part it is built for. Here is Navika's support-call summary:

A speech model, then a language model
  1. A speech model turns the call's audio into a written transcript.
  2. A language model turns the transcript into a short summary with the issue, what the customer wants and the next step.

Some newer models are multimodal: one model accepts several types of input, such as audio and text together. Even then, it helps to think in these steps, because each step can fail in its own way: a misheard word in step 1 becomes a wrong summary in step 2.

Common Mistakes

Asking a language model to do a predictive model's job. For a price or a risk score from a table, a predictive model trained on that data is usually more accurate and far cheaper.

Thinking one model must do everything. Chaining two specialized models is often simpler and better.

Ignoring how errors pass along a chain. A transcription mistake flows into every later step.

Interview Corner

What types of AI models are there?

Common types are language models (text to text), image models, speech models, video models, embedding models (data to numbers that capture meaning) and predictive models (structured data to a number or category). Multimodal models combine several input types.

Which models would you use to summarize customer support calls?

A speech model to transcribe the audio, then a language model to summarize the transcript. A multimodal model could do both, but the two-step design makes each step easier to test and fix.

Practice

Exercise: design with model types. For each system, list the model types you would chain, in order:

  1. An app that reads a photo of a restaurant receipt and adds up the total.
  2. A tool that finds the five help articles most similar to a customer's question.
  3. A voice assistant that answers spoken questions out loud.

Check: did every step have a clear input and output?

Check your understanding:

  1. What does an embedding model output, and why is that useful?
  2. Which two models summarize a support call, and in what order?
  3. What is a multimodal model?

Quick check: types of AI models

4 questions
1Which model type turns audio into text?
2What does an embedding model output?
3A bank wants to predict whether a loan payment will be late, from a table of past payments. Which type fits best?
4In a call-summary system, the speech model mishears an order number. What happens?

Key Takeaways

Quick reference

TypeInput → output
Language modelText → text
Image modelImage → labels, or text → image
Speech modelAudio → text, or text → audio
Video modelVideo → text, or text → video
Embedding modelText or image → numbers
Predictive modelTable row → number or category
Multimodal modelSeveral input types in one model

Was this tutorial helpful?

Lesson 16 of 186