llama-cloud 0.1.42__py3-none-any.whl → 0.1.43__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of llama-cloud might be problematic. Click here for more details.

Files changed (29) hide show
  1. llama_cloud/__init__.py +13 -19
  2. llama_cloud/resources/__init__.py +6 -0
  3. llama_cloud/resources/beta/client.py +555 -0
  4. llama_cloud/resources/jobs/client.py +0 -8
  5. llama_cloud/resources/llama_extract/__init__.py +6 -0
  6. llama_cloud/resources/llama_extract/client.py +825 -941
  7. llama_cloud/resources/llama_extract/types/__init__.py +6 -0
  8. llama_cloud/types/__init__.py +10 -22
  9. llama_cloud/types/{prompt_conf.py → delete_response.py} +6 -9
  10. llama_cloud/types/extract_config.py +1 -0
  11. llama_cloud/types/extract_models.py +4 -0
  12. llama_cloud/types/{extract_job_create.py → extracted_table.py} +8 -14
  13. llama_cloud/types/paginated_response_spreadsheet_job.py +34 -0
  14. llama_cloud/types/public_model_name.py +4 -0
  15. llama_cloud/types/spreadsheet_job.py +50 -0
  16. llama_cloud/types/spreadsheet_parsing_config.py +35 -0
  17. {llama_cloud-0.1.42.dist-info → llama_cloud-0.1.43.dist-info}/METADATA +1 -1
  18. {llama_cloud-0.1.42.dist-info → llama_cloud-0.1.43.dist-info}/RECORD +23 -26
  19. llama_cloud/types/chunk_mode.py +0 -29
  20. llama_cloud/types/llama_extract_settings.py +0 -67
  21. llama_cloud/types/multimodal_parse_resolution.py +0 -17
  22. llama_cloud/types/schema_relax_mode.py +0 -25
  23. llama_cloud/types/struct_mode.py +0 -33
  24. llama_cloud/types/struct_parse_conf.py +0 -63
  25. /llama_cloud/{types → resources/llama_extract/types}/extract_job_create_data_schema_override.py +0 -0
  26. /llama_cloud/{types → resources/llama_extract/types}/extract_job_create_data_schema_override_zero_value.py +0 -0
  27. /llama_cloud/{types → resources/llama_extract/types}/extract_job_create_priority.py +0 -0
  28. {llama_cloud-0.1.42.dist-info → llama_cloud-0.1.43.dist-info}/LICENSE +0 -0
  29. {llama_cloud-0.1.42.dist-info → llama_cloud-0.1.43.dist-info}/WHEEL +0 -0
llama_cloud/__init__.py CHANGED
@@ -39,7 +39,6 @@ from .types import (
39
39
  ChatAppResponse,
40
40
  ChatData,
41
41
  ChatMessage,
42
- ChunkMode,
43
42
  ClassificationResult,
44
43
  ClassifierRule,
45
44
  ClassifyJob,
@@ -88,6 +87,7 @@ from .types import (
88
87
  DataSourceReaderVersionMetadataReaderVersion,
89
88
  DataSourceUpdateDispatcherConfig,
90
89
  DeleteParams,
90
+ DeleteResponse,
91
91
  DocumentChunkMode,
92
92
  DocumentIngestionJobParams,
93
93
  ElementSegmentationConfig,
@@ -115,10 +115,6 @@ from .types import (
115
115
  ExtractConfig,
116
116
  ExtractConfigPriority,
117
117
  ExtractJob,
118
- ExtractJobCreate,
119
- ExtractJobCreateDataSchemaOverride,
120
- ExtractJobCreateDataSchemaOverrideZeroValue,
121
- ExtractJobCreatePriority,
122
118
  ExtractMode,
123
119
  ExtractModels,
124
120
  ExtractResultset,
@@ -138,6 +134,7 @@ from .types import (
138
134
  ExtractSchemaValidateResponseDataSchemaValue,
139
135
  ExtractState,
140
136
  ExtractTarget,
137
+ ExtractedTable,
141
138
  FailPageMode,
142
139
  FailureHandlingConfig,
143
140
  File,
@@ -193,7 +190,6 @@ from .types import (
193
190
  LlamaExtractFeatureAvailability,
194
191
  LlamaExtractModeAvailability,
195
192
  LlamaExtractModeAvailabilityStatus,
196
- LlamaExtractSettings,
197
193
  LlamaParseParameters,
198
194
  LlamaParseParametersPriority,
199
195
  LlamaParseSupportedFileExtensions,
@@ -210,7 +206,6 @@ from .types import (
210
206
  MetadataFilterValue,
211
207
  MetadataFilters,
212
208
  MetadataFiltersFiltersItem,
213
- MultimodalParseResolution,
214
209
  NodeRelationship,
215
210
  NoneChunkingConfig,
216
211
  NoneSegmentationConfig,
@@ -232,6 +227,7 @@ from .types import (
232
227
  PaginatedResponseAggregateGroup,
233
228
  PaginatedResponseClassifyJob,
234
229
  PaginatedResponseQuotaConfiguration,
230
+ PaginatedResponseSpreadsheetJob,
235
231
  ParseConfiguration,
236
232
  ParseConfigurationCreate,
237
233
  ParseConfigurationFilter,
@@ -305,7 +301,6 @@ from .types import (
305
301
  PresignedUrl,
306
302
  Project,
307
303
  ProjectCreate,
308
- PromptConf,
309
304
  PublicModelName,
310
305
  QuotaConfiguration,
311
306
  QuotaConfigurationConfigurationType,
@@ -325,14 +320,13 @@ from .types import (
325
320
  Role,
326
321
  SchemaGenerationAvailability,
327
322
  SchemaGenerationAvailabilityStatus,
328
- SchemaRelaxMode,
329
323
  SemanticChunkingConfig,
330
324
  SentenceChunkingConfig,
331
325
  SparseModelConfig,
332
326
  SparseModelType,
327
+ SpreadsheetJob,
328
+ SpreadsheetParsingConfig,
333
329
  StatusEnum,
334
- StructMode,
335
- StructParseConf,
336
330
  SupportedLlmModel,
337
331
  SupportedLlmModelNames,
338
332
  TextNode,
@@ -377,6 +371,9 @@ from .resources import (
377
371
  ExtractAgentUpdateDataSchemaZeroValue,
378
372
  ExtractJobCreateBatchDataSchemaOverride,
379
373
  ExtractJobCreateBatchDataSchemaOverrideZeroValue,
374
+ ExtractJobCreateDataSchemaOverride,
375
+ ExtractJobCreateDataSchemaOverrideZeroValue,
376
+ ExtractJobCreatePriority,
380
377
  ExtractSchemaValidateRequestDataSchema,
381
378
  ExtractSchemaValidateRequestDataSchemaZeroValue,
382
379
  ExtractStatelessRequestDataSchema,
@@ -454,7 +451,6 @@ __all__ = [
454
451
  "ChatAppResponse",
455
452
  "ChatData",
456
453
  "ChatMessage",
457
- "ChunkMode",
458
454
  "ClassificationResult",
459
455
  "ClassifierRule",
460
456
  "ClassifyJob",
@@ -506,6 +502,7 @@ __all__ = [
506
502
  "DataSourceUpdateCustomMetadataValue",
507
503
  "DataSourceUpdateDispatcherConfig",
508
504
  "DeleteParams",
505
+ "DeleteResponse",
509
506
  "DocumentChunkMode",
510
507
  "DocumentIngestionJobParams",
511
508
  "ElementSegmentationConfig",
@@ -545,7 +542,6 @@ __all__ = [
545
542
  "ExtractConfig",
546
543
  "ExtractConfigPriority",
547
544
  "ExtractJob",
548
- "ExtractJobCreate",
549
545
  "ExtractJobCreateBatchDataSchemaOverride",
550
546
  "ExtractJobCreateBatchDataSchemaOverrideZeroValue",
551
547
  "ExtractJobCreateDataSchemaOverride",
@@ -574,6 +570,7 @@ __all__ = [
574
570
  "ExtractStatelessRequestDataSchema",
575
571
  "ExtractStatelessRequestDataSchemaZeroValue",
576
572
  "ExtractTarget",
573
+ "ExtractedTable",
577
574
  "FailPageMode",
578
575
  "FailureHandlingConfig",
579
576
  "File",
@@ -631,7 +628,6 @@ __all__ = [
631
628
  "LlamaExtractFeatureAvailability",
632
629
  "LlamaExtractModeAvailability",
633
630
  "LlamaExtractModeAvailabilityStatus",
634
- "LlamaExtractSettings",
635
631
  "LlamaParseParameters",
636
632
  "LlamaParseParametersPriority",
637
633
  "LlamaParseSupportedFileExtensions",
@@ -648,7 +644,6 @@ __all__ = [
648
644
  "MetadataFilterValue",
649
645
  "MetadataFilters",
650
646
  "MetadataFiltersFiltersItem",
651
- "MultimodalParseResolution",
652
647
  "NodeRelationship",
653
648
  "NoneChunkingConfig",
654
649
  "NoneSegmentationConfig",
@@ -670,6 +665,7 @@ __all__ = [
670
665
  "PaginatedResponseAggregateGroup",
671
666
  "PaginatedResponseClassifyJob",
672
667
  "PaginatedResponseQuotaConfiguration",
668
+ "PaginatedResponseSpreadsheetJob",
673
669
  "ParseConfiguration",
674
670
  "ParseConfigurationCreate",
675
671
  "ParseConfigurationFilter",
@@ -753,7 +749,6 @@ __all__ = [
753
749
  "PresignedUrl",
754
750
  "Project",
755
751
  "ProjectCreate",
756
- "PromptConf",
757
752
  "PublicModelName",
758
753
  "QuotaConfiguration",
759
754
  "QuotaConfigurationConfigurationType",
@@ -774,14 +769,13 @@ __all__ = [
774
769
  "Role",
775
770
  "SchemaGenerationAvailability",
776
771
  "SchemaGenerationAvailabilityStatus",
777
- "SchemaRelaxMode",
778
772
  "SemanticChunkingConfig",
779
773
  "SentenceChunkingConfig",
780
774
  "SparseModelConfig",
781
775
  "SparseModelType",
776
+ "SpreadsheetJob",
777
+ "SpreadsheetParsingConfig",
782
778
  "StatusEnum",
783
- "StructMode",
784
- "StructParseConf",
785
779
  "SupportedLlmModel",
786
780
  "SupportedLlmModelNames",
787
781
  "TextNode",
@@ -41,6 +41,9 @@ from .llama_extract import (
41
41
  ExtractAgentUpdateDataSchemaZeroValue,
42
42
  ExtractJobCreateBatchDataSchemaOverride,
43
43
  ExtractJobCreateBatchDataSchemaOverrideZeroValue,
44
+ ExtractJobCreateDataSchemaOverride,
45
+ ExtractJobCreateDataSchemaOverrideZeroValue,
46
+ ExtractJobCreatePriority,
44
47
  ExtractSchemaValidateRequestDataSchema,
45
48
  ExtractSchemaValidateRequestDataSchemaZeroValue,
46
49
  ExtractStatelessRequestDataSchema,
@@ -78,6 +81,9 @@ __all__ = [
78
81
  "ExtractAgentUpdateDataSchemaZeroValue",
79
82
  "ExtractJobCreateBatchDataSchemaOverride",
80
83
  "ExtractJobCreateBatchDataSchemaOverrideZeroValue",
84
+ "ExtractJobCreateDataSchemaOverride",
85
+ "ExtractJobCreateDataSchemaOverrideZeroValue",
86
+ "ExtractJobCreatePriority",
81
87
  "ExtractSchemaValidateRequestDataSchema",
82
88
  "ExtractSchemaValidateRequestDataSchemaZeroValue",
83
89
  "ExtractStatelessRequestDataSchema",