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

PowerBI updates #7143

Merged
merged 25 commits into from
Jul 6, 2023
Merged

Conversation

eavanvalkenburg
Copy link
Contributor

Several updates for the PowerBI tools:

  • Handle 0 records returned by requesting redo with different filtering
  • Handle too large results by optionally tokenizing the result and comparing against a max (change in signature, non-breaking)
  • Implemented LLMChain with Chat for chat models for the tools.
  • Updates to the main prompt including tables
  • Update to Tool prompt with TOPN function
  • Split the tool prompt to allow the LLMChain with ChatPromptTemplate

Smaller fixes for stability.

For visibility: @hinthornw

@vercel
Copy link

vercel bot commented Jul 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jul 6, 2023 6:32am

@dosubot dosubot bot added the 🤖:improvement Medium size change to existing code to handle new use-cases label Jul 4, 2023
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

going to largely trust you here, just one nit

langchain/tools/powerbi/tool.py Outdated Show resolved Hide resolved
@hwchase17 hwchase17 merged commit ae5aa49 into langchain-ai:master Jul 6, 2023
@eavanvalkenburg eavanvalkenburg deleted the pbi_handle_0_and_large branch July 6, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants