From 799f69c801db24efb617a31830b8bb22ac969f8a Mon Sep 17 00:00:00 2001 From: isaac hershenson Date: Mon, 9 Dec 2024 11:12:25 -0800 Subject: [PATCH] fmt --- python/langsmith/evaluation/evaluator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/langsmith/evaluation/evaluator.py b/python/langsmith/evaluation/evaluator.py index 0300de424..13aa8c41e 100644 --- a/python/langsmith/evaluation/evaluator.py +++ b/python/langsmith/evaluation/evaluator.py @@ -666,7 +666,7 @@ async def awrapper( "example": example, "inputs": example.inputs if example else {}, "outputs": run.outputs or {}, - "attachments": example.attachments_info or {} if example else {}, + "attachments": example.attachment_urls or {} if example else {}, "reference_outputs": example.outputs or {} if example else {}, } args = (arg_map[arg] for arg in positional_args) @@ -687,7 +687,7 @@ def wrapper(run: Run, example: Example) -> _RUNNABLE_OUTPUT: "example": example, "inputs": example.inputs if example else {}, "outputs": run.outputs or {}, - "attachments": example.attachments_info or {}, + "attachments": example.attachment_urls or {}, "reference_outputs": example.outputs or {} if example else {}, } args = (arg_map[arg] for arg in positional_args)