llama-cloud 0.1.19__py3-none-any.whl → 0.1.21__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 (38) hide show
  1. llama_cloud/__init__.py +44 -26
  2. llama_cloud/resources/files/client.py +18 -4
  3. llama_cloud/resources/parsing/client.py +8 -0
  4. llama_cloud/resources/pipelines/client.py +25 -11
  5. llama_cloud/types/__init__.py +46 -26
  6. llama_cloud/types/{base_prompt_template.py → data_source_update_dispatcher_config.py} +9 -7
  7. llama_cloud/types/{node_parser.py → delete_params.py} +7 -9
  8. llama_cloud/types/document_ingestion_job_params.py +43 -0
  9. llama_cloud/types/extract_config.py +3 -0
  10. llama_cloud/types/job_record.py +2 -2
  11. llama_cloud/types/job_record_parameters.py +111 -0
  12. llama_cloud/types/{page_splitter_node_parser.py → l_lama_parse_transform_config.py} +5 -10
  13. llama_cloud/types/legacy_parse_job_config.py +189 -0
  14. llama_cloud/types/llama_parse_parameters.py +1 -0
  15. llama_cloud/types/load_files_job_config.py +35 -0
  16. llama_cloud/types/parse_job_config.py +134 -0
  17. llama_cloud/types/pipeline.py +4 -4
  18. llama_cloud/types/pipeline_create.py +2 -2
  19. llama_cloud/types/pipeline_file_update_dispatcher_config.py +38 -0
  20. llama_cloud/types/{configured_transformation_item.py → pipeline_file_updater_config.py} +13 -12
  21. llama_cloud/types/pipeline_managed_ingestion_job_params.py +37 -0
  22. llama_cloud/types/pipeline_metadata_config.py +36 -0
  23. llama_cloud/types/pipeline_status.py +17 -0
  24. llama_cloud/types/prompt_conf.py +1 -0
  25. llama_cloud/types/supported_llm_model.py +1 -2
  26. {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.21.dist-info}/METADATA +6 -2
  27. {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.21.dist-info}/RECORD +29 -29
  28. {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.21.dist-info}/WHEEL +1 -1
  29. llama_cloud/types/character_splitter.py +0 -46
  30. llama_cloud/types/code_splitter.py +0 -50
  31. llama_cloud/types/configured_transformation_item_component.py +0 -22
  32. llama_cloud/types/llm.py +0 -60
  33. llama_cloud/types/markdown_element_node_parser.py +0 -51
  34. llama_cloud/types/markdown_node_parser.py +0 -52
  35. llama_cloud/types/pydantic_program_mode.py +0 -41
  36. llama_cloud/types/sentence_splitter.py +0 -50
  37. llama_cloud/types/token_text_splitter.py +0 -50
  38. {llama_cloud-0.1.19.dist-info → llama_cloud-0.1.21.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,8 +62,6 @@ 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,
@@ -80,6 +75,9 @@ from .types import (
80
75
  DataSourceCreateCustomMetadataValue,
81
76
  DataSourceCustomMetadataValue,
82
77
  DataSourceDefinition,
78
+ DataSourceUpdateDispatcherConfig,
79
+ DeleteParams,
80
+ DocumentIngestionJobParams,
83
81
  EditSuggestion,
84
82
  EditSuggestionBlocksItem,
85
83
  ElementSegmentationConfig,
@@ -146,7 +144,19 @@ from .types import (
146
144
  JobNameMapping,
147
145
  JobNames,
148
146
  JobRecord,
147
+ JobRecordParameters,
148
+ JobRecordParameters_DataSourceUpdateDispatcher,
149
+ JobRecordParameters_DocumentIngestion,
150
+ JobRecordParameters_LegacyParse,
151
+ JobRecordParameters_LlamaParseTransform,
152
+ JobRecordParameters_LoadFiles,
153
+ JobRecordParameters_Parse,
154
+ JobRecordParameters_PipelineFileUpdateDispatcher,
155
+ JobRecordParameters_PipelineFileUpdater,
156
+ JobRecordParameters_PipelineManagedIngestion,
149
157
  JobRecordWithUsageMetrics,
158
+ LLamaParseTransformConfig,
159
+ LegacyParseJobConfig,
150
160
  LlamaExtractSettings,
151
161
  LlamaIndexCoreBaseLlmsTypesChatMessage,
152
162
  LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem,
@@ -155,20 +165,17 @@ from .types import (
155
165
  LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text,
156
166
  LlamaParseParameters,
157
167
  LlamaParseSupportedFileExtensions,
158
- Llm,
159
168
  LlmModelData,
160
169
  LlmParameters,
170
+ LoadFilesJobConfig,
161
171
  ManagedIngestionStatus,
162
172
  ManagedIngestionStatusResponse,
163
- MarkdownElementNodeParser,
164
- MarkdownNodeParser,
165
173
  MessageAnnotation,
166
174
  MessageRole,
167
175
  MetadataFilter,
168
176
  MetadataFilterValue,
169
177
  MetadataFilters,
170
178
  MetadataFiltersFiltersItem,
171
- NodeParser,
172
179
  NodeRelationship,
173
180
  NoneChunkingConfig,
174
181
  NoneSegmentationConfig,
@@ -181,12 +188,12 @@ from .types import (
181
188
  PageScreenshotMetadata,
182
189
  PageScreenshotNodeWithScore,
183
190
  PageSegmentationConfig,
184
- PageSplitterNodeParser,
185
191
  PaginatedExtractRunsResponse,
186
192
  PaginatedJobsHistoryWithMetrics,
187
193
  PaginatedListCloudDocumentsResponse,
188
194
  PaginatedListPipelineFilesResponse,
189
195
  PaginatedReportResponse,
196
+ ParseJobConfig,
190
197
  ParsePlanLevel,
191
198
  ParserLanguages,
192
199
  ParsingHistoryItem,
@@ -235,6 +242,11 @@ from .types import (
235
242
  PipelineFilePermissionInfoValue,
236
243
  PipelineFileResourceInfoValue,
237
244
  PipelineFileStatus,
245
+ PipelineFileUpdateDispatcherConfig,
246
+ PipelineFileUpdaterConfig,
247
+ PipelineManagedIngestionJobParams,
248
+ PipelineMetadataConfig,
249
+ PipelineStatus,
238
250
  PipelineTransformConfig,
239
251
  PipelineTransformConfig_Advanced,
240
252
  PipelineTransformConfig_Auto,
@@ -250,7 +262,6 @@ from .types import (
250
262
  Project,
251
263
  ProjectCreate,
252
264
  PromptConf,
253
- PydanticProgramMode,
254
265
  ReRankConfig,
255
266
  ReRankerType,
256
267
  RecurringCreditGrant,
@@ -283,7 +294,6 @@ from .types import (
283
294
  SchemaRelaxMode,
284
295
  SemanticChunkingConfig,
285
296
  SentenceChunkingConfig,
286
- SentenceSplitter,
287
297
  StatusEnum,
288
298
  StructMode,
289
299
  StructParseConf,
@@ -294,7 +304,6 @@ from .types import (
294
304
  TextNodeRelationshipsValue,
295
305
  TextNodeWithScore,
296
306
  TokenChunkingConfig,
297
- TokenTextSplitter,
298
307
  TransformationCategoryNames,
299
308
  UsageAndPlan,
300
309
  UsageMetricResponse,
@@ -386,7 +395,6 @@ __all__ = [
386
395
  "BasePlanMetronomePlanType",
387
396
  "BasePlanName",
388
397
  "BasePlanPlanFrequency",
389
- "BasePromptTemplate",
390
398
  "Batch",
391
399
  "BatchItem",
392
400
  "BatchPaginatedList",
@@ -396,7 +404,6 @@ __all__ = [
396
404
  "BillingPeriod",
397
405
  "BoxAuthMechanism",
398
406
  "CharacterChunkingConfig",
399
- "CharacterSplitter",
400
407
  "ChatApp",
401
408
  "ChatAppResponse",
402
409
  "ChatData",
@@ -419,7 +426,6 @@ __all__ = [
419
426
  "CloudS3DataSource",
420
427
  "CloudSharepointDataSource",
421
428
  "CloudSlackDataSource",
422
- "CodeSplitter",
423
429
  "CohereEmbedding",
424
430
  "CohereEmbeddingConfig",
425
431
  "CompositeRetrievalMode",
@@ -430,8 +436,6 @@ __all__ = [
430
436
  "ConfigurableDataSourceNames",
431
437
  "ConfigurableTransformationDefinition",
432
438
  "ConfigurableTransformationNames",
433
- "ConfiguredTransformationItem",
434
- "ConfiguredTransformationItemComponent",
435
439
  "CreditType",
436
440
  "DataSink",
437
441
  "DataSinkComponent",
@@ -448,6 +452,9 @@ __all__ = [
448
452
  "DataSourceDefinition",
449
453
  "DataSourceUpdateComponent",
450
454
  "DataSourceUpdateCustomMetadataValue",
455
+ "DataSourceUpdateDispatcherConfig",
456
+ "DeleteParams",
457
+ "DocumentIngestionJobParams",
451
458
  "EditSuggestion",
452
459
  "EditSuggestionBlocksItem",
453
460
  "ElementSegmentationConfig",
@@ -533,7 +540,19 @@ __all__ = [
533
540
  "JobNameMapping",
534
541
  "JobNames",
535
542
  "JobRecord",
543
+ "JobRecordParameters",
544
+ "JobRecordParameters_DataSourceUpdateDispatcher",
545
+ "JobRecordParameters_DocumentIngestion",
546
+ "JobRecordParameters_LegacyParse",
547
+ "JobRecordParameters_LlamaParseTransform",
548
+ "JobRecordParameters_LoadFiles",
549
+ "JobRecordParameters_Parse",
550
+ "JobRecordParameters_PipelineFileUpdateDispatcher",
551
+ "JobRecordParameters_PipelineFileUpdater",
552
+ "JobRecordParameters_PipelineManagedIngestion",
536
553
  "JobRecordWithUsageMetrics",
554
+ "LLamaParseTransformConfig",
555
+ "LegacyParseJobConfig",
537
556
  "LlamaCloudEnvironment",
538
557
  "LlamaExtractSettings",
539
558
  "LlamaIndexCoreBaseLlmsTypesChatMessage",
@@ -543,20 +562,17 @@ __all__ = [
543
562
  "LlamaIndexCoreBaseLlmsTypesChatMessageBlocksItem_Text",
544
563
  "LlamaParseParameters",
545
564
  "LlamaParseSupportedFileExtensions",
546
- "Llm",
547
565
  "LlmModelData",
548
566
  "LlmParameters",
567
+ "LoadFilesJobConfig",
549
568
  "ManagedIngestionStatus",
550
569
  "ManagedIngestionStatusResponse",
551
- "MarkdownElementNodeParser",
552
- "MarkdownNodeParser",
553
570
  "MessageAnnotation",
554
571
  "MessageRole",
555
572
  "MetadataFilter",
556
573
  "MetadataFilterValue",
557
574
  "MetadataFilters",
558
575
  "MetadataFiltersFiltersItem",
559
- "NodeParser",
560
576
  "NodeRelationship",
561
577
  "NoneChunkingConfig",
562
578
  "NoneSegmentationConfig",
@@ -569,12 +585,12 @@ __all__ = [
569
585
  "PageScreenshotMetadata",
570
586
  "PageScreenshotNodeWithScore",
571
587
  "PageSegmentationConfig",
572
- "PageSplitterNodeParser",
573
588
  "PaginatedExtractRunsResponse",
574
589
  "PaginatedJobsHistoryWithMetrics",
575
590
  "PaginatedListCloudDocumentsResponse",
576
591
  "PaginatedListPipelineFilesResponse",
577
592
  "PaginatedReportResponse",
593
+ "ParseJobConfig",
578
594
  "ParsePlanLevel",
579
595
  "ParserLanguages",
580
596
  "ParsingHistoryItem",
@@ -624,6 +640,11 @@ __all__ = [
624
640
  "PipelineFileResourceInfoValue",
625
641
  "PipelineFileStatus",
626
642
  "PipelineFileUpdateCustomMetadataValue",
643
+ "PipelineFileUpdateDispatcherConfig",
644
+ "PipelineFileUpdaterConfig",
645
+ "PipelineManagedIngestionJobParams",
646
+ "PipelineMetadataConfig",
647
+ "PipelineStatus",
627
648
  "PipelineTransformConfig",
628
649
  "PipelineTransformConfig_Advanced",
629
650
  "PipelineTransformConfig_Auto",
@@ -648,7 +669,6 @@ __all__ = [
648
669
  "Project",
649
670
  "ProjectCreate",
650
671
  "PromptConf",
651
- "PydanticProgramMode",
652
672
  "ReRankConfig",
653
673
  "ReRankerType",
654
674
  "RecurringCreditGrant",
@@ -681,7 +701,6 @@ __all__ = [
681
701
  "SchemaRelaxMode",
682
702
  "SemanticChunkingConfig",
683
703
  "SentenceChunkingConfig",
684
- "SentenceSplitter",
685
704
  "StatusEnum",
686
705
  "StructMode",
687
706
  "StructParseConf",
@@ -692,7 +711,6 @@ __all__ = [
692
711
  "TextNodeRelationshipsValue",
693
712
  "TextNodeWithScore",
694
713
  "TokenChunkingConfig",
695
- "TokenTextSplitter",
696
714
  "TransformationCategoryNames",
697
715
  "UnprocessableEntityError",
698
716
  "UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
@@ -213,7 +213,7 @@ class FilesClient:
213
213
 
214
214
  - organization_id: typing.Optional[str].
215
215
 
216
- - name: str.
216
+ - name: str. Name that will be used for created file. If possible, always include the file extension in the name.
217
217
 
218
218
  - external_file_id: typing.Optional[str].
219
219
 
@@ -318,7 +318,14 @@ class FilesClient:
318
318
  resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateFromUrlResourceInfoValue]]] = OMIT,
319
319
  ) -> File:
320
320
  """
321
- Upload a file to S3 from a URL.
321
+ Upload a file to the project from a URL.
322
+
323
+ If name is ommitted in the request payload, the file name will be
324
+ extracted from the response Content-Disposition header if available
325
+ or otherwise it will be derived from the URL path.
326
+
327
+ If providing the name in the request payload, always suffix the
328
+ file extension in the name if available.
322
329
 
323
330
  Parameters:
324
331
  - project_id: typing.Optional[str].
@@ -833,7 +840,7 @@ class AsyncFilesClient:
833
840
 
834
841
  - organization_id: typing.Optional[str].
835
842
 
836
- - name: str.
843
+ - name: str. Name that will be used for created file. If possible, always include the file extension in the name.
837
844
 
838
845
  - external_file_id: typing.Optional[str].
839
846
 
@@ -938,7 +945,14 @@ class AsyncFilesClient:
938
945
  resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateFromUrlResourceInfoValue]]] = OMIT,
939
946
  ) -> File:
940
947
  """
941
- Upload a file to S3 from a URL.
948
+ Upload a file to the project from a URL.
949
+
950
+ If name is ommitted in the request payload, the file name will be
951
+ extracted from the response Content-Disposition header if available
952
+ or otherwise it will be derived from the URL path.
953
+
954
+ If providing the name in the request payload, always suffix the
955
+ file extension in the name if available.
942
956
 
943
957
  Parameters:
944
958
  - project_id: typing.Optional[str].
@@ -204,6 +204,7 @@ class ParsingClient:
204
204
  auto_mode_trigger_on_table_in_page: bool,
205
205
  auto_mode_trigger_on_text_in_page: str,
206
206
  auto_mode_trigger_on_regexp_in_page: str,
207
+ auto_mode_configuration_json: str,
207
208
  azure_openai_api_version: str,
208
209
  azure_openai_deployment_name: str,
209
210
  azure_openai_endpoint: str,
@@ -303,6 +304,8 @@ class ParsingClient:
303
304
 
304
305
  - auto_mode_trigger_on_regexp_in_page: str.
305
306
 
307
+ - auto_mode_configuration_json: str.
308
+
306
309
  - azure_openai_api_version: str.
307
310
 
308
311
  - azure_openai_deployment_name: str.
@@ -463,6 +466,7 @@ class ParsingClient:
463
466
  "auto_mode_trigger_on_table_in_page": auto_mode_trigger_on_table_in_page,
464
467
  "auto_mode_trigger_on_text_in_page": auto_mode_trigger_on_text_in_page,
465
468
  "auto_mode_trigger_on_regexp_in_page": auto_mode_trigger_on_regexp_in_page,
469
+ "auto_mode_configuration_json": auto_mode_configuration_json,
466
470
  "azure_openai_api_version": azure_openai_api_version,
467
471
  "azure_openai_deployment_name": azure_openai_deployment_name,
468
472
  "azure_openai_endpoint": azure_openai_endpoint,
@@ -1211,6 +1215,7 @@ class AsyncParsingClient:
1211
1215
  auto_mode_trigger_on_table_in_page: bool,
1212
1216
  auto_mode_trigger_on_text_in_page: str,
1213
1217
  auto_mode_trigger_on_regexp_in_page: str,
1218
+ auto_mode_configuration_json: str,
1214
1219
  azure_openai_api_version: str,
1215
1220
  azure_openai_deployment_name: str,
1216
1221
  azure_openai_endpoint: str,
@@ -1310,6 +1315,8 @@ class AsyncParsingClient:
1310
1315
 
1311
1316
  - auto_mode_trigger_on_regexp_in_page: str.
1312
1317
 
1318
+ - auto_mode_configuration_json: str.
1319
+
1313
1320
  - azure_openai_api_version: str.
1314
1321
 
1315
1322
  - azure_openai_deployment_name: str.
@@ -1470,6 +1477,7 @@ class AsyncParsingClient:
1470
1477
  "auto_mode_trigger_on_table_in_page": auto_mode_trigger_on_table_in_page,
1471
1478
  "auto_mode_trigger_on_text_in_page": auto_mode_trigger_on_text_in_page,
1472
1479
  "auto_mode_trigger_on_regexp_in_page": auto_mode_trigger_on_regexp_in_page,
1480
+ "auto_mode_configuration_json": auto_mode_configuration_json,
1473
1481
  "azure_openai_api_version": azure_openai_api_version,
1474
1482
  "azure_openai_deployment_name": azure_openai_deployment_name,
1475
1483
  "azure_openai_endpoint": azure_openai_endpoint,
@@ -12,7 +12,6 @@ from ...errors.unprocessable_entity_error import UnprocessableEntityError
12
12
  from ...types.chat_data import ChatData
13
13
  from ...types.cloud_document import CloudDocument
14
14
  from ...types.cloud_document_create import CloudDocumentCreate
15
- from ...types.configured_transformation_item import ConfiguredTransformationItem
16
15
  from ...types.data_sink_create import DataSinkCreate
17
16
  from ...types.eval_execution_params import EvalExecutionParams
18
17
  from ...types.file_count_by_status_response import FileCountByStatusResponse
@@ -30,6 +29,7 @@ from ...types.pipeline_data_source_create import PipelineDataSourceCreate
30
29
  from ...types.pipeline_deployment import PipelineDeployment
31
30
  from ...types.pipeline_file import PipelineFile
32
31
  from ...types.pipeline_file_create import PipelineFileCreate
32
+ from ...types.pipeline_metadata_config import PipelineMetadataConfig
33
33
  from ...types.pipeline_type import PipelineType
34
34
  from ...types.playground_session import PlaygroundSession
35
35
  from ...types.preset_retrieval_params import PresetRetrievalParams
@@ -210,7 +210,6 @@ class PipelinesClient:
210
210
  *,
211
211
  embedding_config: typing.Optional[PipelineUpdateEmbeddingConfig] = OMIT,
212
212
  transform_config: typing.Optional[PipelineUpdateTransformConfig] = OMIT,
213
- configured_transformations: typing.Optional[typing.List[ConfiguredTransformationItem]] = OMIT,
214
213
  data_sink_id: typing.Optional[str] = OMIT,
215
214
  embedding_model_config_id: typing.Optional[str] = OMIT,
216
215
  data_sink: typing.Optional[DataSinkCreate] = OMIT,
@@ -218,6 +217,7 @@ class PipelinesClient:
218
217
  eval_parameters: typing.Optional[EvalExecutionParams] = OMIT,
219
218
  llama_parse_parameters: typing.Optional[LlamaParseParameters] = OMIT,
220
219
  status: typing.Optional[str] = OMIT,
220
+ metadata_config: typing.Optional[PipelineMetadataConfig] = OMIT,
221
221
  name: typing.Optional[str] = OMIT,
222
222
  managed_pipeline_id: typing.Optional[str] = OMIT,
223
223
  ) -> Pipeline:
@@ -231,8 +231,6 @@ class PipelinesClient:
231
231
 
232
232
  - transform_config: typing.Optional[PipelineUpdateTransformConfig]. Configuration for the transformation.
233
233
 
234
- - configured_transformations: typing.Optional[typing.List[ConfiguredTransformationItem]].
235
-
236
234
  - data_sink_id: typing.Optional[str].
237
235
 
238
236
  - embedding_model_config_id: typing.Optional[str].
@@ -247,6 +245,8 @@ class PipelinesClient:
247
245
 
248
246
  - status: typing.Optional[str].
249
247
 
248
+ - metadata_config: typing.Optional[PipelineMetadataConfig].
249
+
250
250
  - name: typing.Optional[str].
251
251
 
252
252
  - managed_pipeline_id: typing.Optional[str].
@@ -256,8 +256,6 @@ class PipelinesClient:
256
256
  _request["embedding_config"] = embedding_config
257
257
  if transform_config is not OMIT:
258
258
  _request["transform_config"] = transform_config
259
- if configured_transformations is not OMIT:
260
- _request["configured_transformations"] = configured_transformations
261
259
  if data_sink_id is not OMIT:
262
260
  _request["data_sink_id"] = data_sink_id
263
261
  if embedding_model_config_id is not OMIT:
@@ -272,6 +270,8 @@ class PipelinesClient:
272
270
  _request["llama_parse_parameters"] = llama_parse_parameters
273
271
  if status is not OMIT:
274
272
  _request["status"] = status
273
+ if metadata_config is not OMIT:
274
+ _request["metadata_config"] = metadata_config
275
275
  if name is not OMIT:
276
276
  _request["name"] = name
277
277
  if managed_pipeline_id is not OMIT:
@@ -1024,6 +1024,8 @@ class PipelinesClient:
1024
1024
  self,
1025
1025
  pipeline_id: str,
1026
1026
  *,
1027
+ project_id: typing.Optional[str] = None,
1028
+ organization_id: typing.Optional[str] = None,
1027
1029
  dense_similarity_top_k: typing.Optional[int] = OMIT,
1028
1030
  dense_similarity_cutoff: typing.Optional[float] = OMIT,
1029
1031
  sparse_similarity_top_k: typing.Optional[int] = OMIT,
@@ -1043,6 +1045,10 @@ class PipelinesClient:
1043
1045
  Parameters:
1044
1046
  - pipeline_id: str.
1045
1047
 
1048
+ - project_id: typing.Optional[str].
1049
+
1050
+ - organization_id: typing.Optional[str].
1051
+
1046
1052
  - dense_similarity_top_k: typing.Optional[int].
1047
1053
 
1048
1054
  - dense_similarity_cutoff: typing.Optional[float].
@@ -1109,6 +1115,7 @@ class PipelinesClient:
1109
1115
  _response = self._client_wrapper.httpx_client.request(
1110
1116
  "POST",
1111
1117
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", f"api/v1/pipelines/{pipeline_id}/retrieve"),
1118
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
1112
1119
  json=jsonable_encoder(_request),
1113
1120
  headers=self._client_wrapper.get_headers(),
1114
1121
  timeout=60,
@@ -1817,7 +1824,6 @@ class AsyncPipelinesClient:
1817
1824
  *,
1818
1825
  embedding_config: typing.Optional[PipelineUpdateEmbeddingConfig] = OMIT,
1819
1826
  transform_config: typing.Optional[PipelineUpdateTransformConfig] = OMIT,
1820
- configured_transformations: typing.Optional[typing.List[ConfiguredTransformationItem]] = OMIT,
1821
1827
  data_sink_id: typing.Optional[str] = OMIT,
1822
1828
  embedding_model_config_id: typing.Optional[str] = OMIT,
1823
1829
  data_sink: typing.Optional[DataSinkCreate] = OMIT,
@@ -1825,6 +1831,7 @@ class AsyncPipelinesClient:
1825
1831
  eval_parameters: typing.Optional[EvalExecutionParams] = OMIT,
1826
1832
  llama_parse_parameters: typing.Optional[LlamaParseParameters] = OMIT,
1827
1833
  status: typing.Optional[str] = OMIT,
1834
+ metadata_config: typing.Optional[PipelineMetadataConfig] = OMIT,
1828
1835
  name: typing.Optional[str] = OMIT,
1829
1836
  managed_pipeline_id: typing.Optional[str] = OMIT,
1830
1837
  ) -> Pipeline:
@@ -1838,8 +1845,6 @@ class AsyncPipelinesClient:
1838
1845
 
1839
1846
  - transform_config: typing.Optional[PipelineUpdateTransformConfig]. Configuration for the transformation.
1840
1847
 
1841
- - configured_transformations: typing.Optional[typing.List[ConfiguredTransformationItem]].
1842
-
1843
1848
  - data_sink_id: typing.Optional[str].
1844
1849
 
1845
1850
  - embedding_model_config_id: typing.Optional[str].
@@ -1854,6 +1859,8 @@ class AsyncPipelinesClient:
1854
1859
 
1855
1860
  - status: typing.Optional[str].
1856
1861
 
1862
+ - metadata_config: typing.Optional[PipelineMetadataConfig].
1863
+
1857
1864
  - name: typing.Optional[str].
1858
1865
 
1859
1866
  - managed_pipeline_id: typing.Optional[str].
@@ -1863,8 +1870,6 @@ class AsyncPipelinesClient:
1863
1870
  _request["embedding_config"] = embedding_config
1864
1871
  if transform_config is not OMIT:
1865
1872
  _request["transform_config"] = transform_config
1866
- if configured_transformations is not OMIT:
1867
- _request["configured_transformations"] = configured_transformations
1868
1873
  if data_sink_id is not OMIT:
1869
1874
  _request["data_sink_id"] = data_sink_id
1870
1875
  if embedding_model_config_id is not OMIT:
@@ -1879,6 +1884,8 @@ class AsyncPipelinesClient:
1879
1884
  _request["llama_parse_parameters"] = llama_parse_parameters
1880
1885
  if status is not OMIT:
1881
1886
  _request["status"] = status
1887
+ if metadata_config is not OMIT:
1888
+ _request["metadata_config"] = metadata_config
1882
1889
  if name is not OMIT:
1883
1890
  _request["name"] = name
1884
1891
  if managed_pipeline_id is not OMIT:
@@ -2633,6 +2640,8 @@ class AsyncPipelinesClient:
2633
2640
  self,
2634
2641
  pipeline_id: str,
2635
2642
  *,
2643
+ project_id: typing.Optional[str] = None,
2644
+ organization_id: typing.Optional[str] = None,
2636
2645
  dense_similarity_top_k: typing.Optional[int] = OMIT,
2637
2646
  dense_similarity_cutoff: typing.Optional[float] = OMIT,
2638
2647
  sparse_similarity_top_k: typing.Optional[int] = OMIT,
@@ -2652,6 +2661,10 @@ class AsyncPipelinesClient:
2652
2661
  Parameters:
2653
2662
  - pipeline_id: str.
2654
2663
 
2664
+ - project_id: typing.Optional[str].
2665
+
2666
+ - organization_id: typing.Optional[str].
2667
+
2655
2668
  - dense_similarity_top_k: typing.Optional[int].
2656
2669
 
2657
2670
  - dense_similarity_cutoff: typing.Optional[float].
@@ -2718,6 +2731,7 @@ class AsyncPipelinesClient:
2718
2731
  _response = await self._client_wrapper.httpx_client.request(
2719
2732
  "POST",
2720
2733
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", f"api/v1/pipelines/{pipeline_id}/retrieve"),
2734
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
2721
2735
  json=jsonable_encoder(_request),
2722
2736
  headers=self._client_wrapper.get_headers(),
2723
2737
  timeout=60,