Response Logging Interceptor#
Overview#
The ResponseLoggingInterceptor captures and logs API responses for analysis and debugging. Use this interceptor to examine model outputs and identify response patterns.
Configuration#
CLI Configuration#
--overrides 'target.api_endpoint.adapter_config.use_response_logging=True,target.api_endpoint.adapter_config.max_saved_responses=1000'
YAML Configuration#
target:
api_endpoint:
adapter_config:
interceptors:
- name: "endpoint"
enabled: true
config: {}
- name: "response_logging"
enabled: true
config:
max_responses: 1000
Configuration Options#
For detailed configuration options, please refer to the nemo_evaluator.adapters.interceptors Python API reference.