llama-cloud 0.1.29__py3-none-any.whl → 0.1.31__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 (42) hide show
  1. llama_cloud/__init__.py +26 -16
  2. llama_cloud/client.py +0 -3
  3. llama_cloud/resources/__init__.py +0 -2
  4. llama_cloud/resources/beta/client.py +602 -0
  5. llama_cloud/resources/data_sources/types/data_source_update_component.py +0 -2
  6. llama_cloud/resources/parsing/client.py +56 -0
  7. llama_cloud/resources/pipelines/client.py +64 -0
  8. llama_cloud/types/__init__.py +26 -14
  9. llama_cloud/types/{model_configuration.py → agent_data.py} +8 -7
  10. llama_cloud/types/agent_deployment_summary.py +1 -1
  11. llama_cloud/types/{cloud_google_drive_data_source.py → aggregate_group.py} +8 -5
  12. llama_cloud/types/base_plan.py +3 -0
  13. llama_cloud/types/data_source_component.py +0 -2
  14. llama_cloud/types/data_source_create_component.py +0 -2
  15. llama_cloud/types/filter_operation.py +46 -0
  16. llama_cloud/types/filter_operation_eq.py +6 -0
  17. llama_cloud/types/filter_operation_gt.py +6 -0
  18. llama_cloud/types/filter_operation_gte.py +6 -0
  19. llama_cloud/types/filter_operation_includes_item.py +6 -0
  20. llama_cloud/types/filter_operation_lt.py +6 -0
  21. llama_cloud/types/filter_operation_lte.py +6 -0
  22. llama_cloud/types/input_message.py +2 -2
  23. llama_cloud/types/legacy_parse_job_config.py +13 -0
  24. llama_cloud/types/llama_extract_settings.py +3 -0
  25. llama_cloud/types/llama_index_core_base_llms_types_chat_message.py +2 -2
  26. llama_cloud/types/llama_parse_parameters.py +7 -0
  27. llama_cloud/types/{llama_index_core_base_llms_types_message_role.py → message_role.py} +9 -9
  28. llama_cloud/types/{text_content_block.py → paginated_response_agent_data.py} +5 -5
  29. llama_cloud/types/{message.py → paginated_response_aggregate_group.py} +5 -9
  30. llama_cloud/types/parse_job_config.py +7 -0
  31. llama_cloud/types/pipeline_data_source_component.py +0 -2
  32. llama_cloud/types/playground_session.py +2 -2
  33. llama_cloud/types/role.py +0 -1
  34. llama_cloud/types/{app_schema_chat_chat_message.py → src_app_schema_chat_chat_message.py} +3 -3
  35. llama_cloud/types/user_organization_role.py +0 -1
  36. {llama_cloud-0.1.29.dist-info → llama_cloud-0.1.31.dist-info}/METADATA +1 -1
  37. {llama_cloud-0.1.29.dist-info → llama_cloud-0.1.31.dist-info}/RECORD +39 -35
  38. llama_cloud/resources/responses/__init__.py +0 -2
  39. llama_cloud/resources/responses/client.py +0 -137
  40. llama_cloud/types/app_schema_responses_message_role.py +0 -33
  41. {llama_cloud-0.1.29.dist-info → llama_cloud-0.1.31.dist-info}/LICENSE +0 -0
  42. {llama_cloud-0.1.29.dist-info → llama_cloud-0.1.31.dist-info}/WHEEL +0 -0
