diff --git a/frontend/src/component/ai/AIChat.tsx b/frontend/src/component/ai/AIChat.tsx index 13e3ad91a4e0..a6db132e0018 100644 --- a/frontend/src/component/ai/AIChat.tsx +++ b/frontend/src/component/ai/AIChat.tsx @@ -14,6 +14,7 @@ import { AIChatInput } from './AIChatInput'; import { AIChatMessage } from './AIChatMessage'; import { AIChatHeader } from './AIChatHeader'; import { Resizable } from 'component/common/Resizable/Resizable'; +import { AIChatDisclaimer } from './AIChatDisclaimer'; const AI_ERROR_MESSAGE = { role: 'assistant', @@ -176,9 +177,9 @@ export const AIChat = () => { scrollToEnd({ onlyIfAtEnd: true })} > @@ -187,6 +188,7 @@ export const AIChat = () => { onClose={() => setOpen(false)} /> + Hello, how can I assist you? diff --git a/frontend/src/component/ai/AIChatDisclaimer.tsx b/frontend/src/component/ai/AIChatDisclaimer.tsx new file mode 100644 index 000000000000..f593af2f7fb2 --- /dev/null +++ b/frontend/src/component/ai/AIChatDisclaimer.tsx @@ -0,0 +1,19 @@ +import { styled } from '@mui/material'; + +const StyledDisclaimer = styled('aside')(({ theme }) => ({ + display: 'flex', + alignItems: 'center', + justifyContent: 'center', + textAlign: 'center', + width: '100%', + color: theme.palette.secondary.dark, + fontSize: theme.fontSizes.smallerBody, + marginBottom: theme.spacing(2), +})); + +export const AIChatDisclaimer = () => ( + + By using this assistant you accept that all data you share in this chat + can be shared with OpenAI + +);