🪢 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
import React from "react";
import preview from "../../../../.storybook/preview";
import { LangfuseIcon } from "./LangfuseIcon";
type ComponentProps = React.ComponentProps<typeof LangfuseIcon>;
type Size = NonNullable<ComponentProps["size"]>;
const meta = preview.meta({
component: LangfuseIcon,
});
const allSizes = Object.keys({
14: true,
16: true,
28: true,
32: true,
42: true,
} satisfies Record<Size, true>).map(Number) as Size[];
export const Default = meta.story({
args: {
size: 32,
},
});
export const AllSizes = meta.story({
render: () => (
<div className="flex items-end gap-6 p-2">
{allSizes.map((size) => (
<div key={size} className="flex flex-col items-center gap-2">
<LangfuseIcon size={size} />
<span className="text-muted-foreground text-xs">{size}px</span>
</div>
))}
</div>
),
});