Table of Contents

TTMSMCPSamplingMessageRole Enumeration

Speaker a conversation turn is attributed to. smrUser marks input coming from the person or from the calling application, smrAssistant marks a reply produced by the model, and smrSystem marks instructions that steer the model rather than a turn of the conversation.

API unit family: TMS.MCP.Sampling

Members

Name Description
smrUser Turn that came from the person or from the calling application. It carries the prompt the model is asked to answer and is written as user on the wire.
smrAssistant Turn produced by the model. It is used both for the reply that comes back from a completion and for earlier replies replayed as conversation history, and is written as assistant on the wire.
smrSystem Turn that steers the model rather than taking part in the conversation. It is written as system on the wire, and is an alternative to the separate system-prompt member of the request.