Added the legal info to Tanuki Bot Chat
What does this MR do and why?
This MR introduces the legal information to the Tanuki Bot chat as per https://gitlab.com/gitlab-org/enablement-section/tanuki-bot/-/issues/50+
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
You will need to setup the embedding database on your GDK if you haven't already. Thankfully it is pretty straightforward:
- Ensure GDK has Ultimate License.
- In the GDK root folder:
- gdk update
- gdk config set gitlab.rails.databases.embedding.enabled true
- gdk config set pgvector.enabled true
- gdk reconfigure
- cd gitlab
- Run DB migrations with
bin/rails db:migrate
rails c
- Copy/paste and run the script. Make sure it succeeds
- While in the Rails console, enable (or make sure they are enabled) the following flags
:super_sidebar_nav
:openai_experimentation
:tanuki_bot
gdk restart
- In the UI interface:
- Ensure the New navigation is enabled. You can enable it by clicking your User profile photo in the top right and toggle the switch
- Click the help link in the bottom left of the new Sidebar navigation
- Click Ask GitLab Chat link
- Make sure the legal note is rendered
- Ask a question
- Make sure the note stays fixed on the screen and does not get scrolled away with the new questions/answers
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
References https://gitlab.com/gitlab-org/enablement-section/tanuki-bot/-/issues/50