Dog Fooding: Injected File Context in Duo Chat for VS Code
CLOSED IN FAVOR OF #507517 (closed) WHICH INCLUDES ADDITIONAL CAPABILITIES TO GIVE FEEDBACK ON
✨ ✨ ✨ In VS Code, you can now add files 📄 as context to your Chat 💬 question by typing /include ✨ ✨ ✨
To use the feature
- (if you haven’t done so already) :loading_wheel: download and
⚙️ setup the latest GitLab Workflow Extension for VS Code :vsc: and open a repo in VS Code - Open Duo Chat :duo:
- Type /include and select the Files option
- Select the file(s) to add as context
- Now formulate your question :talking: to Duo chat and hit send
- Optionally, (as it has always been) you can select code in the currently open file in the editor and the selected code will be sent along as context as well.
From this point onward in the conversation, Duo Chat is aware of this context and you do not need to add it again when you ask follow-up questions. It forgets all the shared context when you type /reset.
Known issue:
- The feature only supports files that are in a git repo.
- Not yet available in JetBrains - but we are working on it.
How to give feedback
- Give your feedback a title
- If your feedback is about the content of your conversation with Duo Chat, please provide the following. This helps us create more test cases for our eval dataset.
- The files you attached
- Your question(s)
- The answer
- Potentially, previous conversation
- How satisfied/unsatisfied you were
- Of course, if your feedback is about the interface or unrelated to the conversation, there is no need to share these details.
Edited by Torsten Linz