Skip to navigation

nemo_gym.agents.context_management.materialization

View as MarkdownOpen in Claude

Materialize policy plans into Responses-API request views.

Module Contents

Functions

NameDescription
_marker_part_for-
descriptor_is_append_compatibleReturn whether the current semantic view only appends to the prior one.
materialize_history_view-

API

nemo_gym.agents.context_management.materialization._marker_part_for(
image_part: typing.Mapping[str, typing.Any],
text: str
) -> dict[str, str]
nemo_gym.agents.context_management.materialization.descriptor_is_append_compatible(
previous_completed_descriptor: typing.Sequence[str] | None,
current_descriptor: typing.Sequence[str]
) -> bool

Return whether the current semantic view only appends to the prior one.