llama-cloud 0.1.41__py3-none-any.whl → 0.1.43__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 (43) hide show
  1. llama_cloud/__init__.py +19 -19
  2. llama_cloud/resources/__init__.py +6 -0
  3. llama_cloud/resources/alpha/client.py +14 -30
  4. llama_cloud/resources/beta/client.py +1045 -59
  5. llama_cloud/resources/jobs/client.py +0 -8
  6. llama_cloud/resources/llama_extract/__init__.py +6 -0
  7. llama_cloud/resources/llama_extract/client.py +825 -941
  8. llama_cloud/resources/llama_extract/types/__init__.py +6 -0
  9. llama_cloud/resources/organizations/client.py +18 -4
  10. llama_cloud/resources/parsing/client.py +56 -0
  11. llama_cloud/resources/pipelines/client.py +164 -0
  12. llama_cloud/types/__init__.py +16 -22
  13. llama_cloud/types/agent_data.py +1 -1
  14. llama_cloud/types/agent_deployment_summary.py +1 -2
  15. llama_cloud/types/{prompt_conf.py → api_key.py} +14 -9
  16. llama_cloud/types/{extract_job_create.py → api_key_query_response.py} +6 -14
  17. llama_cloud/types/api_key_type.py +17 -0
  18. llama_cloud/types/delete_response.py +35 -0
  19. llama_cloud/types/extract_config.py +1 -0
  20. llama_cloud/types/extract_models.py +4 -0
  21. llama_cloud/types/extracted_table.py +40 -0
  22. llama_cloud/types/legacy_parse_job_config.py +3 -0
  23. llama_cloud/types/llama_parse_parameters.py +7 -0
  24. llama_cloud/types/organization.py +1 -0
  25. llama_cloud/types/paginated_response_spreadsheet_job.py +34 -0
  26. llama_cloud/types/parse_job_config.py +7 -0
  27. llama_cloud/types/public_model_name.py +4 -0
  28. llama_cloud/types/quota_configuration_configuration_type.py +4 -0
  29. llama_cloud/types/spreadsheet_job.py +50 -0
  30. llama_cloud/types/spreadsheet_parsing_config.py +35 -0
  31. {llama_cloud-0.1.41.dist-info → llama_cloud-0.1.43.dist-info}/METADATA +1 -1
  32. {llama_cloud-0.1.41.dist-info → llama_cloud-0.1.43.dist-info}/RECORD +37 -37
  33. llama_cloud/types/chunk_mode.py +0 -29
  34. llama_cloud/types/llama_extract_settings.py +0 -67
  35. llama_cloud/types/multimodal_parse_resolution.py +0 -17
  36. llama_cloud/types/schema_relax_mode.py +0 -25
  37. llama_cloud/types/struct_mode.py +0 -33
  38. llama_cloud/types/struct_parse_conf.py +0 -63
  39. /llama_cloud/{types → resources/llama_extract/types}/extract_job_create_data_schema_override.py +0 -0
  40. /llama_cloud/{types → resources/llama_extract/types}/extract_job_create_data_schema_override_zero_value.py +0 -0
  41. /llama_cloud/{types → resources/llama_extract/types}/extract_job_create_priority.py +0 -0
  42. {llama_cloud-0.1.41.dist-info → llama_cloud-0.1.43.dist-info}/LICENSE +0 -0
  43. {llama_cloud-0.1.41.dist-info → llama_cloud-0.1.43.dist-info}/WHEEL +0 -0
@@ -31,7 +31,6 @@ class JobsClient:
31
31
  limit: typing.Optional[int] = None,
32
32
  offset: typing.Optional[int] = None,
33
33
  sort: typing.Optional[str] = None,
34
- include_usage_metrics: typing.Optional[bool] = None,
35
34
  project_id: typing.Optional[str] = None,
36
35
  organization_id: typing.Optional[str] = None,
37
36
  ) -> PaginatedJobsHistoryWithMetrics:
@@ -51,8 +50,6 @@ class JobsClient:
51
50
 
52
51
  - sort: typing.Optional[str].
53
52
 
54
- - include_usage_metrics: typing.Optional[bool]. Deprecated: This parameter is no longer supported as we've moved to usage v2. It will be removed in a future version.
55
-
56
53
  - project_id: typing.Optional[str].
57
54
 
58
55
  - organization_id: typing.Optional[str].
@@ -73,7 +70,6 @@ class JobsClient:
73
70
  "limit": limit,
74
71
  "offset": offset,
75
72
  "sort": sort,
76
- "include_usage_metrics": include_usage_metrics,
77
73
  "project_id": project_id,
78
74
  "organization_id": organization_id,
79
75
  }
@@ -103,7 +99,6 @@ class AsyncJobsClient:
103
99
  limit: typing.Optional[int] = None,
104
100
  offset: typing.Optional[int] = None,
105
101
  sort: typing.Optional[str] = None,
106
- include_usage_metrics: typing.Optional[bool] = None,
107
102
  project_id: typing.Optional[str] = None,
108
103
  organization_id: typing.Optional[str] = None,
109
104
  ) -> PaginatedJobsHistoryWithMetrics:
@@ -123,8 +118,6 @@ class AsyncJobsClient:
123
118
 
124
119
  - sort: typing.Optional[str].
125
120
 
126
- - include_usage_metrics: typing.Optional[bool]. Deprecated: This parameter is no longer supported as we've moved to usage v2. It will be removed in a future version.
127
-
128
121
  - project_id: typing.Optional[str].
129
122
 
130
123
  - organization_id: typing.Optional[str].
@@ -145,7 +138,6 @@ class AsyncJobsClient:
145
138
  "limit": limit,
146
139
  "offset": offset,
147
140
  "sort": sort,
148
- "include_usage_metrics": include_usage_metrics,
149
141
  "project_id": project_id,
150
142
  "organization_id": organization_id,
151
143
  }
@@ -7,6 +7,9 @@ from .types import (
7
7
  ExtractAgentUpdateDataSchemaZeroValue,
8
8
  ExtractJobCreateBatchDataSchemaOverride,
9
9
  ExtractJobCreateBatchDataSchemaOverrideZeroValue,
10
+ ExtractJobCreateDataSchemaOverride,
11
+ ExtractJobCreateDataSchemaOverrideZeroValue,
12
+ ExtractJobCreatePriority,
10
13
  ExtractSchemaValidateRequestDataSchema,
11
14
  ExtractSchemaValidateRequestDataSchemaZeroValue,
12
15
  ExtractStatelessRequestDataSchema,
@@ -20,6 +23,9 @@ __all__ = [
20
23
  "ExtractAgentUpdateDataSchemaZeroValue",
21
24
  "ExtractJobCreateBatchDataSchemaOverride",
22
25
  "ExtractJobCreateBatchDataSchemaOverrideZeroValue",
26
+ "ExtractJobCreateDataSchemaOverride",
27
+ "ExtractJobCreateDataSchemaOverrideZeroValue",
28
+ "ExtractJobCreatePriority",
23
29
  "ExtractSchemaValidateRequestDataSchema",
24
30
  "ExtractSchemaValidateRequestDataSchemaZeroValue",
25
31
  "ExtractStatelessRequestDataSchema",