arize-phoenix 6.1.0__tar.gz → 7.0.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.
Potentially problematic release.
This version of arize-phoenix might be problematic. Click here for more details.
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/PKG-INFO +9 -8
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/README.md +3 -3
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/pyproject.toml +6 -5
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/config.py +4 -1
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/engines.py +1 -1
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/span.py +65 -30
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrate.py +4 -1
- arize_phoenix-7.0.0/src/phoenix/db/migrations/data_migration_scripts/populate_project_sessions.py +199 -0
- arize_phoenix-7.0.0/src/phoenix/db/migrations/versions/4ded9e43755f_create_project_sessions_table.py +66 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/models.py +27 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/wrappers.py +7 -1
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/context.py +15 -2
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/__init__.py +14 -2
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/session_io.py +75 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/session_num_traces.py +30 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/session_num_traces_with_error.py +32 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/session_token_usages.py +41 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/session_trace_latency_ms_quantile.py +55 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/trace_by_trace_ids.py +25 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/dataloaders/trace_root_spans.py +32 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/input_types/ProjectSessionSort.py +29 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/chat_mutations.py +5 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/project_mutations.py +12 -2
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/queries.py +14 -9
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/subscriptions.py +6 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/EmbeddingDimension.py +1 -1
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ExperimentRun.py +3 -4
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ExperimentRunAnnotation.py +3 -4
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Project.py +150 -12
- arize_phoenix-7.0.0/src/phoenix/server/api/types/ProjectSession.py +139 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Span.py +6 -19
- arize_phoenix-7.0.0/src/phoenix/server/api/types/SpanIOValue.py +15 -0
- arize_phoenix-7.0.0/src/phoenix/server/api/types/TokenUsage.py +11 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Trace.py +59 -2
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/app.py +15 -2
- arize_phoenix-7.0.0/src/phoenix/server/static/.vite/manifest.json +87 -0
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/components-CdiZ1Osh.js → arize_phoenix-7.0.0/src/phoenix/server/static/assets/components-DKH6AzJw.js +410 -351
- arize_phoenix-7.0.0/src/phoenix/server/static/assets/index-DLV87qiO.js +93 -0
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/pages-FArMEfgg.js → arize_phoenix-7.0.0/src/phoenix/server/static/assets/pages-CVY3Nv4Z.js +638 -316
- arize_phoenix-7.0.0/src/phoenix/server/static/assets/vendor-Cb3zlNNd.js +894 -0
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/vendor-arizeai-BG6iwyLC.js → arize_phoenix-7.0.0/src/phoenix/server/static/assets/vendor-arizeai-Buo4e1A6.js +2 -2
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/vendor-codemirror-BotnVFFX.js → arize_phoenix-7.0.0/src/phoenix/server/static/assets/vendor-codemirror-BuAQiUVf.js +5 -5
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/vendor-recharts-Dy5gEFzQ.js → arize_phoenix-7.0.0/src/phoenix/server/static/assets/vendor-recharts-Cl9dK5tC.js +1 -1
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/vendor-Bnv1dNRQ.js → arize_phoenix-7.0.0/src/phoenix/server/static/assets/vendor-shiki-CazYUixL.js +5 -898
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/session/client.py +13 -4
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/fixtures.py +8 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/schemas.py +16 -0
- arize_phoenix-7.0.0/src/phoenix/utilities/span_store.py +0 -0
- arize_phoenix-7.0.0/src/phoenix/version.py +1 -0
- arize_phoenix-6.1.0/src/phoenix/server/api/dataloaders/trace_row_ids.py +0 -33
- arize_phoenix-6.1.0/src/phoenix/server/static/.vite/manifest.json +0 -78
- arize_phoenix-6.1.0/src/phoenix/server/static/assets/index-D_sCOjlG.js +0 -101
- arize_phoenix-6.1.0/src/phoenix/version.py +0 -1
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/.gitignore +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/IP_NOTICE +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/LICENSE +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/auth.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/core/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/core/embedding_dimension.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/core/model.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/core/model_schema.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/core/model_schema_adapter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/datetime_utils.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/README.md +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/alembic.ini +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/bulk_inserter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/enums.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/facilitator.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/helpers.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/constants.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/dataset.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/document_annotation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/evaluation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/helpers.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/span_annotation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/trace_annotation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/insertion/types.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/__init__.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/inferences → arize_phoenix-7.0.0/src/phoenix/db/migrations/data_migration_scripts}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/env.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/script.py.mako +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/versions/10460e46d750_datasets.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/versions/3be8647b87d8_add_token_columns_to_spans_table.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/versions/cd164e83824f_users_and_tokens.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/exceptions.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/evaluators/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/evaluators/base.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/evaluators/code_evaluators.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/evaluators/llm_evaluators.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/evaluators/utils.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/functions.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/tracing.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/types.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/experiments/utils.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server → arize_phoenix-7.0.0/src/phoenix/inferences}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/inferences/errors.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/inferences/fixtures.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/inferences/inferences.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/inferences/schema.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/inferences/validation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/logging/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/logging/_config.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/logging/_filter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/logging/_formatter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/README.md +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/binning.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/metrics.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/mixins.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/retrieval_metrics.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/metrics/timeseries.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/pointcloud/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/pointcloud/clustering.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/pointcloud/pointcloud.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/pointcloud/projectors.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/pointcloud/umap_parameters.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/py.typed +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/api → arize_phoenix-7.0.0/src/phoenix/server}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/README.md +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/api/input_types → arize_phoenix-7.0.0/src/phoenix/server/api}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/auth.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/annotation_summaries.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/average_experiment_run_latency.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/cache/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/cache/two_tier_cache.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/dataset_example_spans.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/document_evaluation_summaries.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/document_evaluations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/document_retrieval_metrics.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/experiment_annotation_summaries.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/experiment_error_rates.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/experiment_run_annotations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/experiment_run_counts.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/experiment_sequence_number.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/latency_ms_quantile.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/min_start_or_max_end_times.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/project_by_name.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/record_counts.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/span_annotations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/span_dataset_examples.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/span_descendants.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/span_projects.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/token_counts.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/user_roles.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/dataloaders/users.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/exceptions.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/helpers/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/helpers/dataset_helpers.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/helpers/playground_clients.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/helpers/playground_registry.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/helpers/playground_spans.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/AddExamplesToDatasetInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/AddSpansToDatasetInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/ChatCompletionInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/ChatCompletionMessageInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/ClearProjectInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/ClusterInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/Coordinates.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/CreateDatasetInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/CreateSpanAnnotationInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/CreateTraceAnnotationInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DataQualityMetricInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DatasetExampleInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DatasetSort.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DatasetVersionSort.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DeleteAnnotationsInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DeleteDatasetExamplesInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DeleteDatasetInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DeleteExperimentsInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DimensionFilter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/DimensionInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/GenerativeModelInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/Granularity.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/InvocationParameters.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/PatchAnnotationInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/PatchDatasetExamplesInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/PatchDatasetInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/PerformanceMetricInput.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/SpanAnnotationSort.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/SpanSort.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/TemplateOptions.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/TimeRange.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/TraceAnnotationSort.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/input_types/UserRoleInput.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/api/openapi → arize_phoenix-7.0.0/src/phoenix/server/api/input_types}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/interceptor.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/api_key_mutations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/dataset_mutations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/experiment_mutations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/export_events_mutations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/span_annotations_mutations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/trace_annotations_mutations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/mutations/user_mutations.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/api/types → arize_phoenix-7.0.0/src/phoenix/server/api/openapi}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/openapi/main.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/openapi/schema.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/auth.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/embeddings.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/oauth2.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/utils.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/datasets.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/evaluations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/experiment_evaluations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/experiment_runs.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/experiments.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/pydantic_compat.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/spans.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/traces.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/routers/v1/utils.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/schema.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Annotation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/AnnotationSummary.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/AnnotatorKind.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ApiKey.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/AuthMethod.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ChatCompletionMessageRole.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ChatCompletionSubscriptionPayload.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Cluster.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/CreateDatasetPayload.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DataQualityMetric.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Dataset.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DatasetExample.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DatasetExampleRevision.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DatasetValues.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DatasetVersion.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Dimension.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DimensionDataType.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DimensionShape.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DimensionType.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DimensionWithValue.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DocumentEvaluationSummary.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/DocumentRetrievalMetrics.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/EmbeddingMetadata.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Evaluation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/EvaluationSummary.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Event.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/EventMetadata.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ExampleRevisionInterface.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Experiment.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ExperimentAnnotationSummary.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ExperimentComparison.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ExportedFile.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Functionality.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/GenerativeModel.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/GenerativeProvider.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Inferences.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/InferencesRole.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/LabelFraction.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/MimeType.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Model.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/NumericRange.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/PerformanceMetric.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/PromptResponse.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Retrieval.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ScalarDriftMetricEnum.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/Segments.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/SortDir.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/SpanAnnotation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/SystemApiKey.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/TemplateLanguage.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/TimeSeries.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/TraceAnnotation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/UMAPPoints.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/User.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/UserApiKey.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/UserRole.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/ValidationResult.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/VectorDriftMetricEnum.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/email → arize_phoenix-7.0.0/src/phoenix/server/api/types}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/node.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/types/pagination.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/api/utils.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/bearer_auth.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/dml_event.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/dml_event_handler.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/email/templates → arize_phoenix-7.0.0/src/phoenix/server/email}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/email/sender.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/openapi → arize_phoenix-7.0.0/src/phoenix/server/email/templates}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/email/templates/password_reset.html +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/email/types.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/grpc_server.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/jwt_store.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/main.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/oauth2.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/server/templates → arize_phoenix-7.0.0/src/phoenix/server/openapi}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/prometheus.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/rate_limiters.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-114x114.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-120x120.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-144x144.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-152x152.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-180x180.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-72x72.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon-76x76.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/apple-touch-icon.png +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/assets/vendor-DxkFTwjz.css +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/assets/vendor-three-DwGkEfCM.js +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/favicon.ico +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/static/modernizr.js +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/telemetry.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/session → arize_phoenix-7.0.0/src/phoenix/server/templates}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/templates/index.html +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/thread_server.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/server/types.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/services.py +0 -0
- {arize_phoenix-6.1.0/src/phoenix/utilities → arize_phoenix-7.0.0/src/phoenix/session}/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/session/data_extractor.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/session/evaluation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/session/session.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/settings.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/attributes.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/dsl/README.md +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/dsl/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/dsl/filter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/dsl/helpers.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/dsl/query.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/errors.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/evaluation_conventions.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/exporter.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/otel.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/projects.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/span_evaluations.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/span_json_decoder.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/span_json_encoder.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/trace_dataset.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/utils.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/v1/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/v1/evaluation_pb2.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/trace/v1/evaluation_pb2.pyi +0 -0
- /arize_phoenix-6.1.0/src/phoenix/utilities/span_store.py → /arize_phoenix-7.0.0/src/phoenix/utilities/__init__.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/client.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/deprecation.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/error_handling.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/json.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/logging.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/project.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/re.py +0 -0
- {arize_phoenix-6.1.0 → arize_phoenix-7.0.0}/src/phoenix/utilities/template_formatters.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: arize-phoenix
|
|
3
|
-
Version:
|
|
3
|
+
Version: 7.0.0
|
|
4
4
|
Summary: AI Observability and Evaluation
|
|
5
5
|
Project-URL: Documentation, https://docs.arize.com/phoenix/
|
|
6
6
|
Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
|
|
@@ -44,12 +44,13 @@ Requires-Dist: scipy
|
|
|
44
44
|
Requires-Dist: sqlalchemy[asyncio]<3,>=2.0.4
|
|
45
45
|
Requires-Dist: sqlean-py>=3.45.1
|
|
46
46
|
Requires-Dist: starlette
|
|
47
|
-
Requires-Dist: strawberry-graphql==0.
|
|
47
|
+
Requires-Dist: strawberry-graphql==0.247.0
|
|
48
48
|
Requires-Dist: tqdm
|
|
49
49
|
Requires-Dist: typing-extensions>=4.6
|
|
50
50
|
Requires-Dist: uvicorn
|
|
51
51
|
Requires-Dist: websockets
|
|
52
|
-
Requires-Dist: wrapt
|
|
52
|
+
Requires-Dist: wrapt; sys_platform != 'darwin'
|
|
53
|
+
Requires-Dist: wrapt<1.17; sys_platform == 'darwin'
|
|
53
54
|
Provides-Extra: container
|
|
54
55
|
Requires-Dist: anthropic; extra == 'container'
|
|
55
56
|
Requires-Dist: fast-hdbscan>=0.2.0; extra == 'container'
|
|
@@ -65,7 +66,7 @@ Requires-Dist: opentelemetry-sdk; extra == 'container'
|
|
|
65
66
|
Requires-Dist: opentelemetry-semantic-conventions; extra == 'container'
|
|
66
67
|
Requires-Dist: prometheus-client; extra == 'container'
|
|
67
68
|
Requires-Dist: py-grpc-prometheus; extra == 'container'
|
|
68
|
-
Requires-Dist: strawberry-graphql[opentelemetry]==0.
|
|
69
|
+
Requires-Dist: strawberry-graphql[opentelemetry]==0.247.0; extra == 'container'
|
|
69
70
|
Requires-Dist: umap-learn; extra == 'container'
|
|
70
71
|
Requires-Dist: uvloop; (platform_system != 'Windows') and extra == 'container'
|
|
71
72
|
Provides-Extra: dev
|
|
@@ -96,7 +97,7 @@ Requires-Dist: pytest-postgresql; extra == 'dev'
|
|
|
96
97
|
Requires-Dist: pytest-xdist; extra == 'dev'
|
|
97
98
|
Requires-Dist: pytest==8.3.3; extra == 'dev'
|
|
98
99
|
Requires-Dist: ruff==0.6.9; extra == 'dev'
|
|
99
|
-
Requires-Dist: strawberry-graphql[debug-server,opentelemetry]==0.
|
|
100
|
+
Requires-Dist: strawberry-graphql[debug-server,opentelemetry]==0.247.0; extra == 'dev'
|
|
100
101
|
Requires-Dist: tabulate; extra == 'dev'
|
|
101
102
|
Requires-Dist: tox-uv==1.11.3; extra == 'dev'
|
|
102
103
|
Requires-Dist: tox==4.18.1; extra == 'dev'
|
|
@@ -130,11 +131,11 @@ Description-Content-Type: text/markdown
|
|
|
130
131
|
<a href="https://docs.arize.com/phoenix/">
|
|
131
132
|
<img src="https://img.shields.io/static/v1?message=Docs&logo=data:image/png;base64,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&labelColor=grey&color=blue&logoColor=white&label=%20"/>
|
|
132
133
|
</a>
|
|
133
|
-
<a target="_blank" href="https://
|
|
134
|
+
<a target="_blank" href="https://arize-ai.slack.com/join/shared_invite/zt-11t1vbu4x-xkBIHmOREQnYnYDH1GDfCg?__hstc=259489365.a667dfafcfa0169c8aee4178d115dc81.1733501603539.1733501603539.1733501603539.1&__hssc=259489365.1.1733501603539&__hsfp=3822854628&submissionGuid=381a0676-8f38-437b-96f2-fc10875658df#/shared-invite/email">
|
|
134
135
|
<img src="https://img.shields.io/static/v1?message=Community&logo=slack&labelColor=grey&color=blue&logoColor=white&label=%20"/>
|
|
135
136
|
</a>
|
|
136
137
|
<a target="_blank" href="https://twitter.com/ArizePhoenix">
|
|
137
|
-
<img src="https://img.shields.io/badge/-ArizePhoenix-blue.svg?color=blue&labelColor=gray&logo=
|
|
138
|
+
<img src="https://img.shields.io/badge/-ArizePhoenix-blue.svg?color=blue&labelColor=gray&logo=x">
|
|
138
139
|
</a>
|
|
139
140
|
<a target="_blank" href="https://pypi.org/project/arize-phoenix/">
|
|
140
141
|
<img src="https://img.shields.io/pypi/v/arize-phoenix?color=blue">
|
|
@@ -236,7 +237,7 @@ For details about tracing integrations and example applications, see the [OpenIn
|
|
|
236
237
|
|
|
237
238
|
Join our community to connect with thousands of AI builders.
|
|
238
239
|
|
|
239
|
-
- 🌍 Join our [Slack community](https://
|
|
240
|
+
- 🌍 Join our [Slack community](https://arize-ai.slack.com/join/shared_invite/zt-11t1vbu4x-xkBIHmOREQnYnYDH1GDfCg?__hstc=259489365.a667dfafcfa0169c8aee4178d115dc81.1733501603539.1733501603539.1733501603539.1&__hssc=259489365.1.1733501603539&__hsfp=3822854628&submissionGuid=381a0676-8f38-437b-96f2-fc10875658df#/shared-invite/email).
|
|
240
241
|
- 📚 Read our [documentation](https://docs.arize.com/phoenix).
|
|
241
242
|
- 💡 Ask questions and provide feedback in the _#phoenix-support_ channel.
|
|
242
243
|
- 🌟 Leave a star on our [GitHub](https://github.com/Arize-ai/phoenix).
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
<a href="https://docs.arize.com/phoenix/">
|
|
8
8
|
<img src="https://img.shields.io/static/v1?message=Docs&logo=data:image/png;base64,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&labelColor=grey&color=blue&logoColor=white&label=%20"/>
|
|
9
9
|
</a>
|
|
10
|
-
<a target="_blank" href="https://
|
|
10
|
+
<a target="_blank" href="https://arize-ai.slack.com/join/shared_invite/zt-11t1vbu4x-xkBIHmOREQnYnYDH1GDfCg?__hstc=259489365.a667dfafcfa0169c8aee4178d115dc81.1733501603539.1733501603539.1733501603539.1&__hssc=259489365.1.1733501603539&__hsfp=3822854628&submissionGuid=381a0676-8f38-437b-96f2-fc10875658df#/shared-invite/email">
|
|
11
11
|
<img src="https://img.shields.io/static/v1?message=Community&logo=slack&labelColor=grey&color=blue&logoColor=white&label=%20"/>
|
|
12
12
|
</a>
|
|
13
13
|
<a target="_blank" href="https://twitter.com/ArizePhoenix">
|
|
14
|
-
<img src="https://img.shields.io/badge/-ArizePhoenix-blue.svg?color=blue&labelColor=gray&logo=
|
|
14
|
+
<img src="https://img.shields.io/badge/-ArizePhoenix-blue.svg?color=blue&labelColor=gray&logo=x">
|
|
15
15
|
</a>
|
|
16
16
|
<a target="_blank" href="https://pypi.org/project/arize-phoenix/">
|
|
17
17
|
<img src="https://img.shields.io/pypi/v/arize-phoenix?color=blue">
|
|
@@ -113,7 +113,7 @@ For details about tracing integrations and example applications, see the [OpenIn
|
|
|
113
113
|
|
|
114
114
|
Join our community to connect with thousands of AI builders.
|
|
115
115
|
|
|
116
|
-
- 🌍 Join our [Slack community](https://
|
|
116
|
+
- 🌍 Join our [Slack community](https://arize-ai.slack.com/join/shared_invite/zt-11t1vbu4x-xkBIHmOREQnYnYDH1GDfCg?__hstc=259489365.a667dfafcfa0169c8aee4178d115dc81.1733501603539.1733501603539.1733501603539.1&__hssc=259489365.1.1733501603539&__hsfp=3822854628&submissionGuid=381a0676-8f38-437b-96f2-fc10875658df#/shared-invite/email).
|
|
117
117
|
- 📚 Read our [documentation](https://docs.arize.com/phoenix).
|
|
118
118
|
- 💡 Ask questions and provide feedback in the _#phoenix-support_ channel.
|
|
119
119
|
- 🌟 Leave a star on our [GitHub](https://github.com/Arize-ai/phoenix).
|
|
@@ -28,11 +28,12 @@ dependencies = [
|
|
|
28
28
|
"starlette",
|
|
29
29
|
"uvicorn",
|
|
30
30
|
"psutil",
|
|
31
|
-
"strawberry-graphql==0.
|
|
31
|
+
"strawberry-graphql==0.247.0", # need to pin version because we're monkey-patching
|
|
32
32
|
"pyarrow",
|
|
33
33
|
"typing-extensions>=4.6",
|
|
34
34
|
"scipy",
|
|
35
|
-
"wrapt",
|
|
35
|
+
"wrapt<1.17; sys_platform == 'darwin'",
|
|
36
|
+
"wrapt; sys_platform != 'darwin'",
|
|
36
37
|
"protobuf>=3.20.2, <6.0",
|
|
37
38
|
"grpcio",
|
|
38
39
|
"grpc-interceptor",
|
|
@@ -86,7 +87,7 @@ dev = [
|
|
|
86
87
|
"pytest-postgresql",
|
|
87
88
|
"asyncpg",
|
|
88
89
|
"psycopg[binary,pool]",
|
|
89
|
-
"strawberry-graphql[debug-server,opentelemetry]==0.
|
|
90
|
+
"strawberry-graphql[debug-server,opentelemetry]==0.247.0", # need to pin version because we're monkey-patching
|
|
90
91
|
"pre-commit",
|
|
91
92
|
"arize[AutoEmbeddings, LLM_Evaluation]",
|
|
92
93
|
"llama-index>=0.10.3",
|
|
@@ -132,7 +133,7 @@ container = [
|
|
|
132
133
|
"opentelemetry-instrumentation-sqlalchemy",
|
|
133
134
|
"opentelemetry-instrumentation-grpc",
|
|
134
135
|
"py-grpc-prometheus",
|
|
135
|
-
"strawberry-graphql[opentelemetry]==0.
|
|
136
|
+
"strawberry-graphql[opentelemetry]==0.247.0", # need to pin version because we're monkey-patching
|
|
136
137
|
"uvloop; platform_system != 'Windows'",
|
|
137
138
|
"fast-hdbscan>=0.2.0",
|
|
138
139
|
"numba>=0.60.0", # https://github.com/astral-sh/uv/issues/6281
|
|
@@ -228,7 +229,7 @@ dependencies = [
|
|
|
228
229
|
"py-grpc-prometheus",
|
|
229
230
|
"pypistats", # this is needed to type-check third-party packages
|
|
230
231
|
"requests", # this is needed to type-check third-party packages
|
|
231
|
-
"strawberry-graphql[opentelemetry]==0.
|
|
232
|
+
"strawberry-graphql[opentelemetry]==0.247.0", # need to pin version because we're monkey-patching
|
|
232
233
|
"tenacity",
|
|
233
234
|
"types-cachetools",
|
|
234
235
|
"types-protobuf",
|
|
@@ -5,8 +5,9 @@ import tempfile
|
|
|
5
5
|
from dataclasses import dataclass
|
|
6
6
|
from datetime import timedelta
|
|
7
7
|
from enum import Enum
|
|
8
|
+
from importlib.metadata import version
|
|
8
9
|
from pathlib import Path
|
|
9
|
-
from typing import Optional, overload
|
|
10
|
+
from typing import Optional, cast, overload
|
|
10
11
|
from urllib.parse import urlparse
|
|
11
12
|
|
|
12
13
|
from phoenix.utilities.logging import log_a_list
|
|
@@ -784,3 +785,5 @@ def _get_default_idp_display_name(idp_name: str) -> str:
|
|
|
784
785
|
|
|
785
786
|
DEFAULT_PROJECT_NAME = "default"
|
|
786
787
|
_KUBERNETES_PHOENIX_PORT_PATTERN = re.compile(r"^tcp://\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}:\d+$")
|
|
788
|
+
|
|
789
|
+
SKLEARN_VERSION = cast(tuple[int, int], tuple(map(int, version("scikit-learn").split(".", 2)[:2])))
|
|
@@ -53,7 +53,7 @@ def get_async_db_url(connection_str: str) -> URL:
|
|
|
53
53
|
# So we need to parse them out manually
|
|
54
54
|
if url.username and url.password:
|
|
55
55
|
url = url.set(
|
|
56
|
-
query={"user": url.username, "password": url.password},
|
|
56
|
+
query={**url.query, "user": url.username, "password": url.password},
|
|
57
57
|
password=None,
|
|
58
58
|
username=None,
|
|
59
59
|
)
|
|
@@ -28,42 +28,77 @@ async def insert_span(
|
|
|
28
28
|
dialect = SupportedSQLDialect(session.bind.dialect.name)
|
|
29
29
|
if (
|
|
30
30
|
project_rowid := await session.scalar(
|
|
31
|
-
select(models.Project.id).
|
|
31
|
+
select(models.Project.id).filter_by(name=project_name)
|
|
32
32
|
)
|
|
33
33
|
) is None:
|
|
34
34
|
project_rowid = await session.scalar(
|
|
35
|
-
insert(models.Project).values(
|
|
35
|
+
insert(models.Project).values(name=project_name).returning(models.Project.id)
|
|
36
36
|
)
|
|
37
37
|
assert project_rowid is not None
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
)
|
|
52
|
-
)
|
|
38
|
+
|
|
39
|
+
trace_id = span.context.trace_id
|
|
40
|
+
trace: models.Trace = await session.scalar(
|
|
41
|
+
select(models.Trace).filter_by(trace_id=trace_id)
|
|
42
|
+
) or models.Trace(trace_id=trace_id)
|
|
43
|
+
|
|
44
|
+
if trace.id is not None:
|
|
45
|
+
# Trace record may need to be updated.
|
|
46
|
+
if trace.end_time < span.end_time:
|
|
47
|
+
trace.end_time = span.end_time
|
|
48
|
+
trace.project_rowid = project_rowid
|
|
49
|
+
if span.start_time < trace.start_time:
|
|
50
|
+
trace.start_time = span.start_time
|
|
53
51
|
else:
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
52
|
+
# Trace record needs to be persisted for the first time.
|
|
53
|
+
trace.start_time = span.start_time
|
|
54
|
+
trace.end_time = span.end_time
|
|
55
|
+
trace.project_rowid = project_rowid
|
|
56
|
+
session.add(trace)
|
|
57
|
+
|
|
58
|
+
session_id = get_attribute_value(span.attributes, SpanAttributes.SESSION_ID)
|
|
59
|
+
session_id = str(session_id).strip() if session_id is not None else ""
|
|
60
|
+
assert isinstance(session_id, str)
|
|
61
|
+
|
|
62
|
+
project_session: Optional[models.ProjectSession] = None
|
|
63
|
+
if trace.project_session_rowid is not None:
|
|
64
|
+
# ProjectSession record already exists in database for this Trace record, so we fetch
|
|
65
|
+
# it because it may need to be updated. However, the session_id on the span, if exists,
|
|
66
|
+
# will be ignored at this point. Otherwise, if session_id is different, we will need
|
|
67
|
+
# to create a new ProjectSession record, as well as to determine whether the old record
|
|
68
|
+
# needs to be deleted if this is the last Trace associated with it.
|
|
69
|
+
project_session = await session.scalar(
|
|
70
|
+
select(models.ProjectSession).filter_by(id=trace.project_session_rowid)
|
|
66
71
|
)
|
|
72
|
+
elif session_id:
|
|
73
|
+
project_session = await session.scalar(
|
|
74
|
+
select(models.ProjectSession).filter_by(session_id=session_id)
|
|
75
|
+
) or models.ProjectSession(session_id=session_id)
|
|
76
|
+
|
|
77
|
+
if project_session is not None:
|
|
78
|
+
if project_session.id is None:
|
|
79
|
+
# ProjectSession record needs to be persisted for the first time.
|
|
80
|
+
project_session.start_time = trace.start_time
|
|
81
|
+
project_session.end_time = trace.end_time
|
|
82
|
+
project_session.project_id = project_rowid
|
|
83
|
+
session.add(project_session)
|
|
84
|
+
await session.flush()
|
|
85
|
+
assert project_session.id is not None
|
|
86
|
+
trace.project_session_rowid = project_session.id
|
|
87
|
+
else:
|
|
88
|
+
# ProjectSession record may need to be updated.
|
|
89
|
+
if trace.project_session_rowid is None:
|
|
90
|
+
trace.project_session_rowid = project_session.id
|
|
91
|
+
if trace.start_time < project_session.start_time:
|
|
92
|
+
project_session.start_time = trace.start_time
|
|
93
|
+
if project_session.end_time < trace.end_time:
|
|
94
|
+
project_session.end_time = trace.end_time
|
|
95
|
+
|
|
96
|
+
await session.flush()
|
|
97
|
+
assert trace.id is not None
|
|
98
|
+
assert project_session is None or (
|
|
99
|
+
project_session.id is not None and project_session.id == trace.project_session_rowid
|
|
100
|
+
)
|
|
101
|
+
|
|
67
102
|
cumulative_error_count = int(span.status_code is SpanStatusCode.ERROR)
|
|
68
103
|
cumulative_llm_token_count_prompt = cast(
|
|
69
104
|
int, get_attribute_value(span.attributes, SpanAttributes.LLM_TOKEN_COUNT_PROMPT) or 0
|
|
@@ -94,7 +129,7 @@ async def insert_span(
|
|
|
94
129
|
insert_on_conflict(
|
|
95
130
|
dict(
|
|
96
131
|
span_id=span.context.span_id,
|
|
97
|
-
trace_rowid=
|
|
132
|
+
trace_rowid=trace.id,
|
|
98
133
|
parent_id=span.parent_id,
|
|
99
134
|
span_kind=span.span_kind.value,
|
|
100
135
|
name=span.name,
|
|
@@ -4,6 +4,7 @@ import sys
|
|
|
4
4
|
from pathlib import Path
|
|
5
5
|
from queue import Empty, SimpleQueue
|
|
6
6
|
from threading import Thread
|
|
7
|
+
from time import perf_counter
|
|
7
8
|
from typing import Optional
|
|
8
9
|
|
|
9
10
|
from alembic import command
|
|
@@ -47,12 +48,14 @@ def migrate(
|
|
|
47
48
|
alembic_cfg.set_main_option("script_location", scripts_location)
|
|
48
49
|
url = str(engine.url).replace("%", "%%")
|
|
49
50
|
alembic_cfg.set_main_option("sqlalchemy.url", url)
|
|
51
|
+
start_time = perf_counter()
|
|
50
52
|
with engine.connect() as conn:
|
|
51
53
|
alembic_cfg.attributes["connection"] = conn
|
|
52
54
|
command.upgrade(alembic_cfg, "head")
|
|
55
|
+
elapsed_time = perf_counter() - start_time
|
|
53
56
|
engine.dispose()
|
|
54
57
|
printif(log_migrations, "---------------------------")
|
|
55
|
-
printif(log_migrations, "✅ Migrations
|
|
58
|
+
printif(log_migrations, f"✅ Migrations completed in {elapsed_time:.3f} seconds.")
|
|
56
59
|
except BaseException as e:
|
|
57
60
|
if error_queue:
|
|
58
61
|
error_queue.put(e)
|
arize_phoenix-7.0.0/src/phoenix/db/migrations/data_migration_scripts/populate_project_sessions.py
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# /// script
|
|
2
|
+
# dependencies = [
|
|
3
|
+
# "arize-phoenix[pg]",
|
|
4
|
+
# ]
|
|
5
|
+
# ///
|
|
6
|
+
"""
|
|
7
|
+
Populate the `project_sessions` table with data from the traces and spans tables.
|
|
8
|
+
|
|
9
|
+
Environment variables.
|
|
10
|
+
|
|
11
|
+
- `PHOENIX_SQL_DATABASE_URL` must be set to the database connection string.
|
|
12
|
+
- (optional) Postgresql schema can be set via `PHOENIX_SQL_DATABASE_SCHEMA`.
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
import os
|
|
16
|
+
from datetime import datetime
|
|
17
|
+
from time import perf_counter
|
|
18
|
+
from typing import Any, Optional, Union
|
|
19
|
+
|
|
20
|
+
import sqlean
|
|
21
|
+
from openinference.semconv.trace import SpanAttributes
|
|
22
|
+
from sqlalchemy import (
|
|
23
|
+
JSON,
|
|
24
|
+
Engine,
|
|
25
|
+
NullPool,
|
|
26
|
+
create_engine,
|
|
27
|
+
event,
|
|
28
|
+
func,
|
|
29
|
+
insert,
|
|
30
|
+
make_url,
|
|
31
|
+
select,
|
|
32
|
+
update,
|
|
33
|
+
)
|
|
34
|
+
from sqlalchemy.dialects import postgresql
|
|
35
|
+
from sqlalchemy.ext.compiler import compiles
|
|
36
|
+
from sqlalchemy.orm import DeclarativeBase, Mapped, mapped_column, sessionmaker
|
|
37
|
+
|
|
38
|
+
from phoenix.config import ENV_PHOENIX_SQL_DATABASE_SCHEMA, get_env_database_connection_str
|
|
39
|
+
from phoenix.db.engines import set_postgresql_search_path
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class JSONB(JSON):
|
|
43
|
+
# See https://docs.sqlalchemy.org/en/20/core/custom_types.html
|
|
44
|
+
__visit_name__ = "JSONB"
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
@compiles(JSONB, "sqlite")
|
|
48
|
+
def _(*args: Any, **kwargs: Any) -> str:
|
|
49
|
+
# See https://docs.sqlalchemy.org/en/20/core/custom_types.html
|
|
50
|
+
return "JSONB"
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
JSON_ = (
|
|
54
|
+
JSON()
|
|
55
|
+
.with_variant(
|
|
56
|
+
postgresql.JSONB(), # type: ignore
|
|
57
|
+
"postgresql",
|
|
58
|
+
)
|
|
59
|
+
.with_variant(
|
|
60
|
+
JSONB(),
|
|
61
|
+
"sqlite",
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class Base(DeclarativeBase): ...
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
class ProjectSession(Base):
|
|
70
|
+
__tablename__ = "project_sessions"
|
|
71
|
+
id: Mapped[int] = mapped_column(primary_key=True)
|
|
72
|
+
session_id: Mapped[str]
|
|
73
|
+
project_id: Mapped[int]
|
|
74
|
+
start_time: Mapped[datetime]
|
|
75
|
+
end_time: Mapped[datetime]
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class Trace(Base):
|
|
79
|
+
__tablename__ = "traces"
|
|
80
|
+
id: Mapped[int] = mapped_column(primary_key=True)
|
|
81
|
+
project_session_rowid: Mapped[Union[int, None]]
|
|
82
|
+
project_rowid: Mapped[int]
|
|
83
|
+
start_time: Mapped[datetime]
|
|
84
|
+
end_time: Mapped[datetime]
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class Span(Base):
|
|
88
|
+
__tablename__ = "spans"
|
|
89
|
+
id: Mapped[int] = mapped_column(primary_key=True)
|
|
90
|
+
trace_rowid: Mapped[int]
|
|
91
|
+
parent_id: Mapped[Optional[str]]
|
|
92
|
+
attributes: Mapped[dict[str, Any]] = mapped_column(JSON_, nullable=False)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
SESSION_ID = SpanAttributes.SESSION_ID.split(".")
|
|
96
|
+
USER_ID = SpanAttributes.USER_ID.split(".")
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def populate_project_sessions(
|
|
100
|
+
engine: Engine,
|
|
101
|
+
) -> None:
|
|
102
|
+
sessions_from_span = (
|
|
103
|
+
select(
|
|
104
|
+
Span.attributes[SESSION_ID].as_string().label("session_id"),
|
|
105
|
+
Trace.project_rowid.label("project_id"),
|
|
106
|
+
Trace.start_time.label("start_time"),
|
|
107
|
+
func.row_number()
|
|
108
|
+
.over(
|
|
109
|
+
partition_by=Span.attributes[SESSION_ID],
|
|
110
|
+
order_by=[Trace.start_time, Trace.id, Span.id],
|
|
111
|
+
)
|
|
112
|
+
.label("rank"),
|
|
113
|
+
func.max(Trace.end_time)
|
|
114
|
+
.over(partition_by=Span.attributes[SESSION_ID])
|
|
115
|
+
.label("end_time"),
|
|
116
|
+
)
|
|
117
|
+
.join_from(Span, Trace, Span.trace_rowid == Trace.id)
|
|
118
|
+
.where(Span.parent_id.is_(None))
|
|
119
|
+
.where(Span.attributes[SESSION_ID].as_string() != "")
|
|
120
|
+
.subquery()
|
|
121
|
+
)
|
|
122
|
+
sessions_for_trace_id = (
|
|
123
|
+
select(
|
|
124
|
+
Span.trace_rowid,
|
|
125
|
+
ProjectSession.id.label("project_session_rowid"),
|
|
126
|
+
)
|
|
127
|
+
.join_from(
|
|
128
|
+
Span,
|
|
129
|
+
ProjectSession,
|
|
130
|
+
Span.attributes[SESSION_ID].as_string() == ProjectSession.session_id,
|
|
131
|
+
)
|
|
132
|
+
.where(Span.parent_id.is_(None))
|
|
133
|
+
.where(Span.attributes[SESSION_ID].as_string() != "")
|
|
134
|
+
.subquery()
|
|
135
|
+
)
|
|
136
|
+
start_time = perf_counter()
|
|
137
|
+
with sessionmaker(engine).begin() as session:
|
|
138
|
+
session.execute(
|
|
139
|
+
insert(ProjectSession).from_select(
|
|
140
|
+
[
|
|
141
|
+
"session_id",
|
|
142
|
+
"project_id",
|
|
143
|
+
"start_time",
|
|
144
|
+
"end_time",
|
|
145
|
+
],
|
|
146
|
+
select(
|
|
147
|
+
sessions_from_span.c.session_id,
|
|
148
|
+
sessions_from_span.c.project_id,
|
|
149
|
+
sessions_from_span.c.start_time,
|
|
150
|
+
sessions_from_span.c.end_time,
|
|
151
|
+
).where(sessions_from_span.c.rank == 1),
|
|
152
|
+
)
|
|
153
|
+
)
|
|
154
|
+
session.execute(
|
|
155
|
+
(
|
|
156
|
+
update(Trace)
|
|
157
|
+
.values(project_session_rowid=sessions_for_trace_id.c.project_session_rowid)
|
|
158
|
+
.where(Trace.id == sessions_for_trace_id.c.trace_rowid)
|
|
159
|
+
)
|
|
160
|
+
)
|
|
161
|
+
elapsed_time = perf_counter() - start_time
|
|
162
|
+
print(f"✅ Populated project_sessions in {elapsed_time:.3f} seconds.")
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
if __name__ == "__main__":
|
|
166
|
+
sql_database_url = make_url(get_env_database_connection_str())
|
|
167
|
+
print(f"Using database URL: {sql_database_url}")
|
|
168
|
+
ans = input("Is that correct? [y]/n: ")
|
|
169
|
+
if ans.lower().startswith("n"):
|
|
170
|
+
url = input("Please enter the correct database URL: ")
|
|
171
|
+
sql_database_url = make_url(url)
|
|
172
|
+
backend = sql_database_url.get_backend_name()
|
|
173
|
+
if backend == "sqlite":
|
|
174
|
+
file = sql_database_url.database
|
|
175
|
+
engine = create_engine(
|
|
176
|
+
url=sql_database_url.set(drivername="sqlite"),
|
|
177
|
+
creator=lambda: sqlean.connect(f"file:///{file}", uri=True),
|
|
178
|
+
poolclass=NullPool,
|
|
179
|
+
echo=True,
|
|
180
|
+
)
|
|
181
|
+
elif backend == "postgresql":
|
|
182
|
+
schema = os.getenv(ENV_PHOENIX_SQL_DATABASE_SCHEMA)
|
|
183
|
+
if schema:
|
|
184
|
+
print(f"Using schema: {schema}")
|
|
185
|
+
else:
|
|
186
|
+
print("No PostgreSQL schema set. (This is the default.)")
|
|
187
|
+
ans = input("Is that correct? [y]/n: ")
|
|
188
|
+
if ans.lower().startswith("n"):
|
|
189
|
+
schema = input("Please enter the correct schema: ")
|
|
190
|
+
engine = create_engine(
|
|
191
|
+
url=sql_database_url.set(drivername="postgresql+psycopg"),
|
|
192
|
+
poolclass=NullPool,
|
|
193
|
+
echo=True,
|
|
194
|
+
)
|
|
195
|
+
if schema:
|
|
196
|
+
event.listen(engine, "connect", set_postgresql_search_path(schema))
|
|
197
|
+
else:
|
|
198
|
+
raise ValueError(f"Unknown database backend: {backend}")
|
|
199
|
+
populate_project_sessions(engine)
|
arize_phoenix-7.0.0/src/phoenix/db/migrations/versions/4ded9e43755f_create_project_sessions_table.py
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"""create project_session table
|
|
2
|
+
|
|
3
|
+
Revision ID: 4ded9e43755f
|
|
4
|
+
Revises: cd164e83824f
|
|
5
|
+
Create Date: 2024-10-08 22:53:24.539786
|
|
6
|
+
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from typing import Sequence, Union
|
|
10
|
+
|
|
11
|
+
import sqlalchemy as sa
|
|
12
|
+
from alembic import op
|
|
13
|
+
|
|
14
|
+
# revision identifiers, used by Alembic.
|
|
15
|
+
revision: str = "4ded9e43755f"
|
|
16
|
+
down_revision: Union[str, None] = "cd164e83824f"
|
|
17
|
+
branch_labels: Union[str, Sequence[str], None] = None
|
|
18
|
+
depends_on: Union[str, Sequence[str], None] = None
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def upgrade() -> None:
|
|
22
|
+
op.create_table(
|
|
23
|
+
"project_sessions",
|
|
24
|
+
sa.Column("id", sa.Integer, primary_key=True),
|
|
25
|
+
sa.Column("session_id", sa.String, unique=True, nullable=False),
|
|
26
|
+
sa.Column(
|
|
27
|
+
"project_id",
|
|
28
|
+
sa.Integer,
|
|
29
|
+
sa.ForeignKey("projects.id", ondelete="CASCADE"),
|
|
30
|
+
nullable=False,
|
|
31
|
+
index=True,
|
|
32
|
+
),
|
|
33
|
+
sa.Column(
|
|
34
|
+
"start_time",
|
|
35
|
+
sa.TIMESTAMP(timezone=True),
|
|
36
|
+
index=True,
|
|
37
|
+
nullable=False,
|
|
38
|
+
),
|
|
39
|
+
sa.Column(
|
|
40
|
+
"end_time",
|
|
41
|
+
sa.TIMESTAMP(timezone=True),
|
|
42
|
+
index=True,
|
|
43
|
+
nullable=False,
|
|
44
|
+
),
|
|
45
|
+
)
|
|
46
|
+
with op.batch_alter_table("traces") as batch_op:
|
|
47
|
+
batch_op.add_column(
|
|
48
|
+
sa.Column(
|
|
49
|
+
"project_session_rowid",
|
|
50
|
+
sa.Integer,
|
|
51
|
+
sa.ForeignKey("project_sessions.id", ondelete="CASCADE"),
|
|
52
|
+
nullable=True,
|
|
53
|
+
),
|
|
54
|
+
)
|
|
55
|
+
op.create_index(
|
|
56
|
+
"ix_traces_project_session_rowid",
|
|
57
|
+
"traces",
|
|
58
|
+
["project_session_rowid"],
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def downgrade() -> None:
|
|
63
|
+
op.drop_index("ix_traces_project_session_rowid")
|
|
64
|
+
with op.batch_alter_table("traces") as batch_op:
|
|
65
|
+
batch_op.drop_column("project_session_rowid")
|
|
66
|
+
op.drop_table("project_sessions")
|
|
@@ -156,14 +156,37 @@ class Project(Base):
|
|
|
156
156
|
)
|
|
157
157
|
|
|
158
158
|
|
|
159
|
+
class ProjectSession(Base):
|
|
160
|
+
__tablename__ = "project_sessions"
|
|
161
|
+
id: Mapped[int] = mapped_column(primary_key=True)
|
|
162
|
+
session_id: Mapped[str] = mapped_column(String, nullable=False, unique=True)
|
|
163
|
+
project_id: Mapped[int] = mapped_column(
|
|
164
|
+
ForeignKey("projects.id", ondelete="CASCADE"),
|
|
165
|
+
nullable=False,
|
|
166
|
+
index=True,
|
|
167
|
+
)
|
|
168
|
+
start_time: Mapped[datetime] = mapped_column(UtcTimeStamp, index=True, nullable=False)
|
|
169
|
+
end_time: Mapped[datetime] = mapped_column(UtcTimeStamp, index=True, nullable=False)
|
|
170
|
+
traces: Mapped[list["Trace"]] = relationship(
|
|
171
|
+
"Trace",
|
|
172
|
+
back_populates="project_session",
|
|
173
|
+
uselist=True,
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
|
|
159
177
|
class Trace(Base):
|
|
160
178
|
__tablename__ = "traces"
|
|
161
179
|
id: Mapped[int] = mapped_column(primary_key=True)
|
|
162
180
|
project_rowid: Mapped[int] = mapped_column(
|
|
163
181
|
ForeignKey("projects.id", ondelete="CASCADE"),
|
|
182
|
+
nullable=False,
|
|
164
183
|
index=True,
|
|
165
184
|
)
|
|
166
185
|
trace_id: Mapped[str]
|
|
186
|
+
project_session_rowid: Mapped[Optional[int]] = mapped_column(
|
|
187
|
+
ForeignKey("project_sessions.id", ondelete="CASCADE"),
|
|
188
|
+
index=True,
|
|
189
|
+
)
|
|
167
190
|
start_time: Mapped[datetime] = mapped_column(UtcTimeStamp, index=True)
|
|
168
191
|
end_time: Mapped[datetime] = mapped_column(UtcTimeStamp)
|
|
169
192
|
|
|
@@ -188,6 +211,10 @@ class Trace(Base):
|
|
|
188
211
|
cascade="all, delete-orphan",
|
|
189
212
|
uselist=True,
|
|
190
213
|
)
|
|
214
|
+
project_session: Mapped[ProjectSession] = relationship(
|
|
215
|
+
"ProjectSession",
|
|
216
|
+
back_populates="traces",
|
|
217
|
+
)
|
|
191
218
|
experiment_runs: Mapped[list["ExperimentRun"]] = relationship(
|
|
192
219
|
primaryjoin="foreign(ExperimentRun.trace_id) == Trace.trace_id",
|
|
193
220
|
back_populates="trace",
|
|
@@ -27,6 +27,8 @@ from sklearn import metrics as sk
|
|
|
27
27
|
from sklearn.utils.multiclass import check_classification_targets
|
|
28
28
|
from wrapt import PartialCallableObjectProxy
|
|
29
29
|
|
|
30
|
+
from phoenix.config import SKLEARN_VERSION
|
|
31
|
+
|
|
30
32
|
|
|
31
33
|
class Eval(PartialCallableObjectProxy, ABC): # type: ignore
|
|
32
34
|
def __call__(
|
|
@@ -232,5 +234,9 @@ class SkEval(Enum):
|
|
|
232
234
|
r2_score = RegressionEval(sk.r2_score)
|
|
233
235
|
recall_score = ClassificationEval(sk.recall_score)
|
|
234
236
|
roc_auc_score = ScoredClassificationEval(sk.roc_auc_score)
|
|
235
|
-
root_mean_squared_error =
|
|
237
|
+
root_mean_squared_error = (
|
|
238
|
+
RegressionEval(sk.mean_squared_error, squared=False)
|
|
239
|
+
if SKLEARN_VERSION < (1, 6)
|
|
240
|
+
else RegressionEval(sk.root_mean_squared_error)
|
|
241
|
+
)
|
|
236
242
|
zero_one_loss = ClassificationEval(sk.zero_one_loss)
|