llama-cloud 0.1.13__py3-none-any.whl → 0.1.14__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 (41) hide show
  1. llama_cloud/__init__.py +36 -10
  2. llama_cloud/resources/__init__.py +0 -14
  3. llama_cloud/resources/llama_extract/__init__.py +0 -17
  4. llama_cloud/resources/llama_extract/client.py +105 -318
  5. llama_cloud/resources/organizations/client.py +15 -5
  6. llama_cloud/resources/parsing/client.py +24 -0
  7. llama_cloud/resources/pipelines/client.py +145 -10
  8. llama_cloud/resources/projects/client.py +25 -9
  9. llama_cloud/resources/reports/client.py +16 -6
  10. llama_cloud/types/__init__.py +42 -4
  11. llama_cloud/types/{plan.py → base_plan.py} +16 -13
  12. llama_cloud/types/base_plan_metronome_plan_type.py +17 -0
  13. llama_cloud/types/base_plan_name.py +45 -0
  14. llama_cloud/types/base_plan_plan_frequency.py +25 -0
  15. llama_cloud/types/billing_period.py +32 -0
  16. llama_cloud/types/credit_type.py +32 -0
  17. llama_cloud/types/data_source.py +1 -0
  18. llama_cloud/types/extract_agent_create.py +39 -0
  19. llama_cloud/types/extract_agent_update.py +38 -0
  20. llama_cloud/types/extract_schema_validate_request.py +32 -0
  21. llama_cloud/types/free_credits_usage.py +34 -0
  22. llama_cloud/types/llama_parse_parameters.py +3 -0
  23. llama_cloud/types/paginated_list_cloud_documents_response.py +35 -0
  24. llama_cloud/types/pipeline_data_source.py +1 -0
  25. llama_cloud/types/pipeline_file.py +1 -0
  26. llama_cloud/types/plan_limits.py +52 -0
  27. llama_cloud/types/recurring_credit_grant.py +44 -0
  28. llama_cloud/types/usage.py +5 -4
  29. llama_cloud/types/usage_active_alerts_item.py +25 -0
  30. llama_cloud/types/{interval_usage_and_plan.py → usage_and_plan.py} +4 -6
  31. {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.14.dist-info}/METADATA +3 -1
  32. {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.14.dist-info}/RECORD +40 -28
  33. {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.14.dist-info}/WHEEL +1 -1
  34. llama_cloud/resources/llama_extract/types/__init__.py +0 -17
  35. /llama_cloud/{resources/llama_extract/types → types}/extract_agent_create_data_schema.py +0 -0
  36. /llama_cloud/{resources/llama_extract/types → types}/extract_agent_create_data_schema_zero_value.py +0 -0
  37. /llama_cloud/{resources/llama_extract/types → types}/extract_agent_update_data_schema.py +0 -0
  38. /llama_cloud/{resources/llama_extract/types → types}/extract_agent_update_data_schema_zero_value.py +0 -0
  39. /llama_cloud/{resources/llama_extract/types → types}/extract_schema_validate_request_data_schema.py +0 -0
  40. /llama_cloud/{resources/llama_extract/types → types}/extract_schema_validate_request_data_schema_zero_value.py +0 -0
  41. {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.14.dist-info}/LICENSE +0 -0
