🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat: line breaks on evaluation run tooltip hints (#7486)
Marc Klingen94e49dbc4eda
diff --git a/packages/shared/scripts/seeder/utils/data-generators.ts b/packages/shared/scripts/seeder/utils/data-generators.tsindex 61115339ab..af818b7fb2 100644--- a/packages/shared/scripts/seeder/utils/data-generators.ts+++ b/packages/shared/scripts/seeder/utils/data-generators.ts@@ -442,7 +442,7 @@ export class DataGenerator {string_value: stringValue,data_type: scoreType as any,source: "API",- comment: "Generated score",+ comment: "Generated score\ntest",environment: trace.environment,});diff --git a/web/src/components/scores-table-cell.tsx b/web/src/components/scores-table-cell.tsxindex 617a40eea1..ce869263fc 100644--- a/web/src/components/scores-table-cell.tsx+++ b/web/src/components/scores-table-cell.tsx@@ -71,7 +71,7 @@ export const ScoresTableCell = ({<MessageCircleMore size={12} /></HoverCardTrigger><HoverCardContent className="overflow-hidden whitespace-normal break-normal">- <p>{aggregate.comment}</p>+ <p className="whitespace-pre-wrap">{aggregate.comment}</p></HoverCardContent></HoverCard>)}diff --git a/web/src/features/scores/components/AnnotateDrawerContent.tsx b/web/src/features/scores/components/AnnotateDrawerContent.tsxindex eefbdd4617..388bb30865 100644--- a/web/src/features/scores/components/AnnotateDrawerContent.tsx+++ b/web/src/features/scores/components/AnnotateDrawerContent.tsx@@ -718,7 +718,10 @@ export function AnnotateDrawerContent<Target extends ScoreTarget>({{!!score.comment && (<div className="mb-4 max-w-48 rounded border bg-background p-2 shadow-sm"><p className="text-xs">- Saved comment: {score.comment}+ Saved comment:{" "}+ <span className="whitespace-pre-wrap">+ {score.comment}+ </span></p></div>)}