jupyter-ai
jupyter-ai copied to clipboard
[v3.0.0bx] Support message attachments
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.
-
@fileshould add the file as an attachment to the InputModel. -
The
FileContextHandlerbackend class should be replaced with a way to read directly from a list of message attachments. We may want to define this inBaseChatHandler.
Additional context
None known.