Document Duo Chat slash commands
Problem
Duo Chat has a list of supported commands, aka slash commands. Examples: /clear
, /vulnerability_explain
. However, we don't have any document with list of all available slash commands.
Because when user asks a question, we also pass additional context to LLM, users can add /
virtually to anything and it might work with questionable results. That could lead to dissatisfaction with chat experience or confusion about its capabilities.
Slash commands is a powerful tool in Duo Chat, they are designed to successfully solve specific tasks and we need to help users to use the properly.
Solution
Create a section under https://docs.gitlab.com/ee/user/gitlab_duo_chat to add a list of all supported slash commands
List of supported commands
Command | Purpose |
---|---|
/clear | clear chat history |
/clean | same as /clear |
/tests | Write tests |
/explain | Explain code |
/vulnerability_explain | Explain current vulnerability |
/refactor | Refactor the code |