nemoguardrails.eval.utils
Module Contents
Functions
API
Collects and aggregates the metrics from all the spans.
Helper to return the output paths from the current dir.
Helper to load a dict from a file based on its extension.
Load a dict from a path.
It recursively loads all .json and .yaml files in the given path. Top level arrays are joined.
Helper to write data to a file in the chosen format.
Writes the evaluation output to a folder.
Updates a dictionary at the specified path.
It recursively looks at all .json and .yaml files in the given path.
for every file that contains a top level key found in d, it is updated.