llama-cloud 0.1.19__py3-none-any.whl → 0.1.20__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 +166 -26
- llama_cloud/resources/__init__.py +41 -2
- llama_cloud/resources/data_sinks/__init__.py +18 -2
- llama_cloud/resources/data_sinks/client.py +2 -94
- llama_cloud/resources/data_sinks/types/__init__.py +18 -2
- llama_cloud/resources/data_sinks/types/data_sink_update_component.py +65 -7
- llama_cloud/resources/data_sources/__init__.py +30 -2
- llama_cloud/resources/data_sources/types/__init__.py +28 -1
- llama_cloud/resources/data_sources/types/data_source_update_component.py +2 -23
- llama_cloud/resources/data_sources/types/data_source_update_component_one.py +122 -0
- llama_cloud/resources/files/client.py +18 -4
- llama_cloud/resources/parsing/client.py +8 -0
- llama_cloud/resources/pipelines/client.py +11 -11
- llama_cloud/types/__init__.py +146 -28
- llama_cloud/types/cloud_jira_data_source.py +0 -4
- llama_cloud/types/data_sink_component.py +65 -7
- llama_cloud/types/data_sink_create_component.py +65 -7
- llama_cloud/types/data_source_component.py +2 -23
- llama_cloud/types/data_source_component_one.py +122 -0
- llama_cloud/types/data_source_create_component.py +2 -23
- llama_cloud/types/data_source_create_component_one.py +122 -0
- llama_cloud/types/{base_prompt_template.py → data_source_update_dispatcher_config.py} +9 -7
- llama_cloud/types/{node_parser.py → delete_params.py} +7 -9
- llama_cloud/types/document_ingestion_job_params.py +43 -0
- llama_cloud/types/job_record.py +2 -2
- llama_cloud/types/job_record_parameters.py +111 -0
- llama_cloud/types/{page_splitter_node_parser.py → l_lama_parse_transform_config.py} +5 -10
- llama_cloud/types/legacy_parse_job_config.py +189 -0
- llama_cloud/types/llama_parse_parameters.py +1 -0
- llama_cloud/types/load_files_job_config.py +35 -0
- llama_cloud/types/parse_job_config.py +134 -0
- llama_cloud/types/pipeline.py +2 -4
- llama_cloud/types/pipeline_create.py +2 -2
- llama_cloud/types/pipeline_data_source_component.py +2 -23
- llama_cloud/types/pipeline_data_source_component_one.py +122 -0
- llama_cloud/types/pipeline_file_update_dispatcher_config.py +38 -0
- llama_cloud/types/{configured_transformation_item.py → pipeline_file_updater_config.py} +13 -12
- llama_cloud/types/pipeline_managed_ingestion_job_params.py +37 -0
- llama_cloud/types/pipeline_metadata_config.py +36 -0
- {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.20.dist-info}/METADATA +4 -2
- {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.20.dist-info}/RECORD +43 -40
- {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.20.dist-info}/WHEEL +1 -1
- llama_cloud/types/character_splitter.py +0 -46
- llama_cloud/types/code_splitter.py +0 -50
- llama_cloud/types/configured_transformation_item_component.py +0 -22
- llama_cloud/types/llm.py +0 -60
- llama_cloud/types/markdown_element_node_parser.py +0 -51
- llama_cloud/types/markdown_node_parser.py +0 -52
- llama_cloud/types/pydantic_program_mode.py +0 -41
- llama_cloud/types/sentence_splitter.py +0 -50
- llama_cloud/types/token_text_splitter.py +0 -50
- {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.20.dist-info}/LICENSE +0 -0
llama_cloud/__init__.py
CHANGED
|
@@ -21,7 +21,6 @@ from .types import (
|
|
|
21
21
|
BasePlanMetronomePlanType,
|
|
22
22
|
BasePlanName,
|
|
23
23
|
BasePlanPlanFrequency,
|
|
24
|
-
BasePromptTemplate,
|
|
25
24
|
Batch,
|
|
26
25
|
BatchItem,
|
|
27
26
|
BatchPaginatedList,
|
|
@@ -31,7 +30,6 @@ from .types import (
|
|
|
31
30
|
BillingPeriod,
|
|
32
31
|
BoxAuthMechanism,
|
|
33
32
|
CharacterChunkingConfig,
|
|
34
|
-
CharacterSplitter,
|
|
35
33
|
ChatApp,
|
|
36
34
|
ChatAppResponse,
|
|
37
35
|
ChatData,
|
|
@@ -54,7 +52,6 @@ from .types import (
|
|
|
54
52
|
CloudS3DataSource,
|
|
55
53
|
CloudSharepointDataSource,
|
|
56
54
|
CloudSlackDataSource,
|
|
57
|
-
CodeSplitter,
|
|
58
55
|
CohereEmbedding,
|
|
59
56
|
CohereEmbeddingConfig,
|
|
60
57
|
CompositeRetrievalMode,
|
|
@@ -65,21 +62,56 @@ from .types import (
|
|
|
65
62
|
ConfigurableDataSourceNames,
|
|
66
63
|
ConfigurableTransformationDefinition,
|
|
67
64
|
ConfigurableTransformationNames,
|
|
68
|
-
ConfiguredTransformationItem,
|
|
69
|
-
ConfiguredTransformationItemComponent,
|
|
70
65
|
CreditType,
|
|
71
66
|
DataSink,
|
|
72
67
|
DataSinkComponent,
|
|
68
|
+
DataSinkComponent_AzureAiSearch,
|
|
69
|
+
DataSinkComponent_Milvus,
|
|
70
|
+
DataSinkComponent_MongodbAtlas,
|
|
71
|
+
DataSinkComponent_Pinecone,
|
|
72
|
+
DataSinkComponent_Postgres,
|
|
73
|
+
DataSinkComponent_Qdrant,
|
|
73
74
|
DataSinkCreate,
|
|
74
75
|
DataSinkCreateComponent,
|
|
76
|
+
DataSinkCreateComponent_AzureAiSearch,
|
|
77
|
+
DataSinkCreateComponent_Milvus,
|
|
78
|
+
DataSinkCreateComponent_MongodbAtlas,
|
|
79
|
+
DataSinkCreateComponent_Pinecone,
|
|
80
|
+
DataSinkCreateComponent_Postgres,
|
|
81
|
+
DataSinkCreateComponent_Qdrant,
|
|
75
82
|
DataSinkDefinition,
|
|
76
83
|
DataSource,
|
|
77
84
|
DataSourceComponent,
|
|
85
|
+
DataSourceComponentOne,
|
|
86
|
+
DataSourceComponentOne_AzureStorageBlob,
|
|
87
|
+
DataSourceComponentOne_Box,
|
|
88
|
+
DataSourceComponentOne_Confluence,
|
|
89
|
+
DataSourceComponentOne_GoogleDrive,
|
|
90
|
+
DataSourceComponentOne_Jira,
|
|
91
|
+
DataSourceComponentOne_MicrosoftOnedrive,
|
|
92
|
+
DataSourceComponentOne_MicrosoftSharepoint,
|
|
93
|
+
DataSourceComponentOne_NotionPage,
|
|
94
|
+
DataSourceComponentOne_S3,
|
|
95
|
+
DataSourceComponentOne_Slack,
|
|
78
96
|
DataSourceCreate,
|
|
79
97
|
DataSourceCreateComponent,
|
|
98
|
+
DataSourceCreateComponentOne,
|
|
99
|
+
DataSourceCreateComponentOne_AzureStorageBlob,
|
|
100
|
+
DataSourceCreateComponentOne_Box,
|
|
101
|
+
DataSourceCreateComponentOne_Confluence,
|
|
102
|
+
DataSourceCreateComponentOne_GoogleDrive,
|
|
103
|
+
DataSourceCreateComponentOne_Jira,
|
|
104
|
+
DataSourceCreateComponentOne_MicrosoftOnedrive,
|
|
105
|
+
DataSourceCreateComponentOne_MicrosoftSharepoint,
|
|
106
|
+
DataSourceCreateComponentOne_NotionPage,
|
|
107
|
+
DataSourceCreateComponentOne_S3,
|
|
108
|
+
DataSourceCreateComponentOne_Slack,
|
|
80
109
|
DataSourceCreateCustomMetadataValue,
|
|
81
110
|
DataSourceCustomMetadataValue,
|
|
82
111
|
DataSourceDefinition,
|
|
112
|
+
DataSourceUpdateDispatcherConfig,
|
|
113
|
+
DeleteParams,
|
|
114
|
+
DocumentIngestionJobParams,
|
|
83
115
|
EditSuggestion,
|
|
84
116
|
EditSuggestionBlocksItem,
|
|
85
117
|
ElementSegmentationConfig,
|
|
@@ -146,7 +178,19 @@ from .types import (
|
|
|
146
178
|
JobNameMapping,
|
|
147
179
|
JobNames,
|
|
148
180
|
JobRecord,
|
|
181
|
+
JobRecordParameters,
|
|
182
|
+
JobRecordParameters_DataSourceUpdateDispatcher,
|
|
183
|
+
JobRecordParameters_DocumentIngestion,
|
|
184
|
+
JobRecordParameters_LegacyParse,
|
|
185
|
+
JobRecordParameters_LlamaParseTransform,
|
|
186
|
+
JobRecordParameters_LoadFiles,
|
|
187
|
+
JobRecordParameters_Parse,
|
|
188
|
+
JobRecordParameters_PipelineFileUpdateDispatcher,
|
|
189
|
+
JobRecordParameters_PipelineFileUpdater,
|
|
190
|
+
JobRecordParameters_PipelineManagedIngestion,
|
|
149
191
|
JobRecordWithUsageMetrics,
|
|
192
|
+
LLamaParseTransformConfig,
|
|
193
|
+
LegacyParseJobConfig,
|
|
150
194
|
LlamaExtractSettings,
|
|
151
195
|
LlamaIndexCoreBaseLlmsTypesChatMessage,
|
|
152
196
|
LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem,
|
|
@@ -155,20 +199,17 @@ from .types import (
|
|
|
155
199
|
LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text,
|
|
156
200
|
LlamaParseParameters,
|
|
157
201
|
LlamaParseSupportedFileExtensions,
|
|
158
|
-
Llm,
|
|
159
202
|
LlmModelData,
|
|
160
203
|
LlmParameters,
|
|
204
|
+
LoadFilesJobConfig,
|
|
161
205
|
ManagedIngestionStatus,
|
|
162
206
|
ManagedIngestionStatusResponse,
|
|
163
|
-
MarkdownElementNodeParser,
|
|
164
|
-
MarkdownNodeParser,
|
|
165
207
|
MessageAnnotation,
|
|
166
208
|
MessageRole,
|
|
167
209
|
MetadataFilter,
|
|
168
210
|
MetadataFilterValue,
|
|
169
211
|
MetadataFilters,
|
|
170
212
|
MetadataFiltersFiltersItem,
|
|
171
|
-
NodeParser,
|
|
172
213
|
NodeRelationship,
|
|
173
214
|
NoneChunkingConfig,
|
|
174
215
|
NoneSegmentationConfig,
|
|
@@ -181,12 +222,12 @@ from .types import (
|
|
|
181
222
|
PageScreenshotMetadata,
|
|
182
223
|
PageScreenshotNodeWithScore,
|
|
183
224
|
PageSegmentationConfig,
|
|
184
|
-
PageSplitterNodeParser,
|
|
185
225
|
PaginatedExtractRunsResponse,
|
|
186
226
|
PaginatedJobsHistoryWithMetrics,
|
|
187
227
|
PaginatedListCloudDocumentsResponse,
|
|
188
228
|
PaginatedListPipelineFilesResponse,
|
|
189
229
|
PaginatedReportResponse,
|
|
230
|
+
ParseJobConfig,
|
|
190
231
|
ParsePlanLevel,
|
|
191
232
|
ParserLanguages,
|
|
192
233
|
ParsingHistoryItem,
|
|
@@ -215,6 +256,17 @@ from .types import (
|
|
|
215
256
|
PipelineCreateTransformConfig,
|
|
216
257
|
PipelineDataSource,
|
|
217
258
|
PipelineDataSourceComponent,
|
|
259
|
+
PipelineDataSourceComponentOne,
|
|
260
|
+
PipelineDataSourceComponentOne_AzureStorageBlob,
|
|
261
|
+
PipelineDataSourceComponentOne_Box,
|
|
262
|
+
PipelineDataSourceComponentOne_Confluence,
|
|
263
|
+
PipelineDataSourceComponentOne_GoogleDrive,
|
|
264
|
+
PipelineDataSourceComponentOne_Jira,
|
|
265
|
+
PipelineDataSourceComponentOne_MicrosoftOnedrive,
|
|
266
|
+
PipelineDataSourceComponentOne_MicrosoftSharepoint,
|
|
267
|
+
PipelineDataSourceComponentOne_NotionPage,
|
|
268
|
+
PipelineDataSourceComponentOne_S3,
|
|
269
|
+
PipelineDataSourceComponentOne_Slack,
|
|
218
270
|
PipelineDataSourceCreate,
|
|
219
271
|
PipelineDataSourceCustomMetadataValue,
|
|
220
272
|
PipelineDataSourceStatus,
|
|
@@ -235,6 +287,10 @@ from .types import (
|
|
|
235
287
|
PipelineFilePermissionInfoValue,
|
|
236
288
|
PipelineFileResourceInfoValue,
|
|
237
289
|
PipelineFileStatus,
|
|
290
|
+
PipelineFileUpdateDispatcherConfig,
|
|
291
|
+
PipelineFileUpdaterConfig,
|
|
292
|
+
PipelineManagedIngestionJobParams,
|
|
293
|
+
PipelineMetadataConfig,
|
|
238
294
|
PipelineTransformConfig,
|
|
239
295
|
PipelineTransformConfig_Advanced,
|
|
240
296
|
PipelineTransformConfig_Auto,
|
|
@@ -250,7 +306,6 @@ from .types import (
|
|
|
250
306
|
Project,
|
|
251
307
|
ProjectCreate,
|
|
252
308
|
PromptConf,
|
|
253
|
-
PydanticProgramMode,
|
|
254
309
|
ReRankConfig,
|
|
255
310
|
ReRankerType,
|
|
256
311
|
RecurringCreditGrant,
|
|
@@ -283,7 +338,6 @@ from .types import (
|
|
|
283
338
|
SchemaRelaxMode,
|
|
284
339
|
SemanticChunkingConfig,
|
|
285
340
|
SentenceChunkingConfig,
|
|
286
|
-
SentenceSplitter,
|
|
287
341
|
StatusEnum,
|
|
288
342
|
StructMode,
|
|
289
343
|
StructParseConf,
|
|
@@ -294,7 +348,6 @@ from .types import (
|
|
|
294
348
|
TextNodeRelationshipsValue,
|
|
295
349
|
TextNodeWithScore,
|
|
296
350
|
TokenChunkingConfig,
|
|
297
|
-
TokenTextSplitter,
|
|
298
351
|
TransformationCategoryNames,
|
|
299
352
|
UsageAndPlan,
|
|
300
353
|
UsageMetricResponse,
|
|
@@ -314,7 +367,24 @@ from .types import (
|
|
|
314
367
|
from .errors import UnprocessableEntityError
|
|
315
368
|
from .resources import (
|
|
316
369
|
DataSinkUpdateComponent,
|
|
370
|
+
DataSinkUpdateComponent_AzureAiSearch,
|
|
371
|
+
DataSinkUpdateComponent_Milvus,
|
|
372
|
+
DataSinkUpdateComponent_MongodbAtlas,
|
|
373
|
+
DataSinkUpdateComponent_Pinecone,
|
|
374
|
+
DataSinkUpdateComponent_Postgres,
|
|
375
|
+
DataSinkUpdateComponent_Qdrant,
|
|
317
376
|
DataSourceUpdateComponent,
|
|
377
|
+
DataSourceUpdateComponentOne,
|
|
378
|
+
DataSourceUpdateComponentOne_AzureStorageBlob,
|
|
379
|
+
DataSourceUpdateComponentOne_Box,
|
|
380
|
+
DataSourceUpdateComponentOne_Confluence,
|
|
381
|
+
DataSourceUpdateComponentOne_GoogleDrive,
|
|
382
|
+
DataSourceUpdateComponentOne_Jira,
|
|
383
|
+
DataSourceUpdateComponentOne_MicrosoftOnedrive,
|
|
384
|
+
DataSourceUpdateComponentOne_MicrosoftSharepoint,
|
|
385
|
+
DataSourceUpdateComponentOne_NotionPage,
|
|
386
|
+
DataSourceUpdateComponentOne_S3,
|
|
387
|
+
DataSourceUpdateComponentOne_Slack,
|
|
318
388
|
DataSourceUpdateCustomMetadataValue,
|
|
319
389
|
EmbeddingModelConfigCreateEmbeddingConfig,
|
|
320
390
|
EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding,
|
|
@@ -386,7 +456,6 @@ __all__ = [
|
|
|
386
456
|
"BasePlanMetronomePlanType",
|
|
387
457
|
"BasePlanName",
|
|
388
458
|
"BasePlanPlanFrequency",
|
|
389
|
-
"BasePromptTemplate",
|
|
390
459
|
"Batch",
|
|
391
460
|
"BatchItem",
|
|
392
461
|
"BatchPaginatedList",
|
|
@@ -396,7 +465,6 @@ __all__ = [
|
|
|
396
465
|
"BillingPeriod",
|
|
397
466
|
"BoxAuthMechanism",
|
|
398
467
|
"CharacterChunkingConfig",
|
|
399
|
-
"CharacterSplitter",
|
|
400
468
|
"ChatApp",
|
|
401
469
|
"ChatAppResponse",
|
|
402
470
|
"ChatData",
|
|
@@ -419,7 +487,6 @@ __all__ = [
|
|
|
419
487
|
"CloudS3DataSource",
|
|
420
488
|
"CloudSharepointDataSource",
|
|
421
489
|
"CloudSlackDataSource",
|
|
422
|
-
"CodeSplitter",
|
|
423
490
|
"CohereEmbedding",
|
|
424
491
|
"CohereEmbeddingConfig",
|
|
425
492
|
"CompositeRetrievalMode",
|
|
@@ -430,24 +497,76 @@ __all__ = [
|
|
|
430
497
|
"ConfigurableDataSourceNames",
|
|
431
498
|
"ConfigurableTransformationDefinition",
|
|
432
499
|
"ConfigurableTransformationNames",
|
|
433
|
-
"ConfiguredTransformationItem",
|
|
434
|
-
"ConfiguredTransformationItemComponent",
|
|
435
500
|
"CreditType",
|
|
436
501
|
"DataSink",
|
|
437
502
|
"DataSinkComponent",
|
|
503
|
+
"DataSinkComponent_AzureAiSearch",
|
|
504
|
+
"DataSinkComponent_Milvus",
|
|
505
|
+
"DataSinkComponent_MongodbAtlas",
|
|
506
|
+
"DataSinkComponent_Pinecone",
|
|
507
|
+
"DataSinkComponent_Postgres",
|
|
508
|
+
"DataSinkComponent_Qdrant",
|
|
438
509
|
"DataSinkCreate",
|
|
439
510
|
"DataSinkCreateComponent",
|
|
511
|
+
"DataSinkCreateComponent_AzureAiSearch",
|
|
512
|
+
"DataSinkCreateComponent_Milvus",
|
|
513
|
+
"DataSinkCreateComponent_MongodbAtlas",
|
|
514
|
+
"DataSinkCreateComponent_Pinecone",
|
|
515
|
+
"DataSinkCreateComponent_Postgres",
|
|
516
|
+
"DataSinkCreateComponent_Qdrant",
|
|
440
517
|
"DataSinkDefinition",
|
|
441
518
|
"DataSinkUpdateComponent",
|
|
519
|
+
"DataSinkUpdateComponent_AzureAiSearch",
|
|
520
|
+
"DataSinkUpdateComponent_Milvus",
|
|
521
|
+
"DataSinkUpdateComponent_MongodbAtlas",
|
|
522
|
+
"DataSinkUpdateComponent_Pinecone",
|
|
523
|
+
"DataSinkUpdateComponent_Postgres",
|
|
524
|
+
"DataSinkUpdateComponent_Qdrant",
|
|
442
525
|
"DataSource",
|
|
443
526
|
"DataSourceComponent",
|
|
527
|
+
"DataSourceComponentOne",
|
|
528
|
+
"DataSourceComponentOne_AzureStorageBlob",
|
|
529
|
+
"DataSourceComponentOne_Box",
|
|
530
|
+
"DataSourceComponentOne_Confluence",
|
|
531
|
+
"DataSourceComponentOne_GoogleDrive",
|
|
532
|
+
"DataSourceComponentOne_Jira",
|
|
533
|
+
"DataSourceComponentOne_MicrosoftOnedrive",
|
|
534
|
+
"DataSourceComponentOne_MicrosoftSharepoint",
|
|
535
|
+
"DataSourceComponentOne_NotionPage",
|
|
536
|
+
"DataSourceComponentOne_S3",
|
|
537
|
+
"DataSourceComponentOne_Slack",
|
|
444
538
|
"DataSourceCreate",
|
|
445
539
|
"DataSourceCreateComponent",
|
|
540
|
+
"DataSourceCreateComponentOne",
|
|
541
|
+
"DataSourceCreateComponentOne_AzureStorageBlob",
|
|
542
|
+
"DataSourceCreateComponentOne_Box",
|
|
543
|
+
"DataSourceCreateComponentOne_Confluence",
|
|
544
|
+
"DataSourceCreateComponentOne_GoogleDrive",
|
|
545
|
+
"DataSourceCreateComponentOne_Jira",
|
|
546
|
+
"DataSourceCreateComponentOne_MicrosoftOnedrive",
|
|
547
|
+
"DataSourceCreateComponentOne_MicrosoftSharepoint",
|
|
548
|
+
"DataSourceCreateComponentOne_NotionPage",
|
|
549
|
+
"DataSourceCreateComponentOne_S3",
|
|
550
|
+
"DataSourceCreateComponentOne_Slack",
|
|
446
551
|
"DataSourceCreateCustomMetadataValue",
|
|
447
552
|
"DataSourceCustomMetadataValue",
|
|
448
553
|
"DataSourceDefinition",
|
|
449
554
|
"DataSourceUpdateComponent",
|
|
555
|
+
"DataSourceUpdateComponentOne",
|
|
556
|
+
"DataSourceUpdateComponentOne_AzureStorageBlob",
|
|
557
|
+
"DataSourceUpdateComponentOne_Box",
|
|
558
|
+
"DataSourceUpdateComponentOne_Confluence",
|
|
559
|
+
"DataSourceUpdateComponentOne_GoogleDrive",
|
|
560
|
+
"DataSourceUpdateComponentOne_Jira",
|
|
561
|
+
"DataSourceUpdateComponentOne_MicrosoftOnedrive",
|
|
562
|
+
"DataSourceUpdateComponentOne_MicrosoftSharepoint",
|
|
563
|
+
"DataSourceUpdateComponentOne_NotionPage",
|
|
564
|
+
"DataSourceUpdateComponentOne_S3",
|
|
565
|
+
"DataSourceUpdateComponentOne_Slack",
|
|
450
566
|
"DataSourceUpdateCustomMetadataValue",
|
|
567
|
+
"DataSourceUpdateDispatcherConfig",
|
|
568
|
+
"DeleteParams",
|
|
569
|
+
"DocumentIngestionJobParams",
|
|
451
570
|
"EditSuggestion",
|
|
452
571
|
"EditSuggestionBlocksItem",
|
|
453
572
|
"ElementSegmentationConfig",
|
|
@@ -533,7 +652,19 @@ __all__ = [
|
|
|
533
652
|
"JobNameMapping",
|
|
534
653
|
"JobNames",
|
|
535
654
|
"JobRecord",
|
|
655
|
+
"JobRecordParameters",
|
|
656
|
+
"JobRecordParameters_DataSourceUpdateDispatcher",
|
|
657
|
+
"JobRecordParameters_DocumentIngestion",
|
|
658
|
+
"JobRecordParameters_LegacyParse",
|
|
659
|
+
"JobRecordParameters_LlamaParseTransform",
|
|
660
|
+
"JobRecordParameters_LoadFiles",
|
|
661
|
+
"JobRecordParameters_Parse",
|
|
662
|
+
"JobRecordParameters_PipelineFileUpdateDispatcher",
|
|
663
|
+
"JobRecordParameters_PipelineFileUpdater",
|
|
664
|
+
"JobRecordParameters_PipelineManagedIngestion",
|
|
536
665
|
"JobRecordWithUsageMetrics",
|
|
666
|
+
"LLamaParseTransformConfig",
|
|
667
|
+
"LegacyParseJobConfig",
|
|
537
668
|
"LlamaCloudEnvironment",
|
|
538
669
|
"LlamaExtractSettings",
|
|
539
670
|
"LlamaIndexCoreBaseLlmsTypesChatMessage",
|
|
@@ -543,20 +674,17 @@ __all__ = [
|
|
|
543
674
|
"LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text",
|
|
544
675
|
"LlamaParseParameters",
|
|
545
676
|
"LlamaParseSupportedFileExtensions",
|
|
546
|
-
"Llm",
|
|
547
677
|
"LlmModelData",
|
|
548
678
|
"LlmParameters",
|
|
679
|
+
"LoadFilesJobConfig",
|
|
549
680
|
"ManagedIngestionStatus",
|
|
550
681
|
"ManagedIngestionStatusResponse",
|
|
551
|
-
"MarkdownElementNodeParser",
|
|
552
|
-
"MarkdownNodeParser",
|
|
553
682
|
"MessageAnnotation",
|
|
554
683
|
"MessageRole",
|
|
555
684
|
"MetadataFilter",
|
|
556
685
|
"MetadataFilterValue",
|
|
557
686
|
"MetadataFilters",
|
|
558
687
|
"MetadataFiltersFiltersItem",
|
|
559
|
-
"NodeParser",
|
|
560
688
|
"NodeRelationship",
|
|
561
689
|
"NoneChunkingConfig",
|
|
562
690
|
"NoneSegmentationConfig",
|
|
@@ -569,12 +697,12 @@ __all__ = [
|
|
|
569
697
|
"PageScreenshotMetadata",
|
|
570
698
|
"PageScreenshotNodeWithScore",
|
|
571
699
|
"PageSegmentationConfig",
|
|
572
|
-
"PageSplitterNodeParser",
|
|
573
700
|
"PaginatedExtractRunsResponse",
|
|
574
701
|
"PaginatedJobsHistoryWithMetrics",
|
|
575
702
|
"PaginatedListCloudDocumentsResponse",
|
|
576
703
|
"PaginatedListPipelineFilesResponse",
|
|
577
704
|
"PaginatedReportResponse",
|
|
705
|
+
"ParseJobConfig",
|
|
578
706
|
"ParsePlanLevel",
|
|
579
707
|
"ParserLanguages",
|
|
580
708
|
"ParsingHistoryItem",
|
|
@@ -603,6 +731,17 @@ __all__ = [
|
|
|
603
731
|
"PipelineCreateTransformConfig",
|
|
604
732
|
"PipelineDataSource",
|
|
605
733
|
"PipelineDataSourceComponent",
|
|
734
|
+
"PipelineDataSourceComponentOne",
|
|
735
|
+
"PipelineDataSourceComponentOne_AzureStorageBlob",
|
|
736
|
+
"PipelineDataSourceComponentOne_Box",
|
|
737
|
+
"PipelineDataSourceComponentOne_Confluence",
|
|
738
|
+
"PipelineDataSourceComponentOne_GoogleDrive",
|
|
739
|
+
"PipelineDataSourceComponentOne_Jira",
|
|
740
|
+
"PipelineDataSourceComponentOne_MicrosoftOnedrive",
|
|
741
|
+
"PipelineDataSourceComponentOne_MicrosoftSharepoint",
|
|
742
|
+
"PipelineDataSourceComponentOne_NotionPage",
|
|
743
|
+
"PipelineDataSourceComponentOne_S3",
|
|
744
|
+
"PipelineDataSourceComponentOne_Slack",
|
|
606
745
|
"PipelineDataSourceCreate",
|
|
607
746
|
"PipelineDataSourceCustomMetadataValue",
|
|
608
747
|
"PipelineDataSourceStatus",
|
|
@@ -624,6 +763,10 @@ __all__ = [
|
|
|
624
763
|
"PipelineFileResourceInfoValue",
|
|
625
764
|
"PipelineFileStatus",
|
|
626
765
|
"PipelineFileUpdateCustomMetadataValue",
|
|
766
|
+
"PipelineFileUpdateDispatcherConfig",
|
|
767
|
+
"PipelineFileUpdaterConfig",
|
|
768
|
+
"PipelineManagedIngestionJobParams",
|
|
769
|
+
"PipelineMetadataConfig",
|
|
627
770
|
"PipelineTransformConfig",
|
|
628
771
|
"PipelineTransformConfig_Advanced",
|
|
629
772
|
"PipelineTransformConfig_Auto",
|
|
@@ -648,7 +791,6 @@ __all__ = [
|
|
|
648
791
|
"Project",
|
|
649
792
|
"ProjectCreate",
|
|
650
793
|
"PromptConf",
|
|
651
|
-
"PydanticProgramMode",
|
|
652
794
|
"ReRankConfig",
|
|
653
795
|
"ReRankerType",
|
|
654
796
|
"RecurringCreditGrant",
|
|
@@ -681,7 +823,6 @@ __all__ = [
|
|
|
681
823
|
"SchemaRelaxMode",
|
|
682
824
|
"SemanticChunkingConfig",
|
|
683
825
|
"SentenceChunkingConfig",
|
|
684
|
-
"SentenceSplitter",
|
|
685
826
|
"StatusEnum",
|
|
686
827
|
"StructMode",
|
|
687
828
|
"StructParseConf",
|
|
@@ -692,7 +833,6 @@ __all__ = [
|
|
|
692
833
|
"TextNodeRelationshipsValue",
|
|
693
834
|
"TextNodeWithScore",
|
|
694
835
|
"TokenChunkingConfig",
|
|
695
|
-
"TokenTextSplitter",
|
|
696
836
|
"TransformationCategoryNames",
|
|
697
837
|
"UnprocessableEntityError",
|
|
698
838
|
"UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
|
|
@@ -18,8 +18,30 @@ from . import (
|
|
|
18
18
|
reports,
|
|
19
19
|
retrievers,
|
|
20
20
|
)
|
|
21
|
-
from .data_sinks import
|
|
22
|
-
|
|
21
|
+
from .data_sinks import (
|
|
22
|
+
DataSinkUpdateComponent,
|
|
23
|
+
DataSinkUpdateComponent_AzureAiSearch,
|
|
24
|
+
DataSinkUpdateComponent_Milvus,
|
|
25
|
+
DataSinkUpdateComponent_MongodbAtlas,
|
|
26
|
+
DataSinkUpdateComponent_Pinecone,
|
|
27
|
+
DataSinkUpdateComponent_Postgres,
|
|
28
|
+
DataSinkUpdateComponent_Qdrant,
|
|
29
|
+
)
|
|
30
|
+
from .data_sources import (
|
|
31
|
+
DataSourceUpdateComponent,
|
|
32
|
+
DataSourceUpdateComponentOne,
|
|
33
|
+
DataSourceUpdateComponentOne_AzureStorageBlob,
|
|
34
|
+
DataSourceUpdateComponentOne_Box,
|
|
35
|
+
DataSourceUpdateComponentOne_Confluence,
|
|
36
|
+
DataSourceUpdateComponentOne_GoogleDrive,
|
|
37
|
+
DataSourceUpdateComponentOne_Jira,
|
|
38
|
+
DataSourceUpdateComponentOne_MicrosoftOnedrive,
|
|
39
|
+
DataSourceUpdateComponentOne_MicrosoftSharepoint,
|
|
40
|
+
DataSourceUpdateComponentOne_NotionPage,
|
|
41
|
+
DataSourceUpdateComponentOne_S3,
|
|
42
|
+
DataSourceUpdateComponentOne_Slack,
|
|
43
|
+
DataSourceUpdateCustomMetadataValue,
|
|
44
|
+
)
|
|
23
45
|
from .embedding_model_configs import (
|
|
24
46
|
EmbeddingModelConfigCreateEmbeddingConfig,
|
|
25
47
|
EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding,
|
|
@@ -57,7 +79,24 @@ from .reports import UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction
|
|
|
57
79
|
|
|
58
80
|
__all__ = [
|
|
59
81
|
"DataSinkUpdateComponent",
|
|
82
|
+
"DataSinkUpdateComponent_AzureAiSearch",
|
|
83
|
+
"DataSinkUpdateComponent_Milvus",
|
|
84
|
+
"DataSinkUpdateComponent_MongodbAtlas",
|
|
85
|
+
"DataSinkUpdateComponent_Pinecone",
|
|
86
|
+
"DataSinkUpdateComponent_Postgres",
|
|
87
|
+
"DataSinkUpdateComponent_Qdrant",
|
|
60
88
|
"DataSourceUpdateComponent",
|
|
89
|
+
"DataSourceUpdateComponentOne",
|
|
90
|
+
"DataSourceUpdateComponentOne_AzureStorageBlob",
|
|
91
|
+
"DataSourceUpdateComponentOne_Box",
|
|
92
|
+
"DataSourceUpdateComponentOne_Confluence",
|
|
93
|
+
"DataSourceUpdateComponentOne_GoogleDrive",
|
|
94
|
+
"DataSourceUpdateComponentOne_Jira",
|
|
95
|
+
"DataSourceUpdateComponentOne_MicrosoftOnedrive",
|
|
96
|
+
"DataSourceUpdateComponentOne_MicrosoftSharepoint",
|
|
97
|
+
"DataSourceUpdateComponentOne_NotionPage",
|
|
98
|
+
"DataSourceUpdateComponentOne_S3",
|
|
99
|
+
"DataSourceUpdateComponentOne_Slack",
|
|
61
100
|
"DataSourceUpdateCustomMetadataValue",
|
|
62
101
|
"EmbeddingModelConfigCreateEmbeddingConfig",
|
|
63
102
|
"EmbeddingModelConfigCreateEmbeddingConfig_AzureEmbedding",
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import
|
|
3
|
+
from .types import (
|
|
4
|
+
DataSinkUpdateComponent,
|
|
5
|
+
DataSinkUpdateComponent_AzureAiSearch,
|
|
6
|
+
DataSinkUpdateComponent_Milvus,
|
|
7
|
+
DataSinkUpdateComponent_MongodbAtlas,
|
|
8
|
+
DataSinkUpdateComponent_Pinecone,
|
|
9
|
+
DataSinkUpdateComponent_Postgres,
|
|
10
|
+
DataSinkUpdateComponent_Qdrant,
|
|
11
|
+
)
|
|
4
12
|
|
|
5
|
-
__all__ = [
|
|
13
|
+
__all__ = [
|
|
14
|
+
"DataSinkUpdateComponent",
|
|
15
|
+
"DataSinkUpdateComponent_AzureAiSearch",
|
|
16
|
+
"DataSinkUpdateComponent_Milvus",
|
|
17
|
+
"DataSinkUpdateComponent_MongodbAtlas",
|
|
18
|
+
"DataSinkUpdateComponent_Pinecone",
|
|
19
|
+
"DataSinkUpdateComponent_Postgres",
|
|
20
|
+
"DataSinkUpdateComponent_Qdrant",
|
|
21
|
+
]
|
|
@@ -82,19 +82,6 @@ class DataSinksClient:
|
|
|
82
82
|
- organization_id: typing.Optional[str].
|
|
83
83
|
|
|
84
84
|
- request: DataSinkCreate.
|
|
85
|
-
---
|
|
86
|
-
from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
|
|
87
|
-
from llama_cloud.client import LlamaCloud
|
|
88
|
-
|
|
89
|
-
client = LlamaCloud(
|
|
90
|
-
token="YOUR_TOKEN",
|
|
91
|
-
)
|
|
92
|
-
client.data_sinks.create_data_sink(
|
|
93
|
-
request=DataSinkCreate(
|
|
94
|
-
name="string",
|
|
95
|
-
sink_type=ConfigurableDataSinkNames.PINECONE,
|
|
96
|
-
),
|
|
97
|
-
)
|
|
98
85
|
"""
|
|
99
86
|
_response = self._client_wrapper.httpx_client.request(
|
|
100
87
|
"POST",
|
|
@@ -131,19 +118,6 @@ class DataSinksClient:
|
|
|
131
118
|
- organization_id: typing.Optional[str].
|
|
132
119
|
|
|
133
120
|
- request: DataSinkCreate.
|
|
134
|
-
---
|
|
135
|
-
from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
|
|
136
|
-
from llama_cloud.client import LlamaCloud
|
|
137
|
-
|
|
138
|
-
client = LlamaCloud(
|
|
139
|
-
token="YOUR_TOKEN",
|
|
140
|
-
)
|
|
141
|
-
client.data_sinks.upsert_data_sink(
|
|
142
|
-
request=DataSinkCreate(
|
|
143
|
-
name="string",
|
|
144
|
-
sink_type=ConfigurableDataSinkNames.PINECONE,
|
|
145
|
-
),
|
|
146
|
-
)
|
|
147
121
|
"""
|
|
148
122
|
_response = self._client_wrapper.httpx_client.request(
|
|
149
123
|
"PUT",
|
|
@@ -169,15 +143,6 @@ class DataSinksClient:
|
|
|
169
143
|
|
|
170
144
|
Parameters:
|
|
171
145
|
- data_sink_id: str.
|
|
172
|
-
---
|
|
173
|
-
from llama_cloud.client import LlamaCloud
|
|
174
|
-
|
|
175
|
-
client = LlamaCloud(
|
|
176
|
-
token="YOUR_TOKEN",
|
|
177
|
-
)
|
|
178
|
-
client.data_sinks.get_data_sink(
|
|
179
|
-
data_sink_id="string",
|
|
180
|
-
)
|
|
181
146
|
"""
|
|
182
147
|
_response = self._client_wrapper.httpx_client.request(
|
|
183
148
|
"GET",
|
|
@@ -213,18 +178,7 @@ class DataSinksClient:
|
|
|
213
178
|
|
|
214
179
|
- sink_type: ConfigurableDataSinkNames.
|
|
215
180
|
|
|
216
|
-
- component: typing.Optional[DataSinkUpdateComponent].
|
|
217
|
-
---
|
|
218
|
-
from llama_cloud import ConfigurableDataSinkNames
|
|
219
|
-
from llama_cloud.client import LlamaCloud
|
|
220
|
-
|
|
221
|
-
client = LlamaCloud(
|
|
222
|
-
token="YOUR_TOKEN",
|
|
223
|
-
)
|
|
224
|
-
client.data_sinks.update_data_sink(
|
|
225
|
-
data_sink_id="string",
|
|
226
|
-
sink_type=ConfigurableDataSinkNames.PINECONE,
|
|
227
|
-
)
|
|
181
|
+
- component: typing.Optional[DataSinkUpdateComponent].
|
|
228
182
|
"""
|
|
229
183
|
_request: typing.Dict[str, typing.Any] = {"sink_type": sink_type}
|
|
230
184
|
if name is not OMIT:
|
|
@@ -336,19 +290,6 @@ class AsyncDataSinksClient:
|
|
|
336
290
|
- organization_id: typing.Optional[str].
|
|
337
291
|
|
|
338
292
|
- request: DataSinkCreate.
|
|
339
|
-
---
|
|
340
|
-
from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
|
|
341
|
-
from llama_cloud.client import AsyncLlamaCloud
|
|
342
|
-
|
|
343
|
-
client = AsyncLlamaCloud(
|
|
344
|
-
token="YOUR_TOKEN",
|
|
345
|
-
)
|
|
346
|
-
await client.data_sinks.create_data_sink(
|
|
347
|
-
request=DataSinkCreate(
|
|
348
|
-
name="string",
|
|
349
|
-
sink_type=ConfigurableDataSinkNames.PINECONE,
|
|
350
|
-
),
|
|
351
|
-
)
|
|
352
293
|
"""
|
|
353
294
|
_response = await self._client_wrapper.httpx_client.request(
|
|
354
295
|
"POST",
|
|
@@ -385,19 +326,6 @@ class AsyncDataSinksClient:
|
|
|
385
326
|
- organization_id: typing.Optional[str].
|
|
386
327
|
|
|
387
328
|
- request: DataSinkCreate.
|
|
388
|
-
---
|
|
389
|
-
from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
|
|
390
|
-
from llama_cloud.client import AsyncLlamaCloud
|
|
391
|
-
|
|
392
|
-
client = AsyncLlamaCloud(
|
|
393
|
-
token="YOUR_TOKEN",
|
|
394
|
-
)
|
|
395
|
-
await client.data_sinks.upsert_data_sink(
|
|
396
|
-
request=DataSinkCreate(
|
|
397
|
-
name="string",
|
|
398
|
-
sink_type=ConfigurableDataSinkNames.PINECONE,
|
|
399
|
-
),
|
|
400
|
-
)
|
|
401
329
|
"""
|
|
402
330
|
_response = await self._client_wrapper.httpx_client.request(
|
|
403
331
|
"PUT",
|
|
@@ -423,15 +351,6 @@ class AsyncDataSinksClient:
|
|
|
423
351
|
|
|
424
352
|
Parameters:
|
|
425
353
|
- data_sink_id: str.
|
|
426
|
-
---
|
|
427
|
-
from llama_cloud.client import AsyncLlamaCloud
|
|
428
|
-
|
|
429
|
-
client = AsyncLlamaCloud(
|
|
430
|
-
token="YOUR_TOKEN",
|
|
431
|
-
)
|
|
432
|
-
await client.data_sinks.get_data_sink(
|
|
433
|
-
data_sink_id="string",
|
|
434
|
-
)
|
|
435
354
|
"""
|
|
436
355
|
_response = await self._client_wrapper.httpx_client.request(
|
|
437
356
|
"GET",
|
|
@@ -467,18 +386,7 @@ class AsyncDataSinksClient:
|
|
|
467
386
|
|
|
468
387
|
- sink_type: ConfigurableDataSinkNames.
|
|
469
388
|
|
|
470
|
-
- component: typing.Optional[DataSinkUpdateComponent].
|
|
471
|
-
---
|
|
472
|
-
from llama_cloud import ConfigurableDataSinkNames
|
|
473
|
-
from llama_cloud.client import AsyncLlamaCloud
|
|
474
|
-
|
|
475
|
-
client = AsyncLlamaCloud(
|
|
476
|
-
token="YOUR_TOKEN",
|
|
477
|
-
)
|
|
478
|
-
await client.data_sinks.update_data_sink(
|
|
479
|
-
data_sink_id="string",
|
|
480
|
-
sink_type=ConfigurableDataSinkNames.PINECONE,
|
|
481
|
-
)
|
|
389
|
+
- component: typing.Optional[DataSinkUpdateComponent].
|
|
482
390
|
"""
|
|
483
391
|
_request: typing.Dict[str, typing.Any] = {"sink_type": sink_type}
|
|
484
392
|
if name is not OMIT:
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .data_sink_update_component import
|
|
3
|
+
from .data_sink_update_component import (
|
|
4
|
+
DataSinkUpdateComponent,
|
|
5
|
+
DataSinkUpdateComponent_AzureAiSearch,
|
|
6
|
+
DataSinkUpdateComponent_Milvus,
|
|
7
|
+
DataSinkUpdateComponent_MongodbAtlas,
|
|
8
|
+
DataSinkUpdateComponent_Pinecone,
|
|
9
|
+
DataSinkUpdateComponent_Postgres,
|
|
10
|
+
DataSinkUpdateComponent_Qdrant,
|
|
11
|
+
)
|
|
4
12
|
|
|
5
|
-
__all__ = [
|
|
13
|
+
__all__ = [
|
|
14
|
+
"DataSinkUpdateComponent",
|
|
15
|
+
"DataSinkUpdateComponent_AzureAiSearch",
|
|
16
|
+
"DataSinkUpdateComponent_Milvus",
|
|
17
|
+
"DataSinkUpdateComponent_MongodbAtlas",
|
|
18
|
+
"DataSinkUpdateComponent_Pinecone",
|
|
19
|
+
"DataSinkUpdateComponent_Postgres",
|
|
20
|
+
"DataSinkUpdateComponent_Qdrant",
|
|
21
|
+
]
|