llama_cloud/__init__.py CHANGED
@@ -12,10 +12,10 @@ from .types import (
12
12
  AdvancedModeTransformConfigSegmentationConfig_Element,
13
13
  AdvancedModeTransformConfigSegmentationConfig_None,
14
14
  AdvancedModeTransformConfigSegmentationConfig_Page,
15
+ AgentData,
15
16
  AgentDeploymentList,
16
17
  AgentDeploymentSummary,
17
- AppSchemaChatChatMessage,
18
- AppSchemaResponsesMessageRole,
18
+ AggregateGroup,
19
19
  AudioBlock,
20
20
  AutoTransformConfig,
21
21
  AzureOpenAiEmbedding,
@@ -43,7 +43,6 @@ from .types import (
43
43
  CloudConfluenceDataSource,
44
44
  CloudDocument,
45
45
  CloudDocumentCreate,
46
- CloudGoogleDriveDataSource,
47
46
  CloudJiraDataSource,
48
47
  CloudMilvusVectorStore,
49
48
  CloudMongoDbAtlasVectorSearch,
@@ -136,6 +135,13 @@ from .types import (
136
135
  FilePermissionInfoValue,
137
136
  FileResourceInfoValue,
138
137
  FilterCondition,
138
+ FilterOperation,
139
+ FilterOperationEq,
140
+ FilterOperationGt,
141
+ FilterOperationGte,
142
+ FilterOperationIncludesItem,
143
+ FilterOperationLt,
144
+ FilterOperationLte,
139
145
  FilterOperator,
140
146
  FreeCreditsUsage,
141
147
  GeminiEmbedding,
@@ -171,7 +177,6 @@ from .types import (
171
177
  LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Document,
172
178
  LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Image,
173
179
  LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text,
174
- LlamaIndexCoreBaseLlmsTypesMessageRole,
175
180
  LlamaParseParameters,
176
181
  LlamaParseParametersPriority,
177
182
  LlamaParseSupportedFileExtensions,
@@ -180,13 +185,12 @@ from .types import (
180
185
  LoadFilesJobConfig,
181
186
  ManagedIngestionStatus,
182
187
  ManagedIngestionStatusResponse,
183
- Message,
184
188
  MessageAnnotation,
189
+ MessageRole,
185
190
  MetadataFilter,
186
191
  MetadataFilterValue,
187
192
  MetadataFilters,
188
193
  MetadataFiltersFiltersItem,
189
- ModelConfiguration,
190
194
  NodeRelationship,
191
195
  NoneChunkingConfig,
192
196
  NoneSegmentationConfig,
@@ -205,6 +209,8 @@ from .types import (
205
209
  PaginatedListCloudDocumentsResponse,
206
210
  PaginatedListPipelineFilesResponse,
207
211
  PaginatedReportResponse,
212
+ PaginatedResponseAgentData,
213
+ PaginatedResponseAggregateGroup,
208
214
  ParseJobConfig,
209
215
  ParseJobConfigPriority,
210
216
  ParsePlanLevel,
@@ -308,13 +314,13 @@ from .types import (
308
314
  SchemaRelaxMode,
309
315
  SemanticChunkingConfig,
310
316
  SentenceChunkingConfig,
317
+ SrcAppSchemaChatChatMessage,
311
318
  StatusEnum,
312
319
  StructMode,
313
320
  StructParseConf,
314
321
  SupportedLlmModel,
315
322
  SupportedLlmModelNames,
316
323
  TextBlock,
317
- TextContentBlock,
318
324
  TextNode,
319
325
  TextNodeRelationshipsValue,
320
326
  TextNodeWithScore,
@@ -388,7 +394,6 @@ from .resources import (
388
394
  pipelines,
389
395
  projects,
390
396
  reports,
391
- responses,
392
397
  retrievers,
393
398
  )
394
399
  from .environment import LlamaCloudEnvironment
@@ -405,10 +410,10 @@ __all__ = [
405
410
  "AdvancedModeTransformConfigSegmentationConfig_Element",
406
411
  "AdvancedModeTransformConfigSegmentationConfig_None",
407
412
  "AdvancedModeTransformConfigSegmentationConfig_Page",
413
+ "AgentData",
408
414
  "AgentDeploymentList",
409
415
  "AgentDeploymentSummary",
410
- "AppSchemaChatChatMessage",
411
- "AppSchemaResponsesMessageRole",
416
+ "AggregateGroup",
412
417
  "AudioBlock",
413
418
  "AutoTransformConfig",
414
419
  "AzureOpenAiEmbedding",
@@ -436,7 +441,6 @@ __all__ = [
436
441
  "CloudConfluenceDataSource",
437
442
  "CloudDocument",
438
443
  "CloudDocumentCreate",
439
- "CloudGoogleDriveDataSource",
440
444
  "CloudJiraDataSource",
441
445
  "CloudMilvusVectorStore",
442
446
  "CloudMongoDbAtlasVectorSearch",
@@ -551,6 +555,13 @@ __all__ = [
551
555
  "FilePermissionInfoValue",
552
556
  "FileResourceInfoValue",
553
557
  "FilterCondition",
558
+ "FilterOperation",
559
+ "FilterOperationEq",
560
+ "FilterOperationGt",
561
+ "FilterOperationGte",
562
+ "FilterOperationIncludesItem",
563
+ "FilterOperationLt",
564
+ "FilterOperationLte",
554
565
  "FilterOperator",
555
566
  "FreeCreditsUsage",
556
567
  "GeminiEmbedding",
@@ -587,7 +598,6 @@ __all__ = [
587
598
  "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Document",
588
599
  "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Image",
589
600
  "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text",
590
- "LlamaIndexCoreBaseLlmsTypesMessageRole",
591
601
  "LlamaParseParameters",
592
602
  "LlamaParseParametersPriority",
593
603
  "LlamaParseSupportedFileExtensions",
@@ -596,13 +606,12 @@ __all__ = [
596
606
  "LoadFilesJobConfig",
597
607
  "ManagedIngestionStatus",
598
608
  "ManagedIngestionStatusResponse",
599
- "Message",
600
609
  "MessageAnnotation",
610
+ "MessageRole",
601
611
  "MetadataFilter",
602
612
  "MetadataFilterValue",
603
613
  "MetadataFilters",
604
614
  "MetadataFiltersFiltersItem",
605
- "ModelConfiguration",
606
615
  "NodeRelationship",
607
616
  "NoneChunkingConfig",
608
617
  "NoneSegmentationConfig",
@@ -621,6 +630,8 @@ __all__ = [
621
630
  "PaginatedListCloudDocumentsResponse",
622
631
  "PaginatedListPipelineFilesResponse",
623
632
  "PaginatedReportResponse",
633
+ "PaginatedResponseAgentData",
634
+ "PaginatedResponseAggregateGroup",
624
635
  "ParseJobConfig",
625
636
  "ParseJobConfigPriority",
626
637
  "ParsePlanLevel",
@@ -735,13 +746,13 @@ __all__ = [
735
746
  "SchemaRelaxMode",
736
747
  "SemanticChunkingConfig",
737
748
  "SentenceChunkingConfig",
749
+ "SrcAppSchemaChatChatMessage",
738
750
  "StatusEnum",
739
751
  "StructMode",
740
752
  "StructParseConf",
741
753
  "SupportedLlmModel",
742
754
  "SupportedLlmModelNames",
743
755
  "TextBlock",
744
- "TextContentBlock",
745
756
  "TextNode",
746
757
  "TextNodeRelationshipsValue",
747
758
  "TextNodeWithScore",
@@ -780,6 +791,5 @@ __all__ = [
780
791
  "pipelines",
781
792
  "projects",
782
793
  "reports",
783
- "responses",
784
794
  "retrievers",
785
795
  ]
llama_cloud/client.py CHANGED
@@ -22,7 +22,6 @@ from .resources.parsing.client import AsyncParsingClient, ParsingClient
22
22
  from .resources.pipelines.client import AsyncPipelinesClient, PipelinesClient
23
23
  from .resources.projects.client import AsyncProjectsClient, ProjectsClient
24
24
  from .resources.reports.client import AsyncReportsClient, ReportsClient
25
- from .resources.responses.client import AsyncResponsesClient, ResponsesClient
26
25
  from .resources.retrievers.client import AsyncRetrieversClient, RetrieversClient
27
26
 
28
27
 
@@ -48,7 +47,6 @@ class LlamaCloud:
48
47
  self.projects = ProjectsClient(client_wrapper=self._client_wrapper)
49
48
  self.files = FilesClient(client_wrapper=self._client_wrapper)
50
49
  self.pipelines = PipelinesClient(client_wrapper=self._client_wrapper)
51
- self.responses = ResponsesClient(client_wrapper=self._client_wrapper)
52
50
  self.retrievers = RetrieversClient(client_wrapper=self._client_wrapper)
53
51
  self.jobs = JobsClient(client_wrapper=self._client_wrapper)
54
52
  self.evals = EvalsClient(client_wrapper=self._client_wrapper)
@@ -83,7 +81,6 @@ class AsyncLlamaCloud:
83
81
  self.projects = AsyncProjectsClient(client_wrapper=self._client_wrapper)
84
82
  self.files = AsyncFilesClient(client_wrapper=self._client_wrapper)
85
83
  self.pipelines = AsyncPipelinesClient(client_wrapper=self._client_wrapper)
86
- self.responses = AsyncResponsesClient(client_wrapper=self._client_wrapper)
87
84
  self.retrievers = AsyncRetrieversClient(client_wrapper=self._client_wrapper)
88
85
  self.jobs = AsyncJobsClient(client_wrapper=self._client_wrapper)
89
86
  self.evals = AsyncEvalsClient(client_wrapper=self._client_wrapper)
@@ -17,7 +17,6 @@ from . import (
17
17
  pipelines,
18
18
  projects,
19
19
  reports,
20
- responses,
21
20
  retrievers,
22
21
  )
23
22
  from .data_sinks import DataSinkUpdateComponent
@@ -109,6 +108,5 @@ __all__ = [
109
108
  "pipelines",
110
109
  "projects",
111
110
  "reports",
112
- "responses",
113
111
  "retrievers",
114
112
  ]