Skip to main content

"Codebase"/Folder Uploading Ability

This leads into the ability to upload files in general of course via Markdown format, but I find that the ability to upload an entire codebase for querying its contents and iterating on it via T3 Chat could be very helpful.

Even Google’s Gemini platform (on gemini.google.com) offers this ability, and they have made it work quite well now, especially with the use of Gemini 2.0 Flash. Hope this comes soon!

Status: Closed3 comments

Log in to comment and vote

Comments3

  • Salmon Sparrow

    I could see the easiest solution being an upload button that accepts a directory; however, I admittedly do not know how uploading a directory would be handled.

    An alternative would be authorizing your GitHub account and giving read permission to t3.chat. I also do not know how involved this would be.

    Regardless, thanks for all you are doing. Still loving my time with the best and fastest chat bot.

    • Tomato Cucumber

      The easiest way to upload an entire directory in my opinion is as follows:

      Upon upload, it should send the files to the server, and convert them into markdown format. This can be done in an organize format using headers, numbering, line breaks (also such as “---”), and so on. A good way to help organize the view for the model would be to also give a good view of the entirety directory and its branching contents.

      These files and their markdown content can be parsed separately in the server model (database) and be retrieved within the user query as some sort of identifier, so the server can fetch the relative content, parse it, and so on. (This portion is necessary for calling the file component, but may vary upon Theo’s implementation.)

      I hope this additional detail helps, as I myself have been planning out such a feature in my own client of sorts.

    • Aqua Reindeer

      Filesystem API. same thing used in vscode.dev to open local folders. GitHub idea could be cool too; what about Figma support like with bolt.new & v0?