Enum LiteRtMessageRole
- Namespace
- LiteRtLmSharp
- Assembly
- LiteRtLmSharp.dll
The author of a LiteRtMessage in a conversation history.
public enum LiteRtMessageRole
Fields
Model = 2An assistant turn. Serialized to the wire role
"model"(the engine may emit either"model"or"assistant"in its responses; both are normalized to this).System = 0A system instruction. Usually set via SystemMessage rather than as a history message; included for round-trip fidelity.
Tool = 3A tool-results turn, carrying the outputs of executed tools (see ToolResults).
User = 1A user turn.