@@ -51,6 +51,7 @@ def retrieve(
5151 * ,
5252 query : str ,
5353 collections : List [str ] | NotGiven = NOT_GIVEN ,
54+ filter : query_retrieve_params .Filter | NotGiven = NOT_GIVEN ,
5455 max_results : int | NotGiven = NOT_GIVEN ,
5556 query_type : Literal ["auto" , "semantic" , "keyword" ] | NotGiven = NOT_GIVEN ,
5657 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -68,6 +69,8 @@ def retrieve(
6869
6970 collections: Only query documents in these collections.
7071
72+ filter: Filter the query results.
73+
7174 max_results: Maximum number of results to return.
7275
7376 query_type: Type of query to run.
@@ -86,6 +89,7 @@ def retrieve(
8689 {
8790 "query" : query ,
8891 "collections" : collections ,
92+ "filter" : filter ,
8993 "max_results" : max_results ,
9094 "query_type" : query_type ,
9195 },
@@ -123,6 +127,7 @@ async def retrieve(
123127 * ,
124128 query : str ,
125129 collections : List [str ] | NotGiven = NOT_GIVEN ,
130+ filter : query_retrieve_params .Filter | NotGiven = NOT_GIVEN ,
126131 max_results : int | NotGiven = NOT_GIVEN ,
127132 query_type : Literal ["auto" , "semantic" , "keyword" ] | NotGiven = NOT_GIVEN ,
128133 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -140,6 +145,8 @@ async def retrieve(
140145
141146 collections: Only query documents in these collections.
142147
148+ filter: Filter the query results.
149+
143150 max_results: Maximum number of results to return.
144151
145152 query_type: Type of query to run.
@@ -158,6 +165,7 @@ async def retrieve(
158165 {
159166 "query" : query ,
160167 "collections" : collections ,
168+ "filter" : filter ,
161169 "max_results" : max_results ,
162170 "query_type" : query_type ,
163171 },
0 commit comments