Class LlmMessage
Single message in the conversation transcript sent to the provider.
public sealed class LlmMessage
Inheritance
Properties
CacheBreakpoint
Ask the provider to place a prompt-cache breakpoint after this message: everything
public bool CacheBreakpoint { get; init; }
Content
Ordered content blocks for this message.
public IReadOnlyList<LlmContentBlock> Content { get; init; }
Methods
Assistant(string)
Convenience constructor for plain-text assistant messages.
public static LlmMessage Assistant(string text)
User(string)
Convenience constructor for plain-text user messages.
public static LlmMessage User(string text)