Our definition of “Make it smarter” is to improve the Explore Assistant’s ability to generate Looker Explore queries without providing it with examples. This is a challenging task because the Explore Assistant is a language model that requires examples to learn from. Our approach is as follows:

  • break up complex multi-step prompts into simpler prompts. For example, break out the determining the filters from the determining the fields.
  • assume there will be hallucinations: the model will generate queries that are not correct. We can use a feedback loop to correct these hallucinations.