OptInToOpenAIToggle.tsx58 lines · main
| 1 | import { |
| 2 | Button, |
| 3 | Dialog, |
| 4 | DialogContent, |
| 5 | DialogHeader, |
| 6 | DialogSection, |
| 7 | DialogTitle, |
| 8 | DialogTrigger, |
| 9 | } from 'ui' |
| 10 | |
| 11 | import { InlineLink } from '@/components/ui/InlineLink' |
| 12 | |
| 13 | export const OptInToOpenAIToggle = () => { |
| 14 | return ( |
| 15 | <Dialog> |
| 16 | <DialogTrigger asChild> |
| 17 | <Button type="outline" className="w-fit"> |
| 18 | Learn more about data privacy |
| 19 | </Button> |
| 20 | </DialogTrigger> |
| 21 | <DialogContent className="sm:max-w-2xl"> |
| 22 | <DialogHeader padding="small" className="border-b"> |
| 23 | <DialogTitle>Data Privacy and Briven AI</DialogTitle> |
| 24 | </DialogHeader> |
| 25 | <DialogSection |
| 26 | padding="small" |
| 27 | className="flex flex-col gap-y-4 text-sm text-foreground-light" |
| 28 | > |
| 29 | <p> |
| 30 | Briven AI utilizes third-party AI providers designed with a strong focus on data |
| 31 | privacy and security. |
| 32 | </p> |
| 33 | |
| 34 | <p> |
| 35 | By default, only schema data is shared with third-party AI providers. This is not |
| 36 | retained by them nor used as training data. With your permission, Briven may also |
| 37 | share customer-generated prompts, database data, and project logs with these providers. |
| 38 | This information is used solely to generate responses to your queries and is not |
| 39 | retained by the providers or used to train their models. |
| 40 | </p> |
| 41 | |
| 42 | <p> |
| 43 | For organizations with HIPAA compliance enabled in their Briven configuration, any |
| 44 | consented information will only be shared with third-party AI providers with whom |
| 45 | Briven has established a Business Associate Agreement (BAA). |
| 46 | </p> |
| 47 | |
| 48 | <p> |
| 49 | For more detailed information about how we collect and use your data, see our{' '} |
| 50 | <InlineLink href="https://supabase.com/privacy">Privacy Policy</InlineLink>. You can |
| 51 | choose which types of information you consent to share by selecting from the options in |
| 52 | the AI settings. |
| 53 | </p> |
| 54 | </DialogSection> |
| 55 | </DialogContent> |
| 56 | </Dialog> |
| 57 | ) |
| 58 | } |