@@ -237,7 +237,7 @@ def extract(
237237 schema : str ,
238238 markdown : Optional [FileTypes ] | Omit = omit ,
239239 markdown_url : Optional [str ] | Omit = omit ,
240- model : Optional [str ] | Omit = omit ,
240+ model : Optional [Literal [ "extract-20250630" , "extract-20250930" ] ] | Omit = omit ,
241241 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
242242 # The extra values given here take precedence over values defined on the client or passed to this method.
243243 extra_headers : Headers | None = None ,
@@ -260,7 +260,7 @@ def extract(
260260 are extracted from the Markdown. The schema must be a valid JSON object and will
261261 be validated before processing the document.
262262
263- markdown: The Markdown file to extract data from.
263+ markdown: The Markdown file or Markdown content to extract data from.
264264
265265 markdown_url: The URL to the Markdown file to extract data from.
266266
@@ -330,15 +330,13 @@ def parse(
330330 `https://api.va.eu-west-1.landing.ai/v1/ade/parse`.
331331
332332 Args:
333- document: A file to be parsed. The file can be a PDF (50 pages max) or an image (50MB).
334- See the list of supported file types here
335- (https://docs.landing.ai/ade/ade-file-types). Either this parameter or the
336- document_url parameter must be provided.
333+ document: A file to be parsed. The file can be a PDF or an image. See the list of
334+ supported file types here: https://docs.landing.ai/ade/ade-file-types. Either
335+ this parameter or the `document_url` parameter must be provided.
337336
338- document_url: The URL to the file to be parsed. The file can be a PDF (50 pages max) or an
339- image (50MB). See the list of supported file types here
340- (https://docs.landing.ai/ade/ade-file-types). Either this parameter or the
341- document parameter must be provided.
337+ document_url: The URL to the file to be parsed. The file can be a PDF or an image. See the
338+ list of supported file types here: https://docs.landing.ai/ade/ade-file-types.
339+ Either this parameter or the `document` parameter must be provided.
342340
343341 model: The version of the model to use for parsing.
344342
@@ -585,7 +583,7 @@ async def extract(
585583 schema : str ,
586584 markdown : Optional [FileTypes ] | Omit = omit ,
587585 markdown_url : Optional [str ] | Omit = omit ,
588- model : Optional [str ] | Omit = omit ,
586+ model : Optional [Literal [ "extract-20250630" , "extract-20250930" ] ] | Omit = omit ,
589587 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
590588 # The extra values given here take precedence over values defined on the client or passed to this method.
591589 extra_headers : Headers | None = None ,
@@ -608,7 +606,7 @@ async def extract(
608606 are extracted from the Markdown. The schema must be a valid JSON object and will
609607 be validated before processing the document.
610608
611- markdown: The Markdown file to extract data from.
609+ markdown: The Markdown file or Markdown content to extract data from.
612610
613611 markdown_url: The URL to the Markdown file to extract data from.
614612
@@ -678,15 +676,13 @@ async def parse(
678676 `https://api.va.eu-west-1.landing.ai/v1/ade/parse`.
679677
680678 Args:
681- document: A file to be parsed. The file can be a PDF (50 pages max) or an image (50MB).
682- See the list of supported file types here
683- (https://docs.landing.ai/ade/ade-file-types). Either this parameter or the
684- document_url parameter must be provided.
685-
686- document_url: The URL to the file to be parsed. The file can be a PDF (50 pages max) or an
687- image (50MB). See the list of supported file types here
688- (https://docs.landing.ai/ade/ade-file-types). Either this parameter or the
689- document parameter must be provided.
679+ document: A file to be parsed. The file can be a PDF or an image. See the list of
680+ supported file types here: https://docs.landing.ai/ade/ade-file-types. Either
681+ this parameter or the `document_url` parameter must be provided.
682+
683+ document_url: The URL to the file to be parsed. The file can be a PDF or an image. See the
684+ list of supported file types here: https://docs.landing.ai/ade/ade-file-types.
685+ Either this parameter or the `document` parameter must be provided.
690686
691687 model: The version of the model to use for parsing.
692688
0 commit comments