@@ -101,6 +101,12 @@ message Context {
101101 repeated ExampleQuery example_queries = 5
102102 [(google.api.field_behavior ) = OPTIONAL ];
103103
104+ // Optional. A list of golden queries, providing examples of relevant and
105+ // commonly used Looker queries and their corresponding natural language
106+ // queries optionally present.
107+ repeated LookerGoldenQuery looker_golden_queries = 11
108+ [(google.api.field_behavior ) = OPTIONAL ];
109+
104110 // Optional. Term definitions (currently, only user authored)
105111 repeated GlossaryTerm glossary_terms = 8
106112 [(google.api.field_behavior ) = OPTIONAL ];
@@ -129,6 +135,18 @@ message ExampleQuery {
129135 string natural_language_question = 1 [(google.api.field_behavior ) = OPTIONAL ];
130136}
131137
138+ // A golden query for Looker, including natural language questions and a
139+ // corresponding Looker Query. Analogous to ExampleQuery.
140+ message LookerGoldenQuery {
141+ // Optional. Natural language questions that a user might ask.
142+ // For example: "How many orders were placed last month?"
143+ repeated string natural_language_questions = 4
144+ [(google.api.field_behavior ) = OPTIONAL ];
145+
146+ // Optional. The Looker Query corresponding to the natural language questions.
147+ LookerQuery looker_query = 5 [(google.api.field_behavior ) = OPTIONAL ];
148+ }
149+
132150// Looker Query Object
133151// [Looker API
134152// documentation](https://cloud.google.com/looker/docs/reference/looker-api/latest/methods/Query/run_inline_query).
0 commit comments