llama-cloud 0.1.12__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.
- llama_cloud/__init__.py +38 -12
- llama_cloud/resources/__init__.py +0 -14
- llama_cloud/resources/llama_extract/__init__.py +0 -17
- llama_cloud/resources/llama_extract/client.py +113 -314
- llama_cloud/resources/organizations/client.py +15 -5
- llama_cloud/resources/parsing/client.py +153 -86
- 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 +44 -6
- 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/{base.py → credit_type.py} +4 -1
- llama_cloud/types/data_source.py +1 -0
- llama_cloud/types/eval_dataset_job_record.py +1 -2
- llama_cloud/types/extract_agent_create.py +39 -0
- llama_cloud/types/extract_agent_update.py +38 -0
- llama_cloud/types/extract_schema_validate_request.py +32 -0
- llama_cloud/types/free_credits_usage.py +34 -0
- llama_cloud/types/job_record.py +2 -3
- llama_cloud/types/llama_parse_parameters.py +9 -0
- llama_cloud/types/llm_parameters.py +1 -0
- llama_cloud/types/page_screenshot_metadata.py +1 -0
- llama_cloud/types/paginated_list_cloud_documents_response.py +35 -0
- llama_cloud/types/parsing_mode.py +37 -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 +5 -4
- 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.12.dist-info → llama_cloud-0.1.14.dist-info}/METADATA +2 -1
- {llama_cloud-0.1.12.dist-info → llama_cloud-0.1.14.dist-info}/RECORD +45 -33
- {llama_cloud-0.1.12.dist-info → llama_cloud-0.1.14.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.12.dist-info → llama_cloud-0.1.14.dist-info}/LICENSE +0 -0
llama_cloud/__init__.py
CHANGED
|
@@ -16,10 +16,14 @@ from .types import (
|
|
|
16
16
|
AutoTransformConfig,
|
|
17
17
|
AzureOpenAiEmbedding,
|
|
18
18
|
AzureOpenAiEmbeddingConfig,
|
|
19
|
-
|
|
19
|
+
BasePlan,
|
|
20
|
+
BasePlanMetronomePlanType,
|
|
21
|
+
BasePlanName,
|
|
22
|
+
BasePlanPlanFrequency,
|
|
20
23
|
BasePromptTemplate,
|
|
21
24
|
BedrockEmbedding,
|
|
22
25
|
BedrockEmbeddingConfig,
|
|
26
|
+
BillingPeriod,
|
|
23
27
|
BoxAuthMechanism,
|
|
24
28
|
CharacterChunkingConfig,
|
|
25
29
|
CharacterSplitter,
|
|
@@ -58,6 +62,7 @@ from .types import (
|
|
|
58
62
|
ConfigurableTransformationNames,
|
|
59
63
|
ConfiguredTransformationItem,
|
|
60
64
|
ConfiguredTransformationItemComponent,
|
|
65
|
+
CreditType,
|
|
61
66
|
DataSink,
|
|
62
67
|
DataSinkComponent,
|
|
63
68
|
DataSinkCreate,
|
|
@@ -101,7 +106,13 @@ from .types import (
|
|
|
101
106
|
EvalQuestionCreate,
|
|
102
107
|
EvalQuestionResult,
|
|
103
108
|
ExtractAgent,
|
|
109
|
+
ExtractAgentCreate,
|
|
110
|
+
ExtractAgentCreateDataSchema,
|
|
111
|
+
ExtractAgentCreateDataSchemaZeroValue,
|
|
104
112
|
ExtractAgentDataSchemaValue,
|
|
113
|
+
ExtractAgentUpdate,
|
|
114
|
+
ExtractAgentUpdateDataSchema,
|
|
115
|
+
ExtractAgentUpdateDataSchemaZeroValue,
|
|
105
116
|
ExtractConfig,
|
|
106
117
|
ExtractJob,
|
|
107
118
|
ExtractJobCreate,
|
|
@@ -119,6 +130,9 @@ from .types import (
|
|
|
119
130
|
ExtractRunDataSchemaValue,
|
|
120
131
|
ExtractRunDataZeroValue,
|
|
121
132
|
ExtractRunExtractionMetadataValue,
|
|
133
|
+
ExtractSchemaValidateRequest,
|
|
134
|
+
ExtractSchemaValidateRequestDataSchema,
|
|
135
|
+
ExtractSchemaValidateRequestDataSchemaZeroValue,
|
|
122
136
|
ExtractSchemaValidateResponse,
|
|
123
137
|
ExtractSchemaValidateResponseDataSchemaValue,
|
|
124
138
|
ExtractState,
|
|
@@ -128,6 +142,7 @@ from .types import (
|
|
|
128
142
|
FileResourceInfoValue,
|
|
129
143
|
FilterCondition,
|
|
130
144
|
FilterOperator,
|
|
145
|
+
FreeCreditsUsage,
|
|
131
146
|
GeminiEmbedding,
|
|
132
147
|
GeminiEmbeddingConfig,
|
|
133
148
|
HttpValidationError,
|
|
@@ -137,7 +152,6 @@ from .types import (
|
|
|
137
152
|
ImageBlock,
|
|
138
153
|
IngestionErrorResponse,
|
|
139
154
|
InputMessage,
|
|
140
|
-
IntervalUsageAndPlan,
|
|
141
155
|
JobNameMapping,
|
|
142
156
|
JobNames,
|
|
143
157
|
JobRecord,
|
|
@@ -181,6 +195,7 @@ from .types import (
|
|
|
181
195
|
PageSegmentationConfig,
|
|
182
196
|
PageSplitterNodeParser,
|
|
183
197
|
PaginatedJobsHistoryWithMetrics,
|
|
198
|
+
PaginatedListCloudDocumentsResponse,
|
|
184
199
|
PaginatedListPipelineFilesResponse,
|
|
185
200
|
PaginatedReportResponse,
|
|
186
201
|
ParsePlanLevel,
|
|
@@ -191,6 +206,7 @@ from .types import (
|
|
|
191
206
|
ParsingJobMarkdownResult,
|
|
192
207
|
ParsingJobStructuredResult,
|
|
193
208
|
ParsingJobTextResult,
|
|
209
|
+
ParsingMode,
|
|
194
210
|
ParsingUsage,
|
|
195
211
|
PartitionNames,
|
|
196
212
|
Permission,
|
|
@@ -230,7 +246,7 @@ from .types import (
|
|
|
230
246
|
PipelineTransformConfig_Advanced,
|
|
231
247
|
PipelineTransformConfig_Auto,
|
|
232
248
|
PipelineType,
|
|
233
|
-
|
|
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,10 +379,14 @@ __all__ = [
|
|
|
366
379
|
"AutoTransformConfig",
|
|
367
380
|
"AzureOpenAiEmbedding",
|
|
368
381
|
"AzureOpenAiEmbeddingConfig",
|
|
369
|
-
"
|
|
382
|
+
"BasePlan",
|
|
383
|
+
"BasePlanMetronomePlanType",
|
|
384
|
+
"BasePlanName",
|
|
385
|
+
"BasePlanPlanFrequency",
|
|
370
386
|
"BasePromptTemplate",
|
|
371
387
|
"BedrockEmbedding",
|
|
372
388
|
"BedrockEmbeddingConfig",
|
|
389
|
+
"BillingPeriod",
|
|
373
390
|
"BoxAuthMechanism",
|
|
374
391
|
"CharacterChunkingConfig",
|
|
375
392
|
"CharacterSplitter",
|
|
@@ -408,6 +425,7 @@ __all__ = [
|
|
|
408
425
|
"ConfigurableTransformationNames",
|
|
409
426
|
"ConfiguredTransformationItem",
|
|
410
427
|
"ConfiguredTransformationItemComponent",
|
|
428
|
+
"CreditType",
|
|
411
429
|
"DataSink",
|
|
412
430
|
"DataSinkComponent",
|
|
413
431
|
"DataSinkCreate",
|
|
@@ -462,9 +480,11 @@ __all__ = [
|
|
|
462
480
|
"EvalQuestionCreate",
|
|
463
481
|
"EvalQuestionResult",
|
|
464
482
|
"ExtractAgent",
|
|
483
|
+
"ExtractAgentCreate",
|
|
465
484
|
"ExtractAgentCreateDataSchema",
|
|
466
485
|
"ExtractAgentCreateDataSchemaZeroValue",
|
|
467
486
|
"ExtractAgentDataSchemaValue",
|
|
487
|
+
"ExtractAgentUpdate",
|
|
468
488
|
"ExtractAgentUpdateDataSchema",
|
|
469
489
|
"ExtractAgentUpdateDataSchemaZeroValue",
|
|
470
490
|
"ExtractConfig",
|
|
@@ -484,6 +504,7 @@ __all__ = [
|
|
|
484
504
|
"ExtractRunDataSchemaValue",
|
|
485
505
|
"ExtractRunDataZeroValue",
|
|
486
506
|
"ExtractRunExtractionMetadataValue",
|
|
507
|
+
"ExtractSchemaValidateRequest",
|
|
487
508
|
"ExtractSchemaValidateRequestDataSchema",
|
|
488
509
|
"ExtractSchemaValidateRequestDataSchemaZeroValue",
|
|
489
510
|
"ExtractSchemaValidateResponse",
|
|
@@ -498,6 +519,7 @@ __all__ = [
|
|
|
498
519
|
"FileResourceInfoValue",
|
|
499
520
|
"FilterCondition",
|
|
500
521
|
"FilterOperator",
|
|
522
|
+
"FreeCreditsUsage",
|
|
501
523
|
"GeminiEmbedding",
|
|
502
524
|
"GeminiEmbeddingConfig",
|
|
503
525
|
"HttpValidationError",
|
|
@@ -507,7 +529,6 @@ __all__ = [
|
|
|
507
529
|
"ImageBlock",
|
|
508
530
|
"IngestionErrorResponse",
|
|
509
531
|
"InputMessage",
|
|
510
|
-
"IntervalUsageAndPlan",
|
|
511
532
|
"JobNameMapping",
|
|
512
533
|
"JobNames",
|
|
513
534
|
"JobRecord",
|
|
@@ -552,6 +573,7 @@ __all__ = [
|
|
|
552
573
|
"PageSegmentationConfig",
|
|
553
574
|
"PageSplitterNodeParser",
|
|
554
575
|
"PaginatedJobsHistoryWithMetrics",
|
|
576
|
+
"PaginatedListCloudDocumentsResponse",
|
|
555
577
|
"PaginatedListPipelineFilesResponse",
|
|
556
578
|
"PaginatedReportResponse",
|
|
557
579
|
"ParsePlanLevel",
|
|
@@ -562,6 +584,7 @@ __all__ = [
|
|
|
562
584
|
"ParsingJobMarkdownResult",
|
|
563
585
|
"ParsingJobStructuredResult",
|
|
564
586
|
"ParsingJobTextResult",
|
|
587
|
+
"ParsingMode",
|
|
565
588
|
"ParsingUsage",
|
|
566
589
|
"PartitionNames",
|
|
567
590
|
"Permission",
|
|
@@ -611,7 +634,7 @@ __all__ = [
|
|
|
611
634
|
"PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
|
|
612
635
|
"PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
|
|
613
636
|
"PipelineUpdateTransformConfig",
|
|
614
|
-
"
|
|
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
|
-
]
|