Skip to content
Module
Module 3 of 6Lesson 3 of 3~8 min

Specify the response format for the interface

As long as the assistant answers in free text, the interface can't show reliable sources, trigger a handoff or measure much at all. This lesson teaches you to specify a structured response, one that the interface and your indicators can finally rely on.

Lesson objective

By the end of this lesson, you will be able to specify the fields of a structured response (answer, sources, handoff needed, suggested actions) so that the interface and the metrics can rely on it.

Topics covered

  • structured outputs
  • JSON schema
  • AI assistant
  • conversational interface
  • product specification

In the glossary

Full glossary

Where it fits

Design the experience and behavior

How should the assistant present itself, answer, say "I don't know" and hand over?

Lessons in this module

  1. Design the conversational experience
  2. Write a production system prompt
  3. Specify the response format for the interface (this lesson)

What you will learn in this module

This lesson is part of the course Build an AI assistant for your product

  • Design the conversational experience: entry point, tone, handling uncertainty, handoff to a human and response format.