Files
Jonathan Summers-Muir 07a6c5ab4e Chore/move cmdk (#21936)
* init

* fix build issues

* move deps over

* Update CommandMenuWrapper.tsx

* build fixes

* Update sitemap_www.xml

* reset

* Update sitemap_www.xml

* Update tsconfig.json

* Update package.json

* Update package.json

* Update package-lock.json

* Update package.json
2024-03-11 18:31:23 +08:00

36 lines
981 B
TypeScript

import { Alert } from 'ui'
import { Microscope } from 'lucide-react'
export const AiWarning = ({ className }: { className?: string }) => (
<Alert
variant="info"
title="Supabase AI is experimental and may produce incorrect answers."
className={className}
icon={<Microscope strokeWidth={1.5} size={18} className="text-foreground-muted" />}
>
<p>Always verify the output before executing.</p>
</Alert>
)
export const IncludeSchemaAlert = () => (
<Alert
variant={'warning'}
title="Project metadata (tables, columns, and data types) is being shared with OpenAI"
withIcon
className="mx-3"
>
Start a new conversation to change this configuration
</Alert>
)
export const ExcludeSchemaAlert = () => (
<Alert
variant={'info'}
title="Project metadata (tables, columns, and data types) is not being shared with OpenAI"
withIcon
className="mx-3"
>
Start a new conversation to change this configuration
</Alert>
)