You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generated/docs/ImageQueriesApi.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,7 @@ with openapi_client.ApiClient(configuration) as api_client:
208
208
human_review ="human_review_example"# str | If set to `DEFAULT`, use the regular escalation logic (i.e., send the image query for human review if the ML model is not confident). If set to `ALWAYS`, always send the image query for human review even if the ML model is confident. If set to `NEVER`, never send the image query for human review even if the ML model is not confident. (optional)
209
209
patience_time =3.14# float | How long to wait for a confident response. (optional)
210
210
want_async ="want_async_example"# str | If \"true\" then submitting an image query returns immediately without a result. The result will be computed asynchronously and can be retrieved later. (optional)
211
+
metadata ="metadata_example"# str | A dictionary of custom key/value metadata to associate with the image query (limited to 1KB). (optional)
211
212
body =open('@path/to/image.jpeg', 'rb') # file_type | (optional)
212
213
213
214
# example passing only required values which don't have defaults set
@@ -220,7 +221,7 @@ with openapi_client.ApiClient(configuration) as api_client:
220
221
# example passing only required values which don't have defaults set
print("Exception when calling ImageQueriesApi->submit_image_query: %s\n"% e)
@@ -235,6 +236,7 @@ Name | Type | Description | Notes
235
236
**human_review** | **str**| If set to `DEFAULT`, use the regular escalation logic (i.e., send the image query for human review if the ML model is not confident). If set to `ALWAYS`, always send the image query for human review even if the ML model is confident. If set to `NEVER`, never send the image query for human review even if the ML model is not confident. | [optional]
236
237
**patience_time** | **float**| How long to wait for a confident response. | [optional]
237
238
**want_async** | **str**| If \"true\" then submitting an image query returns immediately without a result. The result will be computed asynchronously and can be retrieved later. | [optional]
239
+
**metadata** | **str**| A dictionary of custom key/value metadata to associate with the image query (limited to 1KB). | [optional]
**metadata** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}, none_type** | A dictionary of custom key/value metadata to associate with the image query (limited to 1KB). | [optional][readonly]
15
16
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
16
17
17
18
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
human_review (str): If set to `DEFAULT`, use the regular escalation logic (i.e., send the image query for human review if the ML model is not confident). If set to `ALWAYS`, always send the image query for human review even if the ML model is confident. If set to `NEVER`, never send the image query for human review even if the ML model is not confident. . [optional]
305
309
patience_time (float): How long to wait for a confident response.. [optional]
306
310
want_async (str): If \"true\" then submitting an image query returns immediately without a result. The result will be computed asynchronously and can be retrieved later.. [optional]
311
+
metadata (str): A dictionary of custom key/value metadata to associate with the image query (limited to 1KB).. [optional]
307
312
body (file_type): [optional]
308
313
_return_http_data_only (bool): response data without head status
Copy file name to clipboardExpand all lines: spec/public-api.yaml
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,14 @@ paths:
153
153
schema:
154
154
type: string
155
155
description: If "true" then submitting an image query returns immediately without a result. The result will be computed asynchronously and can be retrieved later.
156
+
- in: query
157
+
name: metadata
158
+
schema:
159
+
type: string
160
+
required: false
161
+
description:
162
+
A dictionary of custom key/value metadata to associate with the image
0 commit comments