Loading
Draft: [skip ci] Add table for Duo workflow session files
What does this MR do and why?
A PoC to the new duo_workflows_session_files table and relevant file upload MRs.
This MR contains the bare minimum to end to end test the code, but ignores file deletion, docs, etc.
References
MR to add table and model: !261463 (merged)
How to set up and validate locally
- Check out the code and the AIGW code gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!6949 (closed)
gdk restart duo-workflow-service- Enable
Feature.enable(:dap_web_chat_file_attachments) - In Agentic Duo Chat on the web, click the + on the bottom left corner, click "Attach image"
- Ask Duo "What is this image"
- You should notice
- In the network tab, a request is made to
session_files - The websocket (ws) connect, messages tab, user message (green), has an
attachmentsadditional context, that contains the URl. - Duo is able to respond.
- In the network tab, a request is made to
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Kaveh Nejad