Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Footer Disclaimer to be Customizable via ENV Variable #1107

Open
tadejmagajna opened this issue Sep 18, 2024 · 0 comments
Open

Allow Footer Disclaimer to be Customizable via ENV Variable #1107

tadejmagajna opened this issue Sep 18, 2024 · 0 comments

Comments

@tadejmagajna
Copy link

tadejmagajna commented 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.

<span className={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.

@tadejmagajna 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant