autorag.evaluation package¶
Subpackages¶
Submodules¶
autorag.evaluation.generation module¶
- autorag.evaluation.generation.evaluate_generation(metric_inputs: List[MetricInput], metrics: List[str] | List[Dict])[source]¶
autorag.evaluation.retrieval module¶
- autorag.evaluation.retrieval.evaluate_retrieval(metric_inputs: List[MetricInput], metrics: List[str] | List[Dict])[source]¶
autorag.evaluation.retrieval_contents module¶
- autorag.evaluation.retrieval_contents.evaluate_retrieval_contents(metric_inputs: List[MetricInput], metrics: List[str])[source]¶
autorag.evaluation.util module¶
- autorag.evaluation.util.cast_metrics(metrics: List[str] | List[Dict]) Tuple[List[str], List[Dict[str, Any]]] [source]¶
Turn metrics to list of metric names and parameter list.
- Parameters:
metrics – List of string or dictionary.
- Returns:
The list of metric names and dictionary list of metric parameters.