Are you tired of tedious file management and collaboration in your swift app development workflow? Look no further than Fileshed, an innovative open-source tool that brings persistent storage, structured data, and collaborative features to your conversational workspace. With Fileshed, you can streamline your workflow, enhance productivity, and achieve greater efficiency.

Fileshed provides a persistent workspace for your LLM (Large Language Model), allowing you to store, organize, collaborate, and share files across conversations. This groundbreaking tool offers:

  • Persistent Storage: Files survive across conversations, ensuring seamless continuity.
  • Structured Data: Built-in SQLite databases, surgical file edits by line or pattern, and more.
  • Data Conversion: Convert media, documents, and archives with ease, using ffmpeg, pandoc, and other powerful tools.
  • File Operations: Examine, modify, and manage files with precision, including cat, touch, mkdir, rm, cp, mv, tar, gzip, zip, and od commands.
  • Integrity: Automatic Git versioning ensures file integrity, while safe editing with file locks keeps your data protected.

But that's not all. Fileshed also offers:

  • Network I/O (Optional): Download files and clone repositories directly to disk, bypassing context limits.
  • Context-Efficient Operations: Process files without loading them into the conversation, using powerful tools like grep, sed, awk, and curl.
  • Security: Sandboxed per user, command whitelist, network disabled by default, and quotas ensure a secure environment.
  • Collaboration: Team workspaces with read-only or read-write access enable seamless collaboration.
  • Download Links: Download your files directly with a download link, making it easy to share and access your data.

With Fileshed, you can:

  • Save scripts, notes, configs for future conversations
  • Analyze data: query CSVs and databases without loading them into context
  • Process media: convert videos, resize images, extract audio
  • Generate documents: create Word documents, LaTeX source, markdown, HTML (PDF requires optional tools)
  • Build projects: maintain code, configs, and data across sessions

In the world of swift app development, Fileshed is a game-changer. By integrating this powerful tool into your workflow, you can:

  • Streamline file management and collaboration
  • Enhance productivity with context-efficient operations
  • Ensure data integrity with automatic Git versioning
  • Boost security with sandboxed per user and command whitelist

To get started with Fileshed, simply follow these steps:

  1. In Open WebUI, go to Workspace > Tools.
  2. Click "+" or "Create Tool" and paste the content of Fileshed.py.
  3. Save the tool.
  4. In a new chat, click the "+" button next to the message input and enable Fileshed.

Remember to enable Native Function Calling in your model settings for Fileshed to work properly:

  • User level: Workspace > Models > [Select Model] > Advanced Parameters > Function Calling > "Native"
  • Admin level: Admin Panel > Settings > Models > [Select Model] > Advanced Parameters > Function Calling > "Native"

Fileshed provides four storage zones:

  • Uploads: Files you upload to the conversation
  • Storage: Persistent workspace for your LLM
  • Documents: Version-controlled with Git
  • Groups: Shared team workspace

Each operation uses the zone= parameter to specify where to work. For example, to list files in the Storage zone:

shed_exec(zone="storage", cmd="ls", args=["-la"])

By harnessing the power of Fileshed, you can revolutionize your swift app development experience and take your productivity to the next level.