looker-open-source / looker-explore-assistant

A React Application for interacting with Looker data through natural language.
MIT License
83 stars 52 forks source link

Question regarding extension setup #27

Closed venkatasangaraju closed 4 months ago

venkatasangaraju commented 4 months ago

Hi Team I see we have to setup environment variables on the extension setup and we must specify model and explore names. That means we to create one extension per explore? Can we bundle the extension for all explores in the looker environment? TIA for your response.

Thanks VS

LukaFontanilla commented 4 months ago

As you had noted VS it is currently set up for one explore. But it can be configured for multiple or all explores on an instance (we'd recommend hand selecting popular explores and loading example data for each of those as opposed to using all explores). The Looker API has this method for fetching all explores & models. You would need to move the explore and model variables into state and load them all into a dropdown element for selection and if you'd like to stick to using Looker UI components this dropdown component is a good one!