diff --git a/agenta-web/src/components/Evaluations/EvaluationCardView/index.tsx b/agenta-web/src/components/Evaluations/EvaluationCardView/index.tsx index 45e114047c..f0097bc08e 100644 --- a/agenta-web/src/components/Evaluations/EvaluationCardView/index.tsx +++ b/agenta-web/src/components/Evaluations/EvaluationCardView/index.tsx @@ -361,33 +361,38 @@ const EvaluationCardView: React.FC = ({ - - isChat - ? onChatChange(value) - : onInputChange( - {target: {value}} as any, - scenarioId, - scenario.inputs.findIndex((ip) => ip.input_name === name), - ) - } - inputParams={ - isChat - ? [{name: "chat", value: chat} as any] - : variantData[0].inputParams?.map((item) => ({ - ...item, - value: scenario.inputs.find( - (ip) => ip.input_name === item.name, - )?.input_value, - })) || [] - } - key={scenarioId} - useChatDefaultValue - form={form} - onFinish={() => onRun(scenarioId)} - imageSize="large" - /> +
+ Inputs + + isChat + ? onChatChange(value) + : onInputChange( + {target: {value}} as any, + scenarioId, + scenario.inputs.findIndex( + (ip) => ip.input_name === name, + ), + ) + } + inputParams={ + isChat + ? [{name: "chat", value: chat} as any] + : variantData[0].inputParams?.map((item) => ({ + ...item, + value: scenario.inputs.find( + (ip) => ip.input_name === item.name, + )?.input_value, + })) || [] + } + key={scenarioId} + useChatDefaultValue + form={form} + onFinish={() => onRun(scenarioId)} + imageSize="large" + /> +
@@ -405,11 +410,17 @@ const EvaluationCardView: React.FC = ({
- {!isAbTesting && ( - - Model Response - - )} +
+ {!isAbTesting ? ( + + Model Response + + ) : ( + + Outputs + + )} +