llama-cloud 0.0.7__tar.gz → 0.0.9__tar.gz

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 (186) hide show
  1. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/PKG-INFO +1 -1
  2. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/__init__.py +34 -4
  3. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/client.py +6 -0
  4. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/__init__.py +16 -1
  5. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sinks/client.py +40 -8
  6. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sinks/types/data_sink_update_component_one.py +2 -0
  7. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sources/client.py +48 -12
  8. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sources/types/data_source_update_component_one.py +6 -4
  9. llama_cloud-0.0.9/llama_cloud/resources/extraction/__init__.py +5 -0
  10. llama_cloud-0.0.9/llama_cloud/resources/extraction/client.py +632 -0
  11. llama_cloud-0.0.9/llama_cloud/resources/extraction/types/__init__.py +5 -0
  12. llama_cloud-0.0.9/llama_cloud/resources/extraction/types/extraction_schema_update_data_schema_value.py +7 -0
  13. llama_cloud-0.0.9/llama_cloud/resources/organizations/client.py +786 -0
  14. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/pipelines/client.py +312 -12
  15. llama_cloud-0.0.9/llama_cloud/resources/projects/__init__.py +2 -0
  16. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/projects/client.py +28 -8
  17. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/__init__.py +28 -4
  18. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/azure_open_ai_embedding.py +3 -0
  19. llama_cloud-0.0.9/llama_cloud/types/chat_params.py +38 -0
  20. llama_cloud-0.0.9/llama_cloud/types/cloud_azure_ai_search_vector_store.py +42 -0
  21. llama_cloud-0.0.9/llama_cloud/types/cloud_jira_data_source.py +43 -0
  22. llama_cloud-0.0.7/llama_cloud/types/cloud_google_drive_data_source.py → llama_cloud-0.0.9/llama_cloud/types/cloud_notion_page_data_source.py +4 -5
  23. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_sharepoint_data_source.py +1 -0
  24. llama_cloud-0.0.7/llama_cloud/types/cloud_gcs_data_source.py → llama_cloud-0.0.9/llama_cloud/types/cloud_slack_data_source.py +8 -6
  25. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configurable_data_sink_names.py +4 -0
  26. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configurable_data_source_names.py +12 -8
  27. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink_component_one.py +2 -0
  28. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink_create_component_one.py +2 -0
  29. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_component_one.py +6 -4
  30. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_create_component_one.py +6 -4
  31. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_dataset_job_record.py +1 -0
  32. llama_cloud-0.0.9/llama_cloud/types/extraction_result.py +42 -0
  33. llama_cloud-0.0.9/llama_cloud/types/extraction_result_data_value.py +5 -0
  34. llama_cloud-0.0.9/llama_cloud/types/extraction_schema.py +43 -0
  35. llama_cloud-0.0.9/llama_cloud/types/extraction_schema_data_schema_value.py +7 -0
  36. llama_cloud-0.0.9/llama_cloud/types/organization.py +38 -0
  37. llama_cloud-0.0.9/llama_cloud/types/organization_create.py +35 -0
  38. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_data_source_component_one.py +6 -4
  39. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/preset_retrieval_params.py +5 -0
  40. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/project.py +1 -1
  41. llama_cloud-0.0.9/llama_cloud/types/retrieval_mode.py +29 -0
  42. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/text_node.py +1 -0
  43. llama_cloud-0.0.9/llama_cloud/types/user_organization.py +40 -0
  44. llama_cloud-0.0.9/llama_cloud/types/user_organization_create.py +36 -0
  45. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/pyproject.toml +1 -1
  46. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/LICENSE +0 -0
  47. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/README.md +0 -0
  48. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/core/__init__.py +0 -0
  49. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/core/api_error.py +0 -0
  50. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/core/client_wrapper.py +0 -0
  51. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/core/datetime_utils.py +0 -0
  52. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/core/jsonable_encoder.py +0 -0
  53. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/core/remove_none_from_dict.py +0 -0
  54. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/environment.py +0 -0
  55. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/errors/__init__.py +0 -0
  56. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/errors/unprocessable_entity_error.py +0 -0
  57. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/component_definitions/__init__.py +0 -0
  58. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/component_definitions/client.py +0 -0
  59. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sinks/__init__.py +0 -0
  60. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sinks/types/__init__.py +0 -0
  61. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sinks/types/data_sink_update_component.py +0 -0
  62. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sources/__init__.py +0 -0
  63. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sources/types/__init__.py +0 -0
  64. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sources/types/data_source_update_component.py +0 -0
  65. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/data_sources/types/data_source_update_custom_metadata_value.py +0 -0
  66. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/evals/__init__.py +0 -0
  67. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/evals/client.py +0 -0
  68. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/files/__init__.py +0 -0
  69. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/files/client.py +0 -0
  70. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/files/types/__init__.py +0 -0
  71. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/files/types/file_create_resource_info_value.py +0 -0
  72. {llama_cloud-0.0.7/llama_cloud/resources/parsing → llama_cloud-0.0.9/llama_cloud/resources/organizations}/__init__.py +0 -0
  73. {llama_cloud-0.0.7/llama_cloud/resources/projects → llama_cloud-0.0.9/llama_cloud/resources/parsing}/__init__.py +0 -0
  74. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/parsing/client.py +0 -0
  75. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/pipelines/__init__.py +0 -0
  76. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/pipelines/types/__init__.py +0 -0
  77. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/resources/pipelines/types/pipeline_file_update_custom_metadata_value.py +0 -0
  78. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/base.py +0 -0
  79. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/base_prompt_template.py +0 -0
  80. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/bedrock_embedding.py +0 -0
  81. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/chat_message.py +0 -0
  82. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_az_storage_blob_data_source.py +0 -0
  83. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_chroma_vector_store.py +0 -0
  84. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_document.py +0 -0
  85. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_document_create.py +0 -0
  86. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_one_drive_data_source.py +0 -0
  87. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_pinecone_vector_store.py +0 -0
  88. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_postgres_vector_store.py +0 -0
  89. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_qdrant_vector_store.py +0 -0
  90. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_s_3_data_source.py +0 -0
  91. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cloud_weaviate_vector_store.py +0 -0
  92. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/code_splitter.py +0 -0
  93. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/cohere_embedding.py +0 -0
  94. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configurable_transformation_definition.py +0 -0
  95. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configurable_transformation_names.py +0 -0
  96. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configured_transformation_item.py +0 -0
  97. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configured_transformation_item_component.py +0 -0
  98. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/configured_transformation_item_component_one.py +0 -0
  99. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink.py +0 -0
  100. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink_component.py +0 -0
  101. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink_create.py +0 -0
  102. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink_create_component.py +0 -0
  103. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_sink_definition.py +0 -0
  104. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source.py +0 -0
  105. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_component.py +0 -0
  106. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_create.py +0 -0
  107. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_create_component.py +0 -0
  108. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_create_custom_metadata_value.py +0 -0
  109. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_custom_metadata_value.py +0 -0
  110. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/data_source_definition.py +0 -0
  111. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_dataset.py +0 -0
  112. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_dataset_job_params.py +0 -0
  113. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_execution_params.py +0 -0
  114. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_execution_params_override.py +0 -0
  115. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_llm_model_data.py +0 -0
  116. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_question.py +0 -0
  117. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_question_create.py +0 -0
  118. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/eval_question_result.py +0 -0
  119. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/file.py +0 -0
  120. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/file_resource_info_value.py +0 -0
  121. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/filter_condition.py +0 -0
  122. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/filter_operator.py +0 -0
  123. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/gemini_embedding.py +0 -0
  124. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/html_node_parser.py +0 -0
  125. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/http_validation_error.py +0 -0
  126. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/hugging_face_inference_api_embedding.py +0 -0
  127. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/hugging_face_inference_api_embedding_token.py +0 -0
  128. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/json_node_parser.py +0 -0
  129. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/llama_parse_parameters.py +0 -0
  130. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/llama_parse_supported_file_extensions.py +0 -0
  131. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/llm.py +0 -0
  132. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/local_eval.py +0 -0
  133. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/local_eval_results.py +0 -0
  134. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/local_eval_sets.py +0 -0
  135. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/managed_ingestion_status.py +0 -0
  136. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/managed_ingestion_status_response.py +0 -0
  137. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/markdown_element_node_parser.py +0 -0
  138. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/markdown_node_parser.py +0 -0
  139. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/message_role.py +0 -0
  140. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/metadata_filter.py +0 -0
  141. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/metadata_filter_value.py +0 -0
  142. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/metadata_filters.py +0 -0
  143. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/metadata_filters_filters_item.py +0 -0
  144. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/metric_result.py +0 -0
  145. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/node_parser.py +0 -0
  146. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/object_type.py +0 -0
  147. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/open_ai_embedding.py +0 -0
  148. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parser_languages.py +0 -0
  149. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parsing_history_item.py +0 -0
  150. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parsing_job.py +0 -0
  151. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parsing_job_json_result.py +0 -0
  152. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parsing_job_markdown_result.py +0 -0
  153. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parsing_job_text_result.py +0 -0
  154. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/parsing_usage.py +0 -0
  155. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline.py +0 -0
  156. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_create.py +0 -0
  157. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_data_source.py +0 -0
  158. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_data_source_component.py +0 -0
  159. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_data_source_create.py +0 -0
  160. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_data_source_custom_metadata_value.py +0 -0
  161. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_deployment.py +0 -0
  162. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_file.py +0 -0
  163. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_file_create.py +0 -0
  164. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_file_create_custom_metadata_value.py +0 -0
  165. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_file_custom_metadata_value.py +0 -0
  166. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_file_resource_info_value.py +0 -0
  167. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pipeline_type.py +0 -0
  168. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pooling.py +0 -0
  169. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/presigned_url.py +0 -0
  170. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/project_create.py +0 -0
  171. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/prompt_mixin_prompts.py +0 -0
  172. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/prompt_spec.py +0 -0
  173. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/pydantic_program_mode.py +0 -0
  174. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/related_node_info.py +0 -0
  175. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/retrieve_results.py +0 -0
  176. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/sentence_splitter.py +0 -0
  177. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/simple_file_node_parser.py +0 -0
  178. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/status_enum.py +0 -0
  179. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/supported_eval_llm_model.py +0 -0
  180. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/supported_eval_llm_model_names.py +0 -0
  181. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/text_node_relationships_value.py +0 -0
  182. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/text_node_with_score.py +0 -0
  183. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/token_text_splitter.py +0 -0
  184. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/transformation_category_names.py +0 -0
  185. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/validation_error.py +0 -0
  186. {llama_cloud-0.0.7 → llama_cloud-0.0.9}/llama_cloud/types/validation_error_loc_item.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: llama-cloud
