bpmlinks-smartspend-test 0.1.0__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.
- bpmlinks_smartspend_test-0.1.0/.gitignore +40 -0
- bpmlinks_smartspend_test-0.1.0/LICENSE +21 -0
- bpmlinks_smartspend_test-0.1.0/NOTICE +32 -0
- bpmlinks_smartspend_test-0.1.0/PKG-INFO +103 -0
- bpmlinks_smartspend_test-0.1.0/README.md +84 -0
- bpmlinks_smartspend_test-0.1.0/pyproject.toml +140 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/__init__.py +144 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/attributes.py +215 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/client.py +4251 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/constants.py +65 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/datasets.py +302 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/environment_variables.py +184 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/get_client.py +152 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/observe.py +798 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/privacy.py +136 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/propagation.py +786 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/resource_manager.py +669 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/span.py +1539 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/span_exporter.py +663 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/span_filter.py +119 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/span_processor.py +332 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_client/utils.py +158 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_task_manager/media_manager.py +454 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_task_manager/media_upload_consumer.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_task_manager/media_upload_queue.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_task_manager/score_ingestion_consumer.py +185 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/__init__.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/environment.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/error_logging.py +47 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/json_path.py +74 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/parse_error.py +99 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/prompt_cache.py +231 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/request.py +136 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_utils/serializer.py +230 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/_version.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/anthropic.py +308 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/.fern/metadata.json +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/__init__.py +1013 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/__init__.py +82 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/client.py +1111 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/raw_client.py +2288 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/__init__.py +84 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/annotation_queue.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/annotation_queue_assignment_request.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/annotation_queue_item.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/annotation_queue_object_type.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/annotation_queue_status.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/create_annotation_queue_assignment_response.py +18 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/create_annotation_queue_item_request.py +25 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/create_annotation_queue_request.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/delete_annotation_queue_assignment_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/delete_annotation_queue_item_response.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/paginated_annotation_queue_items.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/paginated_annotation_queues.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/annotation_queues/types/update_annotation_queue_item_request.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/__init__.py +82 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/client.py +598 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/raw_client.py +1024 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/__init__.py +88 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_export_field_group.py +62 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_export_frequency.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_export_mode.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_export_source.py +35 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integration_deletion_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integration_file_type.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integration_file_type_response.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integration_response.py +80 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integration_status_response.py +50 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integration_type.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_integrations_response.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/blob_storage_sync_status.py +52 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/blob_storage_integrations/types/create_blob_storage_integration_request.py +119 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/client.py +757 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/client.py +407 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/raw_client.py +750 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/types/__init__.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/types/create_comment_request.py +47 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/types/create_comment_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/comments/types/get_comments_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/__init__.py +246 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/errors/__init__.py +56 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/errors/access_denied_error.py +12 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/errors/error.py +12 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/errors/method_not_allowed_error.py +12 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/errors/not_found_error.py +12 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/errors/unauthorized_error.py +12 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/__init__.py +231 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/base_score.py +90 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/base_score_v1.py +70 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/boolean_score.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/boolean_score_v1.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/categorical_score.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/categorical_score_v1.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/comment.py +36 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/comment_object_type.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/config_category.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/correction_score.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/create_score_value.py +5 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset.py +49 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_item.py +65 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_item_media_reference.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_item_media_reference_field.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_item_media_reference_media.py +47 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_run.py +63 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_run_item.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_run_with_items.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/dataset_status.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/deprecation.py +42 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/map_value.py +11 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/model.py +125 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/model_price.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/model_usage_unit.py +42 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/numeric_score.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/numeric_score_v1.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/observation.py +142 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/observation_level.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/observation_v2.py +289 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/observations_view.py +89 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/observations_view_single.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier.py +91 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier_attribute_condition.py +37 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier_attribute_source.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier_condition.py +10 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier_input.py +76 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier_operator.py +42 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/pricing_tier_usage_condition.py +39 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/score.py +259 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/score_config.py +66 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/score_config_data_type.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/score_data_type.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/score_source.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/score_v1.py +168 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/session.py +25 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/session_with_traces.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/text_score.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/text_score_v1.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/trace.py +84 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/trace_with_details.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/trace_with_full_details.py +50 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/commons/types/usage.py +59 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/__init__.py +111 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/api_error.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/client_wrapper.py +141 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/datetime_utils.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/enum.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/file.py +70 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/force_multipart.py +18 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_client.py +711 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_response.py +55 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_sse/__init__.py +48 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_sse/_api.py +114 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_sse/_decoders.py +66 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_sse/_exceptions.py +7 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/http_sse/_models.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/jsonable_encoder.py +102 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/pydantic_utilities.py +310 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/query_encoder.py +60 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/remove_none_from_dict.py +11 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/request_options.py +35 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/core/serialization.py +282 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/__init__.py +52 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/client.py +499 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/raw_client.py +973 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/types/__init__.py +50 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/types/create_dataset_item_request.py +37 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/types/delete_dataset_item_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_items/types/paginated_dataset_items.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_run_items/__init__.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_run_items/client.py +333 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_run_items/raw_client.py +557 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_run_items/types/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_run_items/types/create_dataset_run_item_request.py +58 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/dataset_run_items/types/paginated_dataset_run_items.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/__init__.py +55 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/client.py +661 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/raw_client.py +1368 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/types/__init__.py +53 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/types/create_dataset_request.py +31 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/types/delete_dataset_run_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/types/paginated_dataset_runs.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/datasets/types/paginated_datasets.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/__init__.py +58 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/client.py +456 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/raw_client.py +677 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/types/__init__.py +56 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/types/experiment.py +62 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/types/experiment_item.py +100 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/types/experiment_items_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/types/experiments_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/experiments/types/experiments_response_meta.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/__init__.py +51 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/client.py +184 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/errors/__init__.py +42 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/errors/feedback_not_configured_error.py +13 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/raw_client.py +291 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/types/__init__.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/types/feedback_target_type.py +38 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/types/submit_feedback_request.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/feedback/types/submit_feedback_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/client.py +112 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/errors/__init__.py +42 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/errors/service_unavailable_error.py +13 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/raw_client.py +227 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/types/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/health/types/health_response.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/__init__.py +169 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/client.py +221 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/raw_client.py +293 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/__init__.py +169 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/base_event.py +27 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_event_body.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_event_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_generation_body.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_generation_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_observation_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_span_body.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/create_span_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/ingestion_error.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/ingestion_event.py +155 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/ingestion_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/ingestion_success.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/ingestion_usage.py +8 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/observation_body.py +53 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/observation_type.py +54 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/open_ai_completion_usage_schema.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/open_ai_response_usage_schema.py +24 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/open_ai_usage.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/optional_observation_body.py +36 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/score_body.py +75 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/score_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/sdk_log_body.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/sdk_log_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/trace_body.py +36 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/trace_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/update_event_body.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/update_generation_body.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/update_generation_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/update_observation_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/update_span_body.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/update_span_event.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/ingestion/types/usage_details.py +10 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/__init__.py +63 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/client.py +105 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/metrics_v1/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/metrics_v1/client.py +214 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/metrics_v1/raw_client.py +322 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/metrics_v1/types/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/metrics_v1/types/metrics_response.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/observations_v1/__init__.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/observations_v1/client.py +523 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/observations_v1/raw_client.py +759 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/observations_v1/types/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/observations_v1/types/observations.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/observations_v1/types/observations_views.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/raw_client.py +13 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/__init__.py +10 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/client.py +212 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/raw_client.py +214 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/types/__init__.py +10 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/types/create_score_request.py +5 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/types/create_score_response.py +5 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/legacy/score_v1/types/create_score_source.py +5 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/__init__.py +58 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/client.py +392 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/raw_client.py +743 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/types/__init__.py +56 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/types/delete_llm_connection_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/types/llm_adapter.py +38 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/types/llm_connection.py +77 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/types/paginated_llm_connections.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/llm_connections/types/upsert_llm_connection_request.py +69 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/__init__.py +58 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/client.py +445 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/raw_client.py +759 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/types/__init__.py +56 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/types/get_media_response.py +55 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/types/get_media_upload_url_request.py +69 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/types/get_media_upload_url_response.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/types/media_content_type.py +232 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/media/types/patch_media_body.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/metrics/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/metrics/client.py +468 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/metrics/raw_client.py +576 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/metrics/types/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/metrics/types/metrics_v2response.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/models/__init__.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/models/client.py +523 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/models/raw_client.py +993 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/models/types/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/models/types/create_model_request.py +103 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/models/types/paginated_models.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/observations/__init__.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/observations/client.py +586 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/observations/raw_client.py +705 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/observations/types/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/observations/types/observations_v2meta.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/observations/types/observations_v2response.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/__init__.py +67 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/client.py +276 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/raw_client.py +291 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/__init__.py +65 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_attribute.py +27 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_attribute_value.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_resource.py +24 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_resource_span.py +32 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_scope.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_scope_span.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_span.py +76 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/opentelemetry/types/otel_trace_response.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/__init__.py +73 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/client.py +756 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/raw_client.py +1707 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/__init__.py +71 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/delete_membership_request.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/membership_deletion_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/membership_request.py +18 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/membership_response.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/membership_role.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/memberships_response.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/organization_api_key.py +31 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/organization_api_keys_response.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/organization_project.py +25 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/organizations/types/organization_projects_response.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/__init__.py +67 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/client.py +760 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/raw_client.py +1577 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/__init__.py +65 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/api_key_deletion_response.py +18 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/api_key_list.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/api_key_response.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/api_key_summary.py +35 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/organization.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/project.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/project_deletion_response.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/projects/types/projects.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompt_version/__init__.py +4 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompt_version/client.py +157 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompt_version/raw_client.py +264 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/__init__.py +100 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/client.py +550 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/raw_client.py +987 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/__init__.py +96 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/base_prompt.py +42 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/chat_message.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/chat_message_type.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/chat_message_with_placeholders.py +8 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/chat_prompt.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/create_chat_prompt_request.py +37 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/create_chat_prompt_type.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/create_prompt_request.py +8 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/create_text_prompt_request.py +36 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/create_text_prompt_type.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/placeholder_message.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/placeholder_message_type.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/prompt.py +58 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/prompt_meta.py +35 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/prompt_meta_list_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/prompt_type.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/prompts/types/text_prompt.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/__init__.py +94 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/client.py +686 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/raw_client.py +1528 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/__init__.py +92 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/authentication_scheme.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/bulk_config.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/empty_response.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/filter_config.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/resource_meta.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/resource_type.py +27 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/resource_types_response.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/schema_extension.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/schema_resource.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/schemas_response.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/scim_email.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/scim_feature_support.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/scim_name.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/scim_user.py +24 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/scim_users_list_response.py +25 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/service_provider_config.py +36 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scim/types/user_meta.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/client.py +528 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/raw_client.py +1014 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/types/__init__.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/types/create_score_config_request.py +50 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/types/score_configs.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/score_configs/types/update_score_config_request.py +53 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/__init__.py +91 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/client.py +636 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/raw_client.py +997 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/__init__.py +91 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/create_score_request.py +81 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/create_score_response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/create_score_source.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_data.py +258 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_data_boolean.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_data_categorical.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_data_correction.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_data_numeric.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_data_text.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores/types/get_scores_response_trace_data.py +38 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/__init__.py +112 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/client.py +355 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/raw_client.py +474 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/__init__.py +114 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/base_score_v3.py +71 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/boolean_score_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/categorical_score_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/correction_score_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/get_scores_v3meta.py +18 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/get_scores_v3response.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/numeric_score_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/score_subject_experiment_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/score_subject_observation_v3.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/score_subject_session_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/score_subject_trace_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/score_subject_v3.py +76 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/score_v3.py +200 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/scores_v3/types/text_score_v3.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/sessions/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/sessions/client.py +282 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/sessions/raw_client.py +520 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/sessions/types/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/sessions/types/paginated_sessions.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/client.py +748 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/raw_client.py +1232 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/types/__init__.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/types/delete_trace_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/types/sort.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/trace/types/traces.py +23 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/__init__.py +457 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/client.py +138 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/__init__.py +190 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/__init__.py +214 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/array_options_evaluation_rule_filter.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/boolean_evaluation_rule_filter.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/category_options_evaluation_rule_filter.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/code_evaluator_source_code_language.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/date_time_evaluation_rule_filter.py +29 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_array_options_filter_operator.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_boolean_filter_operator.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_filter.py +760 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_mapping.py +76 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_mapping_source.py +56 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_null_filter_operator.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_number_filter_operator.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_options_filter_operator.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_status.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_string_filter_operator.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluation_rule_target.py +33 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluator_model_config.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluator_output_data_type.py +35 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluator_output_definition.py +161 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluator_output_field_definition.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluator_scope.py +29 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/evaluator_type.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/null_evaluation_rule_filter.py +24 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/number_evaluation_rule_filter.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/number_object_evaluation_rule_filter.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/public_boolean_evaluator_output_definition.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/public_categorical_evaluator_output_definition.py +29 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/public_categorical_evaluator_output_score_definition.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/public_evaluator_output_definition.py +167 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/public_numeric_evaluator_output_definition.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/string_evaluation_rule_filter.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/string_object_evaluation_rule_filter.py +26 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/commons/types/string_options_evaluation_rule_filter.py +24 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/__init__.py +91 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/client.py +735 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/raw_client.py +2114 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/__init__.py +89 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/create_dashboard_widget_request.py +41 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget.py +41 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_chart_config.py +33 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_chart_config_input.py +29 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_chart_type.py +50 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_default_sort.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_dimension.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_filter.py +37 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_list.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_metric.py +16 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_metric_aggregation.py +62 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_sort_order.py +20 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_view.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/dashboard_widget_view_with_legacy.py +39 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/delete_dashboard_widget_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboard_widgets/types/update_dashboard_widget_request.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/__init__.py +97 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/client.py +934 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/raw_client.py +3165 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/__init__.py +99 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/create_dashboard_placement_request.py +46 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/create_dashboard_request.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/create_preset_placement.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/create_widget_placement.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/dashboard.py +32 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/dashboard_definition.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/dashboard_list.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/dashboard_placement.py +60 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/delete_dashboard_placement_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/delete_dashboard_response.py +14 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/preset_placement.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/update_dashboard_placement_request.py +32 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/update_dashboard_request.py +19 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/dashboards/types/widget_placement.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/__init__.py +84 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/__init__.py +68 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/access_denied_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/bad_request_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/conflict_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/internal_server_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/method_not_allowed_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/not_found_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/too_many_requests_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/unauthorized_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/errors/unprocessable_content_error.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/types/__init__.py +53 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/types/public_api_error.py +58 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/types/public_api_error_code.py +93 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/types/public_api_error_details.py +114 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/errors/types/public_api_validation_issue.py +34 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/__init__.py +100 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/client.py +801 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/raw_client.py +2181 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/__init__.py +104 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/code_evaluation_rule_evaluator_reference.py +32 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/create_code_evaluation_rule_request.py +56 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/create_evaluation_rule_request.py +12 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/create_llm_as_judge_evaluation_rule_request.py +65 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/delete_evaluation_rule_response.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/evaluation_rule.py +89 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/evaluation_rule_base.py +99 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/evaluation_rule_evaluator.py +41 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/evaluation_rule_evaluator_reference.py +30 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/evaluation_rule_time_scope.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/evaluation_rules.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/legacy_evaluation_object.py +62 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/legacy_evaluation_rule.py +47 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/legacy_evaluation_rule_mapping.py +50 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/legacy_evaluation_rule_target.py +22 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/llm_as_judge_evaluation_rule_evaluator_reference.py +33 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/llm_as_judge_evaluator_type.py +15 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/readable_evaluation_rule.py +8 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluation_rules/types/update_evaluation_rule_request.py +78 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/__init__.py +82 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/client.py +542 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/raw_client.py +1634 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/__init__.py +80 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/code_evaluator.py +31 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/create_code_evaluator_request.py +36 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/create_evaluator_request.py +66 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/create_llm_as_judge_evaluator_request.py +43 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/delete_evaluator_response.py +21 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/evaluator.py +114 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/evaluator_base.py +64 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/evaluators.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/evaluators/types/llm_as_judge_evaluator.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/unstable/raw_client.py +13 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/utils/__init__.py +44 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/utils/pagination/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/utils/pagination/types/__init__.py +40 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/api/utils/pagination/types/meta_response.py +38 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/batch_evaluation.py +1643 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/experiment.py +1216 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/langchain/CallbackHandler.py +1815 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/langchain/__init__.py +5 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/langchain/utils.py +245 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/logger.py +28 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/media.py +432 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/model.py +477 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/openai.py +1651 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/py.typed +0 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/span_filter.py +17 -0
- bpmlinks_smartspend_test-0.1.0/smartspend/types.py +311 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
build/
|
|
3
|
+
dist/
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.pytest_cache/
|
|
6
|
+
|
|
7
|
+
playground
|
|
8
|
+
|
|
9
|
+
# pyenv
|
|
10
|
+
.python-version
|
|
11
|
+
|
|
12
|
+
# Environments
|
|
13
|
+
.env
|
|
14
|
+
.venv
|
|
15
|
+
|
|
16
|
+
# mypy
|
|
17
|
+
.mypy_cache/
|
|
18
|
+
.dmypy.json
|
|
19
|
+
dmypy.json
|
|
20
|
+
|
|
21
|
+
# JetBrains
|
|
22
|
+
.idea/
|
|
23
|
+
|
|
24
|
+
/coverage.xml
|
|
25
|
+
/.coverage
|
|
26
|
+
|
|
27
|
+
.DS_Store
|
|
28
|
+
|
|
29
|
+
# Docs
|
|
30
|
+
docs
|
|
31
|
+
|
|
32
|
+
# Llamaindex
|
|
33
|
+
tests/mocks/llama-index-storage
|
|
34
|
+
|
|
35
|
+
*.local.*
|
|
36
|
+
|
|
37
|
+
# Codex local runtime state
|
|
38
|
+
.codex/log/
|
|
39
|
+
.codex/sessions/
|
|
40
|
+
.codex/tmp/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Finto Technologies
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
SmartSpend Python SDK
|
|
2
|
+
Copyright (c) 2026 BPMLinks
|
|
3
|
+
|
|
4
|
+
This product includes software derived from the langfuse-python SDK
|
|
5
|
+
(https://github.com/langfuse/langfuse-python), distributed under the MIT
|
|
6
|
+
License:
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2022 Finto Technologies
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
"Langfuse" is a trademark of its respective owner. SmartSpend is an
|
|
29
|
+
independent product of BPMLinks and is not affiliated with, endorsed by, or
|
|
30
|
+
sponsored by the Langfuse project, Langfuse GmbH, or ClickHouse, Inc. The
|
|
31
|
+
trademark owner's marks are not used in the SmartSpend product, and this
|
|
32
|
+
notice exists solely to satisfy the MIT License attribution requirement.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: bpmlinks_smartspend_test
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: SmartSpend Python SDK - LLM observability/tracing, datasets, experiments, LLM-as-a-judge evaluation, and prompt management
|
|
5
|
+
Author-email: BPMLinks <Naresh.Edagotti@bpmlinks.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
License-File: NOTICE
|
|
9
|
+
Requires-Python: <4.0,>=3.10
|
|
10
|
+
Requires-Dist: backoff>=1.10.0
|
|
11
|
+
Requires-Dist: httpx<1.0,>=0.15.4
|
|
12
|
+
Requires-Dist: opentelemetry-api<2,>=1.33.1
|
|
13
|
+
Requires-Dist: opentelemetry-exporter-otlp-proto-http<2,>=1.33.1
|
|
14
|
+
Requires-Dist: opentelemetry-sdk<2,>=1.33.1
|
|
15
|
+
Requires-Dist: packaging<27.0,>=23.2
|
|
16
|
+
Requires-Dist: pydantic<3,>=2
|
|
17
|
+
Requires-Dist: wrapt<3,>=1.14
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
|
|
20
|
+
# SmartSpend Python SDK
|
|
21
|
+
|
|
22
|
+
**SmartSpend is an AI FinOps platform: observability and cost intelligence in one.**
|
|
23
|
+
|
|
24
|
+
One SDK captures everything your AI workloads do — models, tokens, latency, errors,
|
|
25
|
+
retries, business attribution — and the SmartSpend platform turns that into cost
|
|
26
|
+
analytics, optimization recommendations, and verified savings. No separate
|
|
27
|
+
observability tool, no separate FinOps tool.
|
|
28
|
+
|
|
29
|
+
## Why SmartSpend
|
|
30
|
+
|
|
31
|
+
- **Cost needs metadata, not your prompts.** SmartSpend runs in `metadata_only`
|
|
32
|
+
privacy mode by default: token usage, model, latency, and attribution leave your
|
|
33
|
+
process — prompt and completion content does not. Content capture is opt-in
|
|
34
|
+
(`redacted` and `full` modes), not the default.
|
|
35
|
+
- **FinOps attribution is first-class.** Tag every trace with `workload`, `task`,
|
|
36
|
+
`team`, and `cost_center` — at the client, or per request — and slice spend by
|
|
37
|
+
those dimensions in the platform.
|
|
38
|
+
- **Provider-aware.** Automatic instrumentation for OpenAI (incl. Azure OpenAI) and
|
|
39
|
+
Anthropic, with cached-token and reasoning-token usage normalized so prompt
|
|
40
|
+
caching is priced correctly, plus OpenTelemetry `gen_ai.*` interop for
|
|
41
|
+
everything else (LangChain handler included).
|
|
42
|
+
- **Standard OpenTelemetry underneath.** Spans export via OTLP; bring your own
|
|
43
|
+
tracer provider, span filters, or export-stage masking if you need more control.
|
|
44
|
+
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
pip install smartspend
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Quickstart
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
# env: SMARTSPEND_PUBLIC_KEY, SMARTSPEND_SECRET_KEY, SMARTSPEND_BASE_URL
|
|
55
|
+
|
|
56
|
+
from smartspend import SmartSpend, observe, propagate_attributes
|
|
57
|
+
|
|
58
|
+
ss = SmartSpend(
|
|
59
|
+
workload="support-bot", # FinOps defaults applied to every trace
|
|
60
|
+
team="platform",
|
|
61
|
+
cost_center="cc-1001",
|
|
62
|
+
# privacy_mode="metadata_only" is the default: content never leaves your process
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
# Automatic LLM instrumentation — drop-in imports
|
|
66
|
+
from smartspend.openai import openai # instead of `import openai`
|
|
67
|
+
from smartspend.anthropic import anthropic # instead of `import anthropic`
|
|
68
|
+
|
|
69
|
+
with propagate_attributes(user_id="user-123", task="summarize-ticket"):
|
|
70
|
+
completion = openai.OpenAI().chat.completions.create(
|
|
71
|
+
model="gpt-4o-mini",
|
|
72
|
+
messages=[{"role": "user", "content": "Summarize this ticket..."}],
|
|
73
|
+
)
|
|
74
|
+
# → captured with model, token usage (incl. cached tokens), latency, cost
|
|
75
|
+
# attribution by workload/task/team/cost_center — content stripped by default.
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Or instrument any function with the decorator:
|
|
79
|
+
|
|
80
|
+
```python
|
|
81
|
+
@observe()
|
|
82
|
+
def handle_request(query: str) -> str:
|
|
83
|
+
...
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Privacy modes
|
|
87
|
+
|
|
88
|
+
| Mode | What leaves your process |
|
|
89
|
+
|---|---|
|
|
90
|
+
| `metadata_only` (default) | Usage, model, latency, errors, attribution metadata — **no prompt/completion content** |
|
|
91
|
+
| `redacted` | Same, plus content attributes replaced with `"<redacted>"` |
|
|
92
|
+
| `full` | Everything (explicit opt-in) |
|
|
93
|
+
|
|
94
|
+
Set via `SmartSpend(privacy_mode=...)` or `SMARTSPEND_PRIVACY_MODE`.
|
|
95
|
+
|
|
96
|
+
## License & acknowledgements
|
|
97
|
+
|
|
98
|
+
MIT — see [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
99
|
+
|
|
100
|
+
The SmartSpend SDK is derived from open-source work distributed under the MIT
|
|
101
|
+
license; original copyright notices are preserved in [NOTICE](NOTICE). SmartSpend
|
|
102
|
+
is an independent product and is not affiliated with or endorsed by the authors
|
|
103
|
+
of that work.
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# SmartSpend Python SDK
|
|
2
|
+
|
|
3
|
+
**SmartSpend is an AI FinOps platform: observability and cost intelligence in one.**
|
|
4
|
+
|
|
5
|
+
One SDK captures everything your AI workloads do — models, tokens, latency, errors,
|
|
6
|
+
retries, business attribution — and the SmartSpend platform turns that into cost
|
|
7
|
+
analytics, optimization recommendations, and verified savings. No separate
|
|
8
|
+
observability tool, no separate FinOps tool.
|
|
9
|
+
|
|
10
|
+
## Why SmartSpend
|
|
11
|
+
|
|
12
|
+
- **Cost needs metadata, not your prompts.** SmartSpend runs in `metadata_only`
|
|
13
|
+
privacy mode by default: token usage, model, latency, and attribution leave your
|
|
14
|
+
process — prompt and completion content does not. Content capture is opt-in
|
|
15
|
+
(`redacted` and `full` modes), not the default.
|
|
16
|
+
- **FinOps attribution is first-class.** Tag every trace with `workload`, `task`,
|
|
17
|
+
`team`, and `cost_center` — at the client, or per request — and slice spend by
|
|
18
|
+
those dimensions in the platform.
|
|
19
|
+
- **Provider-aware.** Automatic instrumentation for OpenAI (incl. Azure OpenAI) and
|
|
20
|
+
Anthropic, with cached-token and reasoning-token usage normalized so prompt
|
|
21
|
+
caching is priced correctly, plus OpenTelemetry `gen_ai.*` interop for
|
|
22
|
+
everything else (LangChain handler included).
|
|
23
|
+
- **Standard OpenTelemetry underneath.** Spans export via OTLP; bring your own
|
|
24
|
+
tracer provider, span filters, or export-stage masking if you need more control.
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
pip install smartspend
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Quickstart
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
# env: SMARTSPEND_PUBLIC_KEY, SMARTSPEND_SECRET_KEY, SMARTSPEND_BASE_URL
|
|
36
|
+
|
|
37
|
+
from smartspend import SmartSpend, observe, propagate_attributes
|
|
38
|
+
|
|
39
|
+
ss = SmartSpend(
|
|
40
|
+
workload="support-bot", # FinOps defaults applied to every trace
|
|
41
|
+
team="platform",
|
|
42
|
+
cost_center="cc-1001",
|
|
43
|
+
# privacy_mode="metadata_only" is the default: content never leaves your process
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
# Automatic LLM instrumentation — drop-in imports
|
|
47
|
+
from smartspend.openai import openai # instead of `import openai`
|
|
48
|
+
from smartspend.anthropic import anthropic # instead of `import anthropic`
|
|
49
|
+
|
|
50
|
+
with propagate_attributes(user_id="user-123", task="summarize-ticket"):
|
|
51
|
+
completion = openai.OpenAI().chat.completions.create(
|
|
52
|
+
model="gpt-4o-mini",
|
|
53
|
+
messages=[{"role": "user", "content": "Summarize this ticket..."}],
|
|
54
|
+
)
|
|
55
|
+
# → captured with model, token usage (incl. cached tokens), latency, cost
|
|
56
|
+
# attribution by workload/task/team/cost_center — content stripped by default.
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Or instrument any function with the decorator:
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
@observe()
|
|
63
|
+
def handle_request(query: str) -> str:
|
|
64
|
+
...
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Privacy modes
|
|
68
|
+
|
|
69
|
+
| Mode | What leaves your process |
|
|
70
|
+
|---|---|
|
|
71
|
+
| `metadata_only` (default) | Usage, model, latency, errors, attribution metadata — **no prompt/completion content** |
|
|
72
|
+
| `redacted` | Same, plus content attributes replaced with `"<redacted>"` |
|
|
73
|
+
| `full` | Everything (explicit opt-in) |
|
|
74
|
+
|
|
75
|
+
Set via `SmartSpend(privacy_mode=...)` or `SMARTSPEND_PRIVACY_MODE`.
|
|
76
|
+
|
|
77
|
+
## License & acknowledgements
|
|
78
|
+
|
|
79
|
+
MIT — see [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
80
|
+
|
|
81
|
+
The SmartSpend SDK is derived from open-source work distributed under the MIT
|
|
82
|
+
license; original copyright notices are preserved in [NOTICE](NOTICE). SmartSpend
|
|
83
|
+
is an independent product and is not affiliated with or endorsed by the authors
|
|
84
|
+
of that work.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "bpmlinks_smartspend_test"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "SmartSpend Python SDK - LLM observability/tracing, datasets, experiments, LLM-as-a-judge evaluation, and prompt management"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [{ name = "BPMLinks", email = "Naresh.Edagotti@bpmlinks.com" }]
|
|
7
|
+
license = "MIT"
|
|
8
|
+
license-files = ["LICENSE", "NOTICE"]
|
|
9
|
+
requires-python = ">=3.10,<4.0"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"httpx>=0.15.4,<1.0",
|
|
12
|
+
"pydantic>=2,<3",
|
|
13
|
+
"backoff>=1.10.0",
|
|
14
|
+
"wrapt>=1.14,<3",
|
|
15
|
+
"packaging>=23.2,<27.0",
|
|
16
|
+
"opentelemetry-api>=1.33.1,<2",
|
|
17
|
+
"opentelemetry-sdk>=1.33.1,<2",
|
|
18
|
+
"opentelemetry-exporter-otlp-proto-http>=1.33.1,<2",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[dependency-groups]
|
|
22
|
+
dev = [
|
|
23
|
+
"pytest>=7.4,<9.0",
|
|
24
|
+
"pytest-timeout>=2.1.0,<3",
|
|
25
|
+
"pytest-xdist>=3.3.1,<4",
|
|
26
|
+
"pre-commit>=3.2.2,<4",
|
|
27
|
+
"pytest-asyncio>=0.21.1,<1.2.0",
|
|
28
|
+
"pytest-httpserver>=1.0.8,<2",
|
|
29
|
+
"ruff>=0.15.2,<0.16",
|
|
30
|
+
"mypy>=1.0.0,<2",
|
|
31
|
+
"openai>=0.27.8",
|
|
32
|
+
"langchain-openai>=0.0.5,<0.4",
|
|
33
|
+
"langchain>=1,<2",
|
|
34
|
+
"langgraph>=1,<2",
|
|
35
|
+
"autoevals>=0.0.130,<0.1",
|
|
36
|
+
"opentelemetry-instrumentation-threading>=0.59b0,<1",
|
|
37
|
+
"tenacity>=9.1.4",
|
|
38
|
+
]
|
|
39
|
+
docs = [
|
|
40
|
+
"pdoc>=15.0.4,<16",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[build-system]
|
|
44
|
+
requires = ["hatchling"]
|
|
45
|
+
build-backend = "hatchling.build"
|
|
46
|
+
|
|
47
|
+
[tool.uv]
|
|
48
|
+
# Basic protection against supply chain attacks
|
|
49
|
+
exclude-newer = "7 days"
|
|
50
|
+
|
|
51
|
+
[tool.uv.build-backend]
|
|
52
|
+
module-root = ""
|
|
53
|
+
# Import package is always `smartspend`, independent of the distribution name
|
|
54
|
+
# (allows test-named uploads like bpmlinks-smartspend-test).
|
|
55
|
+
module-name = "bpmlinks_smartspend_test"
|
|
56
|
+
|
|
57
|
+
[tool.pytest.ini_options]
|
|
58
|
+
log_cli = true
|
|
59
|
+
markers = [
|
|
60
|
+
"unit: deterministic tests that run without a SmartSpend server",
|
|
61
|
+
"e2e: tests that require a real SmartSpend server or persisted backend behaviour",
|
|
62
|
+
"serial_e2e: e2e tests that must not share server concurrency with the rest of the suite",
|
|
63
|
+
"live_provider: tests that call live model providers and run as a dedicated CI suite",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[tool.mypy]
|
|
67
|
+
python_version = "3.12"
|
|
68
|
+
warn_return_any = true
|
|
69
|
+
warn_unused_configs = true
|
|
70
|
+
disallow_untyped_defs = true
|
|
71
|
+
disallow_incomplete_defs = true
|
|
72
|
+
check_untyped_defs = true
|
|
73
|
+
disallow_untyped_decorators = true
|
|
74
|
+
no_implicit_optional = true
|
|
75
|
+
warn_redundant_casts = true
|
|
76
|
+
warn_unused_ignores = false
|
|
77
|
+
warn_no_return = true
|
|
78
|
+
warn_unreachable = true
|
|
79
|
+
strict_equality = true
|
|
80
|
+
show_error_codes = true
|
|
81
|
+
|
|
82
|
+
# Performance optimizations for CI
|
|
83
|
+
cache_dir = ".mypy_cache"
|
|
84
|
+
sqlite_cache = true
|
|
85
|
+
incremental = true
|
|
86
|
+
show_column_numbers = true
|
|
87
|
+
|
|
88
|
+
[[tool.mypy.overrides]]
|
|
89
|
+
module = [
|
|
90
|
+
"langchain.*",
|
|
91
|
+
"openai.*",
|
|
92
|
+
"chromadb.*",
|
|
93
|
+
"tiktoken.*",
|
|
94
|
+
"google.*",
|
|
95
|
+
"anthropic.*",
|
|
96
|
+
"cohere.*",
|
|
97
|
+
"dashscope.*",
|
|
98
|
+
"pymongo.*",
|
|
99
|
+
"bson.*",
|
|
100
|
+
"boto3.*",
|
|
101
|
+
"llama_index.*",
|
|
102
|
+
"respx.*",
|
|
103
|
+
"bs4.*",
|
|
104
|
+
"lark.*",
|
|
105
|
+
"huggingface_hub.*",
|
|
106
|
+
"backoff.*",
|
|
107
|
+
"wrapt.*",
|
|
108
|
+
"packaging.*",
|
|
109
|
+
"requests.*",
|
|
110
|
+
"opentelemetry.*"
|
|
111
|
+
]
|
|
112
|
+
ignore_missing_imports = true
|
|
113
|
+
|
|
114
|
+
[[tool.mypy.overrides]]
|
|
115
|
+
module = "smartspend.api.*"
|
|
116
|
+
disable_error_code = ["redundant-cast", "no-untyped-def"]
|
|
117
|
+
|
|
118
|
+
[tool.ruff]
|
|
119
|
+
target-version = "py310"
|
|
120
|
+
|
|
121
|
+
[tool.ruff.lint]
|
|
122
|
+
extend-select = [
|
|
123
|
+
"I", # Import formatting
|
|
124
|
+
# These used to be enabled in the "local ruff.toml",
|
|
125
|
+
# which was never enforced; hence, enabling these will
|
|
126
|
+
# cause a large number of linting errors.
|
|
127
|
+
|
|
128
|
+
# "D", # Docstring lints
|
|
129
|
+
# "D401", # Enforce imperative mood in docstrings
|
|
130
|
+
]
|
|
131
|
+
exclude = ["smartspend/api/**/*.py"]
|
|
132
|
+
|
|
133
|
+
[tool.ruff.lint.pydocstyle]
|
|
134
|
+
convention = "google"
|
|
135
|
+
|
|
136
|
+
[tool.hatch.build.targets.wheel]
|
|
137
|
+
packages = ["smartspend"]
|
|
138
|
+
|
|
139
|
+
[tool.hatch.build.targets.sdist]
|
|
140
|
+
include = ["smartspend", "LICENSE", "NOTICE", "README.md"]
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
"""SmartSpend Python SDK — observability, evaluation, and prompt management for LLM applications.
|
|
2
|
+
|
|
3
|
+
Capabilities:
|
|
4
|
+
|
|
5
|
+
- **Tracing / observability**: `@observe` decorator, `SmartSpend.start_observation` /
|
|
6
|
+
`start_as_current_observation` context managers, OpenTelemetry-based; integrations
|
|
7
|
+
for OpenAI (`smartspend.openai`) and LangChain (`smartspend.langchain.CallbackHandler`).
|
|
8
|
+
- **Trace attributes**: `propagate_attributes` (top-level function) sets user_id,
|
|
9
|
+
session_id, tags, and metadata on all spans in a context.
|
|
10
|
+
- **Datasets & experiments**: `SmartSpend.get_dataset`, `SmartSpend.run_experiment` for
|
|
11
|
+
offline evaluation and regression testing of prompt/model changes (CI support via
|
|
12
|
+
https://github.com/smartspend/experiment-action and `RegressionError`).
|
|
13
|
+
- **Evaluation / LLM-as-a-judge**: `Evaluation` results from custom or model-based
|
|
14
|
+
evaluators; scores via `SmartSpend.create_score` / `span.score`.
|
|
15
|
+
- **Prompt management**: `SmartSpend.get_prompt`, `SmartSpend.create_prompt` with
|
|
16
|
+
client-side caching and version/label control.
|
|
17
|
+
- **Full REST API**: `SmartSpend.api` (sync) / `SmartSpend.async_api` (async) clients.
|
|
18
|
+
|
|
19
|
+
Quickstart:
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
# env: SMARTSPEND_PUBLIC_KEY, SMARTSPEND_SECRET_KEY, SMARTSPEND_BASE_URL
|
|
23
|
+
from smartspend import get_client
|
|
24
|
+
|
|
25
|
+
smartspend = get_client()
|
|
26
|
+
|
|
27
|
+
# Create a span using a context manager
|
|
28
|
+
with smartspend.start_as_current_observation(as_type="span", name="process-request") as span:
|
|
29
|
+
# Your processing logic here
|
|
30
|
+
span.update(output="Processing complete")
|
|
31
|
+
|
|
32
|
+
# Create a nested generation for an LLM call
|
|
33
|
+
with smartspend.start_as_current_observation(as_type="generation", name="llm-response", model="gpt-3.5-turbo") as generation:
|
|
34
|
+
# Your LLM call logic here
|
|
35
|
+
generation.update(output="Generated response")
|
|
36
|
+
|
|
37
|
+
# All spans are automatically closed when exiting their context blocks
|
|
38
|
+
|
|
39
|
+
# Flush events in short-lived applications
|
|
40
|
+
smartspend.flush()
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Configuration is via constructor args or environment variables: `SMARTSPEND_PUBLIC_KEY`,
|
|
44
|
+
`SMARTSPEND_SECRET_KEY`, `SMARTSPEND_BASE_URL` (defaults to https://cloud.smartspend.com). See `smartspend._client.environment_variables`
|
|
45
|
+
for the full list.
|
|
46
|
+
|
|
47
|
+
Docs: https://smartspend.com/docs — machine-readable index: https://smartspend.com/llms.txt
|
|
48
|
+
|
|
49
|
+
.. include:: ../README.md
|
|
50
|
+
"""
|
|
51
|
+
|
|
52
|
+
from smartspend.batch_evaluation import (
|
|
53
|
+
BatchEvaluationResult,
|
|
54
|
+
BatchEvaluationResumeToken,
|
|
55
|
+
CompositeEvaluatorFunction,
|
|
56
|
+
EvaluatorInputs,
|
|
57
|
+
EvaluatorStats,
|
|
58
|
+
MapperFunction,
|
|
59
|
+
)
|
|
60
|
+
from smartspend.experiment import Evaluation, RegressionError, RunnerContext
|
|
61
|
+
|
|
62
|
+
from ._client import client as _client_module
|
|
63
|
+
from ._client.attributes import SmartSpendOtelSpanAttributes
|
|
64
|
+
from ._client.constants import ObservationTypeLiteral
|
|
65
|
+
from ._client.get_client import get_client
|
|
66
|
+
from ._client.observe import observe
|
|
67
|
+
from ._client.privacy import PrivacyMode
|
|
68
|
+
from ._client.propagation import propagate_attributes
|
|
69
|
+
from ._client.span import (
|
|
70
|
+
SmartSpendAgent,
|
|
71
|
+
SmartSpendChain,
|
|
72
|
+
SmartSpendEmbedding,
|
|
73
|
+
SmartSpendEvaluator,
|
|
74
|
+
SmartSpendEvent,
|
|
75
|
+
SmartSpendGeneration,
|
|
76
|
+
SmartSpendGuardrail,
|
|
77
|
+
SmartSpendRetriever,
|
|
78
|
+
SmartSpendSpan,
|
|
79
|
+
SmartSpendTool,
|
|
80
|
+
)
|
|
81
|
+
from ._version import __version__
|
|
82
|
+
from .media import SmartSpendMedia, SmartSpendMediaReference
|
|
83
|
+
from .span_filter import (
|
|
84
|
+
KNOWN_LLM_INSTRUMENTATION_SCOPE_PREFIXES,
|
|
85
|
+
is_default_export_span,
|
|
86
|
+
is_genai_span,
|
|
87
|
+
is_known_llm_instrumentor,
|
|
88
|
+
is_smartspend_span,
|
|
89
|
+
)
|
|
90
|
+
from .types import (
|
|
91
|
+
MaskOtelSpansFunction,
|
|
92
|
+
MaskOtelSpansParams,
|
|
93
|
+
MaskOtelSpansResult,
|
|
94
|
+
OtelSpanData,
|
|
95
|
+
OtelSpanIdentifier,
|
|
96
|
+
OtelSpanPatch,
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
SmartSpend = _client_module.SmartSpend
|
|
100
|
+
|
|
101
|
+
__all__ = [
|
|
102
|
+
"SmartSpend",
|
|
103
|
+
"SmartSpendMedia",
|
|
104
|
+
"SmartSpendMediaReference",
|
|
105
|
+
"get_client",
|
|
106
|
+
"observe",
|
|
107
|
+
"propagate_attributes",
|
|
108
|
+
"PrivacyMode",
|
|
109
|
+
"ObservationTypeLiteral",
|
|
110
|
+
"SmartSpendSpan",
|
|
111
|
+
"SmartSpendGeneration",
|
|
112
|
+
"SmartSpendEvent",
|
|
113
|
+
"SmartSpendOtelSpanAttributes",
|
|
114
|
+
"SmartSpendAgent",
|
|
115
|
+
"SmartSpendTool",
|
|
116
|
+
"SmartSpendChain",
|
|
117
|
+
"SmartSpendEmbedding",
|
|
118
|
+
"SmartSpendEvaluator",
|
|
119
|
+
"SmartSpendRetriever",
|
|
120
|
+
"SmartSpendGuardrail",
|
|
121
|
+
"Evaluation",
|
|
122
|
+
"EvaluatorInputs",
|
|
123
|
+
"MapperFunction",
|
|
124
|
+
"CompositeEvaluatorFunction",
|
|
125
|
+
"EvaluatorStats",
|
|
126
|
+
"BatchEvaluationResumeToken",
|
|
127
|
+
"BatchEvaluationResult",
|
|
128
|
+
"RunnerContext",
|
|
129
|
+
"RegressionError",
|
|
130
|
+
"__version__",
|
|
131
|
+
"is_default_export_span",
|
|
132
|
+
"is_smartspend_span",
|
|
133
|
+
"is_genai_span",
|
|
134
|
+
"is_known_llm_instrumentor",
|
|
135
|
+
"KNOWN_LLM_INSTRUMENTATION_SCOPE_PREFIXES",
|
|
136
|
+
"MaskOtelSpansFunction",
|
|
137
|
+
"MaskOtelSpansParams",
|
|
138
|
+
"MaskOtelSpansResult",
|
|
139
|
+
"OtelSpanData",
|
|
140
|
+
"OtelSpanIdentifier",
|
|
141
|
+
"OtelSpanPatch",
|
|
142
|
+
"experiment",
|
|
143
|
+
"api",
|
|
144
|
+
]
|