liveBook · Manning

Assistant

As explained in AI for Everyday IT

An assistant role is a conversational API message role containing the model-generated response to user input.

An assistant role is an API message containing the model-generated response to a user's request. It forms part of a conversation alongside system and user roles. section 13.1.2

Database copilot response

{"role":"assistant","content":"Sure, here are the customers from Belgium: CustomerID: 101, CustomerName: 'Marie Dubois'; CustomerID: 210, CustomerName: 'Lucas Janssen'"}

How AI for Everyday IT covers it

How deep it goes
Defines the role and shows its JSON structure, without explaining model internals or response generation.
Examples
Uses a JSON response listing customers from Belgium in the Northwind database.
What you can do after
Apply it via an OpenAI API payload to represent generated answers in a conversational application.
How it connects
Connects assistant role with system role, user role, API payloads, and function calling.

Also explained in

Compare how 3 books explain assistant →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI for Everyday IT. The section links point to the parts of the book it draws on.