Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file upload functionality to chat window #149

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 2, 2024

  1. Add file upload functionality to chat window

    Fixes anthropics#19
    
    Add file upload functionality to the chat window and display uploaded files.
    
    * **File Upload Handling:**
      - Add file upload functionality to `customer-support-agent/app/page.tsx`.
      - Implement file handling logic for text, image, and PDF files.
      - Display uploaded files and their contents in the chat window.
      - Add progress indicators for large file uploads.
    
    * **Chat Area Updates:**
      - Update `customer-support-agent/components/ChatArea.tsx` to handle file uploads and display file previews inline.
      - Integrate file preview components from `financial-data-analyst/components/FilePreview.tsx`.
      - Add expandable file preview functionality.
    
    * **Right Sidebar Updates:**
      - Add a separate file section for uploaded files in `customer-support-agent/components/RightSidebar.tsx`.
      - Display thumbnails or icons for each uploaded file.
      - Open a modal with a preview when clicking on a file.
    
    ---
    
    For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/anthropics/anthropic-quickstarts/issues/19?shareId=XXXX-XXXX-XXXX-XXXX).
    Stevo-G-Swag committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    cad3807 View commit details
    Browse the repository at this point in the history