You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org> on 2025/03/13 12:24:13 UTC
[I] [SIP] Your Title Here (do not add SIP number) [superset]
Abhishek-kumar-samsung opened a new issue, #32650:
URL: https://github.com/apache/superset/issues/32650
## [SIP] Proposal for Agentic Query In Dashboard
### Motivation
This SIP aims to provide users with the flexibility to ask any question they desire from the dashboard. Our motivation is to place a search button at the top of the dashboard, enabling users to input any natural language query that can be answered using the dashboard's charts.
### Proposed Change
We propose to add an LLM agentic query search button at the top of the dashboard if the feature flag is set to True.
Use cases:
1. Users can perform natural language query-based searches on the dashboard.
2. Users can ask specific questions about any chart using natural language.
3. Users can request a summary of a chart or the entire dashboard by asking the search button to do so.
4. Feature Flag: Users have an option to make feature flag as `False` if they don't want to use the feature.
### New or Changed Public Interfaces
Views changed:
1. Dashboard view changed based on feature flag in superset_config `SHOW_DASHBOARD_AGENT_QUERY`.
2. Added a new action in dashboard react components to call `query dashboard` rest api.
3. Added a new `REST` api in dashboard apis to query dashboard.

### New dependencies
1. Added two PyPI packages langchain and langchain-openai, both have MIT license.
2. To run this feature user has to update LLM configurations in superset_config, mainly api_key if they want to use openai or base_url if they want to use locally running llm.
### Mockups and Screenshots
#### When feature flag is `True`



#### When feature is `False` i.e default view

CLI logs when query runs looks like :


### PR Raised
PR link : https://github.com/apache/superset/pull/32649
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-157] Proposal for Agentic Query In Dashboard [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-4035311069
Closing this SIP due to inactivity. As noted by @mistercrunch and @rusackas, the next step in the SIP process is to open a [DISCUSS] thread on the `dev@superset.apache.org` mailing list to build consensus. Without that discussion, the associated PR cannot be reviewed or merged.
If you'd like to move this SIP forward, please start a mailing list discussion and feel free to reopen this issue or open a new one linking to that thread. See [SIP-0](https://github.com/apache/superset/issues/5602) for the full process.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-157] Proposal for Agentic Query In Dashboard [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-2790518568
The hold label is official... we can't/shouldn't merge a PR that requires consensus. That consensus is derived via the SIP process (as outlined in SIP-0) and the next step in that process (after opening the SIP issue) is to bring it up for a [DISCUSS] thread on the `dev@superset.apache.org` mailing list. Let me know if you need help with that, you can reach us here or DM me on Slack :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP] Proposal for Agentic Query In Dashboard [superset]
Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-2721094363
PR link : https://github.com/apache/superset/pull/32649
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-157] Proposal for Agentic Query In Dashboard [superset]
Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-2728069349
@mistercrunch @rusackas I raised the PR above(with env variables like feature flags and configs), but hold:sip tag is added to it.
can you pls tell what is the plan now ? what sort of discussion going on and whether PR will be reviewed in coming days ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-157] Proposal for Agentic Query In Dashboard [superset]
Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-2791549784
okay got it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP] Proposal for Agentic Query In Dashboard [superset]
Posted by "Abhishek-kumar-samsung (via GitHub)" <gi...@apache.org>.
Abhishek-kumar-samsung commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-2721120337
Related to : https://github.com/apache/superset/issues/32408
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-157] Proposal for Agentic Query In Dashboard [superset]
Posted by "mistercrunch (via GitHub)" <gi...@apache.org>.
mistercrunch commented on issue #32650:
URL: https://github.com/apache/superset/issues/32650#issuecomment-2723043696
Pointing out that this feature/SIP would best be implemented as an extension as SIPped here https://github.com/apache/superset/issues/31932 .
Some the reasons why I think this is a good fit for a plugin:
- design patterns for RAG / AI-integrations are still emerging, there's probably a multitude of ways this could be implement from a UX perspective
- there's probably a need to vectorize things / create and manage embedding to retrieve the right context through semantic search (datasets, sample data, result sets, related-charts/objects, ...) guessing the whole context is too large for the context window
- feature would need to be highly configurable, so that it can talk with a variety of AI APIs (GPT, Claude, Grok, Gemini...), support different vector dbs, ... bringing potentially a lot of extra libs to the main project (langchain/langraph, openai, ...)
- would allow for different AI extension experiments to compete and mature in isolation, without putting a lot of eggs/complexity in the main repo/app
- test-prove and push https://github.com/apache/superset/issues/31932 forward
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] [SIP-157] Proposal for Agentic Query In Dashboard [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #32650: [SIP-157] Proposal for Agentic Query In Dashboard
URL: https://github.com/apache/superset/issues/32650
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org