llama-cloud 0.1.5__py3-none-any.whl → 0.1.7a1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of llama-cloud might be problematic. Click here for more details.

Files changed (129) hide show
  1. llama_cloud/__init__.py +138 -2
  2. llama_cloud/client.py +15 -0
  3. llama_cloud/resources/__init__.py +17 -1
  4. llama_cloud/resources/chat_apps/__init__.py +2 -0
  5. llama_cloud/resources/chat_apps/client.py +620 -0
  6. llama_cloud/resources/data_sinks/client.py +2 -2
  7. llama_cloud/resources/data_sources/client.py +2 -2
  8. llama_cloud/resources/embedding_model_configs/client.py +4 -4
  9. llama_cloud/resources/files/__init__.py +2 -2
  10. llama_cloud/resources/files/client.py +21 -0
  11. llama_cloud/resources/files/types/__init__.py +2 -1
  12. llama_cloud/resources/files/types/file_create_permission_info_value.py +7 -0
  13. llama_cloud/resources/jobs/__init__.py +2 -0
  14. llama_cloud/resources/jobs/client.py +148 -0
  15. llama_cloud/resources/llama_extract/__init__.py +5 -0
  16. llama_cloud/resources/llama_extract/client.py +1038 -0
  17. llama_cloud/resources/llama_extract/types/__init__.py +6 -0
  18. llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema_value.py +7 -0
  19. llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema_value.py +7 -0
  20. llama_cloud/resources/organizations/client.py +14 -14
  21. llama_cloud/resources/parsing/client.py +480 -229
  22. llama_cloud/resources/pipelines/client.py +182 -126
  23. llama_cloud/resources/projects/client.py +210 -102
  24. llama_cloud/resources/reports/__init__.py +5 -0
  25. llama_cloud/resources/reports/client.py +1198 -0
  26. llama_cloud/resources/reports/types/__init__.py +7 -0
  27. llama_cloud/resources/reports/types/update_report_plan_api_v_1_reports_report_id_plan_patch_request_action.py +25 -0
  28. llama_cloud/resources/retrievers/__init__.py +2 -0
  29. llama_cloud/resources/retrievers/client.py +654 -0
  30. llama_cloud/types/__init__.py +124 -2
  31. llama_cloud/types/{chat_message.py → app_schema_chat_chat_message.py} +2 -2
  32. llama_cloud/types/chat_app.py +44 -0
  33. llama_cloud/types/chat_app_response.py +41 -0
  34. llama_cloud/types/cloud_az_storage_blob_data_source.py +1 -0
  35. llama_cloud/types/cloud_box_data_source.py +1 -0
  36. llama_cloud/types/cloud_confluence_data_source.py +1 -0
  37. llama_cloud/types/cloud_google_drive_data_source.py +1 -0
  38. llama_cloud/types/cloud_jira_data_source.py +1 -0
  39. llama_cloud/types/cloud_notion_page_data_source.py +1 -0
  40. llama_cloud/types/cloud_one_drive_data_source.py +1 -0
  41. llama_cloud/types/cloud_postgres_vector_store.py +1 -0
  42. llama_cloud/types/cloud_s_3_data_source.py +1 -0
  43. llama_cloud/types/cloud_sharepoint_data_source.py +1 -0
  44. llama_cloud/types/cloud_slack_data_source.py +1 -0
  45. llama_cloud/types/composite_retrieval_mode.py +21 -0
  46. llama_cloud/types/composite_retrieval_result.py +38 -0
  47. llama_cloud/types/composite_retrieved_text_node.py +42 -0
  48. llama_cloud/types/data_sink.py +1 -1
  49. llama_cloud/types/data_sink_create.py +1 -1
  50. llama_cloud/types/data_source.py +1 -1
  51. llama_cloud/types/data_source_create.py +1 -1
  52. llama_cloud/types/edit_suggestion.py +39 -0
  53. llama_cloud/types/eval_dataset_job_record.py +1 -0
  54. llama_cloud/types/extract_agent.py +45 -0
  55. llama_cloud/types/extract_agent_data_schema_value.py +5 -0
  56. llama_cloud/types/extract_config.py +40 -0
  57. llama_cloud/types/extract_job.py +35 -0
  58. llama_cloud/types/extract_job_create.py +40 -0
  59. llama_cloud/types/extract_job_create_data_schema_override_value.py +7 -0
  60. llama_cloud/types/extract_mode.py +17 -0
  61. llama_cloud/types/extract_resultset.py +46 -0
  62. llama_cloud/types/extract_resultset_data.py +11 -0
  63. llama_cloud/types/extract_resultset_data_item_value.py +7 -0
  64. llama_cloud/types/extract_resultset_data_zero_value.py +7 -0
  65. llama_cloud/types/extract_resultset_extraction_metadata_value.py +7 -0
  66. llama_cloud/types/file.py +3 -0
  67. llama_cloud/types/file_permission_info_value.py +5 -0
  68. llama_cloud/types/filter_condition.py +9 -1
  69. llama_cloud/types/filter_operator.py +4 -0
  70. llama_cloud/types/image_block.py +35 -0
  71. llama_cloud/types/input_message.py +1 -1
  72. llama_cloud/types/job_name_mapping.py +4 -0
  73. llama_cloud/types/job_names.py +89 -0
  74. llama_cloud/types/job_record.py +57 -0
  75. llama_cloud/types/job_record_with_usage_metrics.py +36 -0
  76. llama_cloud/types/llama_index_core_base_llms_types_chat_message.py +39 -0
  77. llama_cloud/types/llama_index_core_base_llms_types_chat_message_blocks_item.py +33 -0
  78. llama_cloud/types/llama_parse_parameters.py +15 -0
  79. llama_cloud/types/llm.py +1 -0
  80. llama_cloud/types/llm_model_data.py +1 -0
  81. llama_cloud/types/llm_parameters.py +1 -0
  82. llama_cloud/types/managed_ingestion_status.py +4 -0
  83. llama_cloud/types/managed_ingestion_status_response.py +1 -0
  84. llama_cloud/types/object_type.py +4 -0
  85. llama_cloud/types/organization.py +5 -0
  86. llama_cloud/types/paginated_jobs_history_with_metrics.py +35 -0
  87. llama_cloud/types/paginated_report_response.py +35 -0
  88. llama_cloud/types/parse_plan_level.py +21 -0
  89. llama_cloud/types/parsing_job_structured_result.py +32 -0
  90. llama_cloud/types/pipeline_create.py +3 -1
  91. llama_cloud/types/pipeline_data_source.py +1 -1
  92. llama_cloud/types/pipeline_file.py +3 -0
  93. llama_cloud/types/pipeline_file_permission_info_value.py +7 -0
  94. llama_cloud/types/playground_session.py +2 -2
  95. llama_cloud/types/preset_retrieval_params.py +1 -0
  96. llama_cloud/types/progress_event.py +44 -0
  97. llama_cloud/types/progress_event_status.py +33 -0
  98. llama_cloud/types/prompt_spec.py +2 -2
  99. llama_cloud/types/related_node_info.py +2 -2
  100. llama_cloud/types/related_node_info_node_type.py +7 -0
  101. llama_cloud/types/report.py +33 -0
  102. llama_cloud/types/report_block.py +34 -0
  103. llama_cloud/types/report_block_dependency.py +29 -0
  104. llama_cloud/types/report_create_response.py +31 -0
  105. llama_cloud/types/report_event_item.py +40 -0
  106. llama_cloud/types/report_event_item_event_data.py +45 -0
  107. llama_cloud/types/report_event_type.py +37 -0
  108. llama_cloud/types/report_metadata.py +39 -0
  109. llama_cloud/types/report_plan.py +36 -0
  110. llama_cloud/types/report_plan_block.py +36 -0
  111. llama_cloud/types/report_query.py +33 -0
  112. llama_cloud/types/report_response.py +41 -0
  113. llama_cloud/types/report_state.py +37 -0
  114. llama_cloud/types/report_state_event.py +38 -0
  115. llama_cloud/types/report_update_event.py +38 -0
  116. llama_cloud/types/retrieve_results.py +1 -1
  117. llama_cloud/types/retriever.py +45 -0
  118. llama_cloud/types/retriever_create.py +37 -0
  119. llama_cloud/types/retriever_pipeline.py +37 -0
  120. llama_cloud/types/status_enum.py +4 -0
  121. llama_cloud/types/supported_llm_model_names.py +4 -0
  122. llama_cloud/types/text_block.py +31 -0
  123. llama_cloud/types/text_node.py +13 -6
  124. llama_cloud/types/usage_metric_response.py +34 -0
  125. llama_cloud/types/user_job_record.py +32 -0
  126. {llama_cloud-0.1.5.dist-info → llama_cloud-0.1.7a1.dist-info}/METADATA +3 -1
  127. {llama_cloud-0.1.5.dist-info → llama_cloud-0.1.7a1.dist-info}/RECORD +129 -59
  128. {llama_cloud-0.1.5.dist-info → llama_cloud-0.1.7a1.dist-info}/WHEEL +1 -1
  129. {llama_cloud-0.1.5.dist-info → llama_cloud-0.1.7a1.dist-info}/LICENSE +0 -0
