> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/guardrails/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/guardrails/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/guardrails/_mcp/server.

# nemoguardrails.library.self_check.input_check.actions

## Module Contents

### Functions

| Name                                                                                          | Description                     |
| --------------------------------------------------------------------------------------------- | ------------------------------- |
| [`self_check_input`](#nemoguardrails-library-self_check-input_check-actions-self_check_input) | Checks the input from the user. |

### Data

[`log`](#nemoguardrails-library-self_check-input_check-actions-log)

### API

```python
nemoguardrails.library.self_check.input_check.actions.self_check_input(
    llm_task_manager: nemoguardrails.llm.taskmanager.LLMTaskManager,
    context: typing.Optional[dict] = None,
    llm: typing.Optional[nemoguardrails.types.LLMModel] = None,
    config: typing.Optional[nemoguardrails.RailsConfig] = None,
    kwargs = {}
)
```

async

Checks the input from the user.

Prompt the LLM, using the `check_input` task prompt, to determine if the input
from the user should be allowed or not.

**Returns:**

True if the input should be allowed, False otherwise.

```python
nemoguardrails.library.self_check.input_check.actions.log = logging.getLogger(__name__)
```