mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
* 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
36 lines
981 B
TypeScript
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>
|
|
)
|