llama-cloud 0.1.32__tar.gz → 0.1.34__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.
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/PKG-INFO +1 -1
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/__init__.py +10 -2
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/client.py +6 -3
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/__init__.py +4 -2
- {llama_cloud-0.1.32/llama_cloud/resources/llama_apps → llama_cloud-0.1.34/llama_cloud/resources/agent_deployments}/client.py +6 -6
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/beta/client.py +4 -4
- llama_cloud-0.1.34/llama_cloud/resources/classifier/client.py +290 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/organizations/client.py +10 -6
- llama_cloud-0.1.34/llama_cloud/resources/retrievers/__init__.py +2 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/__init__.py +6 -0
- llama_cloud-0.1.34/llama_cloud/types/classification_result.py +40 -0
- llama_cloud-0.1.34/llama_cloud/types/classify_response.py +41 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source.py +2 -1
- llama_cloud-0.1.34/llama_cloud/types/data_source_reader_version_metadata.py +31 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_config.py +3 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_data_source.py +2 -1
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_updater_config.py +0 -3
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/struct_parse_conf.py +3 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/pyproject.toml +1 -1
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/LICENSE +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/README.md +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/core/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/core/api_error.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/core/client_wrapper.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/core/datetime_utils.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/core/jsonable_encoder.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/core/remove_none_from_dict.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/environment.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/errors/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/errors/unprocessable_entity_error.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/admin/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/admin/client.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/beta → llama_cloud-0.1.34/llama_cloud/resources/agent_deployments}/__init__.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/chat_apps → llama_cloud-0.1.34/llama_cloud/resources/beta}/__init__.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/evals → llama_cloud-0.1.34/llama_cloud/resources/chat_apps}/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/chat_apps/client.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/jobs → llama_cloud-0.1.34/llama_cloud/resources/classifier}/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sinks/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sinks/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sinks/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sinks/types/data_sink_update_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sources/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sources/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sources/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sources/types/data_source_update_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/data_sources/types/data_source_update_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/embedding_model_configs/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/embedding_model_configs/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/embedding_model_configs/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/embedding_model_configs/types/embedding_model_config_create_embedding_config.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/llama_apps → llama_cloud-0.1.34/llama_cloud/resources/evals}/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/evals/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/files/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/files/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/files/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/files/types/file_create_from_url_resource_info_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/files/types/file_create_permission_info_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/files/types/file_create_resource_info_value.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/organizations → llama_cloud-0.1.34/llama_cloud/resources/jobs}/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/jobs/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_agent_create_data_schema_zero_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_agent_update_data_schema_zero_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_job_create_batch_data_schema_override.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_job_create_batch_data_schema_override_zero_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_schema_validate_request_data_schema.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/llama_extract/types/extract_schema_validate_request_data_schema_zero_value.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/parsing → llama_cloud-0.1.34/llama_cloud/resources/organizations}/__init__.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/projects → llama_cloud-0.1.34/llama_cloud/resources/parsing}/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/parsing/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/types/pipeline_file_update_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/types/pipeline_update_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/types/pipeline_update_transform_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/pipelines/types/retrieval_params_search_filters_inference_schema_value.py +0 -0
- {llama_cloud-0.1.32/llama_cloud/resources/retrievers → llama_cloud-0.1.34/llama_cloud/resources/projects}/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/projects/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/reports/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/reports/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/reports/types/__init__.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/reports/types/update_report_plan_api_v_1_reports_report_id_plan_patch_request_action.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/resources/retrievers/client.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/advanced_mode_transform_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/advanced_mode_transform_config_chunking_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/advanced_mode_transform_config_segmentation_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/agent_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/agent_deployment_list.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/agent_deployment_summary.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/aggregate_group.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/audio_block.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/auto_transform_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/azure_open_ai_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/azure_open_ai_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/base_plan.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/base_plan_metronome_plan_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/base_plan_name.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/base_plan_plan_frequency.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/batch.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/batch_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/batch_paginated_list.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/batch_public_output.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/bedrock_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/bedrock_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/billing_period.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/box_auth_mechanism.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/character_chunking_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/chat_app.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/chat_app_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/chat_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/chunk_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_az_storage_blob_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_azure_ai_search_vector_store.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_box_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_confluence_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_document.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_document_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_jira_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_milvus_vector_store.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_mongo_db_atlas_vector_search.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_notion_page_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_one_drive_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_pinecone_vector_store.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_postgres_vector_store.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_qdrant_vector_store.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_s_3_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_sharepoint_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cloud_slack_data_source.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cohere_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/cohere_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/composite_retrieval_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/composite_retrieval_result.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/composite_retrieved_text_node.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/composite_retrieved_text_node_with_score.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/configurable_data_sink_names.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/configurable_data_source_names.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/credit_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_sink.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_sink_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_sink_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_sink_create_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source_create_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source_create_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/data_source_update_dispatcher_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/delete_params.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/document_block.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/document_chunk_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/document_ingestion_job_params.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/edit_suggestion.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/edit_suggestion_blocks_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/element_segmentation_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/embedding_model_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/embedding_model_config_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/embedding_model_config_update.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/embedding_model_config_update_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/eval_execution_params.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_agent.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_agent_data_schema_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_config_priority.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_job.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_job_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_job_create_data_schema_override.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_job_create_data_schema_override_zero_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_models.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_resultset.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_resultset_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_resultset_data_item_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_resultset_data_zero_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_resultset_extraction_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_run.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_run_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_run_data_item_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_run_data_schema_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_run_data_zero_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_run_extraction_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_schema_generate_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_schema_generate_response_data_schema_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_schema_validate_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_schema_validate_response_data_schema_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_state.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/extract_target.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/fail_page_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/file.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/file_count_by_status_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/file_id_presigned_url.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/file_parse_public.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/file_permission_info_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/file_resource_info_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_condition.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation_eq.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation_gt.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation_gte.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation_includes_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation_lt.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operation_lte.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/filter_operator.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/free_credits_usage.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/gemini_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/gemini_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/http_validation_error.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/hugging_face_inference_api_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/hugging_face_inference_api_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/hugging_face_inference_api_embedding_token.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/image_block.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/ingestion_error_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/input_message.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/job_name_mapping.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/job_names.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/job_record.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/job_record_parameters.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/job_record_with_usage_metrics.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/l_lama_parse_transform_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/legacy_parse_job_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/license_info_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llama_extract_settings.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llama_index_core_base_llms_types_chat_message.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llama_index_core_base_llms_types_chat_message_blocks_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llama_parse_parameters.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llama_parse_parameters_priority.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llama_parse_supported_file_extensions.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llm_model_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/llm_parameters.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/load_files_job_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/managed_ingestion_status.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/managed_ingestion_status_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/message_annotation.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/message_role.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/metadata_filter.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/metadata_filter_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/metadata_filters.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/metadata_filters_filters_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/node_relationship.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/none_chunking_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/none_segmentation_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/object_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/open_ai_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/open_ai_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/organization.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/organization_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/page_figure_metadata.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/page_figure_node_with_score.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/page_screenshot_metadata.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/page_screenshot_node_with_score.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/page_segmentation_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_extract_runs_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_jobs_history_with_metrics.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_list_cloud_documents_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_list_pipeline_files_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_report_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_response_agent_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/paginated_response_aggregate_group.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parse_job_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parse_job_config_priority.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parse_plan_level.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parser_languages.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_history_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_job.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_job_json_result.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_job_markdown_result.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_job_structured_result.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_job_text_result.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/parsing_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/partition_names.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/permission.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pg_vector_distance_method.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pg_vector_hnsw_settings.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pg_vector_vector_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_configuration_hashes.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_create_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_create_transform_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_data_source_component.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_data_source_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_data_source_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_data_source_status.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_deployment.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_config_hash_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_create_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_custom_metadata_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_permission_info_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_resource_info_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_status.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_file_update_dispatcher_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_managed_ingestion_job_params.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_metadata_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_status.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_transform_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pipeline_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/plan_limits.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/playground_session.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/pooling.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/preset_composite_retrieval_params.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/preset_retrieval_params.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/preset_retrieval_params_search_filters_inference_schema_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/presigned_url.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/progress_event.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/progress_event_status.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/project.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/project_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/prompt_conf.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/re_rank_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/re_ranker_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/recurring_credit_grant.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/related_node_info.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/related_node_info_node_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_block.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_block_dependency.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_create_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_event_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_event_item_event_data.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_event_type.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_metadata.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_plan.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_plan_block.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_query.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_state.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_state_event.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/report_update_event.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/retrieval_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/retrieve_results.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/retriever.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/retriever_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/retriever_pipeline.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/role.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/schema_relax_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/semantic_chunking_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/sentence_chunking_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/src_app_schema_chat_chat_message.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/status_enum.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/struct_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/supported_llm_model.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/supported_llm_model_names.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/text_block.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/text_node.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/text_node_relationships_value.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/text_node_with_score.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/token_chunking_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/usage_and_plan.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/usage_metric_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/usage_response.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/usage_response_active_alerts_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/user_job_record.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/user_organization.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/user_organization_create.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/user_organization_delete.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/user_organization_role.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/validation_error.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/validation_error_loc_item.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/vertex_ai_embedding_config.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/vertex_embedding_mode.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/vertex_text_embedding.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/webhook_configuration.py +0 -0
- {llama_cloud-0.1.32 → llama_cloud-0.1.34}/llama_cloud/types/webhook_configuration_webhook_events_item.py +0 -0
|
@@ -37,6 +37,8 @@ from .types import (
|
|
|
37
37
|
ChatAppResponse,
|
|
38
38
|
ChatData,
|
|
39
39
|
ChunkMode,
|
|
40
|
+
ClassificationResult,
|
|
41
|
+
ClassifyResponse,
|
|
40
42
|
CloudAzStorageBlobDataSource,
|
|
41
43
|
CloudAzureAiSearchVectorStore,
|
|
42
44
|
CloudBoxDataSource,
|
|
@@ -73,6 +75,7 @@ from .types import (
|
|
|
73
75
|
DataSourceCreateComponent,
|
|
74
76
|
DataSourceCreateCustomMetadataValue,
|
|
75
77
|
DataSourceCustomMetadataValue,
|
|
78
|
+
DataSourceReaderVersionMetadata,
|
|
76
79
|
DataSourceUpdateDispatcherConfig,
|
|
77
80
|
DeleteParams,
|
|
78
81
|
DocumentBlock,
|
|
@@ -379,15 +382,16 @@ from .resources import (
|
|
|
379
382
|
RetrievalParamsSearchFiltersInferenceSchemaValue,
|
|
380
383
|
UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction,
|
|
381
384
|
admin,
|
|
385
|
+
agent_deployments,
|
|
382
386
|
beta,
|
|
383
387
|
chat_apps,
|
|
388
|
+
classifier,
|
|
384
389
|
data_sinks,
|
|
385
390
|
data_sources,
|
|
386
391
|
embedding_model_configs,
|
|
387
392
|
evals,
|
|
388
393
|
files,
|
|
389
394
|
jobs,
|
|
390
|
-
llama_apps,
|
|
391
395
|
llama_extract,
|
|
392
396
|
organizations,
|
|
393
397
|
parsing,
|
|
@@ -435,6 +439,8 @@ __all__ = [
|
|
|
435
439
|
"ChatAppResponse",
|
|
436
440
|
"ChatData",
|
|
437
441
|
"ChunkMode",
|
|
442
|
+
"ClassificationResult",
|
|
443
|
+
"ClassifyResponse",
|
|
438
444
|
"CloudAzStorageBlobDataSource",
|
|
439
445
|
"CloudAzureAiSearchVectorStore",
|
|
440
446
|
"CloudBoxDataSource",
|
|
@@ -472,6 +478,7 @@ __all__ = [
|
|
|
472
478
|
"DataSourceCreateComponent",
|
|
473
479
|
"DataSourceCreateCustomMetadataValue",
|
|
474
480
|
"DataSourceCustomMetadataValue",
|
|
481
|
+
"DataSourceReaderVersionMetadata",
|
|
475
482
|
"DataSourceUpdateComponent",
|
|
476
483
|
"DataSourceUpdateCustomMetadataValue",
|
|
477
484
|
"DataSourceUpdateDispatcherConfig",
|
|
@@ -776,15 +783,16 @@ __all__ = [
|
|
|
776
783
|
"WebhookConfiguration",
|
|
777
784
|
"WebhookConfigurationWebhookEventsItem",
|
|
778
785
|
"admin",
|
|
786
|
+
"agent_deployments",
|
|
779
787
|
"beta",
|
|
780
788
|
"chat_apps",
|
|
789
|
+
"classifier",
|
|
781
790
|
"data_sinks",
|
|
782
791
|
"data_sources",
|
|
783
792
|
"embedding_model_configs",
|
|
784
793
|
"evals",
|
|
785
794
|
"files",
|
|
786
795
|
"jobs",
|
|
787
|
-
"llama_apps",
|
|
788
796
|
"llama_extract",
|
|
789
797
|
"organizations",
|
|
790
798
|
"parsing",
|
|
@@ -7,15 +7,16 @@ import httpx
|
|
|
7
7
|
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
8
8
|
from .environment import LlamaCloudEnvironment
|
|
9
9
|
from .resources.admin.client import AdminClient, AsyncAdminClient
|
|
10
|
+
from .resources.agent_deployments.client import AgentDeploymentsClient, AsyncAgentDeploymentsClient
|
|
10
11
|
from .resources.beta.client import AsyncBetaClient, BetaClient
|
|
11
12
|
from .resources.chat_apps.client import AsyncChatAppsClient, ChatAppsClient
|
|
13
|
+
from .resources.classifier.client import AsyncClassifierClient, ClassifierClient
|
|
12
14
|
from .resources.data_sinks.client import AsyncDataSinksClient, DataSinksClient
|
|
13
15
|
from .resources.data_sources.client import AsyncDataSourcesClient, DataSourcesClient
|
|
14
16
|
from .resources.embedding_model_configs.client import AsyncEmbeddingModelConfigsClient, EmbeddingModelConfigsClient
|
|
15
17
|
from .resources.evals.client import AsyncEvalsClient, EvalsClient
|
|
16
18
|
from .resources.files.client import AsyncFilesClient, FilesClient
|
|
17
19
|
from .resources.jobs.client import AsyncJobsClient, JobsClient
|
|
18
|
-
from .resources.llama_apps.client import AsyncLlamaAppsClient, LlamaAppsClient
|
|
19
20
|
from .resources.llama_extract.client import AsyncLlamaExtractClient, LlamaExtractClient
|
|
20
21
|
from .resources.organizations.client import AsyncOrganizationsClient, OrganizationsClient
|
|
21
22
|
from .resources.parsing.client import AsyncParsingClient, ParsingClient
|
|
@@ -52,7 +53,8 @@ class LlamaCloud:
|
|
|
52
53
|
self.evals = EvalsClient(client_wrapper=self._client_wrapper)
|
|
53
54
|
self.parsing = ParsingClient(client_wrapper=self._client_wrapper)
|
|
54
55
|
self.chat_apps = ChatAppsClient(client_wrapper=self._client_wrapper)
|
|
55
|
-
self.
|
|
56
|
+
self.agent_deployments = AgentDeploymentsClient(client_wrapper=self._client_wrapper)
|
|
57
|
+
self.classifier = ClassifierClient(client_wrapper=self._client_wrapper)
|
|
56
58
|
self.admin = AdminClient(client_wrapper=self._client_wrapper)
|
|
57
59
|
self.llama_extract = LlamaExtractClient(client_wrapper=self._client_wrapper)
|
|
58
60
|
self.reports = ReportsClient(client_wrapper=self._client_wrapper)
|
|
@@ -86,7 +88,8 @@ class AsyncLlamaCloud:
|
|
|
86
88
|
self.evals = AsyncEvalsClient(client_wrapper=self._client_wrapper)
|
|
87
89
|
self.parsing = AsyncParsingClient(client_wrapper=self._client_wrapper)
|
|
88
90
|
self.chat_apps = AsyncChatAppsClient(client_wrapper=self._client_wrapper)
|
|
89
|
-
self.
|
|
91
|
+
self.agent_deployments = AsyncAgentDeploymentsClient(client_wrapper=self._client_wrapper)
|
|
92
|
+
self.classifier = AsyncClassifierClient(client_wrapper=self._client_wrapper)
|
|
90
93
|
self.admin = AsyncAdminClient(client_wrapper=self._client_wrapper)
|
|
91
94
|
self.llama_extract = AsyncLlamaExtractClient(client_wrapper=self._client_wrapper)
|
|
92
95
|
self.reports = AsyncReportsClient(client_wrapper=self._client_wrapper)
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
from . import (
|
|
4
4
|
admin,
|
|
5
|
+
agent_deployments,
|
|
5
6
|
beta,
|
|
6
7
|
chat_apps,
|
|
8
|
+
classifier,
|
|
7
9
|
data_sinks,
|
|
8
10
|
data_sources,
|
|
9
11
|
embedding_model_configs,
|
|
10
12
|
evals,
|
|
11
13
|
files,
|
|
12
14
|
jobs,
|
|
13
|
-
llama_apps,
|
|
14
15
|
llama_extract,
|
|
15
16
|
organizations,
|
|
16
17
|
parsing,
|
|
@@ -93,15 +94,16 @@ __all__ = [
|
|
|
93
94
|
"RetrievalParamsSearchFiltersInferenceSchemaValue",
|
|
94
95
|
"UpdateReportPlanApiV1ReportsReportIdPlanPatchRequestAction",
|
|
95
96
|
"admin",
|
|
97
|
+
"agent_deployments",
|
|
96
98
|
"beta",
|
|
97
99
|
"chat_apps",
|
|
100
|
+
"classifier",
|
|
98
101
|
"data_sinks",
|
|
99
102
|
"data_sources",
|
|
100
103
|
"embedding_model_configs",
|
|
101
104
|
"evals",
|
|
102
105
|
"files",
|
|
103
106
|
"jobs",
|
|
104
|
-
"llama_apps",
|
|
105
107
|
"llama_extract",
|
|
106
108
|
"organizations",
|
|
107
109
|
"parsing",
|
|
@@ -18,7 +18,7 @@ except ImportError:
|
|
|
18
18
|
import pydantic # type: ignore
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class AgentDeploymentsClient:
|
|
22
22
|
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
23
23
|
self._client_wrapper = client_wrapper
|
|
24
24
|
|
|
@@ -34,7 +34,7 @@ class LlamaAppsClient:
|
|
|
34
34
|
client = LlamaCloud(
|
|
35
35
|
token="YOUR_TOKEN",
|
|
36
36
|
)
|
|
37
|
-
client.
|
|
37
|
+
client.agent_deployments.list_deployments(
|
|
38
38
|
project_id="string",
|
|
39
39
|
)
|
|
40
40
|
"""
|
|
@@ -66,7 +66,7 @@ class LlamaAppsClient:
|
|
|
66
66
|
client = LlamaCloud(
|
|
67
67
|
token="YOUR_TOKEN",
|
|
68
68
|
)
|
|
69
|
-
client.
|
|
69
|
+
client.agent_deployments.sync_deployments(
|
|
70
70
|
project_id="string",
|
|
71
71
|
)
|
|
72
72
|
"""
|
|
@@ -89,7 +89,7 @@ class LlamaAppsClient:
|
|
|
89
89
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
class
|
|
92
|
+
class AsyncAgentDeploymentsClient:
|
|
93
93
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
94
94
|
self._client_wrapper = client_wrapper
|
|
95
95
|
|
|
@@ -105,7 +105,7 @@ class AsyncLlamaAppsClient:
|
|
|
105
105
|
client = AsyncLlamaCloud(
|
|
106
106
|
token="YOUR_TOKEN",
|
|
107
107
|
)
|
|
108
|
-
await client.
|
|
108
|
+
await client.agent_deployments.list_deployments(
|
|
109
109
|
project_id="string",
|
|
110
110
|
)
|
|
111
111
|
"""
|
|
@@ -137,7 +137,7 @@ class AsyncLlamaAppsClient:
|
|
|
137
137
|
client = AsyncLlamaCloud(
|
|
138
138
|
token="YOUR_TOKEN",
|
|
139
139
|
)
|
|
140
|
-
await client.
|
|
140
|
+
await client.agent_deployments.sync_deployments(
|
|
141
141
|
project_id="string",
|
|
142
142
|
)
|
|
143
143
|
"""
|
|
@@ -308,7 +308,7 @@ class BetaClient:
|
|
|
308
308
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
309
309
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
310
310
|
|
|
311
|
-
def
|
|
311
|
+
def create_agent_data(
|
|
312
312
|
self, *, agent_slug: str, collection: typing.Optional[str] = OMIT, data: typing.Dict[str, typing.Any]
|
|
313
313
|
) -> AgentData:
|
|
314
314
|
"""
|
|
@@ -326,7 +326,7 @@ class BetaClient:
|
|
|
326
326
|
client = LlamaCloud(
|
|
327
327
|
token="YOUR_TOKEN",
|
|
328
328
|
)
|
|
329
|
-
client.beta.
|
|
329
|
+
client.beta.create_agent_data(
|
|
330
330
|
agent_slug="string",
|
|
331
331
|
data={"string": {}},
|
|
332
332
|
)
|
|
@@ -785,7 +785,7 @@ class AsyncBetaClient:
|
|
|
785
785
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
786
786
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
787
787
|
|
|
788
|
-
async def
|
|
788
|
+
async def create_agent_data(
|
|
789
789
|
self, *, agent_slug: str, collection: typing.Optional[str] = OMIT, data: typing.Dict[str, typing.Any]
|
|
790
790
|
) -> AgentData:
|
|
791
791
|
"""
|
|
@@ -803,7 +803,7 @@ class AsyncBetaClient:
|
|
|
803
803
|
client = AsyncLlamaCloud(
|
|
804
804
|
token="YOUR_TOKEN",
|
|
805
805
|
)
|
|
806
|
-
await client.beta.
|
|
806
|
+
await client.beta.create_agent_data(
|
|
807
807
|
agent_slug="string",
|
|
808
808
|
data={"string": {}},
|
|
809
809
|
)
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
import urllib.parse
|
|
5
|
+
from json.decoder import JSONDecodeError
|
|
6
|
+
|
|
7
|
+
from ...core.api_error import ApiError
|
|
8
|
+
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
9
|
+
from ...core.jsonable_encoder import jsonable_encoder
|
|
10
|
+
from ...core.remove_none_from_dict import remove_none_from_dict
|
|
11
|
+
from ...errors.unprocessable_entity_error import UnprocessableEntityError
|
|
12
|
+
from ...types.classify_response import ClassifyResponse
|
|
13
|
+
from ...types.http_validation_error import HttpValidationError
|
|
14
|
+
|
|
15
|
+
try:
|
|
16
|
+
import pydantic
|
|
17
|
+
if pydantic.__version__.startswith("1."):
|
|
18
|
+
raise ImportError
|
|
19
|
+
import pydantic.v1 as pydantic # type: ignore
|
|
20
|
+
except ImportError:
|
|
21
|
+
import pydantic # type: ignore
|
|
22
|
+
|
|
23
|
+
# this is used as the default value for optional parameters
|
|
24
|
+
OMIT = typing.cast(typing.Any, ...)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class ClassifierClient:
|
|
28
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
29
|
+
self._client_wrapper = client_wrapper
|
|
30
|
+
|
|
31
|
+
def classify_documents(
|
|
32
|
+
self,
|
|
33
|
+
*,
|
|
34
|
+
project_id: typing.Optional[str] = None,
|
|
35
|
+
organization_id: typing.Optional[str] = None,
|
|
36
|
+
rules_json: str,
|
|
37
|
+
files: typing.Optional[typing.List[str]] = OMIT,
|
|
38
|
+
file_ids: typing.Optional[str] = OMIT,
|
|
39
|
+
matching_threshold: typing.Optional[float] = OMIT,
|
|
40
|
+
enable_metadata_heuristic: typing.Optional[bool] = OMIT,
|
|
41
|
+
) -> ClassifyResponse:
|
|
42
|
+
"""
|
|
43
|
+
**[BETA]** Classify documents based on provided rules - simplified classification system.
|
|
44
|
+
|
|
45
|
+
**This is a Beta feature** - API may change based on user feedback.
|
|
46
|
+
|
|
47
|
+
This endpoint supports:
|
|
48
|
+
|
|
49
|
+
- Classifying new uploaded files
|
|
50
|
+
- Classifying existing files by ID
|
|
51
|
+
- Both new files and existing file IDs in one request
|
|
52
|
+
|
|
53
|
+
## v0 Features:
|
|
54
|
+
|
|
55
|
+
- **Simplified Rules**: Only `type` and `description` fields needed
|
|
56
|
+
- **Matching Threshold**: Confidence-based classification with configurable threshold
|
|
57
|
+
- **Smart Classification**: Filename heuristics + LLM content analysis
|
|
58
|
+
- **Document Type Filtering**: Automatically filters out non-document file types
|
|
59
|
+
- **Fast Processing**: Uses LlamaParse fast mode + GPT-4.1-nano
|
|
60
|
+
- **Optimized Performance**: Parses each file only once for all rules
|
|
61
|
+
|
|
62
|
+
## Simplified Scoring Logic:
|
|
63
|
+
|
|
64
|
+
1. **Evaluate All Rules**: Compare document against all classification rules
|
|
65
|
+
2. **Best Match Selection**: Return the highest scoring rule above matching_threshold
|
|
66
|
+
3. **Unknown Classification**: Return as "unknown" if no rules score above threshold
|
|
67
|
+
|
|
68
|
+
This ensures optimal classification by:
|
|
69
|
+
|
|
70
|
+
- Finding the best possible match among all rules
|
|
71
|
+
- Avoiding false positives with confidence thresholds
|
|
72
|
+
- Maximizing performance with single-pass file parsing
|
|
73
|
+
|
|
74
|
+
## Rule Format:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
|
+
"type": "invoice",
|
|
80
|
+
"description": "contains invoice number, line items, and total amount"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "receipt",
|
|
84
|
+
"description": "purchase receipt with transaction details and payment info"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Classification Process:
|
|
90
|
+
|
|
91
|
+
1. **Metadata Heuristics** (configurable via API):
|
|
92
|
+
- **Document Type Filter**: Only process document file types (PDF, DOC, DOCX, RTF, TXT, ODT, Pages, HTML, XML, Markdown)
|
|
93
|
+
- **Filename Heuristics**: Check if rule type appears in filename
|
|
94
|
+
- **Content Analysis**: Parse document content once and use LLM for semantic matching against all rules
|
|
95
|
+
2. **Result**: Returns type, confidence score, and matched rule information
|
|
96
|
+
|
|
97
|
+
## API Parameters:
|
|
98
|
+
|
|
99
|
+
- `matching_threshold` (0.1-0.99, default: 0.6): Minimum confidence threshold for acceptable matches
|
|
100
|
+
- `enable_metadata_heuristic` (boolean, default: true): Enable metadata-based features
|
|
101
|
+
|
|
102
|
+
## Supported Document Types:
|
|
103
|
+
|
|
104
|
+
**Text Documents**: pdf, doc, docx, rtf, txt, odt, pages
|
|
105
|
+
**Web Documents**: html, htm, xml
|
|
106
|
+
**Markup**: md, markdown
|
|
107
|
+
|
|
108
|
+
## Limits (Beta):
|
|
109
|
+
|
|
110
|
+
- Maximum 100 files per request
|
|
111
|
+
- Maximum 10 rules per request
|
|
112
|
+
- Rule descriptions: 10-500 characters
|
|
113
|
+
- Document types: 1-50 characters (alphanumeric, hyphens, underscores)
|
|
114
|
+
|
|
115
|
+
**Beta Notice**: This API is subject to change. Please provide feedback!
|
|
116
|
+
|
|
117
|
+
Parameters:
|
|
118
|
+
- project_id: typing.Optional[str].
|
|
119
|
+
|
|
120
|
+
- organization_id: typing.Optional[str].
|
|
121
|
+
|
|
122
|
+
- rules_json: str. JSON string containing classifier rules
|
|
123
|
+
|
|
124
|
+
- files: typing.Optional[typing.List[str]].
|
|
125
|
+
|
|
126
|
+
- file_ids: typing.Optional[str].
|
|
127
|
+
|
|
128
|
+
- matching_threshold: typing.Optional[float].
|
|
129
|
+
|
|
130
|
+
- enable_metadata_heuristic: typing.Optional[bool].
|
|
131
|
+
"""
|
|
132
|
+
_request: typing.Dict[str, typing.Any] = {"rules_json": rules_json}
|
|
133
|
+
if files is not OMIT:
|
|
134
|
+
_request["files"] = files
|
|
135
|
+
if file_ids is not OMIT:
|
|
136
|
+
_request["file_ids"] = file_ids
|
|
137
|
+
if matching_threshold is not OMIT:
|
|
138
|
+
_request["matching_threshold"] = matching_threshold
|
|
139
|
+
if enable_metadata_heuristic is not OMIT:
|
|
140
|
+
_request["enable_metadata_heuristic"] = enable_metadata_heuristic
|
|
141
|
+
_response = self._client_wrapper.httpx_client.request(
|
|
142
|
+
"POST",
|
|
143
|
+
urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/classifier/classify"),
|
|
144
|
+
params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
|
|
145
|
+
json=jsonable_encoder(_request),
|
|
146
|
+
headers=self._client_wrapper.get_headers(),
|
|
147
|
+
timeout=60,
|
|
148
|
+
)
|
|
149
|
+
if 200 <= _response.status_code < 300:
|
|
150
|
+
return pydantic.parse_obj_as(ClassifyResponse, _response.json()) # type: ignore
|
|
151
|
+
if _response.status_code == 422:
|
|
152
|
+
raise UnprocessableEntityError(pydantic.parse_obj_as(HttpValidationError, _response.json())) # type: ignore
|
|
153
|
+
try:
|
|
154
|
+
_response_json = _response.json()
|
|
155
|
+
except JSONDecodeError:
|
|
156
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
157
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
class AsyncClassifierClient:
|
|
161
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
162
|
+
self._client_wrapper = client_wrapper
|
|
163
|
+
|
|
164
|
+
async def classify_documents(
|
|
165
|
+
self,
|
|
166
|
+
*,
|
|
167
|
+
project_id: typing.Optional[str] = None,
|
|
168
|
+
organization_id: typing.Optional[str] = None,
|
|
169
|
+
rules_json: str,
|
|
170
|
+
files: typing.Optional[typing.List[str]] = OMIT,
|
|
171
|
+
file_ids: typing.Optional[str] = OMIT,
|
|
172
|
+
matching_threshold: typing.Optional[float] = OMIT,
|
|
173
|
+
enable_metadata_heuristic: typing.Optional[bool] = OMIT,
|
|
174
|
+
) -> ClassifyResponse:
|
|
175
|
+
"""
|
|
176
|
+
**[BETA]** Classify documents based on provided rules - simplified classification system.
|
|
177
|
+
|
|
178
|
+
**This is a Beta feature** - API may change based on user feedback.
|
|
179
|
+
|
|
180
|
+
This endpoint supports:
|
|
181
|
+
|
|
182
|
+
- Classifying new uploaded files
|
|
183
|
+
- Classifying existing files by ID
|
|
184
|
+
- Both new files and existing file IDs in one request
|
|
185
|
+
|
|
186
|
+
## v0 Features:
|
|
187
|
+
|
|
188
|
+
- **Simplified Rules**: Only `type` and `description` fields needed
|
|
189
|
+
- **Matching Threshold**: Confidence-based classification with configurable threshold
|
|
190
|
+
- **Smart Classification**: Filename heuristics + LLM content analysis
|
|
191
|
+
- **Document Type Filtering**: Automatically filters out non-document file types
|
|
192
|
+
- **Fast Processing**: Uses LlamaParse fast mode + GPT-4.1-nano
|
|
193
|
+
- **Optimized Performance**: Parses each file only once for all rules
|
|
194
|
+
|
|
195
|
+
## Simplified Scoring Logic:
|
|
196
|
+
|
|
197
|
+
1. **Evaluate All Rules**: Compare document against all classification rules
|
|
198
|
+
2. **Best Match Selection**: Return the highest scoring rule above matching_threshold
|
|
199
|
+
3. **Unknown Classification**: Return as "unknown" if no rules score above threshold
|
|
200
|
+
|
|
201
|
+
This ensures optimal classification by:
|
|
202
|
+
|
|
203
|
+
- Finding the best possible match among all rules
|
|
204
|
+
- Avoiding false positives with confidence thresholds
|
|
205
|
+
- Maximizing performance with single-pass file parsing
|
|
206
|
+
|
|
207
|
+
## Rule Format:
|
|
208
|
+
|
|
209
|
+
```json
|
|
210
|
+
[
|
|
211
|
+
{
|
|
212
|
+
"type": "invoice",
|
|
213
|
+
"description": "contains invoice number, line items, and total amount"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": "receipt",
|
|
217
|
+
"description": "purchase receipt with transaction details and payment info"
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Classification Process:
|
|
223
|
+
|
|
224
|
+
1. **Metadata Heuristics** (configurable via API):
|
|
225
|
+
- **Document Type Filter**: Only process document file types (PDF, DOC, DOCX, RTF, TXT, ODT, Pages, HTML, XML, Markdown)
|
|
226
|
+
- **Filename Heuristics**: Check if rule type appears in filename
|
|
227
|
+
- **Content Analysis**: Parse document content once and use LLM for semantic matching against all rules
|
|
228
|
+
2. **Result**: Returns type, confidence score, and matched rule information
|
|
229
|
+
|
|
230
|
+
## API Parameters:
|
|
231
|
+
|
|
232
|
+
- `matching_threshold` (0.1-0.99, default: 0.6): Minimum confidence threshold for acceptable matches
|
|
233
|
+
- `enable_metadata_heuristic` (boolean, default: true): Enable metadata-based features
|
|
234
|
+
|
|
235
|
+
## Supported Document Types:
|
|
236
|
+
|
|
237
|
+
**Text Documents**: pdf, doc, docx, rtf, txt, odt, pages
|
|
238
|
+
**Web Documents**: html, htm, xml
|
|
239
|
+
**Markup**: md, markdown
|
|
240
|
+
|
|
241
|
+
## Limits (Beta):
|
|
242
|
+
|
|
243
|
+
- Maximum 100 files per request
|
|
244
|
+
- Maximum 10 rules per request
|
|
245
|
+
- Rule descriptions: 10-500 characters
|
|
246
|
+
- Document types: 1-50 characters (alphanumeric, hyphens, underscores)
|
|
247
|
+
|
|
248
|
+
**Beta Notice**: This API is subject to change. Please provide feedback!
|
|
249
|
+
|
|
250
|
+
Parameters:
|
|
251
|
+
- project_id: typing.Optional[str].
|
|
252
|
+
|
|
253
|
+
- organization_id: typing.Optional[str].
|
|
254
|
+
|
|
255
|
+
- rules_json: str. JSON string containing classifier rules
|
|
256
|
+
|
|
257
|
+
- files: typing.Optional[typing.List[str]].
|
|
258
|
+
|
|
259
|
+
- file_ids: typing.Optional[str].
|
|
260
|
+
|
|
261
|
+
- matching_threshold: typing.Optional[float].
|
|
262
|
+
|
|
263
|
+
- enable_metadata_heuristic: typing.Optional[bool].
|
|
264
|
+
"""
|
|
265
|
+
_request: typing.Dict[str, typing.Any] = {"rules_json": rules_json}
|
|
266
|
+
if files is not OMIT:
|
|
267
|
+
_request["files"] = files
|
|
268
|
+
if file_ids is not OMIT:
|
|
269
|
+
_request["file_ids"] = file_ids
|
|
270
|
+
if matching_threshold is not OMIT:
|
|
271
|
+
_request["matching_threshold"] = matching_threshold
|
|
272
|
+
if enable_metadata_heuristic is not OMIT:
|
|
273
|
+
_request["enable_metadata_heuristic"] = enable_metadata_heuristic
|
|
274
|
+
_response = await self._client_wrapper.httpx_client.request(
|
|
275
|
+
"POST",
|
|
276
|
+
urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "api/v1/classifier/classify"),
|
|
277
|
+
params=remove_none_from_dict({"project_id": project_id, "organization_id": organization_id}),
|
|
278
|
+
json=jsonable_encoder(_request),
|
|
279
|
+
headers=self._client_wrapper.get_headers(),
|
|
280
|
+
timeout=60,
|
|
281
|
+
)
|
|
282
|
+
if 200 <= _response.status_code < 300:
|
|
283
|
+
return pydantic.parse_obj_as(ClassifyResponse, _response.json()) # type: ignore
|
|
284
|
+
if _response.status_code == 422:
|
|
285
|
+
raise UnprocessableEntityError(pydantic.parse_obj_as(HttpValidationError, _response.json())) # type: ignore
|
|
286
|
+
try:
|
|
287
|
+
_response_json = _response.json()
|
|
288
|
+
except JSONDecodeError:
|
|
289
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
290
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
@@ -298,13 +298,13 @@ class OrganizationsClient:
|
|
|
298
298
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
299
299
|
|
|
300
300
|
def get_organization_usage(
|
|
301
|
-
self, organization_id:
|
|
301
|
+
self, organization_id: str, *, get_current_invoice_total: typing.Optional[bool] = None
|
|
302
302
|
) -> UsageAndPlan:
|
|
303
303
|
"""
|
|
304
304
|
Get usage for a specific organization.
|
|
305
305
|
|
|
306
306
|
Parameters:
|
|
307
|
-
- organization_id:
|
|
307
|
+
- organization_id: str.
|
|
308
308
|
|
|
309
309
|
- get_current_invoice_total: typing.Optional[bool].
|
|
310
310
|
---
|
|
@@ -313,7 +313,9 @@ class OrganizationsClient:
|
|
|
313
313
|
client = LlamaCloud(
|
|
314
314
|
token="YOUR_TOKEN",
|
|
315
315
|
)
|
|
316
|
-
client.organizations.get_organization_usage(
|
|
316
|
+
client.organizations.get_organization_usage(
|
|
317
|
+
organization_id="string",
|
|
318
|
+
)
|
|
317
319
|
"""
|
|
318
320
|
_response = self._client_wrapper.httpx_client.request(
|
|
319
321
|
"GET",
|
|
@@ -1004,13 +1006,13 @@ class AsyncOrganizationsClient:
|
|
|
1004
1006
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
1005
1007
|
|
|
1006
1008
|
async def get_organization_usage(
|
|
1007
|
-
self, organization_id:
|
|
1009
|
+
self, organization_id: str, *, get_current_invoice_total: typing.Optional[bool] = None
|
|
1008
1010
|
) -> UsageAndPlan:
|
|
1009
1011
|
"""
|
|
1010
1012
|
Get usage for a specific organization.
|
|
1011
1013
|
|
|
1012
1014
|
Parameters:
|
|
1013
|
-
- organization_id:
|
|
1015
|
+
- organization_id: str.
|
|
1014
1016
|
|
|
1015
1017
|
- get_current_invoice_total: typing.Optional[bool].
|
|
1016
1018
|
---
|
|
@@ -1019,7 +1021,9 @@ class AsyncOrganizationsClient:
|
|
|
1019
1021
|
client = AsyncLlamaCloud(
|
|
1020
1022
|
token="YOUR_TOKEN",
|
|
1021
1023
|
)
|
|
1022
|
-
await client.organizations.get_organization_usage(
|
|
1024
|
+
await client.organizations.get_organization_usage(
|
|
1025
|
+
organization_id="string",
|
|
1026
|
+
)
|
|
1023
1027
|
"""
|
|
1024
1028
|
_response = await self._client_wrapper.httpx_client.request(
|
|
1025
1029
|
"GET",
|
|
@@ -40,6 +40,8 @@ from .chat_app import ChatApp
|
|
|
40
40
|
from .chat_app_response import ChatAppResponse
|
|
41
41
|
from .chat_data import ChatData
|
|
42
42
|
from .chunk_mode import ChunkMode
|
|
43
|
+
from .classification_result import ClassificationResult
|
|
44
|
+
from .classify_response import ClassifyResponse
|
|
43
45
|
from .cloud_az_storage_blob_data_source import CloudAzStorageBlobDataSource
|
|
44
46
|
from .cloud_azure_ai_search_vector_store import CloudAzureAiSearchVectorStore
|
|
45
47
|
from .cloud_box_data_source import CloudBoxDataSource
|
|
@@ -76,6 +78,7 @@ from .data_source_create import DataSourceCreate
|
|
|
76
78
|
from .data_source_create_component import DataSourceCreateComponent
|
|
77
79
|
from .data_source_create_custom_metadata_value import DataSourceCreateCustomMetadataValue
|
|
78
80
|
from .data_source_custom_metadata_value import DataSourceCustomMetadataValue
|
|
81
|
+
from .data_source_reader_version_metadata import DataSourceReaderVersionMetadata
|
|
79
82
|
from .data_source_update_dispatcher_config import DataSourceUpdateDispatcherConfig
|
|
80
83
|
from .delete_params import DeleteParams
|
|
81
84
|
from .document_block import DocumentBlock
|
|
@@ -400,6 +403,8 @@ __all__ = [
|
|
|
400
403
|
"ChatAppResponse",
|
|
401
404
|
"ChatData",
|
|
402
405
|
"ChunkMode",
|
|
406
|
+
"ClassificationResult",
|
|
407
|
+
"ClassifyResponse",
|
|
403
408
|
"CloudAzStorageBlobDataSource",
|
|
404
409
|
"CloudAzureAiSearchVectorStore",
|
|
405
410
|
"CloudBoxDataSource",
|
|
@@ -436,6 +441,7 @@ __all__ = [
|
|
|
436
441
|
"DataSourceCreateComponent",
|
|
437
442
|
"DataSourceCreateCustomMetadataValue",
|
|
438
443
|
"DataSourceCustomMetadataValue",
|
|
444
|
+
"DataSourceReaderVersionMetadata",
|
|
439
445
|
"DataSourceUpdateDispatcherConfig",
|
|
440
446
|
"DeleteParams",
|
|
441
447
|
"DocumentBlock",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
from ..core.datetime_utils import serialize_datetime
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
import pydantic
|
|
10
|
+
if pydantic.__version__.startswith("1."):
|
|
11
|
+
raise ImportError
|
|
12
|
+
import pydantic.v1 as pydantic # type: ignore
|
|
13
|
+
except ImportError:
|
|
14
|
+
import pydantic # type: ignore
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class ClassificationResult(pydantic.BaseModel):
|
|
18
|
+
"""
|
|
19
|
+
Result of classifying a single file.
|
|
20
|
+
|
|
21
|
+
Contains the classification outcome with confidence score and matched rule info.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
file_id: str = pydantic.Field(description="The ID of the classified file")
|
|
25
|
+
type: str = pydantic.Field(description="The assigned document type ('unknown' if no rules matched)")
|
|
26
|
+
confidence: float = pydantic.Field(description="Confidence score of the classification (0.0-1.0)")
|
|
27
|
+
matched_rule: typing.Optional[str]
|
|
28
|
+
|
|
29
|
+
def json(self, **kwargs: typing.Any) -> str:
|
|
30
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
31
|
+
return super().json(**kwargs_with_defaults)
|
|
32
|
+
|
|
33
|
+
def dict(self, **kwargs: typing.Any) -> typing.Dict[str, typing.Any]:
|
|
34
|
+
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
|
35
|
+
return super().dict(**kwargs_with_defaults)
|
|
36
|
+
|
|
37
|
+
class Config:
|
|
38
|
+
frozen = True
|
|
39
|
+
smart_union = True
|
|
40
|
+
json_encoders = {dt.datetime: serialize_datetime}
|