dust-tt / dust

Amplify your team's potential with customizable and secure AI assistants.
https://dust.tt
MIT License
978 stars 109 forks source link

Rework file upload in static data source #8685

Open flvndvd opened 1 week ago

flvndvd commented 1 week ago

See figma design here

We've significantly improved our file coverage in the input bar, but the data source file upload has been neglected for some time. A few months ago, we introduced the file API, which we can use to:

This can be broken down into several steps:

Step 1

Refactor the UI for document upload to align with the new design in Figma. Introduce a new use case for the file API concerning data source documents.

Step 2

Determine how we should handle structured data files (e.g., CSVs). Currently, they can be uploaded as both documents and tables.

Step 3

For the new use case in the file API, implement a chunking method that utilizes the extracted hierarchy.

Related

https://github.com/dust-tt/dust/issues/6899

flvndvd commented 1 week ago

cc @overmode @tdraier