import {
PromptVersions,
type PromptVersion,
} from "@/components/ui/prompt-versions";
const VERSIONS: PromptVersion[] = [
{
id: "v7",
label: "v7",
at: "3 Sep",
author: "ada",
note: "Added the £200 refund ceiling.",
score: 0.86,
live: true,
},
{
id: "v6",
label: "v6",
at: "1 Sep",
author: "marc",
note: "Told it to prefer the docs over its own memory.",
score: 0.81,
},
{
id: "v5",
label: "v5",
at: "28 Aug",
author: "ada",
note: "Shortened the system prompt to save tokens.",
score: 0.62,
},
{
id: "v4",
label: "v4",
at: "24 Aug",
author: "ada",
note: "First version with retrieved context.",
score: 0.79,
},
{
id: "v3",
label: "v3",
at: "20 Aug",
author: "iris",
note: "Initial draft.",
},
];
export default function PromptVersionsDemo() {
return (
<div className="w-full max-w-2xl">
<PromptVersions versions={VERSIONS} onCompare={() => {}} />
</div>
);
}