microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5.37k stars 690 forks source link

Dynamic loading examples #420

Closed liqul closed 2 months ago

liqul commented 2 months ago
  1. support dynamically loading examples for different roles
  2. move loading example to role base class
  3. rename codeinterpreter_examples to code_generator_examples in project folder; need manual migration
liqul commented 2 months ago

Seems most of changes are the same as experiences loading, maybe it would work in the same way. Not sure whether would need to have a common class to abstract these shared loading logics together in the future.

Exactly, that is why I left a todo item in the comments. They all belong to a category that should be dynamically loaded in runtime. A third could be the plugins. But I'm not sure how to abstract at this moment.