Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File handling for Local and Remote Modules #1113

Open
chandralegend opened this issue May 5, 2023 · 0 comments
Open

File handling for Local and Remote Modules #1113

chandralegend opened this issue May 5, 2023 · 0 comments
Labels
ai_kit Related to jaseci ai kit consumer depending A consumer of Jaseci is depending on this issue. need architecting Requires designing out the solution before this can be implemented. super fun

Comments

@chandralegend
Copy link
Collaborator

Currently, For Each action library, we have to think about how we handle files

  1. If the Module is remote we cannot provide file locations instead have to parse base 64 of the file (have to create multiple arguments in the jaseci action to support both)
  2. In case of JSORC, we have to think about that aspect as well to decide whether module should be loaded from local or remote

Solutions

  1. Whether it is local or not, some processing needs to happen from Jaseci's Side to convert files into base64 format and then parse them to the action.
    • More code changes need to be done from the jaseci action library side to handle base64 (if there aren't any)
    • Additional Time of execution even if the module is local
  2. On the jaseci side checks whether the action module is local or remote and then decide the format that needs to be sent (as a file or as base64)
    • More code changes need to be added to the check whether the input is base64 or not and then act accordingly
  3. Add the ability to use multipart data to jaseci actions

1 - Higher Compute Time. Easy to Implement
2 - Less Compute Time
3 - More Usable as an Endpoint

@chandralegend chandralegend added ai_kit Related to jaseci ai kit consumer depending A consumer of Jaseci is depending on this issue. need architecting Requires designing out the solution before this can be implemented. super fun labels May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai_kit Related to jaseci ai kit consumer depending A consumer of Jaseci is depending on this issue. need architecting Requires designing out the solution before this can be implemented. super fun
Projects
None yet
Development

No branches or pull requests

1 participant