rlmesh.adapters.Text

classfrom rlmesh.adapters import Text[source]

A text input expected by a model.

Text(
    role: str,
    container: Literal['str', 'list'] = 'str',
    fill: str | None = None,
)

There is no key – placement in the input tree is the payload position.

role

attribute[source]
role: str

Semantic role matched against env text features.

container

attribute[source]
container: Literal['str', 'list']

Emit a plain string or a single-element list.

fill

attribute[source]
fill: str | None

Fallback value used when the observation omits the feature; when None the input is omitted from the payload instead. Named to match Actuator.fill.