Skip to content

Glossary: AI App Interfaces

Messages

Also written: message, role, content

The list of dicts with `role` and `content` that a chat model receives. Roles are system, user and assistant, and the whole history is sent on every call.

Where the book teaches it

Related terms

System promptSession stateLLM (large language model)