llama_cloud/__init__.py CHANGED
@@ -16,9 +16,14 @@ from .types import (
16
16
  AutoTransformConfig,
17
17
  AzureOpenAiEmbedding,
18
18
  AzureOpenAiEmbeddingConfig,
19
+ BasePlan,
20
+ BasePlanMetronomePlanType,
21
+ BasePlanName,
22
+ BasePlanPlanFrequency,
19
23
  BasePromptTemplate,
20
24
  BedrockEmbedding,
21
25
  BedrockEmbeddingConfig,
26
+ BillingPeriod,
22
27
  BoxAuthMechanism,
23
28
  CharacterChunkingConfig,
24
29
  CharacterSplitter,
@@ -57,6 +62,7 @@ from .types import (
57
62
  ConfigurableTransformationNames,
58
63
  ConfiguredTransformationItem,
59
64
  ConfiguredTransformationItemComponent,
65
+ CreditType,
60
66
  DataSink,
61
67
  DataSinkComponent,
62
68
  DataSinkCreate,
@@ -100,7 +106,13 @@ from .types import (
100
106
  EvalQuestionCreate,
101
107
  EvalQuestionResult,
102
108
  ExtractAgent,
109
+ ExtractAgentCreate,
110
+ ExtractAgentCreateDataSchema,
111
+ ExtractAgentCreateDataSchemaZeroValue,
103
112
  ExtractAgentDataSchemaValue,
113
+ ExtractAgentUpdate,
114
+ ExtractAgentUpdateDataSchema,
115
+ ExtractAgentUpdateDataSchemaZeroValue,
104
116
  ExtractConfig,
105
117
  ExtractJob,
106
118
  ExtractJobCreate,
@@ -118,6 +130,9 @@ from .types import (
118
130
  ExtractRunDataSchemaValue,
119
131
  ExtractRunDataZeroValue,
120
132
  ExtractRunExtractionMetadataValue,
133
+ ExtractSchemaValidateRequest,
134
+ ExtractSchemaValidateRequestDataSchema,
135
+ ExtractSchemaValidateRequestDataSchemaZeroValue,
121
136
  ExtractSchemaValidateResponse,
122
137
  ExtractSchemaValidateResponseDataSchemaValue,
123
138
  ExtractState,
@@ -127,6 +142,7 @@ from .types import (
127
142
  FileResourceInfoValue,
128
143
  FilterCondition,
129
144
  FilterOperator,
145
+ FreeCreditsUsage,
130
146
  GeminiEmbedding,
131
147
  GeminiEmbeddingConfig,
132
148
  HttpValidationError,
@@ -136,7 +152,6 @@ from .types import (
136
152
  ImageBlock,
137
153
  IngestionErrorResponse,
138
154
  InputMessage,
139
- IntervalUsageAndPlan,
140
155
  JobNameMapping,
141
156
  JobNames,
142
157
  JobRecord,
@@ -180,6 +195,7 @@ from .types import (
180
195
  PageSegmentationConfig,
181
196
  PageSplitterNodeParser,
182
197
  PaginatedJobsHistoryWithMetrics,
198
+ PaginatedListCloudDocumentsResponse,
183
199
  PaginatedListPipelineFilesResponse,
184
200
  PaginatedReportResponse,
185
201
  ParsePlanLevel,
@@ -230,7 +246,7 @@ from .types import (
230
246
  PipelineTransformConfig_Advanced,
231
247
  PipelineTransformConfig_Auto,
232
248
  PipelineType,
233
- Plan,
249
+ PlanLimits,
234
250
  PlaygroundSession,
235
251
  Pooling,
236
252
  PresetCompositeRetrievalParams,
@@ -244,6 +260,7 @@ from .types import (
244
260
  PromptMixinPrompts,
245
261
  PromptSpec,
246
262
  PydanticProgramMode,
263
+ RecurringCreditGrant,
247
264
  RelatedNodeInfo,
248
265
  RelatedNodeInfoNodeType,
249
266
  Report,
@@ -287,6 +304,8 @@ from .types import (
287
304
  TokenTextSplitter,
288
305
  TransformationCategoryNames,
289
306
  Usage,
307
+ UsageActiveAlertsItem,
308
+ UsageAndPlan,
290
309
  UsageMetricResponse,
291
310
  UserJobRecord,
292
311
  UserOrganization,
@@ -312,12 +331,6 @@ from .resources import (
312
331
  EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding,
313
332
  EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
314
333
  EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
315
- ExtractAgentCreateDataSchema,
316
- ExtractAgentCreateDataSchemaZeroValue,
317
- ExtractAgentUpdateDataSchema,
318
- ExtractAgentUpdateDataSchemaZeroValue,
319
- ExtractSchemaValidateRequestDataSchema,
320
- ExtractSchemaValidateRequestDataSchemaZeroValue,
321
334
  FileCreateFromUrlResourceInfoValue,
322
335
  FileCreatePermissionInfoValue,
323
336
  FileCreateResourceInfoValue,
@@ -366,9 +379,14 @@ __all__ = [
366
379
  "AutoTransformConfig",
367
380
  "AzureOpenAiEmbedding",
368
381
  "AzureOpenAiEmbeddingConfig",
382
+ "BasePlan",
383
+ "BasePlanMetronomePlanType",
384
+ "BasePlanName",
385
+ "BasePlanPlanFrequency",
369
386
  "BasePromptTemplate",
370
387
  "BedrockEmbedding",
371
388
  "BedrockEmbeddingConfig",
389
+ "BillingPeriod",
372
390
  "BoxAuthMechanism",
373
391
  "CharacterChunkingConfig",
374
392
  "CharacterSplitter",
@@ -407,6 +425,7 @@ __all__ = [
407
425
  "ConfigurableTransformationNames",
408
426
  "ConfiguredTransformationItem",
409
427
  "ConfiguredTransformationItemComponent",
428
+ "CreditType",
410
429
  "DataSink",
411
430
  "DataSinkComponent",
412
431
  "DataSinkCreate",
@@ -461,9 +480,11 @@ __all__ = [
461
480
  "EvalQuestionCreate",
462
481
  "EvalQuestionResult",
463
482
  "ExtractAgent",
483
+ "ExtractAgentCreate",
464
484
  "ExtractAgentCreateDataSchema",
465
485
  "ExtractAgentCreateDataSchemaZeroValue",
466
486
  "ExtractAgentDataSchemaValue",
487
+ "ExtractAgentUpdate",
467
488
  "ExtractAgentUpdateDataSchema",
468
489
  "ExtractAgentUpdateDataSchemaZeroValue",
469
490
  "ExtractConfig",
@@ -483,6 +504,7 @@ __all__ = [
483
504
  "ExtractRunDataSchemaValue",
484
505
  "ExtractRunDataZeroValue",
485
506
  "ExtractRunExtractionMetadataValue",
507
+ "ExtractSchemaValidateRequest",
486
508
  "ExtractSchemaValidateRequestDataSchema",
487
509
  "ExtractSchemaValidateRequestDataSchemaZeroValue",
488
510
  "ExtractSchemaValidateResponse",
@@ -497,6 +519,7 @@ __all__ = [
497
519
  "FileResourceInfoValue",
498
520
  "FilterCondition",
499
521
  "FilterOperator",
522
+ "FreeCreditsUsage",
500
523
  "GeminiEmbedding",
501
524
  "GeminiEmbeddingConfig",
502
525
  "HttpValidationError",
@@ -506,7 +529,6 @@ __all__ = [
506
529
  "ImageBlock",
507
530
  "IngestionErrorResponse",
508
531
  "InputMessage",
509
- "IntervalUsageAndPlan",
510
532
  "JobNameMapping",
511
533
  "JobNames",
512
534
  "JobRecord",
@@ -551,6 +573,7 @@ __all__ = [
551
573
  "PageSegmentationConfig",
552
574
  "PageSplitterNodeParser",
553
575
  "PaginatedJobsHistoryWithMetrics",
576
+ "PaginatedListCloudDocumentsResponse",
554
577
  "PaginatedListPipelineFilesResponse",
555
578
  "PaginatedReportResponse",
556
579
  "ParsePlanLevel",
@@ -611,7 +634,7 @@ __all__ = [
611
634
  "PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
612
635
  "PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
613
636
  "PipelineUpdateTransformConfig",
614
- "Plan",
637
+ "PlanLimits",
615
638
  "PlaygroundSession",
616
639
  "Pooling",
617
640
  "PresetCompositeRetrievalParams",
@@ -625,6 +648,7 @@ __all__ = [
625
648
  "PromptMixinPrompts",
626
649
  "PromptSpec",
627
650
  "PydanticProgramMode",
651
+ "RecurringCreditGrant",
628
652
  "RelatedNodeInfo",
629
653
  "RelatedNodeInfoNodeType",
630
654
  "Report",
@@ -670,6 +694,8 @@ __all__ = [
670
694
  "UnprocessableEntityError",
671
695
  "UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
672
696
  "Usage",
697
+ "UsageActiveAlertsItem",
698
+ "UsageAndPlan",
673
699
  "UsageMetricResponse",
674
700
  "UserJobRecord",
675
701
  "UserOrganization",
@@ -30,14 +30,6 @@ from .embedding_model_configs import (
30
30
  EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
31
31
  )
32
32
  from .files import FileCreateFromUrlResourceInfoValue, FileCreatePermissionInfoValue, FileCreateResourceInfoValue
33
- from .llama_extract import (
34
- ExtractAgentCreateDataSchema,
35
- ExtractAgentCreateDataSchemaZeroValue,
36
- ExtractAgentUpdateDataSchema,
37
- ExtractAgentUpdateDataSchemaZeroValue,
38
- ExtractSchemaValidateRequestDataSchema,
39
- ExtractSchemaValidateRequestDataSchemaZeroValue,
40
- )
41
33
  from .pipelines import (
42
34
  PipelineFileUpdateCustomMetadataValue,
43
35
  PipelineUpdateEmbeddingConfig,
@@ -64,12 +56,6 @@ __all__ = [
64
56
  "EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding",
65
57
  "EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding",
66
58
  "EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding",
67
- "ExtractAgentCreateDataSchema",
68
- "ExtractAgentCreateDataSchemaZeroValue",
69
- "ExtractAgentUpdateDataSchema",
70
- "ExtractAgentUpdateDataSchemaZeroValue",
71
- "ExtractSchemaValidateRequestDataSchema",
72
- "ExtractSchemaValidateRequestDataSchemaZeroValue",
73
59
  "FileCreateFromUrlResourceInfoValue",
74
60
  "FileCreatePermissionInfoValue",
75
61
  "FileCreateResourceInfoValue",
@@ -1,19 +1,2 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from .types import (
4
- ExtractAgentCreateDataSchema,
5
- ExtractAgentCreateDataSchemaZeroValue,
6
- ExtractAgentUpdateDataSchema,
7
- ExtractAgentUpdateDataSchemaZeroValue,
8
- ExtractSchemaValidateRequestDataSchema,
9
- ExtractSchemaValidateRequestDataSchemaZeroValue,
10
- )
11
-
12
- __all__ = [
13
- "ExtractAgentCreateDataSchema",
14
- "ExtractAgentCreateDataSchemaZeroValue",
15
- "ExtractAgentUpdateDataSchema",
16
- "ExtractAgentUpdateDataSchemaZeroValue",
17
- "ExtractSchemaValidateRequestDataSchema",
18
- "ExtractSchemaValidateRequestDataSchemaZeroValue",
19
- ]