llama-cloud 0.1.14__py3-none-any.whl → 0.1.16__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 (37) hide show
  1. llama_cloud/__init__.py +8 -28
  2. llama_cloud/resources/evals/client.py +0 -643
  3. llama_cloud/resources/llama_extract/client.py +168 -6
  4. llama_cloud/resources/parsing/client.py +0 -8
  5. llama_cloud/resources/pipelines/client.py +10 -371
  6. llama_cloud/resources/projects/client.py +72 -923
  7. llama_cloud/resources/retrievers/client.py +124 -0
  8. llama_cloud/types/__init__.py +8 -28
  9. llama_cloud/types/chunk_mode.py +4 -0
  10. llama_cloud/types/extract_config.py +0 -3
  11. llama_cloud/types/{local_eval.py → extract_job_create_batch.py} +9 -14
  12. llama_cloud/types/extract_job_create_batch_data_schema_override.py +9 -0
  13. llama_cloud/types/extract_job_create_batch_data_schema_override_zero_value.py +7 -0
  14. llama_cloud/types/extract_mode.py +9 -1
  15. llama_cloud/types/llama_parse_parameters.py +0 -1
  16. llama_cloud/types/{local_eval_results.py → paginated_extract_runs_response.py} +7 -8
  17. llama_cloud/types/prompt_conf.py +1 -0
  18. llama_cloud/types/report_block.py +1 -0
  19. llama_cloud/types/struct_mode.py +4 -0
  20. llama_cloud/types/struct_parse_conf.py +6 -0
  21. llama_cloud/types/usage.py +2 -1
  22. {llama_cloud-0.1.14.dist-info → llama_cloud-0.1.16.dist-info}/METADATA +1 -1
  23. {llama_cloud-0.1.14.dist-info → llama_cloud-0.1.16.dist-info}/RECORD +25 -35
  24. llama_cloud/types/eval_dataset.py +0 -40
  25. llama_cloud/types/eval_dataset_job_params.py +0 -39
  26. llama_cloud/types/eval_dataset_job_record.py +0 -58
  27. llama_cloud/types/eval_execution_params_override.py +0 -37
  28. llama_cloud/types/eval_metric.py +0 -17
  29. llama_cloud/types/eval_question.py +0 -38
  30. llama_cloud/types/eval_question_create.py +0 -31
  31. llama_cloud/types/eval_question_result.py +0 -52
  32. llama_cloud/types/local_eval_sets.py +0 -33
  33. llama_cloud/types/metric_result.py +0 -33
  34. llama_cloud/types/prompt_mixin_prompts.py +0 -39
  35. llama_cloud/types/prompt_spec.py +0 -36
  36. {llama_cloud-0.1.14.dist-info → llama_cloud-0.1.16.dist-info}/LICENSE +0 -0
  37. {llama_cloud-0.1.14.dist-info → llama_cloud-0.1.16.dist-info}/WHEEL +0 -0
