Skip to content

[v3-beta] Read message attachments in backend #1299

@dlqqq

Description

@dlqqq

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestscope:jupyternautIssues that concern Jupyternaut, the default AI persona

    Type

    No type

    Projects

    Status

    Active

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions