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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
