llama-cloud 0.1.23__py3-none-any.whl → 0.1.24__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 (88) hide show
  1. llama_cloud/__init__.py +6 -70
  2. llama_cloud/client.py +0 -3
  3. llama_cloud/resources/__init__.py +1 -20
  4. llama_cloud/resources/data_sources/__init__.py +2 -2
  5. llama_cloud/resources/data_sources/client.py +5 -5
  6. llama_cloud/resources/data_sources/types/__init__.py +1 -2
  7. llama_cloud/resources/files/__init__.py +0 -3
  8. llama_cloud/resources/files/client.py +18 -19
  9. llama_cloud/resources/jobs/client.py +8 -0
  10. llama_cloud/resources/llama_extract/__init__.py +0 -8
  11. llama_cloud/resources/llama_extract/client.py +92 -24
  12. llama_cloud/resources/llama_extract/types/__init__.py +0 -8
  13. llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema.py +2 -4
  14. llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema.py +2 -4
  15. llama_cloud/resources/llama_extract/types/extract_job_create_batch_data_schema_override.py +2 -4
  16. llama_cloud/resources/llama_extract/types/extract_schema_validate_request_data_schema.py +2 -4
  17. llama_cloud/resources/organizations/client.py +14 -4
  18. llama_cloud/resources/parsing/client.py +8 -0
  19. llama_cloud/resources/pipelines/__init__.py +0 -4
  20. llama_cloud/resources/pipelines/client.py +29 -20
  21. llama_cloud/resources/pipelines/types/__init__.py +0 -4
  22. llama_cloud/types/__init__.py +6 -50
  23. llama_cloud/types/composite_retrieval_result.py +5 -1
  24. llama_cloud/types/data_source.py +2 -2
  25. llama_cloud/types/data_source_create.py +2 -2
  26. llama_cloud/types/extract_agent.py +2 -4
  27. llama_cloud/types/extract_job_create_data_schema_override.py +2 -4
  28. llama_cloud/types/extract_models.py +20 -8
  29. llama_cloud/types/extract_resultset.py +2 -2
  30. llama_cloud/types/extract_resultset_data.py +2 -4
  31. llama_cloud/types/extract_run.py +3 -4
  32. llama_cloud/types/extract_run_data.py +2 -4
  33. llama_cloud/types/extract_schema_validate_response.py +2 -2
  34. llama_cloud/types/file.py +3 -4
  35. llama_cloud/types/{llm_config_result.py → file_id_presigned_url.py} +9 -5
  36. llama_cloud/types/json_type.py +9 -0
  37. llama_cloud/types/legacy_parse_job_config.py +1 -0
  38. llama_cloud/types/llama_extract_settings.py +3 -1
  39. llama_cloud/types/llama_parse_parameters.py +1 -0
  40. llama_cloud/types/page_figure_metadata.py +1 -0
  41. llama_cloud/types/{llm_configs_response.py → page_figure_node_with_score.py} +9 -4
  42. llama_cloud/types/parse_job_config.py +1 -0
  43. llama_cloud/types/pipeline_data_source.py +2 -2
  44. llama_cloud/types/pipeline_file.py +5 -8
  45. llama_cloud/types/pipeline_file_create.py +2 -2
  46. llama_cloud/types/preset_retrieval_params.py +8 -6
  47. llama_cloud/types/retrieve_results.py +5 -1
  48. llama_cloud/types/supported_llm_model_names.py +12 -4
  49. llama_cloud/types/user_organization_delete.py +1 -0
  50. {llama_cloud-0.1.23.dist-info → llama_cloud-0.1.24.dist-info}/METADATA +1 -1
  51. {llama_cloud-0.1.23.dist-info → llama_cloud-0.1.24.dist-info}/RECORD +53 -87
  52. llama_cloud/resources/admin/__init__.py +0 -2
  53. llama_cloud/resources/admin/client.py +0 -78
  54. llama_cloud/resources/data_sources/types/data_source_update_custom_metadata_value.py +0 -7
  55. llama_cloud/resources/files/types/__init__.py +0 -7
  56. llama_cloud/resources/files/types/file_create_from_url_resource_info_value.py +0 -7
  57. llama_cloud/resources/files/types/file_create_permission_info_value.py +0 -7
  58. llama_cloud/resources/files/types/file_create_resource_info_value.py +0 -5
  59. llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema_zero_value.py +0 -7
  60. llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema_zero_value.py +0 -7
  61. llama_cloud/resources/llama_extract/types/extract_job_create_batch_data_schema_override_zero_value.py +0 -7
  62. llama_cloud/resources/llama_extract/types/extract_schema_validate_request_data_schema_zero_value.py +0 -7
  63. llama_cloud/resources/pipelines/types/pipeline_file_update_custom_metadata_value.py +0 -7
  64. llama_cloud/resources/pipelines/types/retrieval_params_search_filters_inference_schema_value.py +0 -7
  65. llama_cloud/types/data_source_create_custom_metadata_value.py +0 -7
  66. llama_cloud/types/data_source_custom_metadata_value.py +0 -7
  67. llama_cloud/types/extract_agent_data_schema_value.py +0 -5
  68. llama_cloud/types/extract_job_create_data_schema_override_zero_value.py +0 -7
  69. llama_cloud/types/extract_resultset_data_item_value.py +0 -7
  70. llama_cloud/types/extract_resultset_data_zero_value.py +0 -7
  71. llama_cloud/types/extract_resultset_extraction_metadata_value.py +0 -7
  72. llama_cloud/types/extract_run_data_item_value.py +0 -5
  73. llama_cloud/types/extract_run_data_schema_value.py +0 -5
  74. llama_cloud/types/extract_run_data_zero_value.py +0 -5
  75. llama_cloud/types/extract_run_extraction_metadata_value.py +0 -7
  76. llama_cloud/types/extract_schema_validate_response_data_schema_value.py +0 -7
  77. llama_cloud/types/file_permission_info_value.py +0 -5
  78. llama_cloud/types/file_resource_info_value.py +0 -5
  79. llama_cloud/types/llm_config_result_llm_type.py +0 -33
  80. llama_cloud/types/pipeline_data_source_custom_metadata_value.py +0 -7
  81. llama_cloud/types/pipeline_file_config_hash_value.py +0 -5
  82. llama_cloud/types/pipeline_file_create_custom_metadata_value.py +0 -7
  83. llama_cloud/types/pipeline_file_custom_metadata_value.py +0 -7
  84. llama_cloud/types/pipeline_file_permission_info_value.py +0 -7
  85. llama_cloud/types/pipeline_file_resource_info_value.py +0 -7
  86. llama_cloud/types/preset_retrieval_params_search_filters_inference_schema_value.py +0 -7
  87. {llama_cloud-0.1.23.dist-info → llama_cloud-0.1.24.dist-info}/LICENSE +0 -0
  88. {llama_cloud-0.1.23.dist-info → llama_cloud-0.1.24.dist-info}/WHEEL +0 -0
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractAgentDataSchemaValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractJobCreateDataSchemaOverrideZeroValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractResultsetDataItemValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractResultsetDataZeroValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractResultsetExtractionMetadataValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractRunDataItemValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractRunDataSchemaValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractRunDataZeroValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractRunExtractionMetadataValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- ExtractSchemaValidateResponseDataSchemaValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- FilePermissionInfoValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- FileResourceInfoValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,33 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import enum
4
- import typing
5
-
6
- T_Result = typing.TypeVar("T_Result")
7
-
8
-
9
- class LlmConfigResultLlmType(str, enum.Enum):
10
- OPENAI = "openai"
11
- ANTHROPIC = "anthropic"
12
- GEMINI = "gemini"
13
- AWS_BEDROCK = "aws_bedrock"
14
- AZURE_OPENAI = "azure_openai"
15
-
16
- def visit(
17
- self,
18
- openai: typing.Callable[[], T_Result],
19
- anthropic: typing.Callable[[], T_Result],
20
- gemini: typing.Callable[[], T_Result],
21
- aws_bedrock: typing.Callable[[], T_Result],
22
- azure_openai: typing.Callable[[], T_Result],
23
- ) -> T_Result:
24
- if self is LlmConfigResultLlmType.OPENAI:
25
- return openai()
26
- if self is LlmConfigResultLlmType.ANTHROPIC:
27
- return anthropic()
28
- if self is LlmConfigResultLlmType.GEMINI:
29
- return gemini()
30
- if self is LlmConfigResultLlmType.AWS_BEDROCK:
31
- return aws_bedrock()
32
- if self is LlmConfigResultLlmType.AZURE_OPENAI:
33
- return azure_openai()
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PipelineDataSourceCustomMetadataValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PipelineFileConfigHashValue = typing.Union[typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PipelineFileCreateCustomMetadataValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PipelineFileCustomMetadataValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PipelineFilePermissionInfoValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PipelineFileResourceInfoValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]
@@ -1,7 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- PresetRetrievalParamsSearchFiltersInferenceSchemaValue = typing.Union[
6
- typing.Dict[str, typing.Any], typing.List[typing.Any], str, int, float, bool
7
- ]