llama-cloud 0.1.24__py3-none-any.whl → 0.1.26__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 +62 -2
- llama_cloud/resources/__init__.py +18 -1
- llama_cloud/resources/data_sources/__init__.py +2 -2
- llama_cloud/resources/data_sources/client.py +5 -5
- llama_cloud/resources/data_sources/types/__init__.py +2 -1
- llama_cloud/resources/data_sources/types/data_source_update_custom_metadata_value.py +7 -0
- llama_cloud/resources/files/__init__.py +3 -0
- llama_cloud/resources/files/client.py +15 -13
- llama_cloud/resources/files/types/__init__.py +7 -0
- llama_cloud/resources/files/types/file_create_from_url_resource_info_value.py +7 -0
- llama_cloud/resources/files/types/file_create_permission_info_value.py +7 -0
- llama_cloud/resources/files/types/file_create_resource_info_value.py +5 -0
- llama_cloud/resources/llama_extract/__init__.py +8 -0
- llama_cloud/resources/llama_extract/types/__init__.py +8 -0
- llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema.py +4 -2
- llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema_zero_value.py +7 -0
- llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema.py +4 -2
- llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema_zero_value.py +7 -0
- llama_cloud/resources/llama_extract/types/extract_job_create_batch_data_schema_override.py +4 -2
- llama_cloud/resources/llama_extract/types/extract_job_create_batch_data_schema_override_zero_value.py +7 -0
- llama_cloud/resources/llama_extract/types/extract_schema_validate_request_data_schema.py +4 -2
- llama_cloud/resources/llama_extract/types/extract_schema_validate_request_data_schema_zero_value.py +7 -0
- llama_cloud/resources/pipelines/__init__.py +4 -0
- llama_cloud/resources/pipelines/client.py +20 -9
- llama_cloud/resources/pipelines/types/__init__.py +4 -0
- llama_cloud/resources/pipelines/types/pipeline_file_update_custom_metadata_value.py +7 -0
- llama_cloud/resources/pipelines/types/retrieval_params_search_filters_inference_schema_value.py +7 -0
- llama_cloud/types/__init__.py +44 -2
- llama_cloud/types/data_source.py +2 -2
- llama_cloud/types/data_source_create.py +2 -2
- llama_cloud/types/data_source_create_custom_metadata_value.py +7 -0
- llama_cloud/types/data_source_custom_metadata_value.py +7 -0
- llama_cloud/types/extract_agent.py +4 -2
- llama_cloud/types/extract_agent_data_schema_value.py +5 -0
- llama_cloud/types/extract_config.py +3 -0
- llama_cloud/types/extract_job_create_data_schema_override.py +4 -2
- llama_cloud/types/extract_job_create_data_schema_override_zero_value.py +7 -0
- llama_cloud/types/extract_resultset.py +2 -2
- llama_cloud/types/extract_resultset_data.py +4 -2
- llama_cloud/types/extract_resultset_data_item_value.py +7 -0
- llama_cloud/types/extract_resultset_data_zero_value.py +7 -0
- llama_cloud/types/extract_resultset_extraction_metadata_value.py +7 -0
- llama_cloud/types/extract_run.py +4 -3
- llama_cloud/types/extract_run_data.py +4 -2
- llama_cloud/types/extract_run_data_item_value.py +5 -0
- llama_cloud/types/extract_run_data_schema_value.py +5 -0
- llama_cloud/types/extract_run_data_zero_value.py +5 -0
- llama_cloud/types/extract_run_extraction_metadata_value.py +7 -0
- llama_cloud/types/extract_schema_validate_response.py +2 -2
- llama_cloud/types/extract_schema_validate_response_data_schema_value.py +7 -0
- llama_cloud/types/file.py +4 -3
- llama_cloud/types/file_permission_info_value.py +5 -0
- llama_cloud/types/file_resource_info_value.py +5 -0
- llama_cloud/types/metadata_filter.py +1 -1
- llama_cloud/types/pipeline_data_source.py +2 -2
- llama_cloud/types/pipeline_data_source_custom_metadata_value.py +7 -0
- llama_cloud/types/pipeline_file.py +8 -5
- llama_cloud/types/pipeline_file_config_hash_value.py +5 -0
- llama_cloud/types/pipeline_file_create.py +2 -2
- llama_cloud/types/pipeline_file_create_custom_metadata_value.py +7 -0
- llama_cloud/types/pipeline_file_custom_metadata_value.py +7 -0
- llama_cloud/types/pipeline_file_permission_info_value.py +7 -0
- llama_cloud/types/pipeline_file_resource_info_value.py +7 -0
- llama_cloud/types/preset_retrieval_params.py +6 -2
- llama_cloud/types/preset_retrieval_params_search_filters_inference_schema_value.py +7 -0
- {llama_cloud-0.1.24.dist-info → llama_cloud-0.1.26.dist-info}/METADATA +3 -2
- {llama_cloud-0.1.24.dist-info → llama_cloud-0.1.26.dist-info}/RECORD +69 -38
- {llama_cloud-0.1.24.dist-info → llama_cloud-0.1.26.dist-info}/WHEEL +1 -1
- llama_cloud/types/json_type.py +0 -9
- {llama_cloud-0.1.24.dist-info → llama_cloud-0.1.26.dist-info}/LICENSE +0 -0
llama_cloud/__init__.py
CHANGED
|
@@ -69,6 +69,8 @@ from .types import (
|
|
|
69
69
|
DataSourceComponent,
|
|
70
70
|
DataSourceCreate,
|
|
71
71
|
DataSourceCreateComponent,
|
|
72
|
+
DataSourceCreateCustomMetadataValue,
|
|
73
|
+
DataSourceCustomMetadataValue,
|
|
72
74
|
DataSourceUpdateDispatcherConfig,
|
|
73
75
|
DeleteParams,
|
|
74
76
|
DocumentBlock,
|
|
@@ -97,17 +99,27 @@ from .types import (
|
|
|
97
99
|
EmbeddingModelConfigUpdateEmbeddingConfig_VertexaiEmbedding,
|
|
98
100
|
EvalExecutionParams,
|
|
99
101
|
ExtractAgent,
|
|
102
|
+
ExtractAgentDataSchemaValue,
|
|
100
103
|
ExtractConfig,
|
|
101
104
|
ExtractJob,
|
|
102
105
|
ExtractJobCreate,
|
|
103
106
|
ExtractJobCreateDataSchemaOverride,
|
|
107
|
+
ExtractJobCreateDataSchemaOverrideZeroValue,
|
|
104
108
|
ExtractMode,
|
|
105
109
|
ExtractModels,
|
|
106
110
|
ExtractResultset,
|
|
107
111
|
ExtractResultsetData,
|
|
112
|
+
ExtractResultsetDataItemValue,
|
|
113
|
+
ExtractResultsetDataZeroValue,
|
|
114
|
+
ExtractResultsetExtractionMetadataValue,
|
|
108
115
|
ExtractRun,
|
|
109
116
|
ExtractRunData,
|
|
117
|
+
ExtractRunDataItemValue,
|
|
118
|
+
ExtractRunDataSchemaValue,
|
|
119
|
+
ExtractRunDataZeroValue,
|
|
120
|
+
ExtractRunExtractionMetadataValue,
|
|
110
121
|
ExtractSchemaValidateResponse,
|
|
122
|
+
ExtractSchemaValidateResponseDataSchemaValue,
|
|
111
123
|
ExtractState,
|
|
112
124
|
ExtractTarget,
|
|
113
125
|
FailPageMode,
|
|
@@ -115,6 +127,8 @@ from .types import (
|
|
|
115
127
|
FileCountByStatusResponse,
|
|
116
128
|
FileIdPresignedUrl,
|
|
117
129
|
FileParsePublic,
|
|
130
|
+
FilePermissionInfoValue,
|
|
131
|
+
FileResourceInfoValue,
|
|
118
132
|
FilterCondition,
|
|
119
133
|
FilterOperator,
|
|
120
134
|
FreeCreditsUsage,
|
|
@@ -141,7 +155,6 @@ from .types import (
|
|
|
141
155
|
JobRecordParameters_PipelineFileUpdater,
|
|
142
156
|
JobRecordParameters_PipelineManagedIngestion,
|
|
143
157
|
JobRecordWithUsageMetrics,
|
|
144
|
-
JsonType,
|
|
145
158
|
LLamaParseTransformConfig,
|
|
146
159
|
LegacyParseJobConfig,
|
|
147
160
|
LlamaExtractSettings,
|
|
@@ -212,6 +225,7 @@ from .types import (
|
|
|
212
225
|
PipelineDataSource,
|
|
213
226
|
PipelineDataSourceComponent,
|
|
214
227
|
PipelineDataSourceCreate,
|
|
228
|
+
PipelineDataSourceCustomMetadataValue,
|
|
215
229
|
PipelineDataSourceStatus,
|
|
216
230
|
PipelineDeployment,
|
|
217
231
|
PipelineEmbeddingConfig,
|
|
@@ -223,7 +237,12 @@ from .types import (
|
|
|
223
237
|
PipelineEmbeddingConfig_OpenaiEmbedding,
|
|
224
238
|
PipelineEmbeddingConfig_VertexaiEmbedding,
|
|
225
239
|
PipelineFile,
|
|
240
|
+
PipelineFileConfigHashValue,
|
|
226
241
|
PipelineFileCreate,
|
|
242
|
+
PipelineFileCreateCustomMetadataValue,
|
|
243
|
+
PipelineFileCustomMetadataValue,
|
|
244
|
+
PipelineFilePermissionInfoValue,
|
|
245
|
+
PipelineFileResourceInfoValue,
|
|
227
246
|
PipelineFileStatus,
|
|
228
247
|
PipelineFileUpdateDispatcherConfig,
|
|
229
248
|
PipelineFileUpdaterConfig,
|
|
@@ -239,6 +258,7 @@ from .types import (
|
|
|
239
258
|
Pooling,
|
|
240
259
|
PresetCompositeRetrievalParams,
|
|
241
260
|
PresetRetrievalParams,
|
|
261
|
+
PresetRetrievalParamsSearchFiltersInferenceSchemaValue,
|
|
242
262
|
PresignedUrl,
|
|
243
263
|
ProgressEvent,
|
|
244
264
|
ProgressEventStatus,
|
|
@@ -306,6 +326,7 @@ from .errors import UnprocessableEntityError
|
|
|
306
326
|
from .resources import (
|
|
307
327
|
DataSinkUpdateComponent,
|
|
308
328
|
DataSourceUpdateComponent,
|
|
329
|
+
DataSourceUpdateCustomMetadataValue,
|
|
309
330
|
EmbeddingModelConfigCreateEmbeddingConfig,
|
|
310
331
|
EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding,
|
|
311
332
|
EmbeddingModelConfigCreateEmbeddingConfig_BedrockEmbedding,
|
|
@@ -315,9 +336,17 @@ from .resources import (
|
|
|
315
336
|
EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
|
|
316
337
|
EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
|
|
317
338
|
ExtractAgentCreateDataSchema,
|
|
339
|
+
ExtractAgentCreateDataSchemaZeroValue,
|
|
318
340
|
ExtractAgentUpdateDataSchema,
|
|
341
|
+
ExtractAgentUpdateDataSchemaZeroValue,
|
|
319
342
|
ExtractJobCreateBatchDataSchemaOverride,
|
|
343
|
+
ExtractJobCreateBatchDataSchemaOverrideZeroValue,
|
|
320
344
|
ExtractSchemaValidateRequestDataSchema,
|
|
345
|
+
ExtractSchemaValidateRequestDataSchemaZeroValue,
|
|
346
|
+
FileCreateFromUrlResourceInfoValue,
|
|
347
|
+
FileCreatePermissionInfoValue,
|
|
348
|
+
FileCreateResourceInfoValue,
|
|
349
|
+
PipelineFileUpdateCustomMetadataValue,
|
|
321
350
|
PipelineUpdateEmbeddingConfig,
|
|
322
351
|
PipelineUpdateEmbeddingConfig_AzureEmbedding,
|
|
323
352
|
PipelineUpdateEmbeddingConfig_BedrockEmbedding,
|
|
@@ -327,6 +356,7 @@ from .resources import (
|
|
|
327
356
|
PipelineUpdateEmbeddingConfig_OpenaiEmbedding,
|
|
328
357
|
PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
|
|
329
358
|
PipelineUpdateTransformConfig,
|
|
359
|
+
RetrievalParamsSearchFiltersInferenceSchemaValue,
|
|
330
360
|
UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction,
|
|
331
361
|
beta,
|
|
332
362
|
chat_apps,
|
|
@@ -416,7 +446,10 @@ __all__ = [
|
|
|
416
446
|
"DataSourceComponent",
|
|
417
447
|
"DataSourceCreate",
|
|
418
448
|
"DataSourceCreateComponent",
|
|
449
|
+
"DataSourceCreateCustomMetadataValue",
|
|
450
|
+
"DataSourceCustomMetadataValue",
|
|
419
451
|
"DataSourceUpdateComponent",
|
|
452
|
+
"DataSourceUpdateCustomMetadataValue",
|
|
420
453
|
"DataSourceUpdateDispatcherConfig",
|
|
421
454
|
"DeleteParams",
|
|
422
455
|
"DocumentBlock",
|
|
@@ -454,27 +487,46 @@ __all__ = [
|
|
|
454
487
|
"EvalExecutionParams",
|
|
455
488
|
"ExtractAgent",
|
|
456
489
|
"ExtractAgentCreateDataSchema",
|
|
490
|
+
"ExtractAgentCreateDataSchemaZeroValue",
|
|
491
|
+
"ExtractAgentDataSchemaValue",
|
|
457
492
|
"ExtractAgentUpdateDataSchema",
|
|
493
|
+
"ExtractAgentUpdateDataSchemaZeroValue",
|
|
458
494
|
"ExtractConfig",
|
|
459
495
|
"ExtractJob",
|
|
460
496
|
"ExtractJobCreate",
|
|
461
497
|
"ExtractJobCreateBatchDataSchemaOverride",
|
|
498
|
+
"ExtractJobCreateBatchDataSchemaOverrideZeroValue",
|
|
462
499
|
"ExtractJobCreateDataSchemaOverride",
|
|
500
|
+
"ExtractJobCreateDataSchemaOverrideZeroValue",
|
|
463
501
|
"ExtractMode",
|
|
464
502
|
"ExtractModels",
|
|
465
503
|
"ExtractResultset",
|
|
466
504
|
"ExtractResultsetData",
|
|
505
|
+
"ExtractResultsetDataItemValue",
|
|
506
|
+
"ExtractResultsetDataZeroValue",
|
|
507
|
+
"ExtractResultsetExtractionMetadataValue",
|
|
467
508
|
"ExtractRun",
|
|
468
509
|
"ExtractRunData",
|
|
510
|
+
"ExtractRunDataItemValue",
|
|
511
|
+
"ExtractRunDataSchemaValue",
|
|
512
|
+
"ExtractRunDataZeroValue",
|
|
513
|
+
"ExtractRunExtractionMetadataValue",
|
|
469
514
|
"ExtractSchemaValidateRequestDataSchema",
|
|
515
|
+
"ExtractSchemaValidateRequestDataSchemaZeroValue",
|
|
470
516
|
"ExtractSchemaValidateResponse",
|
|
517
|
+
"ExtractSchemaValidateResponseDataSchemaValue",
|
|
471
518
|
"ExtractState",
|
|
472
519
|
"ExtractTarget",
|
|
473
520
|
"FailPageMode",
|
|
474
521
|
"File",
|
|
475
522
|
"FileCountByStatusResponse",
|
|
523
|
+
"FileCreateFromUrlResourceInfoValue",
|
|
524
|
+
"FileCreatePermissionInfoValue",
|
|
525
|
+
"FileCreateResourceInfoValue",
|
|
476
526
|
"FileIdPresignedUrl",
|
|
477
527
|
"FileParsePublic",
|
|
528
|
+
"FilePermissionInfoValue",
|
|
529
|
+
"FileResourceInfoValue",
|
|
478
530
|
"FilterCondition",
|
|
479
531
|
"FilterOperator",
|
|
480
532
|
"FreeCreditsUsage",
|
|
@@ -501,7 +553,6 @@ __all__ = [
|
|
|
501
553
|
"JobRecordParameters_PipelineFileUpdater",
|
|
502
554
|
"JobRecordParameters_PipelineManagedIngestion",
|
|
503
555
|
"JobRecordWithUsageMetrics",
|
|
504
|
-
"JsonType",
|
|
505
556
|
"LLamaParseTransformConfig",
|
|
506
557
|
"LegacyParseJobConfig",
|
|
507
558
|
"LlamaCloudEnvironment",
|
|
@@ -573,6 +624,7 @@ __all__ = [
|
|
|
573
624
|
"PipelineDataSource",
|
|
574
625
|
"PipelineDataSourceComponent",
|
|
575
626
|
"PipelineDataSourceCreate",
|
|
627
|
+
"PipelineDataSourceCustomMetadataValue",
|
|
576
628
|
"PipelineDataSourceStatus",
|
|
577
629
|
"PipelineDeployment",
|
|
578
630
|
"PipelineEmbeddingConfig",
|
|
@@ -584,8 +636,14 @@ __all__ = [
|
|
|
584
636
|
"PipelineEmbeddingConfig_OpenaiEmbedding",
|
|
585
637
|
"PipelineEmbeddingConfig_VertexaiEmbedding",
|
|
586
638
|
"PipelineFile",
|
|
639
|
+
"PipelineFileConfigHashValue",
|
|
587
640
|
"PipelineFileCreate",
|
|
641
|
+
"PipelineFileCreateCustomMetadataValue",
|
|
642
|
+
"PipelineFileCustomMetadataValue",
|
|
643
|
+
"PipelineFilePermissionInfoValue",
|
|
644
|
+
"PipelineFileResourceInfoValue",
|
|
588
645
|
"PipelineFileStatus",
|
|
646
|
+
"PipelineFileUpdateCustomMetadataValue",
|
|
589
647
|
"PipelineFileUpdateDispatcherConfig",
|
|
590
648
|
"PipelineFileUpdaterConfig",
|
|
591
649
|
"PipelineManagedIngestionJobParams",
|
|
@@ -609,6 +667,7 @@ __all__ = [
|
|
|
609
667
|
"Pooling",
|
|
610
668
|
"PresetCompositeRetrievalParams",
|
|
611
669
|
"PresetRetrievalParams",
|
|
670
|
+
"PresetRetrievalParamsSearchFiltersInferenceSchemaValue",
|
|
612
671
|
"PresignedUrl",
|
|
613
672
|
"ProgressEvent",
|
|
614
673
|
"ProgressEventStatus",
|
|
@@ -639,6 +698,7 @@ __all__ = [
|
|
|
639
698
|
"ReportStateEvent",
|
|
640
699
|
"ReportUpdateEvent",
|
|
641
700
|
"RetrievalMode",
|
|
701
|
+
"RetrievalParamsSearchFiltersInferenceSchemaValue",
|
|
642
702
|
"RetrieveResults",
|
|
643
703
|
"Retriever",
|
|
644
704
|
"RetrieverCreate",
|
|
@@ -18,7 +18,7 @@ from . import (
|
|
|
18
18
|
retrievers,
|
|
19
19
|
)
|
|
20
20
|
from .data_sinks import DataSinkUpdateComponent
|
|
21
|
-
from .data_sources import DataSourceUpdateComponent
|
|
21
|
+
from .data_sources import DataSourceUpdateComponent, DataSourceUpdateCustomMetadataValue
|
|
22
22
|
from .embedding_model_configs import (
|
|
23
23
|
EmbeddingModelConfigCreateEmbeddingConfig,
|
|
24
24
|
EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding,
|
|
@@ -29,13 +29,19 @@ from .embedding_model_configs import (
|
|
|
29
29
|
EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
|
|
30
30
|
EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
|
|
31
31
|
)
|
|
32
|
+
from .files import FileCreateFromUrlResourceInfoValue, FileCreatePermissionInfoValue, FileCreateResourceInfoValue
|
|
32
33
|
from .llama_extract import (
|
|
33
34
|
ExtractAgentCreateDataSchema,
|
|
35
|
+
ExtractAgentCreateDataSchemaZeroValue,
|
|
34
36
|
ExtractAgentUpdateDataSchema,
|
|
37
|
+
ExtractAgentUpdateDataSchemaZeroValue,
|
|
35
38
|
ExtractJobCreateBatchDataSchemaOverride,
|
|
39
|
+
ExtractJobCreateBatchDataSchemaOverrideZeroValue,
|
|
36
40
|
ExtractSchemaValidateRequestDataSchema,
|
|
41
|
+
ExtractSchemaValidateRequestDataSchemaZeroValue,
|
|
37
42
|
)
|
|
38
43
|
from .pipelines import (
|
|
44
|
+
PipelineFileUpdateCustomMetadataValue,
|
|
39
45
|
PipelineUpdateEmbeddingConfig,
|
|
40
46
|
PipelineUpdateEmbeddingConfig_AzureEmbedding,
|
|
41
47
|
PipelineUpdateEmbeddingConfig_BedrockEmbedding,
|
|
@@ -45,12 +51,14 @@ from .pipelines import (
|
|
|
45
51
|
PipelineUpdateEmbeddingConfig_OpenaiEmbedding,
|
|
46
52
|
PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
|
|
47
53
|
PipelineUpdateTransformConfig,
|
|
54
|
+
RetrievalParamsSearchFiltersInferenceSchemaValue,
|
|
48
55
|
)
|
|
49
56
|
from .reports import UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction
|
|
50
57
|
|
|
51
58
|
__all__ = [
|
|
52
59
|
"DataSinkUpdateComponent",
|
|
53
60
|
"DataSourceUpdateComponent",
|
|
61
|
+
"DataSourceUpdateCustomMetadataValue",
|
|
54
62
|
"EmbeddingModelConfigCreateEmbeddingConfig",
|
|
55
63
|
"EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding",
|
|
56
64
|
"EmbeddingModelConfigCreateEmbeddingConfig_BedrockEmbedding",
|
|
@@ -60,9 +68,17 @@ __all__ = [
|
|
|
60
68
|
"EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding",
|
|
61
69
|
"EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding",
|
|
62
70
|
"ExtractAgentCreateDataSchema",
|
|
71
|
+
"ExtractAgentCreateDataSchemaZeroValue",
|
|
63
72
|
"ExtractAgentUpdateDataSchema",
|
|
73
|
+
"ExtractAgentUpdateDataSchemaZeroValue",
|
|
64
74
|
"ExtractJobCreateBatchDataSchemaOverride",
|
|
75
|
+
"ExtractJobCreateBatchDataSchemaOverrideZeroValue",
|
|
65
76
|
"ExtractSchemaValidateRequestDataSchema",
|
|
77
|
+
"ExtractSchemaValidateRequestDataSchemaZeroValue",
|
|
78
|
+
"FileCreateFromUrlResourceInfoValue",
|
|
79
|
+
"FileCreatePermissionInfoValue",
|
|
80
|
+
"FileCreateResourceInfoValue",
|
|
81
|
+
"PipelineFileUpdateCustomMetadataValue",
|
|
66
82
|
"PipelineUpdateEmbeddingConfig",
|
|
67
83
|
"PipelineUpdateEmbeddingConfig_AzureEmbedding",
|
|
68
84
|
"PipelineUpdateEmbeddingConfig_BedrockEmbedding",
|
|
@@ -72,6 +88,7 @@ __all__ = [
|
|
|
72
88
|
"PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
|
|
73
89
|
"PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
|
|
74
90
|
"PipelineUpdateTransformConfig",
|
|
91
|
+
"RetrievalParamsSearchFiltersInferenceSchemaValue",
|
|
75
92
|
"UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
|
|
76
93
|
"beta",
|
|
77
94
|
"chat_apps",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import DataSourceUpdateComponent
|
|
3
|
+
from .types import DataSourceUpdateComponent, DataSourceUpdateCustomMetadataValue
|
|
4
4
|
|
|
5
|
-
__all__ = ["DataSourceUpdateComponent"]
|
|
5
|
+
__all__ = ["DataSourceUpdateComponent", "DataSourceUpdateCustomMetadataValue"]
|
|
@@ -13,8 +13,8 @@ from ...types.configurable_data_source_names import ConfigurableDataSourceNames
|
|
|
13
13
|
from ...types.data_source import DataSource
|
|
14
14
|
from ...types.data_source_create import DataSourceCreate
|
|
15
15
|
from ...types.http_validation_error import HttpValidationError
|
|
16
|
-
from ...types.json_type import JsonType
|
|
17
16
|
from .types.data_source_update_component import DataSourceUpdateComponent
|
|
17
|
+
from .types.data_source_update_custom_metadata_value import DataSourceUpdateCustomMetadataValue
|
|
18
18
|
|
|
19
19
|
try:
|
|
20
20
|
import pydantic
|
|
@@ -203,7 +203,7 @@ class DataSourcesClient:
|
|
|
203
203
|
*,
|
|
204
204
|
name: typing.Optional[str] = OMIT,
|
|
205
205
|
source_type: ConfigurableDataSourceNames,
|
|
206
|
-
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[
|
|
206
|
+
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]] = OMIT,
|
|
207
207
|
component: typing.Optional[DataSourceUpdateComponent] = OMIT,
|
|
208
208
|
) -> DataSource:
|
|
209
209
|
"""
|
|
@@ -216,7 +216,7 @@ class DataSourcesClient:
|
|
|
216
216
|
|
|
217
217
|
- source_type: ConfigurableDataSourceNames.
|
|
218
218
|
|
|
219
|
-
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[
|
|
219
|
+
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]].
|
|
220
220
|
|
|
221
221
|
- component: typing.Optional[DataSourceUpdateComponent]. Component that implements the data source
|
|
222
222
|
---
|
|
@@ -463,7 +463,7 @@ class AsyncDataSourcesClient:
|
|
|
463
463
|
*,
|
|
464
464
|
name: typing.Optional[str] = OMIT,
|
|
465
465
|
source_type: ConfigurableDataSourceNames,
|
|
466
|
-
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[
|
|
466
|
+
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]] = OMIT,
|
|
467
467
|
component: typing.Optional[DataSourceUpdateComponent] = OMIT,
|
|
468
468
|
) -> DataSource:
|
|
469
469
|
"""
|
|
@@ -476,7 +476,7 @@ class AsyncDataSourcesClient:
|
|
|
476
476
|
|
|
477
477
|
- source_type: ConfigurableDataSourceNames.
|
|
478
478
|
|
|
479
|
-
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[
|
|
479
|
+
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]].
|
|
480
480
|
|
|
481
481
|
- component: typing.Optional[DataSourceUpdateComponent]. Component that implements the data source
|
|
482
482
|
---
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .data_source_update_component import DataSourceUpdateComponent
|
|
4
|
+
from .data_source_update_custom_metadata_value import DataSourceUpdateCustomMetadataValue
|
|
4
5
|
|
|
5
|
-
__all__ = ["DataSourceUpdateComponent"]
|
|
6
|
+
__all__ = ["DataSourceUpdateComponent", "DataSourceUpdateCustomMetadataValue"]
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
+
from .types import FileCreateFromUrlResourceInfoValue, FileCreatePermissionInfoValue, FileCreateResourceInfoValue
|
|
4
|
+
|
|
5
|
+
__all__ = ["FileCreateFromUrlResourceInfoValue", "FileCreatePermissionInfoValue", "FileCreateResourceInfoValue"]
|
|
@@ -13,10 +13,12 @@ from ...errors.unprocessable_entity_error import UnprocessableEntityError
|
|
|
13
13
|
from ...types.file import File
|
|
14
14
|
from ...types.file_id_presigned_url import FileIdPresignedUrl
|
|
15
15
|
from ...types.http_validation_error import HttpValidationError
|
|
16
|
-
from ...types.json_type import JsonType
|
|
17
16
|
from ...types.page_figure_metadata import PageFigureMetadata
|
|
18
17
|
from ...types.page_screenshot_metadata import PageScreenshotMetadata
|
|
19
18
|
from ...types.presigned_url import PresignedUrl
|
|
19
|
+
from .types.file_create_from_url_resource_info_value import FileCreateFromUrlResourceInfoValue
|
|
20
|
+
from .types.file_create_permission_info_value import FileCreatePermissionInfoValue
|
|
21
|
+
from .types.file_create_resource_info_value import FileCreateResourceInfoValue
|
|
20
22
|
|
|
21
23
|
try:
|
|
22
24
|
import pydantic
|
|
@@ -198,8 +200,8 @@ class FilesClient:
|
|
|
198
200
|
external_file_id: typing.Optional[str] = OMIT,
|
|
199
201
|
file_size: typing.Optional[int] = OMIT,
|
|
200
202
|
last_modified_at: typing.Optional[dt.datetime] = OMIT,
|
|
201
|
-
resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
202
|
-
permission_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
203
|
+
resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]] = OMIT,
|
|
204
|
+
permission_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreatePermissionInfoValue]]] = OMIT,
|
|
203
205
|
data_source_id: typing.Optional[str] = OMIT,
|
|
204
206
|
) -> FileIdPresignedUrl:
|
|
205
207
|
"""
|
|
@@ -220,9 +222,9 @@ class FilesClient:
|
|
|
220
222
|
|
|
221
223
|
- last_modified_at: typing.Optional[dt.datetime].
|
|
222
224
|
|
|
223
|
-
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
225
|
+
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]].
|
|
224
226
|
|
|
225
|
-
- permission_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
227
|
+
- permission_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreatePermissionInfoValue]]].
|
|
226
228
|
|
|
227
229
|
- data_source_id: typing.Optional[str].
|
|
228
230
|
---
|
|
@@ -314,7 +316,7 @@ class FilesClient:
|
|
|
314
316
|
request_headers: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
|
|
315
317
|
verify_ssl: typing.Optional[bool] = OMIT,
|
|
316
318
|
follow_redirects: typing.Optional[bool] = OMIT,
|
|
317
|
-
resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
319
|
+
resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateFromUrlResourceInfoValue]]] = OMIT,
|
|
318
320
|
) -> File:
|
|
319
321
|
"""
|
|
320
322
|
Upload a file to the project from a URL.
|
|
@@ -343,7 +345,7 @@ class FilesClient:
|
|
|
343
345
|
|
|
344
346
|
- follow_redirects: typing.Optional[bool]. Whether to follow redirects when downloading the file
|
|
345
347
|
|
|
346
|
-
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
348
|
+
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateFromUrlResourceInfoValue]]].
|
|
347
349
|
---
|
|
348
350
|
from llama_cloud.client import LlamaCloud
|
|
349
351
|
|
|
@@ -825,8 +827,8 @@ class AsyncFilesClient:
|
|
|
825
827
|
external_file_id: typing.Optional[str] = OMIT,
|
|
826
828
|
file_size: typing.Optional[int] = OMIT,
|
|
827
829
|
last_modified_at: typing.Optional[dt.datetime] = OMIT,
|
|
828
|
-
resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
829
|
-
permission_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
830
|
+
resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]] = OMIT,
|
|
831
|
+
permission_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreatePermissionInfoValue]]] = OMIT,
|
|
830
832
|
data_source_id: typing.Optional[str] = OMIT,
|
|
831
833
|
) -> FileIdPresignedUrl:
|
|
832
834
|
"""
|
|
@@ -847,9 +849,9 @@ class AsyncFilesClient:
|
|
|
847
849
|
|
|
848
850
|
- last_modified_at: typing.Optional[dt.datetime].
|
|
849
851
|
|
|
850
|
-
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
852
|
+
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]].
|
|
851
853
|
|
|
852
|
-
- permission_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
854
|
+
- permission_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreatePermissionInfoValue]]].
|
|
853
855
|
|
|
854
856
|
- data_source_id: typing.Optional[str].
|
|
855
857
|
---
|
|
@@ -941,7 +943,7 @@ class AsyncFilesClient:
|
|
|
941
943
|
request_headers: typing.Optional[typing.Dict[str, typing.Optional[str]]] = OMIT,
|
|
942
944
|
verify_ssl: typing.Optional[bool] = OMIT,
|
|
943
945
|
follow_redirects: typing.Optional[bool] = OMIT,
|
|
944
|
-
resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
946
|
+
resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateFromUrlResourceInfoValue]]] = OMIT,
|
|
945
947
|
) -> File:
|
|
946
948
|
"""
|
|
947
949
|
Upload a file to the project from a URL.
|
|
@@ -970,7 +972,7 @@ class AsyncFilesClient:
|
|
|
970
972
|
|
|
971
973
|
- follow_redirects: typing.Optional[bool]. Whether to follow redirects when downloading the file
|
|
972
974
|
|
|
973
|
-
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[
|
|
975
|
+
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateFromUrlResourceInfoValue]]].
|
|
974
976
|
---
|
|
975
977
|
from llama_cloud.client import AsyncLlamaCloud
|
|
976
978
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .file_create_from_url_resource_info_value import FileCreateFromUrlResourceInfoValue
|
|
4
|
+
from .file_create_permission_info_value import FileCreatePermissionInfoValue
|
|
5
|
+
from .file_create_resource_info_value import FileCreateResourceInfoValue
|
|
6
|
+
|
|
7
|
+
__all__ = ["FileCreateFromUrlResourceInfoValue", "FileCreatePermissionInfoValue", "FileCreateResourceInfoValue"]
|
|
@@ -2,14 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
from .types import (
|
|
4
4
|
ExtractAgentCreateDataSchema,
|
|
5
|
+
ExtractAgentCreateDataSchemaZeroValue,
|
|
5
6
|
ExtractAgentUpdateDataSchema,
|
|
7
|
+
ExtractAgentUpdateDataSchemaZeroValue,
|
|
6
8
|
ExtractJobCreateBatchDataSchemaOverride,
|
|
9
|
+
ExtractJobCreateBatchDataSchemaOverrideZeroValue,
|
|
7
10
|
ExtractSchemaValidateRequestDataSchema,
|
|
11
|
+
ExtractSchemaValidateRequestDataSchemaZeroValue,
|
|
8
12
|
)
|
|
9
13
|
|
|
10
14
|
__all__ = [
|
|
11
15
|
"ExtractAgentCreateDataSchema",
|
|
16
|
+
"ExtractAgentCreateDataSchemaZeroValue",
|
|
12
17
|
"ExtractAgentUpdateDataSchema",
|
|
18
|
+
"ExtractAgentUpdateDataSchemaZeroValue",
|
|
13
19
|
"ExtractJobCreateBatchDataSchemaOverride",
|
|
20
|
+
"ExtractJobCreateBatchDataSchemaOverrideZeroValue",
|
|
14
21
|
"ExtractSchemaValidateRequestDataSchema",
|
|
22
|
+
"ExtractSchemaValidateRequestDataSchemaZeroValue",
|
|
15
23
|
]
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .extract_agent_create_data_schema import ExtractAgentCreateDataSchema
|
|
4
|
+
from .extract_agent_create_data_schema_zero_value import ExtractAgentCreateDataSchemaZeroValue
|
|
4
5
|
from .extract_agent_update_data_schema import ExtractAgentUpdateDataSchema
|
|
6
|
+
from .extract_agent_update_data_schema_zero_value import ExtractAgentUpdateDataSchemaZeroValue
|
|
5
7
|
from .extract_job_create_batch_data_schema_override import ExtractJobCreateBatchDataSchemaOverride
|
|
8
|
+
from .extract_job_create_batch_data_schema_override_zero_value import ExtractJobCreateBatchDataSchemaOverrideZeroValue
|
|
6
9
|
from .extract_schema_validate_request_data_schema import ExtractSchemaValidateRequestDataSchema
|
|
10
|
+
from .extract_schema_validate_request_data_schema_zero_value import ExtractSchemaValidateRequestDataSchemaZeroValue
|
|
7
11
|
|
|
8
12
|
__all__ = [
|
|
9
13
|
"ExtractAgentCreateDataSchema",
|
|
14
|
+
"ExtractAgentCreateDataSchemaZeroValue",
|
|
10
15
|
"ExtractAgentUpdateDataSchema",
|
|
16
|
+
"ExtractAgentUpdateDataSchemaZeroValue",
|
|
11
17
|
"ExtractJobCreateBatchDataSchemaOverride",
|
|
18
|
+
"ExtractJobCreateBatchDataSchemaOverrideZeroValue",
|
|
12
19
|
"ExtractSchemaValidateRequestDataSchema",
|
|
20
|
+
"ExtractSchemaValidateRequestDataSchemaZeroValue",
|
|
13
21
|
]
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from .extract_agent_create_data_schema_zero_value import ExtractAgentCreateDataSchemaZeroValue
|
|
6
6
|
|
|
7
|
-
ExtractAgentCreateDataSchema = typing.Union[
|
|
7
|
+
ExtractAgentCreateDataSchema = typing.Union[
|
|
8
|
+
typing.Dict[str, typing.Optional[ExtractAgentCreateDataSchemaZeroValue]], str
|
|
9
|
+
]
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from .extract_agent_update_data_schema_zero_value import ExtractAgentUpdateDataSchemaZeroValue
|
|
6
6
|
|
|
7
|
-
ExtractAgentUpdateDataSchema = typing.Union[
|
|
7
|
+
ExtractAgentUpdateDataSchema = typing.Union[
|
|
8
|
+
typing.Dict[str, typing.Optional[ExtractAgentUpdateDataSchemaZeroValue]], str
|
|
9
|
+
]
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from .extract_job_create_batch_data_schema_override_zero_value import ExtractJobCreateBatchDataSchemaOverrideZeroValue
|
|
6
6
|
|
|
7
|
-
ExtractJobCreateBatchDataSchemaOverride = typing.Union[
|
|
7
|
+
ExtractJobCreateBatchDataSchemaOverride = typing.Union[
|
|
8
|
+
typing.Dict[str, typing.Optional[ExtractJobCreateBatchDataSchemaOverrideZeroValue]], str
|
|
9
|
+
]
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
from
|
|
5
|
+
from .extract_schema_validate_request_data_schema_zero_value import ExtractSchemaValidateRequestDataSchemaZeroValue
|
|
6
6
|
|
|
7
|
-
ExtractSchemaValidateRequestDataSchema = typing.Union[
|
|
7
|
+
ExtractSchemaValidateRequestDataSchema = typing.Union[
|
|
8
|
+
typing.Dict[str, typing.Optional[ExtractSchemaValidateRequestDataSchemaZeroValue]], str
|
|
9
|
+
]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .types import (
|
|
4
|
+
PipelineFileUpdateCustomMetadataValue,
|
|
4
5
|
PipelineUpdateEmbeddingConfig,
|
|
5
6
|
PipelineUpdateEmbeddingConfig_AzureEmbedding,
|
|
6
7
|
PipelineUpdateEmbeddingConfig_BedrockEmbedding,
|
|
@@ -10,9 +11,11 @@ from .types import (
|
|
|
10
11
|
PipelineUpdateEmbeddingConfig_OpenaiEmbedding,
|
|
11
12
|
PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
|
|
12
13
|
PipelineUpdateTransformConfig,
|
|
14
|
+
RetrievalParamsSearchFiltersInferenceSchemaValue,
|
|
13
15
|
)
|
|
14
16
|
|
|
15
17
|
__all__ = [
|
|
18
|
+
"PipelineFileUpdateCustomMetadataValue",
|
|
16
19
|
"PipelineUpdateEmbeddingConfig",
|
|
17
20
|
"PipelineUpdateEmbeddingConfig_AzureEmbedding",
|
|
18
21
|
"PipelineUpdateEmbeddingConfig_BedrockEmbedding",
|
|
@@ -22,4 +25,5 @@ __all__ = [
|
|
|
22
25
|
"PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
|
|
23
26
|
"PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
|
|
24
27
|
"PipelineUpdateTransformConfig",
|
|
28
|
+
"RetrievalParamsSearchFiltersInferenceSchemaValue",
|
|
25
29
|
]
|