Skip to main content

One doc tagged with "roles"

View all tags

Messages

A chat model's input and output are both lists of typed message objects, not raw strings. Each message type maps to a role.