Adapter Configurations
You can set up the following adapters for tracing.
The following table summarizes the list of adapters supported by the NeMo Guardrails library and their use cases.
The following sections explain how to configure each adapter in config.yml.
FileSystem Adapter
For development and debugging, use the FileSystem adapter to log traces locally.
For working examples, refer to the Tracing Guardrails Quickstart notebook.
OpenTelemetry Adapter
For production environments with observability platforms.
For working examples, refer to the Tracing Guardrails with Jaeger notebook.
Custom Adapter
You can create custom adapters and use them in your application code.
-
Create custom adapters for specialized backends or formats for your use case.
-
Register the adapter in
config.py. -
Use the adapter in
config.yml.