> This page is for version v0.24.0.
> For other versions, use one of these documentation indexes:
> - Latest (default): https://docs.nvidia.com/nemo/guardrails/latest/llms.txt
> - v0.24.1: https://docs.nvidia.com/nemo/guardrails/v0.24.1/llms.txt
> - v0.24.0: https://docs.nvidia.com/nemo/guardrails/v0.24.0/llms.txt
> - v0.23.0: https://docs.nvidia.com/nemo/guardrails/v0.23.0/llms.txt
> - v0.22.0: https://docs.nvidia.com/nemo/guardrails/v0.22.0/llms.txt

> 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.tracing.adapters.filesystem

## Module Contents

### Classes

| Name                                                                                 | Description |
| ------------------------------------------------------------------------------------ | ----------- |
| [`FileSystemAdapter`](#nemoguardrails-tracing-adapters-filesystem-FileSystemAdapter) | -           |

### API

```python
class nemoguardrails.tracing.adapters.filesystem.FileSystemAdapter(
    filepath: typing.Optional[str] = None
)
```

**Bases:** [InteractionLogAdapter](/guardrails-python-sdk/nemoguardrails/tracing/adapters/base#nemoguardrails-tracing-adapters-base-InteractionLogAdapter)

**`filepath`** `= './.traces/trace.jsonl'`

---

**`name`** `= 'FileSystem'`

---

```python
nemoguardrails.tracing.adapters.filesystem.FileSystemAdapter.transform(
    interaction_log: 'InteractionLog'
)
```

Transforms the InteractionLog into a JSON string.

```python
nemoguardrails.tracing.adapters.filesystem.FileSystemAdapter.transform_async(
    interaction_log: 'InteractionLog'
)
```

async