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

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

Open
Haxeebraja opened this issue Jul 30, 2024 · 3 comments

Comments

@Haxeebraja
Copy link

Haxeebraja commented Jul 30, 2024

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?

@Haxeebraja Haxeebraja changed the title How to set one data and column descriptions How to set one time data and column descriptions Jul 30, 2024
@Haxeebraja Haxeebraja changed the title How to set one time data and column descriptions How to set data and its descriptions Jul 30, 2024
@Haxeebraja Haxeebraja changed the title How to set data and its descriptions How to set data and its descriptions without prompting in each session to load data Jul 30, 2024
@liqul
Copy link
Contributor

liqul commented Sep 2, 2024

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.

@lolapirespintopolarys
Copy link

@Haxeebraja Hello! I want to do the exact same things. Did you find a way to do it ? :)

@Haxeebraja
Copy link
Author

I managed to directly start asking questions by setting up instructions in planner prompt file.

While the data file still gets loaded in each new session, I no longer need to explicitly instruct Taskweaver to load it at the start. Secondly, it better understands data file's structure.

I recommend to the team further enhancements to fully optimize this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants