What the user said: text and files.
Attributes#
| Attribute | Type | Description |
|---|---|---|
role | Literal['user'] = 'user' | |
content | Sequence[UserMessagePart] | |
options | ProviderOptions = field(default_factory=_options) |
Functions#
__init__#
__init__(content, options=_options()) -> None| Parameter | Type | Description |
|---|---|---|
content | Sequence[UserMessagePart] | |
options | ProviderOptions = _options() |
pipe#
pipe[B](f) -> B| Parameter | Type | Description |
|---|---|---|
f | Callable[[Self], B] |
Returns B
def pipe[B](self, f: Callable[[Self], B], /) -> B:
return f(self)