GitHub

SystemMessage

API reference for SystemMessage.

Instructions for the model.

Attributes

AttributeTypeDescription
roleLiteral['system'] = 'system'
contentstr
optionsProviderOptions = field(default_factory=_options)

Functions

__init__

__init__(content, options=_options()) -> None
ParameterTypeDescription
contentstr
optionsProviderOptions = _options()

pipe

pipe[B](f) -> B
ParameterTypeDescription
fCallable[[Self], B]

Returns B

def pipe[B](self, f: Callable[[Self], B], /) -> B:
    return f(self)