Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

413 B
Raw Blame
import { LinkBadge } from "@/src/components/design-system/LinkBadge/LinkBadge";

export const PromptBadge = (props: {
  promptName: string;
  promptVersion: number;
  projectId: string;
}) => (
  <LinkBadge
    href={`/project/${props.projectId}/prompts/${encodeURIComponent(props.promptName)}?version=${props.promptVersion}`}
    label="prompt"
    text={`${props.promptName} - v${props.promptVersion}`}
  />
);