nemoguardrails.tracing.interaction_types
nemoguardrails.tracing.interaction_types
Core models for the tracing system.
Module Contents
Classes
Functions
API
Bases: BaseModel
Detailed log about the execution of an interaction.
activated_rails
events
id
trace
Bases: BaseModel
Simple model for interaction output used in tracer.
id
input
output
Extracts an InteractionLog object from an GenerationLog object.
Parameters:
interaction_output
The interaction output
generation_log
The generation log
span_format
Span format to use (“legacy” or “opentelemetry”)
enable_content_capture
Whether to include content in trace events