nemoguardrails.tracing.adapters.filesystem
This page is for version v0.25.0.
For other versions, use one of these documentation indexes:
- Latest (default): https://docs.nvidia.com/nemo/guardrails/latest/llms.txt
- v0.25.0: https://docs.nvidia.com/nemo/guardrails/v0.25.0/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
Module Contents
Classes
| Name | Description |
|---|---|
FileSystemAdapter | - |
API
class nemoguardrails.tracing.adapters.filesystem.FileSystemAdapter(filepath: typing.Optional[str] = None)
Bases: InteractionLogAdapter
filepath
= './.traces/trace.jsonl'
name
= 'FileSystem'
nemoguardrails.tracing.adapters.filesystem.FileSystemAdapter.transform(interaction_log: 'InteractionLog')
Transforms the InteractionLog into a JSON string.
nemoguardrails.tracing.adapters.filesystem.FileSystemAdapter.transform_async(interaction_log: 'InteractionLog')
async