Skip to content

[feat]: Add path and file name to embedded content #339

Description

@christoph-bessei

A lot of our files need the path and file name as a context to be understandable, so it would be great if they could be added to the embedded content.

Describe the solution you'd like

  • Given a file /foo/bar/Weekly/2026-08-24.docx which does not contain "weekly" or "2026-08-24".
    I'd like to query for "Summarize the weekly from 24th of August" and the context chat should find and summarize the file.
  • Given a file /foo/bar/CUSTOMER_NAME/Meeting - 2026-07-24.pdf which does not contain "CUSTOMER_NAME" or "2026-07-24".
    I'd like to query for "Summarize the meeting with CUSTOMER_NAME from 2026-07-24" and the context chat should find and summarize the file.

Describe alternatives you've considered

  • Adding the path / file name to the actual content works, but feels weird and I'm sure people will forget to do this in the future

Related issues

Known complications

The same file can be shared/mounted at different paths (different folder names), but embedding currently happens once per file ID. Maybe it's possible to embed the path/file name separately to avoid embedding a file once per share/mount?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions