We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c92f9f3 commit 826df21Copy full SHA for 826df21
docs/extras/code_samples/default_v2.txt
@@ -1,5 +1,4 @@
1
from mindee import ClientV2, InferencePredictOptions
2
-from mindee.parsing.v2 import InferenceResponse
3
4
input_path = "/path/to/the/file.ext"
5
api_key = "MY_API_KEY"
@@ -20,9 +19,9 @@ options = InferencePredictOptions(
20
19
input_doc = mindee_client.source_from_path(input_path)
21
22
# Upload the file
23
-response: InferenceResponse = mindee_client.enqueue_and_parse(
+response = mindee_client.enqueue_and_parse(
24
input_doc, options
25
)
26
27
# Print a brief summary of the parsed data
28
-print(response.inference)
+print(response.inference)
0 commit comments