@@ -56,6 +56,7 @@ def execute(
5656 include_summary : bool | NotGiven = NOT_GIVEN ,
5757 limit : int | NotGiven = NOT_GIVEN ,
5858 only_matching_chunks : bool | NotGiven = NOT_GIVEN ,
59+ rewrite_query : bool | NotGiven = NOT_GIVEN ,
5960 user_id : str | NotGiven = NOT_GIVEN ,
6061 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6162 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -87,6 +88,9 @@ def execute(
8788
8889 only_matching_chunks: If true, only return matching chunks without context
8990
91+ rewrite_query: If true, rewrites the query to make it easier to find documents. This increases
92+ the latency by about 400ms
93+
9094 user_id: End user ID this search is associated with
9195
9296 extra_headers: Send extra headers
@@ -110,6 +114,7 @@ def execute(
110114 "include_summary" : include_summary ,
111115 "limit" : limit ,
112116 "only_matching_chunks" : only_matching_chunks ,
117+ "rewrite_query" : rewrite_query ,
113118 "user_id" : user_id ,
114119 },
115120 search_execute_params .SearchExecuteParams ,
@@ -153,6 +158,7 @@ async def execute(
153158 include_summary : bool | NotGiven = NOT_GIVEN ,
154159 limit : int | NotGiven = NOT_GIVEN ,
155160 only_matching_chunks : bool | NotGiven = NOT_GIVEN ,
161+ rewrite_query : bool | NotGiven = NOT_GIVEN ,
156162 user_id : str | NotGiven = NOT_GIVEN ,
157163 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
158164 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -184,6 +190,9 @@ async def execute(
184190
185191 only_matching_chunks: If true, only return matching chunks without context
186192
193+ rewrite_query: If true, rewrites the query to make it easier to find documents. This increases
194+ the latency by about 400ms
195+
187196 user_id: End user ID this search is associated with
188197
189198 extra_headers: Send extra headers
@@ -207,6 +216,7 @@ async def execute(
207216 "include_summary" : include_summary ,
208217 "limit" : limit ,
209218 "only_matching_chunks" : only_matching_chunks ,
219+ "rewrite_query" : rewrite_query ,
210220 "user_id" : user_id ,
211221 },
212222 search_execute_params .SearchExecuteParams ,
0 commit comments