jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

[v3.0.0bx] Support message attachments

Open dlqqq opened this issue 7 months ago • 0 comments
trafficstars

Problem

In v3, we currently do not read from the message attachments.

Proposed Solution

  • The backend should inject the contents of each attached file directly into the prompt.

  • @file should add the file as an attachment to the InputModel.

  • The FileContextHandler backend class should be replaced with a way to read directly from a list of message attachments. We may want to define this in BaseChatHandler.

Additional context

None known.

dlqqq avatar Apr 01 '25 16:04 dlqqq