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

  1. (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
  2. Open Duo Chat :duo:
  3. Type /include and select the Files option
  4. Select the file(s) to add as context
  5. Now formulate your question :talking: to Duo chat and hit send
  6. 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

🙏 🙏 🙏 🙏 Please, provide your 📣 feedback by commenting in this issue 📣 . Whether your feedback is 👍 positive or 👎 negative it doesn't matter. All of it helps us to get better.

  1. Give your feedback a title
  2. 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.
    1. The files you attached
    2. Your question(s)
    3. The answer
    4. Potentially, previous conversation
    5. How satisfied/unsatisfied you were
  3. 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