Replies: 4 comments
-
OptionA: One big folder structure for everything with typesA user would then have access to:
Inside the different homes, the file system structure is like in a normal file system => files, folders, sub-folders Special folder typesEvery folder has types (general, skill, ...) Whenever the agentic chat is triggered, it reads all the skills it has access to from the FS. The main benefit of type approach would be, to have a standardized way to handle file-based resources with the virtual file system. So uploading and reading must be implemented once, and can be reused whenever file-based resoruces are handled. But with the concept of types, we still are flexible enough to distinct different resources and give them special meaning. Virtual filesA file system is here to hold files like pdf, docx, txt, .... But as a file system already gives a very nice file structure, that structure could be used to organize also some non-file concepts e.g. like chat, prompts, ... . In the UI it would like something like this: There are actions when files are clicked depending on their type:
It is not clear yet, if the content for those non general types are then also stored as file in the file system, or in the DB. Pro:
Con:
|
Beta Was this translation helpful? Give feedback.
-
Option B: The root folder defines the typeA user would then have access to:
Inside the different homes, the file system structure is like in a normal file system => files, folders, sub-folders Here, the root folder is always the home (user home, group home). The first folder layer inside the home has then a special meaning: It defines a so to say type: files, skills, chats, prompts, ... In the UI, when the user then opens the "Files" view, he sees the folder structure under "user1-home > files". If the user switches to the skills view he sees "user1-home > skills", but the never sees a overall file system where skills and files are mixed. Pro:
|
Beta Was this translation helpful? Give feedback.
-
Generic Features valid for OptionA and OptionBHistoryIf the virtual file system would be mapped actually on the real file system, we could even create a git repo for the file system and would get free history capabilities. So jumping back and forth in history with GIT would then be easily possible.... Change ListenersIt can be needed to inform someone if something happens in the file system to certain files or folders. E.g. when a new file is added or deleted, notify a registered listener. This e.g. can be useful to invalidate a cache or update some resource when a file gets updated. Linux Permission systemWhen thinking of tools like OpenTerminal, it is crucial that the tool doesn't access files it has no access to. We could leverage file access to the same file system the user also sees to by using the linux file system
With this permission handling on linux level, if a script should be executed then we would do:
|
Beta Was this translation helpful? Give feedback.
-
File System Interface |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A very generic way of supporting folders could make the solution very flexible; or too flexible to make a mess.
My vision goes like this: We support folders, which means in the ui there is the possibility in different places to create folders / subfolders. Those folders could be used:
Sepcially the permissons part might be cool or shit ... I haven't decided yet....
Beta Was this translation helpful? Give feedback.
All reactions