3
- Version: 0.0.7
3
+ Version: 0.0.9
4
4
  Summary:
5
5
  Author: Logan Markewich
6
6
  Author-email: logan@runllama.ai
@@ -6,18 +6,21 @@ from .types import (
6
6
  BasePromptTemplate,
7
7
  BedrockEmbedding,
8
8
  ChatMessage,
9
+ ChatParams,
9
10
  CloudAzStorageBlobDataSource,
11
+ CloudAzureAiSearchVectorStore,
10
12
  CloudChromaVectorStore,
11
13
  CloudDocument,
12
14
  CloudDocumentCreate,
13
- CloudGcsDataSource,
14
- CloudGoogleDriveDataSource,
15
+ CloudJiraDataSource,
16
+ CloudNotionPageDataSource,
15
17
  CloudOneDriveDataSource,
16
18
  CloudPineconeVectorStore,
17
19
  CloudPostgresVectorStore,
18
20
  CloudQdrantVectorStore,
19
21
  CloudS3DataSource,
20
22
  CloudSharepointDataSource,
23
+ CloudSlackDataSource,
21
24
  CloudWeaviateVectorStore,
22
25
  CodeSplitter,
23
26
  CohereEmbedding,
@@ -53,6 +56,10 @@ from .types import (
53
56
  EvalQuestion,
54
57
  EvalQuestionCreate,
55
58
  EvalQuestionResult,
59
+ ExtractionResult,
60
+ ExtractionResultDataValue,
61
+ ExtractionSchema,
62
+ ExtractionSchemaDataSchemaValue,
56
63
  File,
57
64
  FileResourceInfoValue,
58
65
  FilterCondition,
@@ -82,6 +89,8 @@ from .types import (
82
89
  NodeParser,
83
90
  ObjectType,
84
91
  OpenAiEmbedding,
92
+ Organization,
93
+ OrganizationCreate,
85
94
  ParserLanguages,
86
95
  ParsingHistoryItem,
87
96
  ParsingJob,
@@ -112,6 +121,7 @@ from .types import (
112
121
  PromptSpec,
113
122
  PydanticProgramMode,
114
123
  RelatedNodeInfo,
124
+ RetrievalMode,
115
125
  RetrieveResults,
116
126
  SentenceSplitter,
117
127
  SimpleFileNodeParser,
@@ -123,6 +133,8 @@ from .types import (
123
133
  TextNodeWithScore,
124
134
  TokenTextSplitter,
125
135
  TransformationCategoryNames,
136
+ UserOrganization,
137
+ UserOrganizationCreate,
126
138
  ValidationError,
127
139
  ValidationErrorLocItem,
128
140
  )
@@ -133,13 +145,16 @@ from .resources import (
133
145
  DataSourceUpdateComponent,
134
146
  DataSourceUpdateComponentOne,
135
147
  DataSourceUpdateCustomMetadataValue,
148
+ ExtractionSchemaUpdateDataSchemaValue,
136
149
  FileCreateResourceInfoValue,
137
150
  PipelineFileUpdateCustomMetadataValue,
138
151
  component_definitions,
139
152
  data_sinks,
140
153
  data_sources,
141
154
  evals,
155
+ extraction,
142
156
  files,
157
+ organizations,
143
158
  parsing,
144
159
  pipelines,
145
160
  projects,
@@ -152,18 +167,21 @@ __all__ = [
152
167
  "BasePromptTemplate",
153
168
  "BedrockEmbedding",
154
169
  "ChatMessage",
170
+ "ChatParams",
155
171
  "CloudAzStorageBlobDataSource",
172
+ "CloudAzureAiSearchVectorStore",
156
173
  "CloudChromaVectorStore",
157
174
  "CloudDocument",
158
175
  "CloudDocumentCreate",
159
- "CloudGcsDataSource",
160
- "CloudGoogleDriveDataSource",
176
+ "CloudJiraDataSource",
177
+ "CloudNotionPageDataSource",
161
178
  "CloudOneDriveDataSource",
162
179
  "CloudPineconeVectorStore",
163
180
  "CloudPostgresVectorStore",
164
181
  "CloudQdrantVectorStore",
165
182
  "CloudS3DataSource",
166
183
  "CloudSharepointDataSource",
184
+ "CloudSlackDataSource",
167
185
  "CloudWeaviateVectorStore",
168
186
  "CodeSplitter",
169
187
  "CohereEmbedding",
@@ -204,6 +222,11 @@ __all__ = [
204
222
  "EvalQuestion",
205
223
  "EvalQuestionCreate",
206
224
  "EvalQuestionResult",
225
+ "ExtractionResult",
226
+ "ExtractionResultDataValue",
227
+ "ExtractionSchema",
228
+ "ExtractionSchemaDataSchemaValue",
229
+ "ExtractionSchemaUpdateDataSchemaValue",
207
230
  "File",
208
231
  "FileCreateResourceInfoValue",
209
232
  "FileResourceInfoValue",
@@ -235,6 +258,8 @@ __all__ = [
235
258
  "NodeParser",
236
259
  "ObjectType",
237
260
  "OpenAiEmbedding",
261
+ "Organization",
262
+ "OrganizationCreate",
238
263
  "ParserLanguages",
239
264
  "ParsingHistoryItem",
240
265
  "ParsingJob",
@@ -266,6 +291,7 @@ __all__ = [
266
291
  "PromptSpec",
267
292
  "PydanticProgramMode",
268
293
  "RelatedNodeInfo",
294
+ "RetrievalMode",
269
295
  "RetrieveResults",
270
296
  "SentenceSplitter",
271
297
  "SimpleFileNodeParser",
@@ -278,13 +304,17 @@ __all__ = [
278
304
  "TokenTextSplitter",
279
305
  "TransformationCategoryNames",
280
306
  "UnprocessableEntityError",
307
+ "UserOrganization",
308
+ "UserOrganizationCreate",
281
309
  "ValidationError",
282
310
  "ValidationErrorLocItem",
283
311
  "component_definitions",
284
312
  "data_sinks",
285
313
  "data_sources",
286
314
  "evals",
315
+ "extraction",
287
316
  "files",
317
+ "organizations",
288
318
  "parsing",
289
319
  "pipelines",
290
320
  "projects",
@@ -10,7 +10,9 @@ from .resources.component_definitions.client import AsyncComponentDefinitionsCli
10
10
  from .resources.data_sinks.client import AsyncDataSinksClient, DataSinksClient
11
11
  from .resources.data_sources.client import AsyncDataSourcesClient, DataSourcesClient
12
12
  from .resources.evals.client import AsyncEvalsClient, EvalsClient
13
+ from .resources.extraction.client import AsyncExtractionClient, ExtractionClient
13
14
  from .resources.files.client import AsyncFilesClient, FilesClient
15
+ from .resources.organizations.client import AsyncOrganizationsClient, OrganizationsClient
14
16
  from .resources.parsing.client import AsyncParsingClient, ParsingClient
15
17
  from .resources.pipelines.client import AsyncPipelinesClient, PipelinesClient
16
18
  from .resources.projects.client import AsyncProjectsClient, ProjectsClient
@@ -33,12 +35,14 @@ class LlamaCloud:
33
35
  )
34
36
  self.data_sinks = DataSinksClient(client_wrapper=self._client_wrapper)
35
37
  self.data_sources = DataSourcesClient(client_wrapper=self._client_wrapper)
38
+ self.organizations = OrganizationsClient(client_wrapper=self._client_wrapper)
36
39
  self.projects = ProjectsClient(client_wrapper=self._client_wrapper)
37
40
  self.files = FilesClient(client_wrapper=self._client_wrapper)
38
41
  self.pipelines = PipelinesClient(client_wrapper=self._client_wrapper)
39
42
  self.evals = EvalsClient(client_wrapper=self._client_wrapper)
40
43
  self.parsing = ParsingClient(client_wrapper=self._client_wrapper)
41
44
  self.component_definitions = ComponentDefinitionsClient(client_wrapper=self._client_wrapper)
45
+ self.extraction = ExtractionClient(client_wrapper=self._client_wrapper)
42
46
 
43
47
 
44
48
  class AsyncLlamaCloud:
@@ -58,12 +62,14 @@ class AsyncLlamaCloud:
58
62
  )
59
63
  self.data_sinks = AsyncDataSinksClient(client_wrapper=self._client_wrapper)
60
64
  self.data_sources = AsyncDataSourcesClient(client_wrapper=self._client_wrapper)
65
+ self.organizations = AsyncOrganizationsClient(client_wrapper=self._client_wrapper)
61
66
  self.projects = AsyncProjectsClient(client_wrapper=self._client_wrapper)
62
67
  self.files = AsyncFilesClient(client_wrapper=self._client_wrapper)
63
68
  self.pipelines = AsyncPipelinesClient(client_wrapper=self._client_wrapper)
64
69
  self.evals = AsyncEvalsClient(client_wrapper=self._client_wrapper)
65
70
  self.parsing = AsyncParsingClient(client_wrapper=self._client_wrapper)
66
71
  self.component_definitions = AsyncComponentDefinitionsClient(client_wrapper=self._client_wrapper)
72
+ self.extraction = AsyncExtractionClient(client_wrapper=self._client_wrapper)
67
73
 
68
74
 
69
75
  def _get_base_url(*, base_url: typing.Optional[str] = None, environment: LlamaCloudEnvironment) -> str:
@@ -1,8 +1,20 @@
1
1
  # This file was auto-generated by Fern from our API Definition.
2
2
 
3
- from . import component_definitions, data_sinks, data_sources, evals, files, parsing, pipelines, projects
3
+ from . import (
4
+ component_definitions,
5
+ data_sinks,
6
+ data_sources,
7
+ evals,
8
+ extraction,
9
+ files,
10
+ organizations,
11
+ parsing,
12
+ pipelines,
13
+ projects,
14
+ )
4
15
  from .data_sinks import DataSinkUpdateComponent, DataSinkUpdateComponentOne
5
16
  from .data_sources import DataSourceUpdateComponent, DataSourceUpdateComponentOne, DataSourceUpdateCustomMetadataValue
17
+ from .extraction import ExtractionSchemaUpdateDataSchemaValue
6
18
  from .files import FileCreateResourceInfoValue
7
19
  from .pipelines import PipelineFileUpdateCustomMetadataValue
8
20
 
@@ -12,13 +24,16 @@ __all__ = [
12
24
  "DataSourceUpdateComponent",
13
25
  "DataSourceUpdateComponentOne",
14
26
  "DataSourceUpdateCustomMetadataValue",
27
+ "ExtractionSchemaUpdateDataSchemaValue",
15
28
  "FileCreateResourceInfoValue",
16
29
  "PipelineFileUpdateCustomMetadataValue",
17
30
  "component_definitions",
18
31
  "data_sinks",
19
32
  "data_sources",
20
33
  "evals",
34
+ "extraction",
21
35
  "files",
36
+ "organizations",
22
37
  "parsing",
23
38
  "pipelines",
24
39
  "projects",
@@ -63,13 +63,21 @@ class DataSinksClient:
63
63
  raise ApiError(status_code=_response.status_code, body=_response.text)
64
64
  raise ApiError(status_code=_response.status_code, body=_response_json)
65
65
 
66
- def create_data_sink(self, *, project_id: typing.Optional[str] = None, request: DataSinkCreate) -> DataSink:
66
+ def create_data_sink(
67
+ self,
68
+ *,
69
+ project_id: typing.Optional[str] = None,
70
+ organization_id: typing.Optional[str] = None,
71
+ request: DataSinkCreate,
72
+ ) -> DataSink:
67
73
  """
68
74
  Create a new data sink.
69
75
 
70
76
  Parameters:
71
77
  - project_id: typing.Optional[str].
72
78
 
79
+ - organization_id: typing.Optional[str].
80
+
73
81
  - request: DataSinkCreate.
74
82
  ---
75
83
  from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
@@ -88,7 +96,7 @@ class DataSinksClient:
88
96
  _response = self._client_wrapper.httpx_client.request(
89
97
  "POST",
90
98
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sinks"),
91
- params=remove_none_from_dict({"project_id": project_id}),
99
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
92
100
  json=jsonable_encoder(request),
93
101
  headers=self._client_wrapper.get_headers(),
94
102
  timeout=60,
@@ -103,7 +111,13 @@ class DataSinksClient:
103
111
  raise ApiError(status_code=_response.status_code, body=_response.text)
104
112
  raise ApiError(status_code=_response.status_code, body=_response_json)
105
113
 
106
- def upsert_data_sink(self, *, project_id: typing.Optional[str] = None, request: DataSinkCreate) -> DataSink:
114
+ def upsert_data_sink(
115
+ self,
116
+ *,
117
+ project_id: typing.Optional[str] = None,
118
+ organization_id: typing.Optional[str] = None,
119
+ request: DataSinkCreate,
120
+ ) -> DataSink:
107
121
  """
108
122
  Upserts a data sink.
109
123
  Updates if a data sink with the same name and project_id already exists. Otherwise, creates a new data sink.
@@ -111,6 +125,8 @@ class DataSinksClient:
111
125
  Parameters:
112
126
  - project_id: typing.Optional[str].
113
127
 
128
+ - organization_id: typing.Optional[str].
129
+
114
130
  - request: DataSinkCreate.
115
131
  ---
116
132
  from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
@@ -129,7 +145,7 @@ class DataSinksClient:
129
145
  _response = self._client_wrapper.httpx_client.request(
130
146
  "PUT",
131
147
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sinks"),
132
- params=remove_none_from_dict({"project_id": project_id}),
148
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
133
149
  json=jsonable_encoder(request),
134
150
  headers=self._client_wrapper.get_headers(),
135
151
  timeout=60,
@@ -298,13 +314,21 @@ class AsyncDataSinksClient:
298
314
  raise ApiError(status_code=_response.status_code, body=_response.text)
299
315
  raise ApiError(status_code=_response.status_code, body=_response_json)
300
316
 
301
- async def create_data_sink(self, *, project_id: typing.Optional[str] = None, request: DataSinkCreate) -> DataSink:
317
+ async def create_data_sink(
318
+ self,
319
+ *,
320
+ project_id: typing.Optional[str] = None,
321
+ organization_id: typing.Optional[str] = None,
322
+ request: DataSinkCreate,
323
+ ) -> DataSink:
302
324
  """
303
325
  Create a new data sink.
304
326
 
305
327
  Parameters:
306
328
  - project_id: typing.Optional[str].
307
329
 
330
+ - organization_id: typing.Optional[str].
331
+
308
332
  - request: DataSinkCreate.
309
333
  ---
310
334
  from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
@@ -323,7 +347,7 @@ class AsyncDataSinksClient:
323
347
  _response = await self._client_wrapper.httpx_client.request(
324
348
  "POST",
325
349
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sinks"),
326
- params=remove_none_from_dict({"project_id": project_id}),
350
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
327
351
  json=jsonable_encoder(request),
328
352
  headers=self._client_wrapper.get_headers(),
329
353
  timeout=60,
@@ -338,7 +362,13 @@ class AsyncDataSinksClient:
338
362
  raise ApiError(status_code=_response.status_code, body=_response.text)
339
363
  raise ApiError(status_code=_response.status_code, body=_response_json)
340
364
 
341
- async def upsert_data_sink(self, *, project_id: typing.Optional[str] = None, request: DataSinkCreate) -> DataSink:
365
+ async def upsert_data_sink(
366
+ self,
367
+ *,
368
+ project_id: typing.Optional[str] = None,
369
+ organization_id: typing.Optional[str] = None,
370
+ request: DataSinkCreate,
371
+ ) -> DataSink:
342
372
  """
343
373
  Upserts a data sink.
344
374
  Updates if a data sink with the same name and project_id already exists. Otherwise, creates a new data sink.
@@ -346,6 +376,8 @@ class AsyncDataSinksClient:
346
376
  Parameters:
347
377
  - project_id: typing.Optional[str].
348
378
 
379
+ - organization_id: typing.Optional[str].
380
+
349
381
  - request: DataSinkCreate.
350
382
  ---
351
383
  from llama_cloud import ConfigurableDataSinkNames, DataSinkCreate
@@ -364,7 +396,7 @@ class AsyncDataSinksClient:
364
396
  _response = await self._client_wrapper.httpx_client.request(
365
397
  "PUT",
366
398
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sinks"),
367
- params=remove_none_from_dict({"project_id": project_id}),
399
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
368
400
  json=jsonable_encoder(request),
369
401
  headers=self._client_wrapper.get_headers(),
370
402
  timeout=60,
@@ -2,6 +2,7 @@
2
2
 
3
3
  import typing
4
4
 
5
+ from ....types.cloud_azure_ai_search_vector_store import CloudAzureAiSearchVectorStore
5
6
  from ....types.cloud_chroma_vector_store import CloudChromaVectorStore
6
7
  from ....types.cloud_pinecone_vector_store import CloudPineconeVectorStore
7
8
  from ....types.cloud_postgres_vector_store import CloudPostgresVectorStore
@@ -14,4 +15,5 @@ DataSinkUpdateComponentOne = typing.Union[
14
15
  CloudPostgresVectorStore,
15
16
  CloudQdrantVectorStore,
16
17
  CloudWeaviateVectorStore,
18
+ CloudAzureAiSearchVectorStore,
17
19
  ]
@@ -32,13 +32,17 @@ class DataSourcesClient:
32
32
  def __init__(self, *, client_wrapper: SyncClientWrapper):
33
33
  self._client_wrapper = client_wrapper
34
34
 
35
- def list_data_sources(self, *, project_id: typing.Optional[str] = None) -> typing.List[DataSource]:
35
+ def list_data_sources(
36
+ self, *, project_id: typing.Optional[str] = None, organization_id: typing.Optional[str] = None
37
+ ) -> typing.List[DataSource]:
36
38
  """
37
39
  List data sources for a given project.
38
40
  If project_id is not provided, uses the default project.
39
41
 
40
42
  Parameters:
41
43
  - project_id: typing.Optional[str].
44
+
45
+ - organization_id: typing.Optional[str].
42
46
  ---
43
47
  from llama_cloud.client import LlamaCloud
44
48
 
@@ -50,7 +54,7 @@ class DataSourcesClient:
50
54
  _response = self._client_wrapper.httpx_client.request(
51
55
  "GET",
52
56
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sources"),
53
- params=remove_none_from_dict({"project_id": project_id}),
57
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
54
58
  headers=self._client_wrapper.get_headers(),
55
59
  timeout=60,
56
60
  )
@@ -64,13 +68,21 @@ class DataSourcesClient:
64
68
  raise ApiError(status_code=_response.status_code, body=_response.text)
65
69
  raise ApiError(status_code=_response.status_code, body=_response_json)
66
70
 
67
- def create_data_source(self, *, project_id: typing.Optional[str] = None, request: DataSourceCreate) -> DataSource:
71
+ def create_data_source(
72
+ self,
73
+ *,
74
+ project_id: typing.Optional[str] = None,
75
+ organization_id: typing.Optional[str] = None,
76
+ request: DataSourceCreate,
77
+ ) -> DataSource:
68
78
  """
69
79
  Create a new data source.
70
80
 
71
81
  Parameters:
72
82
  - project_id: typing.Optional[str].
73
83
 
84
+ - organization_id: typing.Optional[str].
85
+
74
86
  - request: DataSourceCreate.
75
87
  ---
76
88
  from llama_cloud import ConfigurableDataSourceNames, DataSourceCreate
@@ -89,7 +101,7 @@ class DataSourcesClient:
89
101
  _response = self._client_wrapper.httpx_client.request(
90
102
  "POST",
91
103
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sources"),
92
- params=remove_none_from_dict({"project_id": project_id}),
104
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
93
105
  json=jsonable_encoder(request),
94
106
  headers=self._client_wrapper.get_headers(),
95
107
  timeout=60,
@@ -104,7 +116,13 @@ class DataSourcesClient:
104
116
  raise ApiError(status_code=_response.status_code, body=_response.text)
105
117
  raise ApiError(status_code=_response.status_code, body=_response_json)
106
118
 
107
- def upsert_data_source(self, *, project_id: typing.Optional[str] = None, request: DataSourceCreate) -> DataSource:
119
+ def upsert_data_source(
120
+ self,
121
+ *,
122
+ project_id: typing.Optional[str] = None,
123
+ organization_id: typing.Optional[str] = None,
124
+ request: DataSourceCreate,
125
+ ) -> DataSource:
108
126
  """
109
127
  Upserts a data source.
110
128
  Updates if a data source with the same name and project_id already exists. Otherwise, creates a new data source.
@@ -112,6 +130,8 @@ class DataSourcesClient:
112
130
  Parameters:
113
131
  - project_id: typing.Optional[str].
114
132
 
133
+ - organization_id: typing.Optional[str].
134
+
115
135
  - request: DataSourceCreate.
116
136
  ---
117
137
  from llama_cloud import ConfigurableDataSourceNames, DataSourceCreate
@@ -130,7 +150,7 @@ class DataSourcesClient:
130
150
  _response = self._client_wrapper.httpx_client.request(
131
151
  "PUT",
132
152
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sources"),
133
- params=remove_none_from_dict({"project_id": project_id}),
153
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
134
154
  json=jsonable_encoder(request),
135
155
  headers=self._client_wrapper.get_headers(),
136
156
  timeout=60,
@@ -272,13 +292,17 @@ class AsyncDataSourcesClient:
272
292
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
273
293
  self._client_wrapper = client_wrapper
274
294
 
275
- async def list_data_sources(self, *, project_id: typing.Optional[str] = None) -> typing.List[DataSource]:
295
+ async def list_data_sources(
296
+ self, *, project_id: typing.Optional[str] = None, organization_id: typing.Optional[str] = None
297
+ ) -> typing.List[DataSource]:
276
298
  """
277
299
  List data sources for a given project.
278
300
  If project_id is not provided, uses the default project.
279
301
 
280
302
  Parameters:
281
303
  - project_id: typing.Optional[str].
304
+
305
+ - organization_id: typing.Optional[str].
282
306
  ---
283
307
  from llama_cloud.client import AsyncLlamaCloud
284
308
 
@@ -290,7 +314,7 @@ class AsyncDataSourcesClient:
290
314
  _response = await self._client_wrapper.httpx_client.request(
291
315
  "GET",
292
316
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sources"),
293
- params=remove_none_from_dict({"project_id": project_id}),
317
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
294
318
  headers=self._client_wrapper.get_headers(),
295
319
  timeout=60,
296
320
  )
@@ -305,7 +329,11 @@ class AsyncDataSourcesClient:
305
329
  raise ApiError(status_code=_response.status_code, body=_response_json)
306
330
 
307
331
  async def create_data_source(
308
- self, *, project_id: typing.Optional[str] = None, request: DataSourceCreate
332
+ self,
333
+ *,
334
+ project_id: typing.Optional[str] = None,
335
+ organization_id: typing.Optional[str] = None,
336
+ request: DataSourceCreate,
309
337
  ) -> DataSource:
310
338
  """
311
339
  Create a new data source.
@@ -313,6 +341,8 @@ class AsyncDataSourcesClient:
313
341
  Parameters:
314
342
  - project_id: typing.Optional[str].
315
343
 
344
+ - organization_id: typing.Optional[str].
345
+
316
346
  - request: DataSourceCreate.
317
347
  ---
318
348
  from llama_cloud import ConfigurableDataSourceNames, DataSourceCreate
@@ -331,7 +361,7 @@ class AsyncDataSourcesClient:
331
361
  _response = await self._client_wrapper.httpx_client.request(
332
362
  "POST",
333
363
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sources"),
334
- params=remove_none_from_dict({"project_id": project_id}),
364
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
335
365
  json=jsonable_encoder(request),
336
366
  headers=self._client_wrapper.get_headers(),
337
367
  timeout=60,
@@ -347,7 +377,11 @@ class AsyncDataSourcesClient:
347
377
  raise ApiError(status_code=_response.status_code, body=_response_json)
348
378
 
349
379
  async def upsert_data_source(
350
- self, *, project_id: typing.Optional[str] = None, request: DataSourceCreate
380
+ self,
381
+ *,
382
+ project_id: typing.Optional[str] = None,
383
+ organization_id: typing.Optional[str] = None,
384
+ request: DataSourceCreate,
351
385
  ) -> DataSource:
352
386
  """
353
387
  Upserts a data source.
@@ -356,6 +390,8 @@ class AsyncDataSourcesClient:
356
390
  Parameters:
357
391
  - project_id: typing.Optional[str].
358
392
 
393
+ - organization_id: typing.Optional[str].
394
+
359
395
  - request: DataSourceCreate.
360
396
  ---
361
397
  from llama_cloud import ConfigurableDataSourceNames, DataSourceCreate
@@ -374,7 +410,7 @@ class AsyncDataSourcesClient:
374
410
  _response = await self._client_wrapper.httpx_client.request(
375
411
  "PUT",
376
412
  urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/data-sources"),
377
- params=remove_none_from_dict({"project_id": project_id}),
413
+ params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
378
414
  json=jsonable_encoder(request),
379
415
  headers=self._client_wrapper.get_headers(),
380
416
  timeout=60,
@@ -3,17 +3,19 @@
3
3
  import typing
4
4
 
5
5
  from ....types.cloud_az_storage_blob_data_source import CloudAzStorageBlobDataSource
6
- from ....types.cloud_gcs_data_source import CloudGcsDataSource
7
- from ....types.cloud_google_drive_data_source import CloudGoogleDriveDataSource
6
+ from ....types.cloud_jira_data_source import CloudJiraDataSource
7
+ from ....types.cloud_notion_page_data_source import CloudNotionPageDataSource
8
8
  from ....types.cloud_one_drive_data_source import CloudOneDriveDataSource
9
9
  from ....types.cloud_s_3_data_source import CloudS3DataSource
10
10
  from ....types.cloud_sharepoint_data_source import CloudSharepointDataSource
11
+ from ....types.cloud_slack_data_source import CloudSlackDataSource
11
12
 
12
13
  DataSourceUpdateComponentOne = typing.Union[
13
14
  CloudS3DataSource,
14
15
  CloudAzStorageBlobDataSource,
15
- CloudGcsDataSource,
16
- CloudGoogleDriveDataSource,
17
16
  CloudOneDriveDataSource,
18
17
  CloudSharepointDataSource,
18
+ CloudSlackDataSource,
19
+ CloudNotionPageDataSource,
20
+ CloudJiraDataSource,
19
21
  ]
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ from .types import ExtractionSchemaUpdateDataSchemaValue
4
+
5
+ __all__ = ["ExtractionSchemaUpdateDataSchemaValue"]