Aggregate-Intellect / sherpa

https://sherpa-ai.readthedocs.io/
Other
165 stars 46 forks source link

[FEATURE] Chained Actions #418

Closed 20001LastOrder closed 1 month ago

20001LastOrder commented 2 months ago

PROBLEM Currently, actions in Sherpa cannot be chained together to create a composite chained action. This functionality can come in handy when one needs to combine multiple actions to create a new action. I'm considering the following

  1. Each action in the chained action can be a singular action or again another atomic action
  2. Each action's input can either rely on the input when executing the action or the output of a previous action.
  3. The argument when executing this chained action can be automatically calculated by examining the dependency at 2
Bubbletea98 commented 2 months ago

I can work on it, will try to finish it by the end of next week.