-
Notifications
You must be signed in to change notification settings - Fork 3
Python Module Loader #104
Description
Incorporate Python module loading functionality to enhance overall tool capabilities
Is your feature request related to a problem? Please describe.
There isn't a current problem, but I see a potential addition that could greatly enhance and expand the capabilities of our tool. Right now, shell-craft does not have the functionality to load python modules and execute functions from them.
Describe the solution you'd like
I would like to add a command line argument that allows a python module to be loaded. The module's all would be inspected, and then these functions would be passed to the LLM as additional resources to execute. If the LLM executes these functions, this should be included perfectly in the output. This can significantly increase the flexibility and adaptability of shell-craft, especially when generating prompt output. An example of usage: shell-craft --prompt <language> --functions <module_path> 'Navigate to X, and use its documentation to write me a POC'.
Describe alternatives you've considered
An alternative to the proposed "load module" functionality is having a separate tool/script to handle module loading, function execution, and result production before passing the output to the shell-craft. However, this alternative will lead to fragmentation and increased complexity. It would be more efficient and effective to incorporate such an enhancement directly to shell-craft