You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The disclaimer message in the message footer is currently hardcoded in the component, which makes sense from a compliance standpoint, especially considering the EU AI Act’s requirements for disclaimer messages.
<spanclassName={styles.answerDisclaimer}>AI-generated content may be incorrect</span>
However, it would be extremely beneficial to provide an option for customizing this message or, at the very least, appending additional text to it. For instance, this could allow us to include contextual information such as Data last updated: 1.1.2024 after the standard disclaimer message.
This can easily be implemented via an optional ENV variable. Happy to contribute with code changes if this proposal is considered reasonable.
The text was updated successfully, but these errors were encountered:
tadejmagajna
changed the title
Allow Disclaimer in Footer to be Customized via an ENV variable
Allow Footer Disclaimer to be Customizable via ENV Variable
Sep 18, 2024
The disclaimer message in the message footer is currently hardcoded in the component, which makes sense from a compliance standpoint, especially considering the EU AI Act’s requirements for disclaimer messages.
sample-app-aoai-chatGPT/frontend/src/components/Answer/Answer.tsx
Line 327 in 6cdac4f
However, it would be extremely beneficial to provide an option for customizing this message or, at the very least, appending additional text to it. For instance, this could allow us to include contextual information such as
Data last updated: 1.1.2024
after the standard disclaimer message.This can easily be implemented via an optional ENV variable. Happy to contribute with code changes if this proposal is considered reasonable.
The text was updated successfully, but these errors were encountered: