llama-cloud 0.1.33__py3-none-any.whl → 0.1.35__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 (45) hide show
  1. llama_cloud/__init__.py +36 -0
  2. llama_cloud/client.py +3 -0
  3. llama_cloud/resources/__init__.py +6 -0
  4. llama_cloud/resources/beta/client.py +211 -8
  5. llama_cloud/resources/files/client.py +226 -0
  6. llama_cloud/resources/llama_extract/__init__.py +4 -0
  7. llama_cloud/resources/llama_extract/client.py +179 -0
  8. llama_cloud/resources/llama_extract/types/__init__.py +4 -0
  9. llama_cloud/resources/llama_extract/types/extract_stateless_request_data_schema.py +9 -0
  10. llama_cloud/resources/llama_extract/types/extract_stateless_request_data_schema_zero_value.py +7 -0
  11. llama_cloud/resources/organizations/client.py +10 -6
  12. llama_cloud/resources/parsing/client.py +24 -0
  13. llama_cloud/resources/users/__init__.py +2 -0
  14. llama_cloud/resources/users/client.py +155 -0
  15. llama_cloud/types/__init__.py +30 -0
  16. llama_cloud/types/data_source.py +2 -1
  17. llama_cloud/types/data_source_reader_version_metadata.py +32 -0
  18. llama_cloud/types/data_source_reader_version_metadata_reader_version.py +17 -0
  19. llama_cloud/types/extract_agent.py +3 -0
  20. llama_cloud/types/extract_config.py +7 -0
  21. llama_cloud/types/file_data.py +36 -0
  22. llama_cloud/types/legacy_parse_job_config.py +3 -0
  23. llama_cloud/types/llama_extract_settings.py +4 -0
  24. llama_cloud/types/llama_parse_parameters.py +3 -0
  25. llama_cloud/types/managed_open_ai_embedding.py +36 -0
  26. llama_cloud/types/managed_open_ai_embedding_config.py +34 -0
  27. llama_cloud/types/multimodal_parse_resolution.py +17 -0
  28. llama_cloud/types/paginated_response_quota_configuration.py +36 -0
  29. llama_cloud/types/parse_job_config.py +3 -0
  30. llama_cloud/types/pipeline_data_source.py +2 -1
  31. llama_cloud/types/pipeline_embedding_config.py +11 -0
  32. llama_cloud/types/quota_configuration.py +53 -0
  33. llama_cloud/types/quota_configuration_configuration_type.py +33 -0
  34. llama_cloud/types/quota_configuration_status.py +21 -0
  35. llama_cloud/types/quota_rate_limit_configuration_value.py +38 -0
  36. llama_cloud/types/quota_rate_limit_configuration_value_denominator_units.py +29 -0
  37. llama_cloud/types/struct_parse_conf.py +3 -0
  38. llama_cloud/types/update_user_response.py +33 -0
  39. llama_cloud/types/usage_response_active_alerts_item.py +4 -0
  40. llama_cloud/types/user_summary.py +38 -0
  41. llama_cloud/types/webhook_configuration_webhook_events_item.py +20 -0
  42. {llama_cloud-0.1.33.dist-info → llama_cloud-0.1.35.dist-info}/METADATA +1 -1
  43. {llama_cloud-0.1.33.dist-info → llama_cloud-0.1.35.dist-info}/RECORD +45 -27
  44. {llama_cloud-0.1.33.dist-info → llama_cloud-0.1.35.dist-info}/LICENSE +0 -0
  45. {llama_cloud-0.1.33.dist-info → llama_cloud-0.1.35.dist-info}/WHEEL +0 -0
llama_cloud/__init__.py CHANGED
@@ -75,6 +75,8 @@ from .types import (
75
75
  DataSourceCreateComponent,
76
76
  DataSourceCreateCustomMetadataValue,
77
77
  DataSourceCustomMetadataValue,
78
+ DataSourceReaderVersionMetadata,
79
+ DataSourceReaderVersionMetadataReaderVersion,
78
80
  DataSourceUpdateDispatcherConfig,
79
81
  DeleteParams,
80
82
  DocumentBlock,
@@ -132,6 +134,7 @@ from .types import (
132
134
  FailPageMode,
133
135
  File,
134
136
  FileCountByStatusResponse,
137
+ FileData,
135
138
  FileIdPresignedUrl,
136
139
  FileParsePublic,
137
140
  FilePermissionInfoValue,
@@ -187,12 +190,15 @@ from .types import (
187
190
  LoadFilesJobConfig,
188
191
  ManagedIngestionStatus,
189
192
  ManagedIngestionStatusResponse,
193
+ ManagedOpenAiEmbedding,
194
+ ManagedOpenAiEmbeddingConfig,
190
195
  MessageAnnotation,
191
196
  MessageRole,
192
197
  MetadataFilter,
193
198
  MetadataFilterValue,
194
199
  MetadataFilters,
195
200
  MetadataFiltersFiltersItem,
201
+ MultimodalParseResolution,
196
202
  NodeRelationship,
197
203
  NoneChunkingConfig,
198
204
  NoneSegmentationConfig,
@@ -213,6 +219,7 @@ from .types import (
213
219
  PaginatedReportResponse,
214
220
  PaginatedResponseAgentData,
215
221
  PaginatedResponseAggregateGroup,
222
+ PaginatedResponseQuotaConfiguration,
216
223
  ParseJobConfig,
217
224
  ParseJobConfigPriority,
218
225
  ParsePlanLevel,
@@ -253,6 +260,7 @@ from .types import (
253
260
  PipelineEmbeddingConfig_CohereEmbedding,
254
261
  PipelineEmbeddingConfig_GeminiEmbedding,
255
262
  PipelineEmbeddingConfig_HuggingfaceApiEmbedding,
263
+ PipelineEmbeddingConfig_ManagedOpenaiEmbedding,
256
264
  PipelineEmbeddingConfig_OpenaiEmbedding,
257
265
  PipelineEmbeddingConfig_VertexaiEmbedding,
258
266
  PipelineFile,
@@ -284,6 +292,11 @@ from .types import (
284
292
  Project,
285
293
  ProjectCreate,
286
294
  PromptConf,
295
+ QuotaConfiguration,
296
+ QuotaConfigurationConfigurationType,
297
+ QuotaConfigurationStatus,
298
+ QuotaRateLimitConfigurationValue,
299
+ QuotaRateLimitConfigurationValueDenominatorUnits,
287
300
  ReRankConfig,
288
301
  ReRankerType,
289
302
  RecurringCreditGrant,
@@ -327,6 +340,7 @@ from .types import (
327
340
  TextNodeRelationshipsValue,
328
341
  TextNodeWithScore,
329
342
  TokenChunkingConfig,
343
+ UpdateUserResponse,
330
344
  UsageAndPlan,
331
345
  UsageMetricResponse,
332
346
  UsageResponse,
@@ -336,6 +350,7 @@ from .types import (
336
350
  UserOrganizationCreate,
337
351
  UserOrganizationDelete,
338
352
  UserOrganizationRole,
353
+ UserSummary,
339
354
  ValidationError,
340
355
  ValidationErrorLocItem,
341
356
  VertexAiEmbeddingConfig,
@@ -365,6 +380,8 @@ from .resources import (
365
380
  ExtractJobCreateBatchDataSchemaOverrideZeroValue,
366
381
  ExtractSchemaValidateRequestDataSchema,
367
382
  ExtractSchemaValidateRequestDataSchemaZeroValue,
383
+ ExtractStatelessRequestDataSchema,
384
+ ExtractStatelessRequestDataSchemaZeroValue,
368
385
  FileCreateFromUrlResourceInfoValue,
369
386
  FileCreatePermissionInfoValue,
370
387
  FileCreateResourceInfoValue,
@@ -398,6 +415,7 @@ from .resources import (
398
415
  projects,
399
416
  reports,
400
417
  retrievers,
418
+ users,
401
419
  )
402
420
  from .environment import LlamaCloudEnvironment
403
421
 
@@ -477,6 +495,8 @@ __all__ = [
477
495
  "DataSourceCreateComponent",
478
496
  "DataSourceCreateCustomMetadataValue",
479
497
  "DataSourceCustomMetadataValue",
498
+ "DataSourceReaderVersionMetadata",
499
+ "DataSourceReaderVersionMetadataReaderVersion",
480
500
  "DataSourceUpdateComponent",
481
501
  "DataSourceUpdateCustomMetadataValue",
482
502
  "DataSourceUpdateDispatcherConfig",
@@ -548,6 +568,8 @@ __all__ = [
548
568
  "ExtractSchemaValidateResponse",
549
569
  "ExtractSchemaValidateResponseDataSchemaValue",
550
570
  "ExtractState",
571
+ "ExtractStatelessRequestDataSchema",
572
+ "ExtractStatelessRequestDataSchemaZeroValue",
551
573
  "ExtractTarget",
552
574
  "FailPageMode",
553
575
  "File",
@@ -555,6 +577,7 @@ __all__ = [
555
577
  "FileCreateFromUrlResourceInfoValue",
556
578
  "FileCreatePermissionInfoValue",
557
579
  "FileCreateResourceInfoValue",
580
+ "FileData",
558
581
  "FileIdPresignedUrl",
559
582
  "FileParsePublic",
560
583
  "FilePermissionInfoValue",
@@ -611,12 +634,15 @@ __all__ = [
611
634
  "LoadFilesJobConfig",
612
635
  "ManagedIngestionStatus",
613
636
  "ManagedIngestionStatusResponse",
637
+ "ManagedOpenAiEmbedding",
638
+ "ManagedOpenAiEmbeddingConfig",
614
639
  "MessageAnnotation",
615
640
  "MessageRole",
616
641
  "MetadataFilter",
617
642
  "MetadataFilterValue",
618
643
  "MetadataFilters",
619
644
  "MetadataFiltersFiltersItem",
645
+ "MultimodalParseResolution",
620
646
  "NodeRelationship",
621
647
  "NoneChunkingConfig",
622
648
  "NoneSegmentationConfig",
@@ -637,6 +663,7 @@ __all__ = [
637
663
  "PaginatedReportResponse",
638
664
  "PaginatedResponseAgentData",
639
665
  "PaginatedResponseAggregateGroup",
666
+ "PaginatedResponseQuotaConfiguration",
640
667
  "ParseJobConfig",
641
668
  "ParseJobConfigPriority",
642
669
  "ParsePlanLevel",
@@ -677,6 +704,7 @@ __all__ = [
677
704
  "PipelineEmbeddingConfig_CohereEmbedding",
678
705
  "PipelineEmbeddingConfig_GeminiEmbedding",
679
706
  "PipelineEmbeddingConfig_HuggingfaceApiEmbedding",
707
+ "PipelineEmbeddingConfig_ManagedOpenaiEmbedding",
680
708
  "PipelineEmbeddingConfig_OpenaiEmbedding",
681
709
  "PipelineEmbeddingConfig_VertexaiEmbedding",
682
710
  "PipelineFile",
@@ -718,6 +746,11 @@ __all__ = [
718
746
  "Project",
719
747
  "ProjectCreate",
720
748
  "PromptConf",
749
+ "QuotaConfiguration",
750
+ "QuotaConfigurationConfigurationType",
751
+ "QuotaConfigurationStatus",
752
+ "QuotaRateLimitConfigurationValue",
753
+ "QuotaRateLimitConfigurationValueDenominatorUnits",
721
754
  "ReRankConfig",
722
755
  "ReRankerType",
723
756
  "RecurringCreditGrant",
@@ -764,6 +797,7 @@ __all__ = [
764
797
  "TokenChunkingConfig",
765
798
  "UnprocessableEntityError",
766
799
  "UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
800
+ "UpdateUserResponse",
767
801
  "UsageAndPlan",
768
802
  "UsageMetricResponse",
769
803
  "UsageResponse",
@@ -773,6 +807,7 @@ __all__ = [
773
807
  "UserOrganizationCreate",
774
808
  "UserOrganizationDelete",
775
809
  "UserOrganizationRole",
810
+ "UserSummary",
776
811
  "ValidationError",
777
812
  "ValidationErrorLocItem",
778
813
  "VertexAiEmbeddingConfig",
@@ -798,4 +833,5 @@ __all__ = [
798
833
  "projects",
799
834
  "reports",
800
835
  "retrievers",
836
+ "users",
801
837
  ]
llama_cloud/client.py CHANGED
@@ -24,6 +24,7 @@ from .resources.pipelines.client import AsyncPipelinesClient, PipelinesClient
24
24
  from .resources.projects.client import AsyncProjectsClient, ProjectsClient
25
25
  from .resources.reports.client import AsyncReportsClient, ReportsClient
26
26
  from .resources.retrievers.client import AsyncRetrieversClient, RetrieversClient
27
+ from .resources.users.client import AsyncUsersClient, UsersClient
27
28
 
28
29
 
29
30
  class LlamaCloud:
@@ -56,6 +57,7 @@ class LlamaCloud:
56
57
  self.agent_deployments = AgentDeploymentsClient(client_wrapper=self._client_wrapper)
57
58
  self.classifier = ClassifierClient(client_wrapper=self._client_wrapper)
58
59
  self.admin = AdminClient(client_wrapper=self._client_wrapper)
60
+ self.users = UsersClient(client_wrapper=self._client_wrapper)
59
61
  self.llama_extract = LlamaExtractClient(client_wrapper=self._client_wrapper)
60
62
  self.reports = ReportsClient(client_wrapper=self._client_wrapper)
61
63
  self.beta = BetaClient(client_wrapper=self._client_wrapper)
@@ -91,6 +93,7 @@ class AsyncLlamaCloud:
91
93
  self.agent_deployments = AsyncAgentDeploymentsClient(client_wrapper=self._client_wrapper)
92
94
  self.classifier = AsyncClassifierClient(client_wrapper=self._client_wrapper)
93
95
  self.admin = AsyncAdminClient(client_wrapper=self._client_wrapper)
96
+ self.users = AsyncUsersClient(client_wrapper=self._client_wrapper)
94
97
  self.llama_extract = AsyncLlamaExtractClient(client_wrapper=self._client_wrapper)
95
98
  self.reports = AsyncReportsClient(client_wrapper=self._client_wrapper)
96
99
  self.beta = AsyncBetaClient(client_wrapper=self._client_wrapper)
@@ -19,6 +19,7 @@ from . import (
19
19
  projects,
20
20
  reports,
21
21
  retrievers,
22
+ users,
22
23
  )
23
24
  from .data_sinks import DataSinkUpdateComponent
24
25
  from .data_sources import DataSourceUpdateComponent, DataSourceUpdateCustomMetadataValue
@@ -42,6 +43,8 @@ from .llama_extract import (
42
43
  ExtractJobCreateBatchDataSchemaOverrideZeroValue,
43
44
  ExtractSchemaValidateRequestDataSchema,
44
45
  ExtractSchemaValidateRequestDataSchemaZeroValue,
46
+ ExtractStatelessRequestDataSchema,
47
+ ExtractStatelessRequestDataSchemaZeroValue,
45
48
  )
46
49
  from .pipelines import (
47
50
  PipelineFileUpdateCustomMetadataValue,
@@ -78,6 +81,8 @@ __all__ = [
78
81
  "ExtractJobCreateBatchDataSchemaOverrideZeroValue",
79
82
  "ExtractSchemaValidateRequestDataSchema",
80
83
  "ExtractSchemaValidateRequestDataSchemaZeroValue",
84
+ "ExtractStatelessRequestDataSchema",
85
+ "ExtractStatelessRequestDataSchemaZeroValue",
81
86
  "FileCreateFromUrlResourceInfoValue",
82
87
  "FileCreatePermissionInfoValue",
83
88
  "FileCreateResourceInfoValue",
@@ -111,4 +116,5 @@ __all__ = [
111
116
  "projects",
112
117
  "reports",
113
118
  "retrievers",
119
+ "users",
114
120
  ]