microsoft / TaskWeaver

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

How to set data and its descriptions without prompting in each session to load data #391

Open Haxeebraja opened 3 months ago

Haxeebraja commented 3 months ago

I do not want to load the data file from plugin each time the session start. I am looking for a way to directly start asking questions about data.

Secondly, where can we set description about data and columns that would help TaskWeaver to pull the right columns each time on a prompt?

liqul commented 2 months ago

I don't quite understand your requirement. So, you mean that you only want to process a specific data file instead of loading a dynamic data file?

If this is what you want and you are using Taskweaver as a library, you can hardcode a message to the application asking it to load a file and display its data schema, which should solve your problem. Otherwise, you may need to modify some code of Taskweaver.