> 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 AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/guardrails/_mcp/server.

# nemoguardrails.actions.core

## Module Contents

### Functions

| Name                                                        | Description                                              |
| ----------------------------------------------------------- | -------------------------------------------------------- |
| [`create_event`](#nemoguardrails-actions-core-create_event) | Creates an event for the bot based on the provided data. |

### Data

[`log`](#nemoguardrails-actions-core-log)

### API

```python
nemoguardrails.actions.core.create_event(
    event: dict,
    context: typing.Optional[dict] = None
)
```

async

Creates an event for the bot based on the provided data.

**Parameters:**

The input event data.

The context for the action. Defaults to None.

**Returns:**

An action result containing the created event.

```python
nemoguardrails.actions.core.log = logging.getLogger(__name__)
```