langchain
langchain copied to clipboard
Support for a PowerBI agent and toolkit
Initial version of support to have a bot talk to powerbi, docs still to be added.
Mostly some notes on best practices and on authentication, for in the notebook and I do want to test with a more complex dataset, plan to do that early next week, this might cause some prompt changes, especially for the query checker. I noticed at times that that just gives back the same thing each time and then it doesn't make sense to keep running those queries, so that should be improved.
But, overall it seems to work well already!
Mostly some notes on best practices and on authentication, for in the notebook and I do want to test with a more complex dataset, plan to do that early next week, this might cause some prompt changes, especially for the query checker. I noticed at times that that just gives back the same thing each time and then it doesn't make sense to keep running those queries, so that should be improved.
But, overall it seems to work well already!
cool! should i hold off on landing until early next week then?
Just also added some refinement, but give me till next week to finish.
Just also added some refinement, but give me till next week to finish.
sounds great!
@hwchase17 this is now good to go, also includes async support and I've split the few-shot examples out so that you can supply your own which makes the recognition much better! Still getting some weird pydantic error that I can't figure out, maybe you know more!
apparently pydantic didn't like new style typing with future.annotations, after reverting it works now!
gonna try to fix and merge in!
@eavanvalkenburg Hello, when I run example code, it shows this. Do you know how to solve this?
Traceback (most recent call last):
File ".py", line 20, in
fixed in #3426