llama-cloud 0.1.13__py3-none-any.whl → 0.1.15__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.
- llama_cloud/__init__.py +44 -10
- llama_cloud/resources/__init__.py +0 -14
- llama_cloud/resources/llama_extract/__init__.py +0 -17
- llama_cloud/resources/llama_extract/client.py +195 -246
- llama_cloud/resources/organizations/client.py +15 -5
- llama_cloud/resources/parsing/client.py +16 -0
- llama_cloud/resources/pipelines/client.py +145 -10
- llama_cloud/resources/projects/client.py +25 -9
- llama_cloud/resources/reports/client.py +16 -6
- llama_cloud/types/__init__.py +50 -4
- llama_cloud/types/{plan.py → base_plan.py} +16 -13
- llama_cloud/types/base_plan_metronome_plan_type.py +17 -0
- llama_cloud/types/base_plan_name.py +45 -0
- llama_cloud/types/base_plan_plan_frequency.py +25 -0
- llama_cloud/types/billing_period.py +32 -0
- llama_cloud/types/chunk_mode.py +4 -0
- llama_cloud/types/credit_type.py +32 -0
- llama_cloud/types/data_source.py +1 -0
- llama_cloud/types/extract_agent_create.py +39 -0
- llama_cloud/types/extract_agent_update.py +38 -0
- llama_cloud/types/extract_job_create_batch.py +42 -0
- llama_cloud/types/extract_job_create_batch_data_schema_override.py +9 -0
- llama_cloud/types/extract_job_create_batch_data_schema_override_zero_value.py +7 -0
- llama_cloud/types/extract_schema_validate_request.py +32 -0
- llama_cloud/types/free_credits_usage.py +34 -0
- llama_cloud/types/llama_parse_parameters.py +2 -0
- llama_cloud/types/paginated_extract_runs_response.py +39 -0
- llama_cloud/types/paginated_list_cloud_documents_response.py +35 -0
- llama_cloud/types/pipeline_data_source.py +1 -0
- llama_cloud/types/pipeline_file.py +1 -0
- llama_cloud/types/plan_limits.py +52 -0
- llama_cloud/types/recurring_credit_grant.py +44 -0
- llama_cloud/types/usage.py +7 -5
- llama_cloud/types/usage_active_alerts_item.py +25 -0
- llama_cloud/types/{interval_usage_and_plan.py → usage_and_plan.py} +4 -6
- {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.15.dist-info}/METADATA +3 -1
- {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.15.dist-info}/RECORD +45 -29
- {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.15.dist-info}/WHEEL +1 -1
- llama_cloud/resources/llama_extract/types/__init__.py +0 -17
- /llama_cloud/{resources/llama_extract/types → types}/extract_agent_create_data_schema.py +0 -0
- /llama_cloud/{resources/llama_extract/types → types}/extract_agent_create_data_schema_zero_value.py +0 -0
- /llama_cloud/{resources/llama_extract/types → types}/extract_agent_update_data_schema.py +0 -0
- /llama_cloud/{resources/llama_extract/types → types}/extract_agent_update_data_schema_zero_value.py +0 -0
- /llama_cloud/{resources/llama_extract/types → types}/extract_schema_validate_request_data_schema.py +0 -0
- /llama_cloud/{resources/llama_extract/types → types}/extract_schema_validate_request_data_schema_zero_value.py +0 -0
- {llama_cloud-0.1.13.dist-info → llama_cloud-0.1.15.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,10 +106,19 @@ 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,
|
|
119
|
+
ExtractJobCreateBatch,
|
|
120
|
+
ExtractJobCreateBatchDataSchemaOverride,
|
|
121
|
+
ExtractJobCreateBatchDataSchemaOverrideZeroValue,
|
|
107
122
|
ExtractJobCreateDataSchemaOverride,
|
|
108
123
|
ExtractJobCreateDataSchemaOverrideZeroValue,
|
|
109
124
|
ExtractMode,
|
|
@@ -118,6 +133,9 @@ from .types import (
|
|
|
118
133
|
ExtractRunDataSchemaValue,
|
|
119
134
|
ExtractRunDataZeroValue,
|
|
120
135
|
ExtractRunExtractionMetadataValue,
|
|
136
|
+
ExtractSchemaValidateRequest,
|
|
137
|
+
ExtractSchemaValidateRequestDataSchema,
|
|
138
|
+
ExtractSchemaValidateRequestDataSchemaZeroValue,
|
|
121
139
|
ExtractSchemaValidateResponse,
|
|
122
140
|
ExtractSchemaValidateResponseDataSchemaValue,
|
|
123
141
|
ExtractState,
|
|
@@ -127,6 +145,7 @@ from .types import (
|
|
|
127
145
|
FileResourceInfoValue,
|
|
128
146
|
FilterCondition,
|
|
129
147
|
FilterOperator,
|
|
148
|
+
FreeCreditsUsage,
|
|
130
149
|
GeminiEmbedding,
|
|
131
150
|
GeminiEmbeddingConfig,
|
|
132
151
|
HttpValidationError,
|
|
@@ -136,7 +155,6 @@ from .types import (
|
|
|
136
155
|
ImageBlock,
|
|
137
156
|
IngestionErrorResponse,
|
|
138
157
|
InputMessage,
|
|
139
|
-
IntervalUsageAndPlan,
|
|
140
158
|
JobNameMapping,
|
|
141
159
|
JobNames,
|
|
142
160
|
JobRecord,
|
|
@@ -179,7 +197,9 @@ from .types import (
|
|
|
179
197
|
PageScreenshotNodeWithScore,
|
|
180
198
|
PageSegmentationConfig,
|
|
181
199
|
PageSplitterNodeParser,
|
|
200
|
+
PaginatedExtractRunsResponse,
|
|
182
201
|
PaginatedJobsHistoryWithMetrics,
|
|
202
|
+
PaginatedListCloudDocumentsResponse,
|
|
183
203
|
PaginatedListPipelineFilesResponse,
|
|
184
204
|
PaginatedReportResponse,
|
|
185
205
|
ParsePlanLevel,
|
|
@@ -230,7 +250,7 @@ from .types import (
|
|
|
230
250
|
PipelineTransformConfig_Advanced,
|
|
231
251
|
PipelineTransformConfig_Auto,
|
|
232
252
|
PipelineType,
|
|
233
|
-
|
|
253
|
+
PlanLimits,
|
|
234
254
|
PlaygroundSession,
|
|
235
255
|
Pooling,
|
|
236
256
|
PresetCompositeRetrievalParams,
|
|
@@ -244,6 +264,7 @@ from .types import (
|
|
|
244
264
|
PromptMixinPrompts,
|
|
245
265
|
PromptSpec,
|
|
246
266
|
PydanticProgramMode,
|
|
267
|
+
RecurringCreditGrant,
|
|
247
268
|
RelatedNodeInfo,
|
|
248
269
|
RelatedNodeInfoNodeType,
|
|
249
270
|
Report,
|
|
@@ -287,6 +308,8 @@ from .types import (
|
|
|
287
308
|
TokenTextSplitter,
|
|
288
309
|
TransformationCategoryNames,
|
|
289
310
|
Usage,
|
|
311
|
+
UsageActiveAlertsItem,
|
|
312
|
+
UsageAndPlan,
|
|
290
313
|
UsageMetricResponse,
|
|
291
314
|
UserJobRecord,
|
|
292
315
|
UserOrganization,
|
|
@@ -312,12 +335,6 @@ from .resources import (
|
|
|
312
335
|
EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding,
|
|
313
336
|
EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
|
|
314
337
|
EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
|
|
315
|
-
ExtractAgentCreateDataSchema,
|
|
316
|
-
ExtractAgentCreateDataSchemaZeroValue,
|
|
317
|
-
ExtractAgentUpdateDataSchema,
|
|
318
|
-
ExtractAgentUpdateDataSchemaZeroValue,
|
|
319
|
-
ExtractSchemaValidateRequestDataSchema,
|
|
320
|
-
ExtractSchemaValidateRequestDataSchemaZeroValue,
|
|
321
338
|
FileCreateFromUrlResourceInfoValue,
|
|
322
339
|
FileCreatePermissionInfoValue,
|
|
323
340
|
FileCreateResourceInfoValue,
|
|
@@ -366,9 +383,14 @@ __all__ = [
|
|
|
366
383
|
"AutoTransformConfig",
|
|
367
384
|
"AzureOpenAiEmbedding",
|
|
368
385
|
"AzureOpenAiEmbeddingConfig",
|
|
386
|
+
"BasePlan",
|
|
387
|
+
"BasePlanMetronomePlanType",
|
|
388
|
+
"BasePlanName",
|
|
389
|
+
"BasePlanPlanFrequency",
|
|
369
390
|
"BasePromptTemplate",
|
|
370
391
|
"BedrockEmbedding",
|
|
371
392
|
"BedrockEmbeddingConfig",
|
|
393
|
+
"BillingPeriod",
|
|
372
394
|
"BoxAuthMechanism",
|
|
373
395
|
"CharacterChunkingConfig",
|
|
374
396
|
"CharacterSplitter",
|
|
@@ -407,6 +429,7 @@ __all__ = [
|
|
|
407
429
|
"ConfigurableTransformationNames",
|
|
408
430
|
"ConfiguredTransformationItem",
|
|
409
431
|
"ConfiguredTransformationItemComponent",
|
|
432
|
+
"CreditType",
|
|
410
433
|
"DataSink",
|
|
411
434
|
"DataSinkComponent",
|
|
412
435
|
"DataSinkCreate",
|
|
@@ -461,14 +484,19 @@ __all__ = [
|
|
|
461
484
|
"EvalQuestionCreate",
|
|
462
485
|
"EvalQuestionResult",
|
|
463
486
|
"ExtractAgent",
|
|
487
|
+
"ExtractAgentCreate",
|
|
464
488
|
"ExtractAgentCreateDataSchema",
|
|
465
489
|
"ExtractAgentCreateDataSchemaZeroValue",
|
|
466
490
|
"ExtractAgentDataSchemaValue",
|
|
491
|
+
"ExtractAgentUpdate",
|
|
467
492
|
"ExtractAgentUpdateDataSchema",
|
|
468
493
|
"ExtractAgentUpdateDataSchemaZeroValue",
|
|
469
494
|
"ExtractConfig",
|
|
470
495
|
"ExtractJob",
|
|
471
496
|
"ExtractJobCreate",
|
|
497
|
+
"ExtractJobCreateBatch",
|
|
498
|
+
"ExtractJobCreateBatchDataSchemaOverride",
|
|
499
|
+
"ExtractJobCreateBatchDataSchemaOverrideZeroValue",
|
|
472
500
|
"ExtractJobCreateDataSchemaOverride",
|
|
473
501
|
"ExtractJobCreateDataSchemaOverrideZeroValue",
|
|
474
502
|
"ExtractMode",
|
|
@@ -483,6 +511,7 @@ __all__ = [
|
|
|
483
511
|
"ExtractRunDataSchemaValue",
|
|
484
512
|
"ExtractRunDataZeroValue",
|
|
485
513
|
"ExtractRunExtractionMetadataValue",
|
|
514
|
+
"ExtractSchemaValidateRequest",
|
|
486
515
|
"ExtractSchemaValidateRequestDataSchema",
|
|
487
516
|
"ExtractSchemaValidateRequestDataSchemaZeroValue",
|
|
488
517
|
"ExtractSchemaValidateResponse",
|
|
@@ -497,6 +526,7 @@ __all__ = [
|
|
|
497
526
|
"FileResourceInfoValue",
|
|
498
527
|
"FilterCondition",
|
|
499
528
|
"FilterOperator",
|
|
529
|
+
"FreeCreditsUsage",
|
|
500
530
|
"GeminiEmbedding",
|
|
501
531
|
"GeminiEmbeddingConfig",
|
|
502
532
|
"HttpValidationError",
|
|
@@ -506,7 +536,6 @@ __all__ = [
|
|
|
506
536
|
"ImageBlock",
|
|
507
537
|
"IngestionErrorResponse",
|
|
508
538
|
"InputMessage",
|
|
509
|
-
"IntervalUsageAndPlan",
|
|
510
539
|
"JobNameMapping",
|
|
511
540
|
"JobNames",
|
|
512
541
|
"JobRecord",
|
|
@@ -550,7 +579,9 @@ __all__ = [
|
|
|
550
579
|
"PageScreenshotNodeWithScore",
|
|
551
580
|
"PageSegmentationConfig",
|
|
552
581
|
"PageSplitterNodeParser",
|
|
582
|
+
"PaginatedExtractRunsResponse",
|
|
553
583
|
"PaginatedJobsHistoryWithMetrics",
|
|
584
|
+
"PaginatedListCloudDocumentsResponse",
|
|
554
585
|
"PaginatedListPipelineFilesResponse",
|
|
555
586
|
"PaginatedReportResponse",
|
|
556
587
|
"ParsePlanLevel",
|
|
@@ -611,7 +642,7 @@ __all__ = [
|
|
|
611
642
|
"PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
|
|
612
643
|
"PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
|
|
613
644
|
"PipelineUpdateTransformConfig",
|
|
614
|
-
"
|
|
645
|
+
"PlanLimits",
|
|
615
646
|
"PlaygroundSession",
|
|
616
647
|
"Pooling",
|
|
617
648
|
"PresetCompositeRetrievalParams",
|
|
@@ -625,6 +656,7 @@ __all__ = [
|
|
|
625
656
|
"PromptMixinPrompts",
|
|
626
657
|
"PromptSpec",
|
|
627
658
|
"PydanticProgramMode",
|
|
659
|
+
"RecurringCreditGrant",
|
|
628
660
|
"RelatedNodeInfo",
|
|
629
661
|
"RelatedNodeInfoNodeType",
|
|
630
662
|
"Report",
|
|
@@ -670,6 +702,8 @@ __all__ = [
|
|
|
670
702
|
"UnprocessableEntityError",
|
|
671
703
|
"UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
|
|
672
704
|
"Usage",
|
|
705
|
+
"UsageActiveAlertsItem",
|
|
706
|
+
"UsageAndPlan",
|
|
673
707
|
"UsageMetricResponse",
|
|
674
708
|
"UserJobRecord",
|
|
675
709
|
"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
|
-
]
|