llama_cloud/__init__.py CHANGED
@@ -96,15 +96,7 @@ from .types import (
96
96
  EmbeddingModelConfigUpdateEmbeddingConfig_HuggingfaceApiEmbedding,
97
97
  EmbeddingModelConfigUpdateEmbeddingConfig_OpenaiEmbedding,
98
98
  EmbeddingModelConfigUpdateEmbeddingConfig_VertexaiEmbedding,
99
- EvalDataset,
100
- EvalDatasetJobParams,
101
- EvalDatasetJobRecord,
102
99
  EvalExecutionParams,
103
- EvalExecutionParamsOverride,
104
- EvalMetric,
105
- EvalQuestion,
106
- EvalQuestionCreate,
107
- EvalQuestionResult,
108
100
  ExtractAgent,
109
101
  ExtractAgentCreate,
110
102
  ExtractAgentCreateDataSchema,
@@ -116,6 +108,9 @@ from .types import (
116
108
  ExtractConfig,
117
109
  ExtractJob,
118
110
  ExtractJobCreate,
111
+ ExtractJobCreateBatch,
112
+ ExtractJobCreateBatchDataSchemaOverride,
113
+ ExtractJobCreateBatchDataSchemaOverrideZeroValue,
119
114
  ExtractJobCreateDataSchemaOverride,
120
115
  ExtractJobCreateDataSchemaOverrideZeroValue,
121
116
  ExtractMode,
@@ -166,9 +161,6 @@ from .types import (
166
161
  Llm,
167
162
  LlmModelData,
168
163
  LlmParameters,
169
- LocalEval,
170
- LocalEvalResults,
171
- LocalEvalSets,
172
164
  ManagedIngestionStatus,
173
165
  ManagedIngestionStatusResponse,
174
166
  MarkdownElementNodeParser,
@@ -179,7 +171,6 @@ from .types import (
179
171
  MetadataFilterValue,
180
172
  MetadataFilters,
181
173
  MetadataFiltersFiltersItem,
182
- MetricResult,
183
174
  NodeParser,
184
175
  NodeRelationship,
185
176
  NoneChunkingConfig,
@@ -194,6 +185,7 @@ from .types import (
194
185
  PageScreenshotNodeWithScore,
195
186
  PageSegmentationConfig,
196
187
  PageSplitterNodeParser,
188
+ PaginatedExtractRunsResponse,
197
189
  PaginatedJobsHistoryWithMetrics,
198
190
  PaginatedListCloudDocumentsResponse,
199
191
  PaginatedListPipelineFilesResponse,
@@ -257,8 +249,6 @@ from .types import (
257
249
  Project,
258
250
  ProjectCreate,
259
251
  PromptConf,
260
- PromptMixinPrompts,
261
- PromptSpec,
262
252
  PydanticProgramMode,
263
253
  RecurringCreditGrant,
264
254
  RelatedNodeInfo,
@@ -470,15 +460,7 @@ __all__ = [
470
460
  "EmbeddingModelConfigUpdateEmbeddingConfig_HuggingfaceApiEmbedding",
471
461
  "EmbeddingModelConfigUpdateEmbeddingConfig_OpenaiEmbedding",
472
462
  "EmbeddingModelConfigUpdateEmbeddingConfig_VertexaiEmbedding",
473
- "EvalDataset",
474
- "EvalDatasetJobParams",
475
- "EvalDatasetJobRecord",
476
463
  "EvalExecutionParams",
477
- "EvalExecutionParamsOverride",
478
- "EvalMetric",
479
- "EvalQuestion",
480
- "EvalQuestionCreate",
481
- "EvalQuestionResult",
482
464
  "ExtractAgent",
483
465
  "ExtractAgentCreate",
484
466
  "ExtractAgentCreateDataSchema",
@@ -490,6 +472,9 @@ __all__ = [
490
472
  "ExtractConfig",
491
473
  "ExtractJob",
492
474
  "ExtractJobCreate",
475
+ "ExtractJobCreateBatch",
476
+ "ExtractJobCreateBatchDataSchemaOverride",
477
+ "ExtractJobCreateBatchDataSchemaOverrideZeroValue",
493
478
  "ExtractJobCreateDataSchemaOverride",
494
479
  "ExtractJobCreateDataSchemaOverrideZeroValue",
495
480
  "ExtractMode",
@@ -544,9 +529,6 @@ __all__ = [
544
529
  "Llm",
545
530
  "LlmModelData",
546
531
  "LlmParameters",
547
- "LocalEval",
548
- "LocalEvalResults",
549
- "LocalEvalSets",
550
532
  "ManagedIngestionStatus",
551
533
  "ManagedIngestionStatusResponse",
552
534
  "MarkdownElementNodeParser",
@@ -557,7 +539,6 @@ __all__ = [
557
539
  "MetadataFilterValue",
558
540
  "MetadataFilters",
559
541
  "MetadataFiltersFiltersItem",
560
- "MetricResult",
561
542
  "NodeParser",
562
543
  "NodeRelationship",
563
544
  "NoneChunkingConfig",
@@ -572,6 +553,7 @@ __all__ = [
572
553
  "PageScreenshotNodeWithScore",
573
554
  "PageSegmentationConfig",
574
555
  "PageSplitterNodeParser",
556
+ "PaginatedExtractRunsResponse",
575
557
  "PaginatedJobsHistoryWithMetrics",
576
558
  "PaginatedListCloudDocumentsResponse",
577
559
  "PaginatedListPipelineFilesResponse",
@@ -645,8 +627,6 @@ __all__ = [
645
627
  "Project",
646
628
  "ProjectCreate",
647
629
  "PromptConf",
648
- "PromptMixinPrompts",
649
- "PromptSpec",
650
630
  "PydanticProgramMode",
651
631
  "RecurringCreditGrant",
652
632
  "RelatedNodeInfo",