Skip to content

Commit 0dcc4fd

Browse files
committed
push
1 parent 3c1698a commit 0dcc4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

langfuse/batch_evaluation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ async def run_async(
847847
evaluators: List[EvaluatorFunction],
848848
filter: Optional[str] = None,
849849
fetch_batch_size: int = 50,
850-
fetch_trace_fields: Optional[str] = None,
850+
fetch_trace_fields: Optional[str] = "io",
851851
max_items: Optional[int] = None,
852852
max_concurrency: int = 50,
853853
composite_evaluator: Optional[CompositeEvaluatorFunction] = None,
@@ -868,7 +868,7 @@ async def run_async(
868868
evaluators: List of evaluation functions to run on each item.
869869
filter: JSON filter string for querying items.
870870
fetch_batch_size: Number of items to fetch per API call.
871-
fetch_trace_fields: Comma-separated list of fields to include when fetching traces. Available field groups: 'core' (always included), 'io' (input, output, metadata), 'scores', 'observations', 'metrics'. If not specified, all fields are returned. Example: 'core,scores,metrics'. Note: Excluded 'observations' or 'scores' fields return empty arrays; excluded 'metrics' returns -1 for 'totalCost' and 'latency'. Only relevant if scope is 'traces'.
871+
fetch_trace_fields: Comma-separated list of fields to include when fetching traces. Available field groups: 'core' (always included), 'io' (input, output, metadata), 'scores', 'observations', 'metrics'. If not specified, all fields are returned. Example: 'core,scores,metrics'. Note: Excluded 'observations' or 'scores' fields return empty arrays; excluded 'metrics' returns -1 for 'totalCost' and 'latency'. Only relevant if scope is 'traces'. Default: 'io'
872872
max_items: Maximum number of items to process (None = all).
873873
max_concurrency: Maximum number of concurrent evaluations.
874874
composite_evaluator: Optional function to create composite scores.

0 commit comments

Comments
 (0)