Skip to content

No instruction display

NoInstructionDisplaySetting #

NoInstructionDisplaySetting(value: bool = True)

Bases: RapidataSetting

Hides the instruction text in the UI. Only the context will be shown.

Note: If SwapContextInstructionSetting is also applied, this will hide the context instead, since the positions are swapped.

Parameters:

Name Type Description Default
value bool

Whether to hide the instruction display. Defaults to True.

True
Source code in src/rapidata/rapidata_client/settings/no_instruction_display.py
def __init__(self, value: bool = True):
    if not isinstance(value, bool):
        raise ValueError("The value must be a boolean.")

    super().__init__(key="no_aux_text", value=value)