llama-cloud 0.0.17__py3-none-any.whl → 0.1.0__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 +6 -30
- llama_cloud/client.py +0 -3
- llama_cloud/resources/__init__.py +2 -10
- llama_cloud/resources/data_sinks/__init__.py +2 -2
- llama_cloud/resources/data_sinks/client.py +2 -2
- llama_cloud/resources/data_sinks/types/__init__.py +1 -2
- llama_cloud/resources/data_sinks/types/data_sink_update_component.py +19 -2
- llama_cloud/resources/data_sources/__init__.py +2 -2
- llama_cloud/resources/data_sources/client.py +6 -6
- llama_cloud/resources/data_sources/types/__init__.py +1 -2
- llama_cloud/resources/data_sources/types/data_source_update_component.py +23 -2
- llama_cloud/resources/extraction/client.py +14 -14
- llama_cloud/resources/files/client.py +10 -10
- llama_cloud/resources/organizations/client.py +2 -2
- llama_cloud/resources/parsing/client.py +68 -60
- llama_cloud/resources/pipelines/__init__.py +0 -4
- llama_cloud/resources/pipelines/client.py +50 -340
- llama_cloud/resources/pipelines/types/__init__.py +1 -7
- llama_cloud/resources/pipelines/types/pipeline_update_embedding_config.py +15 -15
- llama_cloud/resources/pipelines/types/pipeline_update_transform_config.py +1 -24
- llama_cloud/types/__init__.py +7 -23
- llama_cloud/types/azure_open_ai_embedding.py +7 -34
- llama_cloud/types/base_prompt_template.py +3 -14
- llama_cloud/types/bedrock_embedding.py +7 -17
- llama_cloud/types/box_auth_mechanism.py +0 -4
- llama_cloud/types/character_splitter.py +3 -4
- llama_cloud/types/chat_data.py +0 -5
- llama_cloud/types/chat_message.py +1 -6
- llama_cloud/types/cloud_az_storage_blob_data_source.py +7 -18
- llama_cloud/types/cloud_box_data_source.py +6 -16
- llama_cloud/types/cloud_chroma_vector_store.py +1 -5
- llama_cloud/types/cloud_confluence_data_source.py +6 -10
- llama_cloud/types/cloud_document.py +1 -3
- llama_cloud/types/cloud_document_create.py +1 -3
- llama_cloud/types/cloud_google_drive_data_source.py +0 -4
- llama_cloud/types/cloud_jira_data_source.py +4 -6
- llama_cloud/types/cloud_notion_page_data_source.py +2 -6
- llama_cloud/types/cloud_one_drive_data_source.py +2 -6
- llama_cloud/types/cloud_postgres_vector_store.py +0 -4
- llama_cloud/types/cloud_s_3_data_source.py +4 -12
- llama_cloud/types/cloud_sharepoint_data_source.py +5 -9
- llama_cloud/types/cloud_slack_data_source.py +6 -10
- llama_cloud/types/cloud_weaviate_vector_store.py +0 -4
- llama_cloud/types/code_splitter.py +2 -1
- llama_cloud/types/cohere_embedding.py +3 -7
- llama_cloud/types/configurable_data_sink_names.py +0 -4
- llama_cloud/types/configurable_data_source_names.py +0 -4
- llama_cloud/types/configurable_transformation_names.py +0 -4
- llama_cloud/types/configured_transformation_item_component.py +29 -2
- llama_cloud/types/data_sink.py +2 -2
- llama_cloud/types/data_sink_component.py +19 -2
- llama_cloud/types/data_sink_create_component.py +19 -2
- llama_cloud/types/data_source.py +3 -5
- llama_cloud/types/data_source_component.py +23 -2
- llama_cloud/types/data_source_create.py +1 -3
- llama_cloud/types/data_source_create_component.py +23 -2
- llama_cloud/types/eval_dataset.py +2 -2
- llama_cloud/types/eval_dataset_job_record.py +7 -13
- llama_cloud/types/eval_execution_params_override.py +2 -6
- llama_cloud/types/eval_metric.py +17 -0
- llama_cloud/types/eval_question.py +2 -6
- llama_cloud/types/extend_vertex_text_embedding.py +6 -18
- llama_cloud/types/extraction_result.py +5 -3
- llama_cloud/types/extraction_schema.py +3 -5
- llama_cloud/types/file.py +7 -11
- llama_cloud/types/gemini_embedding.py +5 -9
- llama_cloud/types/hugging_face_inference_api_embedding.py +10 -26
- llama_cloud/types/input_message.py +2 -4
- llama_cloud/types/llama_parse_parameters.py +1 -0
- llama_cloud/types/llama_parse_supported_file_extensions.py +0 -4
- llama_cloud/types/llm.py +9 -8
- llama_cloud/types/llm_parameters.py +2 -7
- llama_cloud/types/local_eval.py +8 -10
- llama_cloud/types/local_eval_results.py +1 -1
- llama_cloud/types/managed_ingestion_status_response.py +3 -5
- llama_cloud/types/markdown_element_node_parser.py +4 -5
- llama_cloud/types/markdown_node_parser.py +2 -1
- llama_cloud/types/message_annotation.py +1 -6
- llama_cloud/types/metric_result.py +3 -3
- llama_cloud/types/node_parser.py +2 -1
- llama_cloud/types/node_relationship.py +44 -0
- llama_cloud/types/object_type.py +0 -4
- llama_cloud/types/open_ai_embedding.py +6 -12
- llama_cloud/types/organization.py +2 -2
- llama_cloud/types/page_splitter_node_parser.py +3 -2
- llama_cloud/types/parsing_job_json_result.py +2 -2
- llama_cloud/types/parsing_job_markdown_result.py +1 -1
- llama_cloud/types/parsing_job_text_result.py +1 -1
- llama_cloud/types/partition_names.py +45 -0
- llama_cloud/types/pipeline.py +7 -17
- llama_cloud/types/pipeline_configuration_hashes.py +3 -3
- llama_cloud/types/pipeline_create.py +6 -18
- llama_cloud/types/pipeline_create_embedding_config.py +15 -15
- llama_cloud/types/pipeline_create_transform_config.py +1 -24
- llama_cloud/types/pipeline_data_source.py +5 -11
- llama_cloud/types/pipeline_data_source_component.py +23 -2
- llama_cloud/types/pipeline_data_source_create.py +1 -3
- llama_cloud/types/pipeline_deployment.py +4 -8
- llama_cloud/types/pipeline_embedding_config.py +15 -15
- llama_cloud/types/pipeline_file.py +10 -18
- llama_cloud/types/pipeline_file_create.py +1 -3
- llama_cloud/types/playground_session.py +2 -2
- llama_cloud/types/preset_retrieval_params.py +8 -11
- llama_cloud/types/presigned_url.py +1 -3
- llama_cloud/types/project.py +2 -2
- llama_cloud/types/prompt_mixin_prompts.py +1 -1
- llama_cloud/types/prompt_spec.py +2 -4
- llama_cloud/types/related_node_info.py +0 -4
- llama_cloud/types/retrieval_mode.py +0 -4
- llama_cloud/types/sentence_splitter.py +3 -4
- llama_cloud/types/supported_llm_model_names.py +0 -4
- llama_cloud/types/text_node.py +3 -9
- llama_cloud/types/token_text_splitter.py +2 -1
- llama_cloud/types/transformation_category_names.py +0 -4
- llama_cloud/types/user_organization.py +5 -9
- llama_cloud/types/user_organization_create.py +2 -2
- llama_cloud/types/user_organization_delete.py +2 -2
- {llama_cloud-0.0.17.dist-info → llama_cloud-0.1.0.dist-info}/METADATA +1 -1
- llama_cloud-0.1.0.dist-info/RECORD +226 -0
- llama_cloud/resources/auth/__init__.py +0 -2
- llama_cloud/resources/auth/client.py +0 -124
- llama_cloud/resources/data_sinks/types/data_sink_update_component_one.py +0 -23
- llama_cloud/resources/data_sources/types/data_source_update_component_one.py +0 -27
- llama_cloud/types/configured_transformation_item_component_one.py +0 -35
- llama_cloud/types/custom_claims.py +0 -58
- llama_cloud/types/data_sink_component_one.py +0 -23
- llama_cloud/types/data_sink_create_component_one.py +0 -23
- llama_cloud/types/data_source_component_one.py +0 -27
- llama_cloud/types/data_source_create_component_one.py +0 -27
- llama_cloud/types/pipeline_data_source_component_one.py +0 -27
- llama_cloud/types/user.py +0 -35
- llama_cloud-0.0.17.dist-info/RECORD +0 -235
- {llama_cloud-0.0.17.dist-info → llama_cloud-0.1.0.dist-info}/LICENSE +0 -0
- {llama_cloud-0.0.17.dist-info → llama_cloud-0.1.0.dist-info}/WHEEL +0 -0
llama_cloud/__init__.py
CHANGED
|
@@ -53,21 +53,15 @@ from .types import (
|
|
|
53
53
|
ConfigurableTransformationNames,
|
|
54
54
|
ConfiguredTransformationItem,
|
|
55
55
|
ConfiguredTransformationItemComponent,
|
|
56
|
-
ConfiguredTransformationItemComponentOne,
|
|
57
|
-
CustomClaims,
|
|
58
56
|
DataSink,
|
|
59
57
|
DataSinkComponent,
|
|
60
|
-
DataSinkComponentOne,
|
|
61
58
|
DataSinkCreate,
|
|
62
59
|
DataSinkCreateComponent,
|
|
63
|
-
DataSinkCreateComponentOne,
|
|
64
60
|
DataSinkDefinition,
|
|
65
61
|
DataSource,
|
|
66
62
|
DataSourceComponent,
|
|
67
|
-
DataSourceComponentOne,
|
|
68
63
|
DataSourceCreate,
|
|
69
64
|
DataSourceCreateComponent,
|
|
70
|
-
DataSourceCreateComponentOne,
|
|
71
65
|
DataSourceCreateCustomMetadataValue,
|
|
72
66
|
DataSourceCustomMetadataValue,
|
|
73
67
|
DataSourceDefinition,
|
|
@@ -77,6 +71,7 @@ from .types import (
|
|
|
77
71
|
EvalDatasetJobRecord,
|
|
78
72
|
EvalExecutionParams,
|
|
79
73
|
EvalExecutionParamsOverride,
|
|
74
|
+
EvalMetric,
|
|
80
75
|
EvalQuestion,
|
|
81
76
|
EvalQuestionCreate,
|
|
82
77
|
EvalQuestionResult,
|
|
@@ -119,6 +114,7 @@ from .types import (
|
|
|
119
114
|
MetadataFiltersFiltersItem,
|
|
120
115
|
MetricResult,
|
|
121
116
|
NodeParser,
|
|
117
|
+
NodeRelationship,
|
|
122
118
|
NoneChunkingConfig,
|
|
123
119
|
NoneSegmentationConfig,
|
|
124
120
|
ObjectType,
|
|
@@ -137,6 +133,7 @@ from .types import (
|
|
|
137
133
|
ParsingJobMarkdownResult,
|
|
138
134
|
ParsingJobTextResult,
|
|
139
135
|
ParsingUsage,
|
|
136
|
+
PartitionNames,
|
|
140
137
|
Pipeline,
|
|
141
138
|
PipelineConfigurationHashes,
|
|
142
139
|
PipelineCreate,
|
|
@@ -149,11 +146,8 @@ from .types import (
|
|
|
149
146
|
PipelineCreateEmbeddingConfig_OpenaiEmbedding,
|
|
150
147
|
PipelineCreateEmbeddingConfig_VertexaiEmbedding,
|
|
151
148
|
PipelineCreateTransformConfig,
|
|
152
|
-
PipelineCreateTransformConfig_Advanced,
|
|
153
|
-
PipelineCreateTransformConfig_Auto,
|
|
154
149
|
PipelineDataSource,
|
|
155
150
|
PipelineDataSourceComponent,
|
|
156
|
-
PipelineDataSourceComponentOne,
|
|
157
151
|
PipelineDataSourceCreate,
|
|
158
152
|
PipelineDataSourceCustomMetadataValue,
|
|
159
153
|
PipelineDeployment,
|
|
@@ -199,7 +193,6 @@ from .types import (
|
|
|
199
193
|
TokenChunkingConfig,
|
|
200
194
|
TokenTextSplitter,
|
|
201
195
|
TransformationCategoryNames,
|
|
202
|
-
User,
|
|
203
196
|
UserOrganization,
|
|
204
197
|
UserOrganizationCreate,
|
|
205
198
|
UserOrganizationDelete,
|
|
@@ -211,9 +204,7 @@ from .types import (
|
|
|
211
204
|
from .errors import UnprocessableEntityError
|
|
212
205
|
from .resources import (
|
|
213
206
|
DataSinkUpdateComponent,
|
|
214
|
-
DataSinkUpdateComponentOne,
|
|
215
207
|
DataSourceUpdateComponent,
|
|
216
|
-
DataSourceUpdateComponentOne,
|
|
217
208
|
DataSourceUpdateCustomMetadataValue,
|
|
218
209
|
ExtractionSchemaCreateDataSchemaValue,
|
|
219
210
|
ExtractionSchemaUpdateDataSchemaValue,
|
|
@@ -228,9 +219,6 @@ from .resources import (
|
|
|
228
219
|
PipelineUpdateEmbeddingConfig_OpenaiEmbedding,
|
|
229
220
|
PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
|
|
230
221
|
PipelineUpdateTransformConfig,
|
|
231
|
-
PipelineUpdateTransformConfig_Advanced,
|
|
232
|
-
PipelineUpdateTransformConfig_Auto,
|
|
233
|
-
auth,
|
|
234
222
|
component_definitions,
|
|
235
223
|
data_sinks,
|
|
236
224
|
data_sources,
|
|
@@ -297,28 +285,20 @@ __all__ = [
|
|
|
297
285
|
"ConfigurableTransformationNames",
|
|
298
286
|
"ConfiguredTransformationItem",
|
|
299
287
|
"ConfiguredTransformationItemComponent",
|
|
300
|
-
"ConfiguredTransformationItemComponentOne",
|
|
301
|
-
"CustomClaims",
|
|
302
288
|
"DataSink",
|
|
303
289
|
"DataSinkComponent",
|
|
304
|
-
"DataSinkComponentOne",
|
|
305
290
|
"DataSinkCreate",
|
|
306
291
|
"DataSinkCreateComponent",
|
|
307
|
-
"DataSinkCreateComponentOne",
|
|
308
292
|
"DataSinkDefinition",
|
|
309
293
|
"DataSinkUpdateComponent",
|
|
310
|
-
"DataSinkUpdateComponentOne",
|
|
311
294
|
"DataSource",
|
|
312
295
|
"DataSourceComponent",
|
|
313
|
-
"DataSourceComponentOne",
|
|
314
296
|
"DataSourceCreate",
|
|
315
297
|
"DataSourceCreateComponent",
|
|
316
|
-
"DataSourceCreateComponentOne",
|
|
317
298
|
"DataSourceCreateCustomMetadataValue",
|
|
318
299
|
"DataSourceCustomMetadataValue",
|
|
319
300
|
"DataSourceDefinition",
|
|
320
301
|
"DataSourceUpdateComponent",
|
|
321
|
-
"DataSourceUpdateComponentOne",
|
|
322
302
|
"DataSourceUpdateCustomMetadataValue",
|
|
323
303
|
"ElementSegmentationConfig",
|
|
324
304
|
"EvalDataset",
|
|
@@ -326,6 +306,7 @@ __all__ = [
|
|
|
326
306
|
"EvalDatasetJobRecord",
|
|
327
307
|
"EvalExecutionParams",
|
|
328
308
|
"EvalExecutionParamsOverride",
|
|
309
|
+
"EvalMetric",
|
|
329
310
|
"EvalQuestion",
|
|
330
311
|
"EvalQuestionCreate",
|
|
331
312
|
"EvalQuestionResult",
|
|
@@ -372,6 +353,7 @@ __all__ = [
|
|
|
372
353
|
"MetadataFiltersFiltersItem",
|
|
373
354
|
"MetricResult",
|
|
374
355
|
"NodeParser",
|
|
356
|
+
"NodeRelationship",
|
|
375
357
|
"NoneChunkingConfig",
|
|
376
358
|
"NoneSegmentationConfig",
|
|
377
359
|
"ObjectType",
|
|
@@ -390,6 +372,7 @@ __all__ = [
|
|
|
390
372
|
"ParsingJobMarkdownResult",
|
|
391
373
|
"ParsingJobTextResult",
|
|
392
374
|
"ParsingUsage",
|
|
375
|
+
"PartitionNames",
|
|
393
376
|
"Pipeline",
|
|
394
377
|
"PipelineConfigurationHashes",
|
|
395
378
|
"PipelineCreate",
|
|
@@ -402,11 +385,8 @@ __all__ = [
|
|
|
402
385
|
"PipelineCreateEmbeddingConfig_OpenaiEmbedding",
|
|
403
386
|
"PipelineCreateEmbeddingConfig_VertexaiEmbedding",
|
|
404
387
|
"PipelineCreateTransformConfig",
|
|
405
|
-
"PipelineCreateTransformConfig_Advanced",
|
|
406
|
-
"PipelineCreateTransformConfig_Auto",
|
|
407
388
|
"PipelineDataSource",
|
|
408
389
|
"PipelineDataSourceComponent",
|
|
409
|
-
"PipelineDataSourceComponentOne",
|
|
410
390
|
"PipelineDataSourceCreate",
|
|
411
391
|
"PipelineDataSourceCustomMetadataValue",
|
|
412
392
|
"PipelineDeployment",
|
|
@@ -438,8 +418,6 @@ __all__ = [
|
|
|
438
418
|
"PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
|
|
439
419
|
"PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
|
|
440
420
|
"PipelineUpdateTransformConfig",
|
|
441
|
-
"PipelineUpdateTransformConfig_Advanced",
|
|
442
|
-
"PipelineUpdateTransformConfig_Auto",
|
|
443
421
|
"PlaygroundSession",
|
|
444
422
|
"Pooling",
|
|
445
423
|
"PresetRetrievalParams",
|
|
@@ -465,7 +443,6 @@ __all__ = [
|
|
|
465
443
|
"TokenTextSplitter",
|
|
466
444
|
"TransformationCategoryNames",
|
|
467
445
|
"UnprocessableEntityError",
|
|
468
|
-
"User",
|
|
469
446
|
"UserOrganization",
|
|
470
447
|
"UserOrganizationCreate",
|
|
471
448
|
"UserOrganizationDelete",
|
|
@@ -473,7 +450,6 @@ __all__ = [
|
|
|
473
450
|
"ValidationErrorLocItem",
|
|
474
451
|
"VertexAiEmbeddingConfig",
|
|
475
452
|
"VertexEmbeddingMode",
|
|
476
|
-
"auth",
|
|
477
453
|
"component_definitions",
|
|
478
454
|
"data_sinks",
|
|
479
455
|
"data_sources",
|
llama_cloud/client.py
CHANGED
|
@@ -6,7 +6,6 @@ import httpx
|
|
|
6
6
|
|
|
7
7
|
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
8
8
|
from .environment import LlamaCloudEnvironment
|
|
9
|
-
from .resources.auth.client import AsyncAuthClient, AuthClient
|
|
10
9
|
from .resources.component_definitions.client import AsyncComponentDefinitionsClient, ComponentDefinitionsClient
|
|
11
10
|
from .resources.data_sinks.client import AsyncDataSinksClient, DataSinksClient
|
|
12
11
|
from .resources.data_sources.client import AsyncDataSourcesClient, DataSourcesClient
|
|
@@ -43,7 +42,6 @@ class LlamaCloud:
|
|
|
43
42
|
self.evals = EvalsClient(client_wrapper=self._client_wrapper)
|
|
44
43
|
self.parsing = ParsingClient(client_wrapper=self._client_wrapper)
|
|
45
44
|
self.component_definitions = ComponentDefinitionsClient(client_wrapper=self._client_wrapper)
|
|
46
|
-
self.auth = AuthClient(client_wrapper=self._client_wrapper)
|
|
47
45
|
self.extraction = ExtractionClient(client_wrapper=self._client_wrapper)
|
|
48
46
|
|
|
49
47
|
|
|
@@ -71,7 +69,6 @@ class AsyncLlamaCloud:
|
|
|
71
69
|
self.evals = AsyncEvalsClient(client_wrapper=self._client_wrapper)
|
|
72
70
|
self.parsing = AsyncParsingClient(client_wrapper=self._client_wrapper)
|
|
73
71
|
self.component_definitions = AsyncComponentDefinitionsClient(client_wrapper=self._client_wrapper)
|
|
74
|
-
self.auth = AsyncAuthClient(client_wrapper=self._client_wrapper)
|
|
75
72
|
self.extraction = AsyncExtractionClient(client_wrapper=self._client_wrapper)
|
|
76
73
|
|
|
77
74
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from . import (
|
|
4
|
-
auth,
|
|
5
4
|
component_definitions,
|
|
6
5
|
data_sinks,
|
|
7
6
|
data_sources,
|
|
@@ -13,8 +12,8 @@ from . import (
|
|
|
13
12
|
pipelines,
|
|
14
13
|
projects,
|
|
15
14
|
)
|
|
16
|
-
from .data_sinks import DataSinkUpdateComponent
|
|
17
|
-
from .data_sources import DataSourceUpdateComponent,
|
|
15
|
+
from .data_sinks import DataSinkUpdateComponent
|
|
16
|
+
from .data_sources import DataSourceUpdateComponent, DataSourceUpdateCustomMetadataValue
|
|
18
17
|
from .extraction import ExtractionSchemaCreateDataSchemaValue, ExtractionSchemaUpdateDataSchemaValue
|
|
19
18
|
from .files import FileCreateResourceInfoValue
|
|
20
19
|
from .pipelines import (
|
|
@@ -28,15 +27,11 @@ from .pipelines import (
|
|
|
28
27
|
PipelineUpdateEmbeddingConfig_OpenaiEmbedding,
|
|
29
28
|
PipelineUpdateEmbeddingConfig_VertexaiEmbedding,
|
|
30
29
|
PipelineUpdateTransformConfig,
|
|
31
|
-
PipelineUpdateTransformConfig_Advanced,
|
|
32
|
-
PipelineUpdateTransformConfig_Auto,
|
|
33
30
|
)
|
|
34
31
|
|
|
35
32
|
__all__ = [
|
|
36
33
|
"DataSinkUpdateComponent",
|
|
37
|
-
"DataSinkUpdateComponentOne",
|
|
38
34
|
"DataSourceUpdateComponent",
|
|
39
|
-
"DataSourceUpdateComponentOne",
|
|
40
35
|
"DataSourceUpdateCustomMetadataValue",
|
|
41
36
|
"ExtractionSchemaCreateDataSchemaValue",
|
|
42
37
|
"ExtractionSchemaUpdateDataSchemaValue",
|
|
@@ -51,9 +46,6 @@ __all__ = [
|
|
|
51
46
|
"PipelineUpdateEmbeddingConfig_OpenaiEmbedding",
|
|
52
47
|
"PipelineUpdateEmbeddingConfig_VertexaiEmbedding",
|
|
53
48
|
"PipelineUpdateTransformConfig",
|
|
54
|
-
"PipelineUpdateTransformConfig_Advanced",
|
|
55
|
-
"PipelineUpdateTransformConfig_Auto",
|
|
56
|
-
"auth",
|
|
57
49
|
"component_definitions",
|
|
58
50
|
"data_sinks",
|
|
59
51
|
"data_sources",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import DataSinkUpdateComponent
|
|
3
|
+
from .types import DataSinkUpdateComponent
|
|
4
4
|
|
|
5
|
-
__all__ = ["DataSinkUpdateComponent"
|
|
5
|
+
__all__ = ["DataSinkUpdateComponent"]
|
|
@@ -206,7 +206,7 @@ class DataSinksClient:
|
|
|
206
206
|
Parameters:
|
|
207
207
|
- data_sink_id: str.
|
|
208
208
|
|
|
209
|
-
- name: typing.Optional[str].
|
|
209
|
+
- name: typing.Optional[str].
|
|
210
210
|
|
|
211
211
|
- sink_type: ConfigurableDataSinkNames.
|
|
212
212
|
|
|
@@ -457,7 +457,7 @@ class AsyncDataSinksClient:
|
|
|
457
457
|
Parameters:
|
|
458
458
|
- data_sink_id: str.
|
|
459
459
|
|
|
460
|
-
- name: typing.Optional[str].
|
|
460
|
+
- name: typing.Optional[str].
|
|
461
461
|
|
|
462
462
|
- sink_type: ConfigurableDataSinkNames.
|
|
463
463
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .data_sink_update_component import DataSinkUpdateComponent
|
|
4
|
-
from .data_sink_update_component_one import DataSinkUpdateComponentOne
|
|
5
4
|
|
|
6
|
-
__all__ = ["DataSinkUpdateComponent"
|
|
5
|
+
__all__ = ["DataSinkUpdateComponent"]
|
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
from .
|
|
5
|
+
from ....types.cloud_azure_ai_search_vector_store import CloudAzureAiSearchVectorStore
|
|
6
|
+
from ....types.cloud_chroma_vector_store import CloudChromaVectorStore
|
|
7
|
+
from ....types.cloud_milvus_vector_store import CloudMilvusVectorStore
|
|
8
|
+
from ....types.cloud_mongo_db_atlas_vector_search import CloudMongoDbAtlasVectorSearch
|
|
9
|
+
from ....types.cloud_pinecone_vector_store import CloudPineconeVectorStore
|
|
10
|
+
from ....types.cloud_postgres_vector_store import CloudPostgresVectorStore
|
|
11
|
+
from ....types.cloud_qdrant_vector_store import CloudQdrantVectorStore
|
|
12
|
+
from ....types.cloud_weaviate_vector_store import CloudWeaviateVectorStore
|
|
6
13
|
|
|
7
|
-
DataSinkUpdateComponent = typing.Union[
|
|
14
|
+
DataSinkUpdateComponent = typing.Union[
|
|
15
|
+
typing.Dict[str, typing.Any],
|
|
16
|
+
CloudChromaVectorStore,
|
|
17
|
+
CloudPineconeVectorStore,
|
|
18
|
+
CloudPostgresVectorStore,
|
|
19
|
+
CloudQdrantVectorStore,
|
|
20
|
+
CloudWeaviateVectorStore,
|
|
21
|
+
CloudAzureAiSearchVectorStore,
|
|
22
|
+
CloudMongoDbAtlasVectorSearch,
|
|
23
|
+
CloudMilvusVectorStore,
|
|
24
|
+
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from .types import DataSourceUpdateComponent,
|
|
3
|
+
from .types import DataSourceUpdateComponent, DataSourceUpdateCustomMetadataValue
|
|
4
4
|
|
|
5
|
-
__all__ = ["DataSourceUpdateComponent", "
|
|
5
|
+
__all__ = ["DataSourceUpdateComponent", "DataSourceUpdateCustomMetadataValue"]
|
|
@@ -203,7 +203,7 @@ class DataSourcesClient:
|
|
|
203
203
|
*,
|
|
204
204
|
name: typing.Optional[str] = OMIT,
|
|
205
205
|
source_type: ConfigurableDataSourceNames,
|
|
206
|
-
custom_metadata: typing.Optional[typing.Dict[str, DataSourceUpdateCustomMetadataValue]] = OMIT,
|
|
206
|
+
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]] = OMIT,
|
|
207
207
|
component: typing.Optional[DataSourceUpdateComponent] = OMIT,
|
|
208
208
|
) -> DataSource:
|
|
209
209
|
"""
|
|
@@ -212,11 +212,11 @@ class DataSourcesClient:
|
|
|
212
212
|
Parameters:
|
|
213
213
|
- data_source_id: str.
|
|
214
214
|
|
|
215
|
-
- name: typing.Optional[str].
|
|
215
|
+
- name: typing.Optional[str].
|
|
216
216
|
|
|
217
217
|
- source_type: ConfigurableDataSourceNames.
|
|
218
218
|
|
|
219
|
-
- custom_metadata: typing.Optional[typing.Dict[str, DataSourceUpdateCustomMetadataValue]].
|
|
219
|
+
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]].
|
|
220
220
|
|
|
221
221
|
- component: typing.Optional[DataSourceUpdateComponent].
|
|
222
222
|
---
|
|
@@ -463,7 +463,7 @@ class AsyncDataSourcesClient:
|
|
|
463
463
|
*,
|
|
464
464
|
name: typing.Optional[str] = OMIT,
|
|
465
465
|
source_type: ConfigurableDataSourceNames,
|
|
466
|
-
custom_metadata: typing.Optional[typing.Dict[str, DataSourceUpdateCustomMetadataValue]] = OMIT,
|
|
466
|
+
custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]] = OMIT,
|
|
467
467
|
component: typing.Optional[DataSourceUpdateComponent] = OMIT,
|
|
468
468
|
) -> DataSource:
|
|
469
469
|
"""
|
|
@@ -472,11 +472,11 @@ class AsyncDataSourcesClient:
|
|
|
472
472
|
Parameters:
|
|
473
473
|
- data_source_id: str.
|
|
474
474
|
|
|
475
|
-
- name: typing.Optional[str].
|
|
475
|
+
- name: typing.Optional[str].
|
|
476
476
|
|
|
477
477
|
- source_type: ConfigurableDataSourceNames.
|
|
478
478
|
|
|
479
|
-
- custom_metadata: typing.Optional[typing.Dict[str, DataSourceUpdateCustomMetadataValue]].
|
|
479
|
+
- custom_metadata: typing.Optional[typing.Dict[str, typing.Optional[DataSourceUpdateCustomMetadataValue]]].
|
|
480
480
|
|
|
481
481
|
- component: typing.Optional[DataSourceUpdateComponent].
|
|
482
482
|
---
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
3
|
from .data_source_update_component import DataSourceUpdateComponent
|
|
4
|
-
from .data_source_update_component_one import DataSourceUpdateComponentOne
|
|
5
4
|
from .data_source_update_custom_metadata_value import DataSourceUpdateCustomMetadataValue
|
|
6
5
|
|
|
7
|
-
__all__ = ["DataSourceUpdateComponent", "
|
|
6
|
+
__all__ = ["DataSourceUpdateComponent", "DataSourceUpdateCustomMetadataValue"]
|
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
from .
|
|
5
|
+
from ....types.cloud_az_storage_blob_data_source import CloudAzStorageBlobDataSource
|
|
6
|
+
from ....types.cloud_box_data_source import CloudBoxDataSource
|
|
7
|
+
from ....types.cloud_confluence_data_source import CloudConfluenceDataSource
|
|
8
|
+
from ....types.cloud_google_drive_data_source import CloudGoogleDriveDataSource
|
|
9
|
+
from ....types.cloud_jira_data_source import CloudJiraDataSource
|
|
10
|
+
from ....types.cloud_notion_page_data_source import CloudNotionPageDataSource
|
|
11
|
+
from ....types.cloud_one_drive_data_source import CloudOneDriveDataSource
|
|
12
|
+
from ....types.cloud_s_3_data_source import CloudS3DataSource
|
|
13
|
+
from ....types.cloud_sharepoint_data_source import CloudSharepointDataSource
|
|
14
|
+
from ....types.cloud_slack_data_source import CloudSlackDataSource
|
|
6
15
|
|
|
7
|
-
DataSourceUpdateComponent = typing.Union[
|
|
16
|
+
DataSourceUpdateComponent = typing.Union[
|
|
17
|
+
typing.Dict[str, typing.Any],
|
|
18
|
+
CloudS3DataSource,
|
|
19
|
+
CloudAzStorageBlobDataSource,
|
|
20
|
+
CloudGoogleDriveDataSource,
|
|
21
|
+
CloudOneDriveDataSource,
|
|
22
|
+
CloudSharepointDataSource,
|
|
23
|
+
CloudSlackDataSource,
|
|
24
|
+
CloudNotionPageDataSource,
|
|
25
|
+
CloudConfluenceDataSource,
|
|
26
|
+
CloudJiraDataSource,
|
|
27
|
+
CloudBoxDataSource,
|
|
28
|
+
]
|
|
@@ -66,15 +66,15 @@ class ExtractionClient:
|
|
|
66
66
|
*,
|
|
67
67
|
name: str,
|
|
68
68
|
project_id: typing.Optional[str] = OMIT,
|
|
69
|
-
data_schema: typing.Dict[str, ExtractionSchemaCreateDataSchemaValue],
|
|
69
|
+
data_schema: typing.Dict[str, typing.Optional[ExtractionSchemaCreateDataSchemaValue]],
|
|
70
70
|
) -> ExtractionSchema:
|
|
71
71
|
"""
|
|
72
72
|
Parameters:
|
|
73
73
|
- name: str. The name of the extraction schema
|
|
74
74
|
|
|
75
|
-
- project_id: typing.Optional[str].
|
|
75
|
+
- project_id: typing.Optional[str].
|
|
76
76
|
|
|
77
|
-
- data_schema: typing.Dict[str, ExtractionSchemaCreateDataSchemaValue]. The schema of the data
|
|
77
|
+
- data_schema: typing.Dict[str, typing.Optional[ExtractionSchemaCreateDataSchemaValue]]. The schema of the data
|
|
78
78
|
---
|
|
79
79
|
from llama_cloud.client import LlamaCloud
|
|
80
80
|
|
|
@@ -117,11 +117,11 @@ class ExtractionClient:
|
|
|
117
117
|
) -> ExtractionSchema:
|
|
118
118
|
"""
|
|
119
119
|
Parameters:
|
|
120
|
-
- schema_id: typing.Optional[str].
|
|
120
|
+
- schema_id: typing.Optional[str].
|
|
121
121
|
|
|
122
122
|
- name: str. The name of the extraction schema
|
|
123
123
|
|
|
124
|
-
- project_id: typing.Optional[str].
|
|
124
|
+
- project_id: typing.Optional[str].
|
|
125
125
|
|
|
126
126
|
- file_ids: typing.List[str]. The IDs of the files that the extraction schema contains
|
|
127
127
|
|
|
@@ -195,13 +195,13 @@ class ExtractionClient:
|
|
|
195
195
|
self,
|
|
196
196
|
schema_id: str,
|
|
197
197
|
*,
|
|
198
|
-
data_schema: typing.Optional[typing.Dict[str, ExtractionSchemaUpdateDataSchemaValue]] = OMIT,
|
|
198
|
+
data_schema: typing.Optional[typing.Dict[str, typing.Optional[ExtractionSchemaUpdateDataSchemaValue]]] = OMIT,
|
|
199
199
|
) -> ExtractionSchema:
|
|
200
200
|
"""
|
|
201
201
|
Parameters:
|
|
202
202
|
- schema_id: str.
|
|
203
203
|
|
|
204
|
-
- data_schema: typing.Optional[typing.Dict[str, ExtractionSchemaUpdateDataSchemaValue]].
|
|
204
|
+
- data_schema: typing.Optional[typing.Dict[str, typing.Optional[ExtractionSchemaUpdateDataSchemaValue]]].
|
|
205
205
|
---
|
|
206
206
|
from llama_cloud.client import LlamaCloud
|
|
207
207
|
|
|
@@ -430,15 +430,15 @@ class AsyncExtractionClient:
|
|
|
430
430
|
*,
|
|
431
431
|
name: str,
|
|
432
432
|
project_id: typing.Optional[str] = OMIT,
|
|
433
|
-
data_schema: typing.Dict[str, ExtractionSchemaCreateDataSchemaValue],
|
|
433
|
+
data_schema: typing.Dict[str, typing.Optional[ExtractionSchemaCreateDataSchemaValue]],
|
|
434
434
|
) -> ExtractionSchema:
|
|
435
435
|
"""
|
|
436
436
|
Parameters:
|
|
437
437
|
- name: str. The name of the extraction schema
|
|
438
438
|
|
|
439
|
-
- project_id: typing.Optional[str].
|
|
439
|
+
- project_id: typing.Optional[str].
|
|
440
440
|
|
|
441
|
-
- data_schema: typing.Dict[str, ExtractionSchemaCreateDataSchemaValue]. The schema of the data
|
|
441
|
+
- data_schema: typing.Dict[str, typing.Optional[ExtractionSchemaCreateDataSchemaValue]]. The schema of the data
|
|
442
442
|
---
|
|
443
443
|
from llama_cloud.client import AsyncLlamaCloud
|
|
444
444
|
|
|
@@ -481,11 +481,11 @@ class AsyncExtractionClient:
|
|
|
481
481
|
) -> ExtractionSchema:
|
|
482
482
|
"""
|
|
483
483
|
Parameters:
|
|
484
|
-
- schema_id: typing.Optional[str].
|
|
484
|
+
- schema_id: typing.Optional[str].
|
|
485
485
|
|
|
486
486
|
- name: str. The name of the extraction schema
|
|
487
487
|
|
|
488
|
-
- project_id: typing.Optional[str].
|
|
488
|
+
- project_id: typing.Optional[str].
|
|
489
489
|
|
|
490
490
|
- file_ids: typing.List[str]. The IDs of the files that the extraction schema contains
|
|
491
491
|
|
|
@@ -559,13 +559,13 @@ class AsyncExtractionClient:
|
|
|
559
559
|
self,
|
|
560
560
|
schema_id: str,
|
|
561
561
|
*,
|
|
562
|
-
data_schema: typing.Optional[typing.Dict[str, ExtractionSchemaUpdateDataSchemaValue]] = OMIT,
|
|
562
|
+
data_schema: typing.Optional[typing.Dict[str, typing.Optional[ExtractionSchemaUpdateDataSchemaValue]]] = OMIT,
|
|
563
563
|
) -> ExtractionSchema:
|
|
564
564
|
"""
|
|
565
565
|
Parameters:
|
|
566
566
|
- schema_id: str.
|
|
567
567
|
|
|
568
|
-
- data_schema: typing.Optional[typing.Dict[str, ExtractionSchemaUpdateDataSchemaValue]].
|
|
568
|
+
- data_schema: typing.Optional[typing.Dict[str, typing.Optional[ExtractionSchemaUpdateDataSchemaValue]]].
|
|
569
569
|
---
|
|
570
570
|
from llama_cloud.client import AsyncLlamaCloud
|
|
571
571
|
|
|
@@ -168,7 +168,7 @@ class FilesClient:
|
|
|
168
168
|
name: str,
|
|
169
169
|
file_size: typing.Optional[int] = OMIT,
|
|
170
170
|
last_modified_at: typing.Optional[dt.datetime] = OMIT,
|
|
171
|
-
resource_info: typing.Optional[typing.Dict[str, FileCreateResourceInfoValue]] = OMIT,
|
|
171
|
+
resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]] = OMIT,
|
|
172
172
|
data_source_id: typing.Optional[str] = OMIT,
|
|
173
173
|
) -> PresignedUrl:
|
|
174
174
|
"""
|
|
@@ -179,13 +179,13 @@ class FilesClient:
|
|
|
179
179
|
|
|
180
180
|
- name: str.
|
|
181
181
|
|
|
182
|
-
- file_size: typing.Optional[int].
|
|
182
|
+
- file_size: typing.Optional[int].
|
|
183
183
|
|
|
184
|
-
- last_modified_at: typing.Optional[dt.datetime].
|
|
184
|
+
- last_modified_at: typing.Optional[dt.datetime].
|
|
185
185
|
|
|
186
|
-
- resource_info: typing.Optional[typing.Dict[str, FileCreateResourceInfoValue]].
|
|
186
|
+
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]].
|
|
187
187
|
|
|
188
|
-
- data_source_id: typing.Optional[str].
|
|
188
|
+
- data_source_id: typing.Optional[str].
|
|
189
189
|
---
|
|
190
190
|
from llama_cloud.client import LlamaCloud
|
|
191
191
|
|
|
@@ -509,7 +509,7 @@ class AsyncFilesClient:
|
|
|
509
509
|
name: str,
|
|
510
510
|
file_size: typing.Optional[int] = OMIT,
|
|
511
511
|
last_modified_at: typing.Optional[dt.datetime] = OMIT,
|
|
512
|
-
resource_info: typing.Optional[typing.Dict[str, FileCreateResourceInfoValue]] = OMIT,
|
|
512
|
+
resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]] = OMIT,
|
|
513
513
|
data_source_id: typing.Optional[str] = OMIT,
|
|
514
514
|
) -> PresignedUrl:
|
|
515
515
|
"""
|
|
@@ -520,13 +520,13 @@ class AsyncFilesClient:
|
|
|
520
520
|
|
|
521
521
|
- name: str.
|
|
522
522
|
|
|
523
|
-
- file_size: typing.Optional[int].
|
|
523
|
+
- file_size: typing.Optional[int].
|
|
524
524
|
|
|
525
|
-
- last_modified_at: typing.Optional[dt.datetime].
|
|
525
|
+
- last_modified_at: typing.Optional[dt.datetime].
|
|
526
526
|
|
|
527
|
-
- resource_info: typing.Optional[typing.Dict[str, FileCreateResourceInfoValue]].
|
|
527
|
+
- resource_info: typing.Optional[typing.Dict[str, typing.Optional[FileCreateResourceInfoValue]]].
|
|
528
528
|
|
|
529
|
-
- data_source_id: typing.Optional[str].
|
|
529
|
+
- data_source_id: typing.Optional[str].
|
|
530
530
|
---
|
|
531
531
|
from llama_cloud.client import AsyncLlamaCloud
|
|
532
532
|
|
|
@@ -231,7 +231,7 @@ class OrganizationsClient:
|
|
|
231
231
|
Parameters:
|
|
232
232
|
- organization_id: str.
|
|
233
233
|
|
|
234
|
-
- name: typing.Optional[str].
|
|
234
|
+
- name: typing.Optional[str].
|
|
235
235
|
---
|
|
236
236
|
from llama_cloud.client import LlamaCloud
|
|
237
237
|
|
|
@@ -651,7 +651,7 @@ class AsyncOrganizationsClient:
|
|
|
651
651
|
Parameters:
|
|
652
652
|
- organization_id: str.
|
|
653
653
|
|
|
654
|
-
- name: typing.Optional[str].
|
|
654
|
+
- name: typing.Optional[str].
|
|
655
655
|
---
|
|
656
656
|
from llama_cloud.client import AsyncLlamaCloud
|
|
657
657
|
|