llama_cloud/__init__.py CHANGED
@@ -12,6 +12,7 @@ from .types import (
12
12
  AdvancedModeTransformConfigSegmentationConfig_Element,
13
13
  AdvancedModeTransformConfigSegmentationConfig_None,
14
14
  AdvancedModeTransformConfigSegmentationConfig_Page,
15
+ AppSchemaChatChatMessage,
15
16
  AutoTransformConfig,
16
17
  AzureOpenAiEmbedding,
17
18
  AzureOpenAiEmbeddingConfig,
@@ -22,8 +23,9 @@ from .types import (
22
23
  BoxAuthMechanism,
23
24
  CharacterChunkingConfig,
24
25
  CharacterSplitter,
26
+ ChatApp,
27
+ ChatAppResponse,
25
28
  ChatData,
26
- ChatMessage,
27
29
  CloudAzStorageBlobDataSource,
28
30
  CloudAzureAiSearchVectorStore,
29
31
  CloudBoxDataSource,
@@ -45,6 +47,9 @@ from .types import (
45
47
  CodeSplitter,
46
48
  CohereEmbedding,
47
49
  CohereEmbeddingConfig,
50
+ CompositeRetrievalMode,
51
+ CompositeRetrievalResult,
52
+ CompositeRetrievedTextNode,
48
53
  ConfigurableDataSinkNames,
49
54
  ConfigurableDataSourceNames,
50
55
  ConfigurableTransformationDefinition,
@@ -63,6 +68,7 @@ from .types import (
63
68
  DataSourceCreateCustomMetadataValue,
64
69
  DataSourceCustomMetadataValue,
65
70
  DataSourceDefinition,
71
+ EditSuggestion,
66
72
  ElementSegmentationConfig,
67
73
  EmbeddingModelConfig,
68
74
  EmbeddingModelConfigEmbeddingConfig,
@@ -91,12 +97,25 @@ from .types import (
91
97
  EvalQuestion,
92
98
  EvalQuestionCreate,
93
99
  EvalQuestionResult,
100
+ ExtractAgent,
101
+ ExtractAgentDataSchemaValue,
102
+ ExtractConfig,
103
+ ExtractJob,
104
+ ExtractJobCreate,
105
+ ExtractJobCreateDataSchemaOverrideValue,
106
+ ExtractMode,
107
+ ExtractResultset,
108
+ ExtractResultsetData,
109
+ ExtractResultsetDataItemValue,
110
+ ExtractResultsetDataZeroValue,
111
+ ExtractResultsetExtractionMetadataValue,
94
112
  ExtractionJob,
95
113
  ExtractionResult,
96
114
  ExtractionResultDataValue,
97
115
  ExtractionSchema,
98
116
  ExtractionSchemaDataSchemaValue,
99
117
  File,
118
+ FilePermissionInfoValue,
100
119
  FileResourceInfoValue,
101
120
  FilterCondition,
102
121
  FilterOperator,
@@ -106,10 +125,18 @@ from .types import (
106
125
  HuggingFaceInferenceApiEmbedding,
107
126
  HuggingFaceInferenceApiEmbeddingConfig,
108
127
  HuggingFaceInferenceApiEmbeddingToken,
128
+ ImageBlock,
109
129
  IngestionErrorResponse,
110
130
  InputMessage,
111
131
  IntervalUsageAndPlan,
112
132
  JobNameMapping,
133
+ JobNames,
134
+ JobRecord,
135
+ JobRecordWithUsageMetrics,
136
+ LlamaIndexCoreBaseLlmsTypesChatMessage,
137
+ LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem,
138
+ LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Image,
139
+ LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text,
113
140
  LlamaParseParameters,
114
141
  LlamaParseSupportedFileExtensions,
115
142
  Llm,
@@ -142,12 +169,16 @@ from .types import (
142
169
  PageScreenshotNodeWithScore,
143
170
  PageSegmentationConfig,
144
171
  PageSplitterNodeParser,
172
+ PaginatedJobsHistoryWithMetrics,
145
173
  PaginatedListPipelineFilesResponse,
174
+ PaginatedReportResponse,
175
+ ParsePlanLevel,
146
176
  ParserLanguages,
147
177
  ParsingHistoryItem,
148
178
  ParsingJob,
149
179
  ParsingJobJsonResult,
150
180
  ParsingJobMarkdownResult,
181
+ ParsingJobStructuredResult,
151
182
  ParsingJobTextResult,
152
183
  ParsingUsage,
153
184
  PartitionNames,
@@ -182,6 +213,7 @@ from .types import (
182
213
  PipelineFileCreate,
183
214
  PipelineFileCreateCustomMetadataValue,
184
215
  PipelineFileCustomMetadataValue,
216
+ PipelineFilePermissionInfoValue,
185
217
  PipelineFileResourceInfoValue,
186
218
  PipelineTransformConfig,
187
219
  PipelineTransformConfig_Advanced,
@@ -192,14 +224,38 @@ from .types import (
192
224
  Pooling,
193
225
  PresetRetrievalParams,
194
226
  PresignedUrl,
227
+ ProgressEvent,
228
+ ProgressEventStatus,
195
229
  Project,
196
230
  ProjectCreate,
197
231
  PromptMixinPrompts,
198
232
  PromptSpec,
199
233
  PydanticProgramMode,
200
234
  RelatedNodeInfo,
235
+ RelatedNodeInfoNodeType,
236
+ Report,
237
+ ReportBlock,
238
+ ReportBlockDependency,
239
+ ReportCreateResponse,
240
+ ReportEventItem,
241
+ ReportEventItemEventData,
242
+ ReportEventItemEventData_Progress,
243
+ ReportEventItemEventData_ReportBlockUpdate,
244
+ ReportEventItemEventData_ReportStateUpdate,
245
+ ReportEventType,
246
+ ReportMetadata,
247
+ ReportPlan,
248
+ ReportPlanBlock,
249
+ ReportQuery,
250
+ ReportResponse,
251
+ ReportState,
252
+ ReportStateEvent,
253
+ ReportUpdateEvent,
201
254
  RetrievalMode,
202
255
  RetrieveResults,
256
+ Retriever,
257
+ RetrieverCreate,
258
+ RetrieverPipeline,
203
259
  Role,
204
260
  SemanticChunkingConfig,
205
261
  SentenceChunkingConfig,
@@ -207,6 +263,7 @@ from .types import (
207
263
  StatusEnum,
208
264
  SupportedLlmModel,
209
265
  SupportedLlmModelNames,
266
+ TextBlock,
210
267
  TextNode,
211
268
  TextNodeRelationshipsValue,
212
269
  TextNodeWithScore,
@@ -214,6 +271,8 @@ from .types import (
214
271
  TokenTextSplitter,
215
272
  TransformationCategoryNames,
216
273
  Usage,
274
+ UsageMetricResponse,
275
+ UserJobRecord,
217
276
  UserOrganization,
218
277
  UserOrganizationCreate,
219
278
  UserOrganizationDelete,
@@ -237,9 +296,12 @@ from .resources import (
237
296
  EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding,
238
297
  EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding,
239
298
  EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
299
+ ExtractAgentCreateDataSchemaValue,
300
+ ExtractAgentUpdateDataSchemaValue,
240
301
  ExtractionSchemaCreateDataSchemaValue,
241
302
  ExtractionSchemaUpdateDataSchemaValue,
242
303
  FileCreateFromUrlResourceInfoValue,
304
+ FileCreatePermissionInfoValue,
243
305
  FileCreateResourceInfoValue,
244
306
  PipelineFileUpdateCustomMetadataValue,
245
307
  PipelineUpdateEmbeddingConfig,
@@ -251,6 +313,8 @@ from .resources import (
251
313
  PipelineUpdateEmbeddingConfig_OpenaiEmbedding,
252
314
  PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
253
315
  PipelineUpdateTransformConfig,
316
+ UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction,
317
+ chat_apps,
254
318
  component_definitions,
255
319
  data_sinks,
256
320
  data_sources,
@@ -258,10 +322,14 @@ from .resources import (
258
322
  evals,
259
323
  extraction,
260
324
  files,
325
+ jobs,
326
+ llama_extract,
261
327
  organizations,
262
328
  parsing,
263
329
  pipelines,
264
330
  projects,
331
+ reports,
332
+ retrievers,
265
333
  )
266
334
  from .environment import LlamaCloudEnvironment
267
335
 
@@ -277,6 +345,7 @@ __all__ = [
277
345
  "AdvancedModeTransformConfigSegmentationConfig_Element",
278
346
  "AdvancedModeTransformConfigSegmentationConfig_None",
279
347
  "AdvancedModeTransformConfigSegmentationConfig_Page",
348
+ "AppSchemaChatChatMessage",
280
349
  "AutoTransformConfig",
281
350
  "AzureOpenAiEmbedding",
282
351
  "AzureOpenAiEmbeddingConfig",
@@ -287,8 +356,9 @@ __all__ = [
287
356
  "BoxAuthMechanism",
288
357
  "CharacterChunkingConfig",
289
358
  "CharacterSplitter",
359
+ "ChatApp",
360
+ "ChatAppResponse",
290
361
  "ChatData",
291
- "ChatMessage",
292
362
  "CloudAzStorageBlobDataSource",
293
363
  "CloudAzureAiSearchVectorStore",
294
364
  "CloudBoxDataSource",
@@ -310,6 +380,9 @@ __all__ = [
310
380
  "CodeSplitter",
311
381
  "CohereEmbedding",
312
382
  "CohereEmbeddingConfig",
383
+ "CompositeRetrievalMode",
384
+ "CompositeRetrievalResult",
385
+ "CompositeRetrievedTextNode",
313
386
  "ConfigurableDataSinkNames",
314
387
  "ConfigurableDataSourceNames",
315
388
  "ConfigurableTransformationDefinition",
@@ -331,6 +404,7 @@ __all__ = [
331
404
  "DataSourceDefinition",
332
405
  "DataSourceUpdateComponent",
333
406
  "DataSourceUpdateCustomMetadataValue",
407
+ "EditSuggestion",
334
408
  "ElementSegmentationConfig",
335
409
  "EmbeddingModelConfig",
336
410
  "EmbeddingModelConfigCreateEmbeddingConfig",
@@ -367,6 +441,20 @@ __all__ = [
367
441
  "EvalQuestion",
368
442
  "EvalQuestionCreate",
369
443
  "EvalQuestionResult",
444
+ "ExtractAgent",
445
+ "ExtractAgentCreateDataSchemaValue",
446
+ "ExtractAgentDataSchemaValue",
447
+ "ExtractAgentUpdateDataSchemaValue",
448
+ "ExtractConfig",
449
+ "ExtractJob",
450
+ "ExtractJobCreate",
451
+ "ExtractJobCreateDataSchemaOverrideValue",
452
+ "ExtractMode",
453
+ "ExtractResultset",
454
+ "ExtractResultsetData",
455
+ "ExtractResultsetDataItemValue",
456
+ "ExtractResultsetDataZeroValue",
457
+ "ExtractResultsetExtractionMetadataValue",
370
458
  "ExtractionJob",
371
459
  "ExtractionResult",
372
460
  "ExtractionResultDataValue",
@@ -376,7 +464,9 @@ __all__ = [
376
464
  "ExtractionSchemaUpdateDataSchemaValue",
377
465
  "File",
378
466
  "FileCreateFromUrlResourceInfoValue",
467
+ "FileCreatePermissionInfoValue",
379
468
  "FileCreateResourceInfoValue",
469
+ "FilePermissionInfoValue",
380
470
  "FileResourceInfoValue",
381
471
  "FilterCondition",
382
472
  "FilterOperator",
@@ -386,11 +476,19 @@ __all__ = [
386
476
  "HuggingFaceInferenceApiEmbedding",
387
477
  "HuggingFaceInferenceApiEmbeddingConfig",
388
478
  "HuggingFaceInferenceApiEmbeddingToken",
479
+ "ImageBlock",
389
480
  "IngestionErrorResponse",
390
481
  "InputMessage",
391
482
  "IntervalUsageAndPlan",
392
483
  "JobNameMapping",
484
+ "JobNames",
485
+ "JobRecord",
486
+ "JobRecordWithUsageMetrics",
393
487
  "LlamaCloudEnvironment",
488
+ "LlamaIndexCoreBaseLlmsTypesChatMessage",
489
+ "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem",
490
+ "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Image",
491
+ "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text",
394
492
  "LlamaParseParameters",
395
493
  "LlamaParseSupportedFileExtensions",
396
494
  "Llm",
@@ -423,12 +521,16 @@ __all__ = [
423
521
  "PageScreenshotNodeWithScore",
424
522
  "PageSegmentationConfig",
425
523
  "PageSplitterNodeParser",
524
+ "PaginatedJobsHistoryWithMetrics",
426
525
  "PaginatedListPipelineFilesResponse",
526
+ "PaginatedReportResponse",
527
+ "ParsePlanLevel",
427
528
  "ParserLanguages",
428
529
  "ParsingHistoryItem",
429
530
  "ParsingJob",
430
531
  "ParsingJobJsonResult",
431
532
  "ParsingJobMarkdownResult",
533
+ "ParsingJobStructuredResult",
432
534
  "ParsingJobTextResult",
433
535
  "ParsingUsage",
434
536
  "PartitionNames",
@@ -463,6 +565,7 @@ __all__ = [
463
565
  "PipelineFileCreate",
464
566
  "PipelineFileCreateCustomMetadataValue",
465
567
  "PipelineFileCustomMetadataValue",
568
+ "PipelineFilePermissionInfoValue",
466
569
  "PipelineFileResourceInfoValue",
467
570
  "PipelineFileUpdateCustomMetadataValue",
468
571
  "PipelineTransformConfig",
@@ -483,14 +586,38 @@ __all__ = [
483
586
  "Pooling",
484
587
  "PresetRetrievalParams",
485
588
  "PresignedUrl",
589
+ "ProgressEvent",
590
+ "ProgressEventStatus",
486
591
  "Project",
487
592
  "ProjectCreate",
488
593
  "PromptMixinPrompts",
489
594
  "PromptSpec",
490
595
  "PydanticProgramMode",
491
596
  "RelatedNodeInfo",
597
+ "RelatedNodeInfoNodeType",
598
+ "Report",
599
+ "ReportBlock",
600
+ "ReportBlockDependency",
601
+ "ReportCreateResponse",
602
+ "ReportEventItem",
603
+ "ReportEventItemEventData",
604
+ "ReportEventItemEventData_Progress",
605
+ "ReportEventItemEventData_ReportBlockUpdate",
606
+ "ReportEventItemEventData_ReportStateUpdate",
607
+ "ReportEventType",
608
+ "ReportMetadata",
609
+ "ReportPlan",
610
+ "ReportPlanBlock",
611
+ "ReportQuery",
612
+ "ReportResponse",
613
+ "ReportState",
614
+ "ReportStateEvent",
615
+ "ReportUpdateEvent",
492
616
  "RetrievalMode",
493
617
  "RetrieveResults",
618
+ "Retriever",
619
+ "RetrieverCreate",
620
+ "RetrieverPipeline",
494
621
  "Role",
495
622
  "SemanticChunkingConfig",
496
623
  "SentenceChunkingConfig",
@@ -498,6 +625,7 @@ __all__ = [
498
625
  "StatusEnum",
499
626
  "SupportedLlmModel",
500
627
  "SupportedLlmModelNames",
628
+ "TextBlock",
501
629
  "TextNode",
502
630
  "TextNodeRelationshipsValue",
503
631
  "TextNodeWithScore",
@@ -505,7 +633,10 @@ __all__ = [
505
633
  "TokenTextSplitter",
506
634
  "TransformationCategoryNames",
507
635
  "UnprocessableEntityError",
636
+ "UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
508
637
  "Usage",
638
+ "UsageMetricResponse",
639
+ "UserJobRecord",
509
640
  "UserOrganization",
510
641
  "UserOrganizationCreate",
511
642
  "UserOrganizationDelete",
@@ -515,6 +646,7 @@ __all__ = [
515
646
  "VertexAiEmbeddingConfig",
516
647
  "VertexEmbeddingMode",
517
648
  "VertexTextEmbedding",
649
+ "chat_apps",
518
650
  "component_definitions",
519
651
  "data_sinks",
520
652
  "data_sources",
@@ -522,8 +654,12 @@ __all__ = [
522
654
  "evals",
523
655
  "extraction",
524
656
  "files",
657
+ "jobs",
658
+ "llama_extract",
525
659
  "organizations",
526
660
  "parsing",
527
661
  "pipelines",
528
662
  "projects",
663
+ "reports",
664
+ "retrievers",
529
665
  ]
llama_cloud/client.py CHANGED
@@ -6,6 +6,7 @@ import httpx
6
6
 
7
7
  from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
8
8
  from .environment import LlamaCloudEnvironment
9
+ from .resources.chat_apps.client import AsyncChatAppsClient, ChatAppsClient
9
10
  from .resources.component_definitions.client import AsyncComponentDefinitionsClient, ComponentDefinitionsClient
10
11
  from .resources.data_sinks.client import AsyncDataSinksClient, DataSinksClient
11
12
  from .resources.data_sources.client import AsyncDataSourcesClient, DataSourcesClient
@@ -13,10 +14,14 @@ from .resources.embedding_model_configs.client import AsyncEmbeddingModelConfigs
13
14
  from .resources.evals.client import AsyncEvalsClient, EvalsClient
14
15
  from .resources.extraction.client import AsyncExtractionClient, ExtractionClient
15
16
  from .resources.files.client import AsyncFilesClient, FilesClient
17
+ from .resources.jobs.client import AsyncJobsClient, JobsClient
18
+ from .resources.llama_extract.client import AsyncLlamaExtractClient, LlamaExtractClient
16
19
  from .resources.organizations.client import AsyncOrganizationsClient, OrganizationsClient
17
20
  from .resources.parsing.client import AsyncParsingClient, ParsingClient
18
21
  from .resources.pipelines.client import AsyncPipelinesClient, PipelinesClient
19
22
  from .resources.projects.client import AsyncProjectsClient, ProjectsClient
23
+ from .resources.reports.client import AsyncReportsClient, ReportsClient
24
+ from .resources.retrievers.client import AsyncRetrieversClient, RetrieversClient
20
25
 
21
26
 
22
27
  class LlamaCloud:
@@ -41,10 +46,15 @@ class LlamaCloud:
41
46
  self.projects = ProjectsClient(client_wrapper=self._client_wrapper)
42
47
  self.files = FilesClient(client_wrapper=self._client_wrapper)
43
48
  self.pipelines = PipelinesClient(client_wrapper=self._client_wrapper)
49
+ self.retrievers = RetrieversClient(client_wrapper=self._client_wrapper)
50
+ self.jobs = JobsClient(client_wrapper=self._client_wrapper)
44
51
  self.evals = EvalsClient(client_wrapper=self._client_wrapper)
45
52
  self.parsing = ParsingClient(client_wrapper=self._client_wrapper)
46
53
  self.component_definitions = ComponentDefinitionsClient(client_wrapper=self._client_wrapper)
54
+ self.chat_apps = ChatAppsClient(client_wrapper=self._client_wrapper)
47
55
  self.extraction = ExtractionClient(client_wrapper=self._client_wrapper)
56
+ self.llama_extract = LlamaExtractClient(client_wrapper=self._client_wrapper)
57
+ self.reports = ReportsClient(client_wrapper=self._client_wrapper)
48
58
 
49
59
 
50
60
  class AsyncLlamaCloud:
@@ -69,10 +79,15 @@ class AsyncLlamaCloud:
69
79
  self.projects = AsyncProjectsClient(client_wrapper=self._client_wrapper)
70
80
  self.files = AsyncFilesClient(client_wrapper=self._client_wrapper)
71
81
  self.pipelines = AsyncPipelinesClient(client_wrapper=self._client_wrapper)
82
+ self.retrievers = AsyncRetrieversClient(client_wrapper=self._client_wrapper)
83
+ self.jobs = AsyncJobsClient(client_wrapper=self._client_wrapper)
72
84
  self.evals = AsyncEvalsClient(client_wrapper=self._client_wrapper)
73
85
  self.parsing = AsyncParsingClient(client_wrapper=self._client_wrapper)
74
86
  self.component_definitions = AsyncComponentDefinitionsClient(client_wrapper=self._client_wrapper)
87
+ self.chat_apps = AsyncChatAppsClient(client_wrapper=self._client_wrapper)
75
88
  self.extraction = AsyncExtractionClient(client_wrapper=self._client_wrapper)
89
+ self.llama_extract = AsyncLlamaExtractClient(client_wrapper=self._client_wrapper)
90
+ self.reports = AsyncReportsClient(client_wrapper=self._client_wrapper)
76
91
 
77
92
 
78
93
  def _get_base_url(*, base_url: typing.Optional[str] = None, environment: LlamaCloudEnvironment) -> str:
@@ -1,6 +1,7 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
3
  from . import (
4
+ chat_apps,
4
5
  component_definitions,
5
6
  data_sinks,
6
7
  data_sources,
@@ -8,10 +9,14 @@ from . import (
8
9
  evals,
9
10
  extraction,
10
11
  files,
12
+ jobs,
13
+ llama_extract,
11
14
  organizations,
12
15
  parsing,
13
16
  pipelines,
14
17
  projects,
18
+ reports,
19
+ retrievers,
15
20
  )
16
21
  from .data_sinks import DataSinkUpdateComponent
17
22
  from .data_sources import DataSourceUpdateComponent, DataSourceUpdateCustomMetadataValue
@@ -26,7 +31,8 @@ from .embedding_model_configs import (
26
31
  EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding,
27
32
  )
28
33
  from .extraction import ExtractionSchemaCreateDataSchemaValue, ExtractionSchemaUpdateDataSchemaValue
29
- from .files import FileCreateFromUrlResourceInfoValue, FileCreateResourceInfoValue
34
+ from .files import FileCreateFromUrlResourceInfoValue, FileCreatePermissionInfoValue, FileCreateResourceInfoValue
35
+ from .llama_extract import ExtractAgentCreateDataSchemaValue, ExtractAgentUpdateDataSchemaValue
30
36
  from .pipelines import (
31
37
  PipelineFileUpdateCustomMetadataValue,
32
38
  PipelineUpdateEmbeddingConfig,
@@ -39,6 +45,7 @@ from .pipelines import (
39
45
  PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
40
46
  PipelineUpdateTransformConfig,
41
47
  )
48
+ from .reports import UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction
42
49
 
43
50
  __all__ = [
44
51
  "DataSinkUpdateComponent",
@@ -52,9 +59,12 @@ __all__ = [
52
59
  "EmbeddingModelConfigCreateEmbeddingConfig_HuggingfaceApiEmbedding",
53
60
  "EmbeddingModelConfigCreateEmbeddingConfig_OpenaiEmbedding",
54
61
  "EmbeddingModelConfigCreateEmbeddingConfig_VertexaiEmbedding",
62
+ "ExtractAgentCreateDataSchemaValue",
63
+ "ExtractAgentUpdateDataSchemaValue",
55
64
  "ExtractionSchemaCreateDataSchemaValue",
56
65
  "ExtractionSchemaUpdateDataSchemaValue",
57
66
  "FileCreateFromUrlResourceInfoValue",
67
+ "FileCreatePermissionInfoValue",
58
68
  "FileCreateResourceInfoValue",
59
69
  "PipelineFileUpdateCustomMetadataValue",
60
70
  "PipelineUpdateEmbeddingConfig",
@@ -66,6 +76,8 @@ __all__ = [
66
76
  "PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
67
77
  "PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
68
78
  "PipelineUpdateTransformConfig",
79
+ "UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
80
+ "chat_apps",
69
81
  "component_definitions",
70
82
  "data_sinks",
71
83
  "data_sources",
@@ -73,8 +85,12 @@ __all__ = [
73
85
  "evals",
74
86
  "extraction",
75
87
  "files",
88
+ "jobs",
89
+ "llama_extract",
76
90
  "organizations",
77
91
  "parsing",
78
92
  "pipelines",
79
93
  "projects",
94
+ "reports",
95
+ "retrievers",
80
96
  ]
@@ -0,0 +1,2 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+