arize-phoenix 4.31.0__tar.gz → 4.32.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-4.31.0 → arize_phoenix-4.32.0}/PKG-INFO +6 -8
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/README.md +2 -7
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/pyproject.toml +3 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/config.py +10 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/app.py +47 -39
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/main.py +13 -6
- arize_phoenix-4.32.0/src/phoenix/server/static/.vite/manifest.json +78 -0
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/components-CEsu6itL.js → arize_phoenix-4.32.0/src/phoenix/server/static/assets/components-Ddr-5VpM.js +46 -46
- arize_phoenix-4.32.0/src/phoenix/server/static/assets/index-BvNNAF8n.js +100 -0
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/pages-eeRVG3GZ.js → arize_phoenix-4.32.0/src/phoenix/server/static/assets/pages-CU_QMYRP.js +268 -229
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/vendor-DsnEJuEV.js → arize_phoenix-4.32.0/src/phoenix/server/static/assets/vendor-Dpio9q2e.js +1 -1
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/vendor-arizeai-DtynTLNi.js → arize_phoenix-4.32.0/src/phoenix/server/static/assets/vendor-arizeai-DDzwX9A6.js +24 -24
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/vendor-codemirror-C5to5cK4.js → arize_phoenix-4.32.0/src/phoenix/server/static/assets/vendor-codemirror-xRvQKK1G.js +1 -1
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/vendor-recharts-reihe2SJ.js → arize_phoenix-4.32.0/src/phoenix/server/static/assets/vendor-recharts-DoxlB_Wo.js +1 -1
- arize_phoenix-4.32.0/src/phoenix/version.py +1 -0
- arize_phoenix-4.31.0/src/phoenix/server/static/.vite/manifest.json +0 -78
- arize_phoenix-4.31.0/src/phoenix/server/static/assets/index-Cuxn1Qdi.js +0 -100
- arize_phoenix-4.31.0/src/phoenix/version.py +0 -1
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/.gitignore +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/IP_NOTICE +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/LICENSE +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/chat-service/chat/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/chat-service/chat/app.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/chat-service/chat/types.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/frontend/Dockerfile +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/frontend/Makefile +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/frontend/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/frontend/pyproject.toml +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/frontend/requirements.txt +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/examples/manually-instrumented-chatbot/frontend/schema.json +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/auth.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/core/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/core/embedding_dimension.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/core/model.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/core/model_schema.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/core/model_schema_adapter.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/datetime_utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/README.md +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/alembic.ini +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/bulk_inserter.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/engines.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/helpers.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/constants.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/dataset.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/document_annotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/evaluation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/helpers.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/span.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/span_annotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/trace_annotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/insertion/types.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrate.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/env.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/future_versions/README.md +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/future_versions/cd164e83824f_users_and_tokens.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/script.py.mako +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/versions/.gitignore +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/versions/10460e46d750_datasets.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/versions/3be8647b87d8_add_token_columns_to_spans_table.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/db/models.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/exceptions.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/evaluators/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/evaluators/base.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/evaluators/code_evaluators.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/evaluators/llm_evaluators.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/evaluators/utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/functions.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/tracing.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/types.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/experiments/utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/inferences/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/inferences/errors.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/inferences/fixtures.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/inferences/inferences.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/inferences/schema.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/inferences/validation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/README.md +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/binning.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/metrics.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/mixins.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/retrieval_metrics.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/timeseries.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/metrics/wrappers.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/pointcloud/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/pointcloud/clustering.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/pointcloud/pointcloud.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/pointcloud/projectors.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/pointcloud/umap_parameters.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/py.typed +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/context.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/annotation_summaries.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/average_experiment_run_latency.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/cache/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/cache/two_tier_cache.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/dataset_example_spans.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/document_evaluation_summaries.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/document_evaluations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/document_retrieval_metrics.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/experiment_annotation_summaries.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/experiment_error_rates.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/experiment_run_annotations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/experiment_run_counts.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/experiment_sequence_number.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/latency_ms_quantile.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/min_start_or_max_end_times.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/project_by_name.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/record_counts.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/span_annotations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/span_dataset_examples.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/span_descendants.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/span_projects.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/token_counts.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/dataloaders/trace_row_ids.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/exceptions.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/helpers/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/helpers/dataset_helpers.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/AddExamplesToDatasetInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/AddSpansToDatasetInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/ClearProjectInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/ClusterInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/Coordinates.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/CreateDatasetInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/CreateSpanAnnotationInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/CreateTraceAnnotationInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DataQualityMetricInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DatasetExampleInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DatasetSort.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DatasetVersionSort.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DeleteAnnotationsInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DeleteDatasetExamplesInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DeleteDatasetInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DeleteExperimentsInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DimensionFilter.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/DimensionInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/Granularity.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/PatchAnnotationInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/PatchDatasetExamplesInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/PatchDatasetInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/PerformanceMetricInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/SpanAnnotationSort.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/SpanSort.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/TimeRange.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/TraceAnnotationSort.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/UserRoleInput.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/input_types/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/interceptor.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/api_key_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/auth.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/auth_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/dataset_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/experiment_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/export_events_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/project_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/span_annotations_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/trace_annotations_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/mutations/user_mutations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/openapi/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/openapi/main.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/openapi/schema.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/queries.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/datasets.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/evaluations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/experiment_evaluations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/experiment_runs.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/experiments.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/pydantic_compat.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/spans.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/traces.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/routers/v1/utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/schema.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Annotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/AnnotationSummary.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/AnnotatorKind.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ApiKey.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Cluster.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/CreateDatasetPayload.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DataQualityMetric.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Dataset.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DatasetExample.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DatasetExampleRevision.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DatasetValues.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DatasetVersion.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Dimension.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DimensionDataType.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DimensionShape.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DimensionType.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DimensionWithValue.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DocumentEvaluationSummary.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/DocumentRetrievalMetrics.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/EmbeddingDimension.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/EmbeddingMetadata.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Evaluation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/EvaluationSummary.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Event.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/EventMetadata.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ExampleRevisionInterface.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Experiment.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ExperimentAnnotationSummary.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ExperimentComparison.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ExperimentRun.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ExperimentRunAnnotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ExportedFile.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Functionality.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Inferences.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/InferencesRole.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/LabelFraction.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/MimeType.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Model.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/NumericRange.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/PerformanceMetric.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Project.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/PromptResponse.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Retrieval.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ScalarDriftMetricEnum.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Segments.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/SortDir.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Span.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/SpanAnnotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/SystemApiKey.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/TimeSeries.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/Trace.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/TraceAnnotation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/UMAPPoints.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/User.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/UserApiKey.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/UserRole.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/ValidationResult.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/VectorDriftMetricEnum.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/node.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/types/pagination.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/api/utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/dml_event.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/dml_event_handler.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/grpc_server.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/openapi/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/prometheus.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-114x114.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-120x120.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-144x144.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-152x152.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-180x180.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-72x72.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon-76x76.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/apple-touch-icon.png +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/assets/vendor-DxkFTwjz.css +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/assets/vendor-three-DwGkEfCM.js +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/favicon.ico +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/static/modernizr.js +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/telemetry.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/templates/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/templates/index.html +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/thread_server.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/server/types.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/services.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/session/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/session/client.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/session/data_extractor.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/session/evaluation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/session/session.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/settings.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/attributes.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/dsl/README.md +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/dsl/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/dsl/filter.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/dsl/helpers.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/dsl/query.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/errors.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/evaluation_conventions.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/exporter.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/fixtures.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/langchain/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/langchain/instrumentor.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/llama_index/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/llama_index/callback.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/openai/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/openai/instrumentor.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/otel.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/projects.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/schemas.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/span_evaluations.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/span_json_decoder.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/span_json_encoder.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/trace_dataset.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/utils.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/v1/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/v1/evaluation_pb2.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/trace/v1/evaluation_pb2.pyi +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/__init__.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/client.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/deprecation.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/error_handling.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/json.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/logging.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/project.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/re.py +0 -0
- {arize_phoenix-4.31.0 → arize_phoenix-4.32.0}/src/phoenix/utilities/span_store.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: arize-phoenix
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.32.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
|
|
@@ -99,7 +99,10 @@ Requires-Dist: pytest==8.3.2; extra == 'dev'
|
|
|
99
99
|
Requires-Dist: ruff==0.6.1; extra == 'dev'
|
|
100
100
|
Requires-Dist: strawberry-graphql[debug-server,opentelemetry]==0.236.0; extra == 'dev'
|
|
101
101
|
Requires-Dist: tabulate; extra == 'dev'
|
|
102
|
+
Requires-Dist: tox; extra == 'dev'
|
|
103
|
+
Requires-Dist: tox-uv; extra == 'dev'
|
|
102
104
|
Requires-Dist: types-tabulate; extra == 'dev'
|
|
105
|
+
Requires-Dist: uv; extra == 'dev'
|
|
103
106
|
Requires-Dist: uvloop; (platform_system != 'Windows') and extra == 'dev'
|
|
104
107
|
Provides-Extra: evals
|
|
105
108
|
Provides-Extra: experimental
|
|
@@ -157,10 +160,10 @@ Phoenix runs practically anywhere, including your Jupyter notebook, local machin
|
|
|
157
160
|
|
|
158
161
|
## Installation
|
|
159
162
|
|
|
160
|
-
Install Phoenix via `pip` or `conda`
|
|
163
|
+
Install Phoenix via `pip` or `conda`
|
|
161
164
|
|
|
162
165
|
```shell
|
|
163
|
-
pip install
|
|
166
|
+
pip install arize-phoenix
|
|
164
167
|
```
|
|
165
168
|
|
|
166
169
|
Phoenix container images are available via [Docker Hub](https://hub.docker.com/r/arizephoenix/phoenix) and can be deployed using Docker or Kubernetes.
|
|
@@ -177,11 +180,6 @@ Join our community to connect with thousands of AI builders.
|
|
|
177
180
|
- 💌️ Sign up for our [mailing list](https://phoenix.arize.com/#updates).
|
|
178
181
|
- 🗺️ Check out our [roadmap](https://github.com/orgs/Arize-ai/projects/45) to see where we're heading next.
|
|
179
182
|
|
|
180
|
-
## Thanks
|
|
181
|
-
|
|
182
|
-
- [UMAP](https://github.com/lmcinnes/umap) For unlocking the ability to visualize and reason about embeddings
|
|
183
|
-
- [HDBSCAN](https://github.com/scikit-learn-contrib/hdbscan) For providing a clustering algorithm to aid in the discovery of drift and performance degradation
|
|
184
|
-
|
|
185
183
|
## Breaking Changes
|
|
186
184
|
|
|
187
185
|
See the [migration guide](./MIGRATION.md) for a list of breaking changes.
|
|
@@ -40,10 +40,10 @@ Phoenix runs practically anywhere, including your Jupyter notebook, local machin
|
|
|
40
40
|
|
|
41
41
|
## Installation
|
|
42
42
|
|
|
43
|
-
Install Phoenix via `pip` or `conda`
|
|
43
|
+
Install Phoenix via `pip` or `conda`
|
|
44
44
|
|
|
45
45
|
```shell
|
|
46
|
-
pip install
|
|
46
|
+
pip install arize-phoenix
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Phoenix container images are available via [Docker Hub](https://hub.docker.com/r/arizephoenix/phoenix) and can be deployed using Docker or Kubernetes.
|
|
@@ -60,11 +60,6 @@ Join our community to connect with thousands of AI builders.
|
|
|
60
60
|
- 💌️ Sign up for our [mailing list](https://phoenix.arize.com/#updates).
|
|
61
61
|
- 🗺️ Check out our [roadmap](https://github.com/orgs/Arize-ai/projects/45) to see where we're heading next.
|
|
62
62
|
|
|
63
|
-
## Thanks
|
|
64
|
-
|
|
65
|
-
- [UMAP](https://github.com/lmcinnes/umap) For unlocking the ability to visualize and reason about embeddings
|
|
66
|
-
- [HDBSCAN](https://github.com/scikit-learn-contrib/hdbscan) For providing a clustering algorithm to aid in the discovery of drift and performance degradation
|
|
67
|
-
|
|
68
63
|
## Breaking Changes
|
|
69
64
|
|
|
70
65
|
See the [migration guide](./MIGRATION.md) for a list of breaking changes.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
|
+
import re
|
|
2
3
|
import tempfile
|
|
3
4
|
from logging import getLogger
|
|
4
5
|
from pathlib import Path
|
|
@@ -231,6 +232,14 @@ def get_env_port() -> int:
|
|
|
231
232
|
return PORT
|
|
232
233
|
if port.isnumeric():
|
|
233
234
|
return int(port)
|
|
235
|
+
if _KUBERNETES_PHOENIX_PORT_PATTERN.match(port) is not None:
|
|
236
|
+
raise ValueError(
|
|
237
|
+
'If you are deploying Phoenix with Kubernetes using a service named "phoenix", '
|
|
238
|
+
"Kubernetes will automatically generate an environment variable `PHOENIX_PORT` "
|
|
239
|
+
'of the form "tcp://<IP>:<PORT>" that is not the integer format Phoenix expects. '
|
|
240
|
+
"To resolve this issue, explicitly set the `PHOENIX_PORT` environment variable to "
|
|
241
|
+
"an integer value in your Kubernetes deployment configuration."
|
|
242
|
+
)
|
|
234
243
|
raise ValueError(
|
|
235
244
|
f"Invalid value for environment variable {ENV_PHOENIX_PORT}: "
|
|
236
245
|
f"{port}. Value must be an integer."
|
|
@@ -313,3 +322,4 @@ def get_web_base_url() -> str:
|
|
|
313
322
|
|
|
314
323
|
|
|
315
324
|
DEFAULT_PROJECT_NAME = "default"
|
|
325
|
+
_KUBERNETES_PHOENIX_PORT_PATTERN = re.compile(r"^tcp://\d{1,3}[.]\d{1,3}[.]\d{1,3}[.]\d{1,3}:\d+$")
|
|
@@ -2,6 +2,8 @@ import asyncio
|
|
|
2
2
|
import contextlib
|
|
3
3
|
import json
|
|
4
4
|
import logging
|
|
5
|
+
from contextlib import AsyncExitStack
|
|
6
|
+
from dataclasses import dataclass, field
|
|
5
7
|
from datetime import datetime, timedelta, timezone
|
|
6
8
|
from functools import cached_property
|
|
7
9
|
from pathlib import Path
|
|
@@ -18,7 +20,6 @@ from typing import (
|
|
|
18
20
|
List,
|
|
19
21
|
NamedTuple,
|
|
20
22
|
Optional,
|
|
21
|
-
Set,
|
|
22
23
|
Tuple,
|
|
23
24
|
Union,
|
|
24
25
|
cast,
|
|
@@ -251,27 +252,36 @@ def _db(engine: AsyncEngine) -> Callable[[], AsyncContextManager[AsyncSession]]:
|
|
|
251
252
|
return factory
|
|
252
253
|
|
|
253
254
|
|
|
255
|
+
@dataclass(frozen=True)
|
|
256
|
+
class ScaffolderConfig:
|
|
257
|
+
db: DbSessionFactory
|
|
258
|
+
tracing_fixture_names: Iterable[str] = field(default_factory=list)
|
|
259
|
+
force_fixture_ingestion: bool = False
|
|
260
|
+
scaffold_datasets: bool = False
|
|
261
|
+
phoenix_url: str = f"http://{get_env_host()}:{get_env_port()}"
|
|
262
|
+
|
|
263
|
+
|
|
254
264
|
class Scaffolder(DaemonTask):
|
|
255
265
|
def __init__(
|
|
256
266
|
self,
|
|
257
|
-
|
|
267
|
+
config: ScaffolderConfig,
|
|
258
268
|
queue_span: Callable[[Span, ProjectName], Awaitable[None]],
|
|
259
269
|
queue_evaluation: Callable[[pb.Evaluation], Awaitable[None]],
|
|
260
|
-
tracing_fixture_names: Set[str] = set(),
|
|
261
|
-
force_fixture_ingestion: bool = False,
|
|
262
|
-
scaffold_datasets: bool = False,
|
|
263
270
|
) -> None:
|
|
264
271
|
super().__init__()
|
|
265
|
-
self._db = db
|
|
272
|
+
self._db = config.db
|
|
266
273
|
self._queue_span = queue_span
|
|
267
274
|
self._queue_evaluation = queue_evaluation
|
|
268
|
-
self._tracing_fixtures =
|
|
269
|
-
get_trace_fixture_by_name(name) for name in tracing_fixture_names
|
|
270
|
-
|
|
271
|
-
self._force_fixture_ingestion = force_fixture_ingestion
|
|
272
|
-
self._scaffold_datasets = scaffold_datasets
|
|
275
|
+
self._tracing_fixtures = [
|
|
276
|
+
get_trace_fixture_by_name(name) for name in set(config.tracing_fixture_names)
|
|
277
|
+
]
|
|
278
|
+
self._force_fixture_ingestion = config.force_fixture_ingestion
|
|
279
|
+
self._scaffold_datasets = config.scaffold_datasets
|
|
280
|
+
self._phoenix_url = config.phoenix_url
|
|
273
281
|
|
|
274
282
|
async def __aenter__(self) -> None:
|
|
283
|
+
if not self._tracing_fixtures:
|
|
284
|
+
return
|
|
275
285
|
await self.start()
|
|
276
286
|
|
|
277
287
|
async def __aexit__(self, *args: Any, **kwargs: Any) -> None:
|
|
@@ -353,7 +363,7 @@ class Scaffolder(DaemonTask):
|
|
|
353
363
|
await loop.run_in_executor(
|
|
354
364
|
None,
|
|
355
365
|
send_dataset_fixtures,
|
|
356
|
-
|
|
366
|
+
self._phoenix_url,
|
|
357
367
|
dataset_fixtures,
|
|
358
368
|
)
|
|
359
369
|
except Exception as e:
|
|
@@ -370,32 +380,34 @@ def _lifespan(
|
|
|
370
380
|
startup_callbacks: Iterable[Callable[[], None]] = (),
|
|
371
381
|
shutdown_callbacks: Iterable[Callable[[], None]] = (),
|
|
372
382
|
read_only: bool = False,
|
|
373
|
-
|
|
374
|
-
force_fixture_ingestion: bool = False,
|
|
375
|
-
scaffold_datasets: bool = False,
|
|
383
|
+
scaffolder_config: Optional[ScaffolderConfig] = None,
|
|
376
384
|
) -> StatefulLifespan[FastAPI]:
|
|
377
385
|
@contextlib.asynccontextmanager
|
|
378
386
|
async def lifespan(_: FastAPI) -> AsyncIterator[Dict[str, Any]]:
|
|
379
387
|
global DB_MUTEX
|
|
380
388
|
DB_MUTEX = asyncio.Lock() if db.dialect is SupportedSQLDialect.SQLITE else None
|
|
381
|
-
async with
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
389
|
+
async with AsyncExitStack() as stack:
|
|
390
|
+
(
|
|
391
|
+
enqueue,
|
|
392
|
+
queue_span,
|
|
393
|
+
queue_evaluation,
|
|
394
|
+
enqueue_operation,
|
|
395
|
+
) = await stack.enter_async_context(bulk_inserter)
|
|
396
|
+
grpc_server = GrpcServer(
|
|
397
|
+
queue_span,
|
|
398
|
+
disabled=read_only,
|
|
399
|
+
tracer_provider=tracer_provider,
|
|
400
|
+
enable_prometheus=enable_prometheus,
|
|
401
|
+
)
|
|
402
|
+
await stack.enter_async_context(grpc_server)
|
|
403
|
+
await stack.enter_async_context(dml_event_handler)
|
|
404
|
+
if scaffolder_config:
|
|
405
|
+
scaffolder = Scaffolder(
|
|
406
|
+
config=scaffolder_config,
|
|
407
|
+
queue_span=queue_span,
|
|
408
|
+
queue_evaluation=queue_evaluation,
|
|
409
|
+
)
|
|
410
|
+
await stack.enter_async_context(scaffolder)
|
|
399
411
|
for callback in startup_callbacks:
|
|
400
412
|
callback()
|
|
401
413
|
yield {
|
|
@@ -587,9 +599,7 @@ def create_app(
|
|
|
587
599
|
startup_callbacks: Iterable[Callable[[], None]] = (),
|
|
588
600
|
shutdown_callbacks: Iterable[Callable[[], None]] = (),
|
|
589
601
|
secret: Optional[str] = None,
|
|
590
|
-
|
|
591
|
-
force_fixture_ingestion: bool = False,
|
|
592
|
-
scaffold_datasets: bool = False,
|
|
602
|
+
scaffolder_config: Optional[ScaffolderConfig] = None,
|
|
593
603
|
) -> FastAPI:
|
|
594
604
|
startup_callbacks_list: List[Callable[[], None]] = list(startup_callbacks)
|
|
595
605
|
shutdown_callbacks_list: List[Callable[[], None]] = list(shutdown_callbacks)
|
|
@@ -675,9 +685,7 @@ def create_app(
|
|
|
675
685
|
enable_prometheus=enable_prometheus,
|
|
676
686
|
shutdown_callbacks=shutdown_callbacks_list,
|
|
677
687
|
startup_callbacks=startup_callbacks_list,
|
|
678
|
-
|
|
679
|
-
force_fixture_ingestion=force_fixture_ingestion,
|
|
680
|
-
scaffold_datasets=scaffold_datasets,
|
|
688
|
+
scaffolder_config=scaffolder_config,
|
|
681
689
|
),
|
|
682
690
|
middleware=[
|
|
683
691
|
Middleware(HeadersMiddleware),
|
|
@@ -37,6 +37,7 @@ from phoenix.pointcloud.umap_parameters import (
|
|
|
37
37
|
UMAPParameters,
|
|
38
38
|
)
|
|
39
39
|
from phoenix.server.app import (
|
|
40
|
+
ScaffolderConfig,
|
|
40
41
|
_db,
|
|
41
42
|
create_app,
|
|
42
43
|
create_engine_and_run_migrations,
|
|
@@ -228,6 +229,7 @@ if __name__ == "__main__":
|
|
|
228
229
|
|
|
229
230
|
force_fixture_ingestion = False
|
|
230
231
|
scaffold_datasets = False
|
|
232
|
+
tracing_fixture_names = set()
|
|
231
233
|
if args.command == "datasets":
|
|
232
234
|
primary_inferences_name = args.primary
|
|
233
235
|
reference_inferences_name = args.reference
|
|
@@ -264,7 +266,6 @@ if __name__ == "__main__":
|
|
|
264
266
|
simulate_streaming = args.simulate_streaming
|
|
265
267
|
elif args.command == "serve":
|
|
266
268
|
# We use sets to avoid duplicates
|
|
267
|
-
tracing_fixture_names = set()
|
|
268
269
|
if args.with_fixture:
|
|
269
270
|
primary_inferences, reference_inferences, corpus_inferences = get_inferences(
|
|
270
271
|
str(args.with_fixture),
|
|
@@ -344,17 +345,25 @@ if __name__ == "__main__":
|
|
|
344
345
|
None if corpus_inferences is None else create_model_from_inferences(corpus_inferences)
|
|
345
346
|
)
|
|
346
347
|
# Print information about the server
|
|
348
|
+
root_path = urljoin(f"http://{host}:{port}", host_root_path)
|
|
347
349
|
msg = _WELCOME_MESSAGE.format(
|
|
348
350
|
version=version("arize-phoenix"),
|
|
349
|
-
ui_path=
|
|
351
|
+
ui_path=root_path,
|
|
350
352
|
grpc_path=f"http://{host}:{get_env_grpc_port()}",
|
|
351
|
-
http_path=urljoin(
|
|
353
|
+
http_path=urljoin(root_path, "v1/traces"),
|
|
352
354
|
storage=get_printable_db_url(db_connection_str),
|
|
353
355
|
)
|
|
354
356
|
if authentication_enabled:
|
|
355
357
|
msg += _EXPERIMENTAL_WARNING.format(auth_enabled=True)
|
|
356
358
|
if sys.platform.startswith("win"):
|
|
357
359
|
msg = codecs.encode(msg, "ascii", errors="ignore").decode("ascii").strip()
|
|
360
|
+
scaffolder_config = ScaffolderConfig(
|
|
361
|
+
db=factory,
|
|
362
|
+
tracing_fixture_names=tracing_fixture_names,
|
|
363
|
+
force_fixture_ingestion=force_fixture_ingestion,
|
|
364
|
+
scaffold_datasets=scaffold_datasets,
|
|
365
|
+
phoenix_url=root_path,
|
|
366
|
+
)
|
|
358
367
|
app = create_app(
|
|
359
368
|
db=factory,
|
|
360
369
|
export_path=export_path,
|
|
@@ -372,9 +381,7 @@ if __name__ == "__main__":
|
|
|
372
381
|
startup_callbacks=[lambda: print(msg)],
|
|
373
382
|
shutdown_callbacks=instrumentation_cleanups,
|
|
374
383
|
secret=secret,
|
|
375
|
-
|
|
376
|
-
force_fixture_ingestion=force_fixture_ingestion,
|
|
377
|
-
scaffold_datasets=scaffold_datasets,
|
|
384
|
+
scaffolder_config=scaffolder_config,
|
|
378
385
|
)
|
|
379
386
|
server = Server(config=Config(app, host=host, port=port, root_path=host_root_path)) # type: ignore
|
|
380
387
|
Thread(target=_write_pid_file_when_ready, args=(server,), daemon=True).start()
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_components-Ddr-5VpM.js": {
|
|
3
|
+
"file": "assets/components-Ddr-5VpM.js",
|
|
4
|
+
"name": "components",
|
|
5
|
+
"imports": [
|
|
6
|
+
"_vendor-Dpio9q2e.js",
|
|
7
|
+
"_vendor-arizeai-DDzwX9A6.js",
|
|
8
|
+
"_pages-CU_QMYRP.js",
|
|
9
|
+
"_vendor-three-DwGkEfCM.js",
|
|
10
|
+
"_vendor-codemirror-xRvQKK1G.js"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"_pages-CU_QMYRP.js": {
|
|
14
|
+
"file": "assets/pages-CU_QMYRP.js",
|
|
15
|
+
"name": "pages",
|
|
16
|
+
"imports": [
|
|
17
|
+
"_vendor-Dpio9q2e.js",
|
|
18
|
+
"_components-Ddr-5VpM.js",
|
|
19
|
+
"_vendor-arizeai-DDzwX9A6.js",
|
|
20
|
+
"_vendor-recharts-DoxlB_Wo.js",
|
|
21
|
+
"_vendor-codemirror-xRvQKK1G.js"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"_vendor-!~{003}~.js": {
|
|
25
|
+
"file": "assets/vendor-DxkFTwjz.css",
|
|
26
|
+
"src": "_vendor-!~{003}~.js"
|
|
27
|
+
},
|
|
28
|
+
"_vendor-Dpio9q2e.js": {
|
|
29
|
+
"file": "assets/vendor-Dpio9q2e.js",
|
|
30
|
+
"name": "vendor",
|
|
31
|
+
"imports": [
|
|
32
|
+
"_vendor-three-DwGkEfCM.js"
|
|
33
|
+
],
|
|
34
|
+
"css": [
|
|
35
|
+
"assets/vendor-DxkFTwjz.css"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"_vendor-arizeai-DDzwX9A6.js": {
|
|
39
|
+
"file": "assets/vendor-arizeai-DDzwX9A6.js",
|
|
40
|
+
"name": "vendor-arizeai",
|
|
41
|
+
"imports": [
|
|
42
|
+
"_vendor-Dpio9q2e.js"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"_vendor-codemirror-xRvQKK1G.js": {
|
|
46
|
+
"file": "assets/vendor-codemirror-xRvQKK1G.js",
|
|
47
|
+
"name": "vendor-codemirror",
|
|
48
|
+
"imports": [
|
|
49
|
+
"_vendor-Dpio9q2e.js"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"_vendor-recharts-DoxlB_Wo.js": {
|
|
53
|
+
"file": "assets/vendor-recharts-DoxlB_Wo.js",
|
|
54
|
+
"name": "vendor-recharts",
|
|
55
|
+
"imports": [
|
|
56
|
+
"_vendor-Dpio9q2e.js"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"_vendor-three-DwGkEfCM.js": {
|
|
60
|
+
"file": "assets/vendor-three-DwGkEfCM.js",
|
|
61
|
+
"name": "vendor-three"
|
|
62
|
+
},
|
|
63
|
+
"index.tsx": {
|
|
64
|
+
"file": "assets/index-BvNNAF8n.js",
|
|
65
|
+
"name": "index",
|
|
66
|
+
"src": "index.tsx",
|
|
67
|
+
"isEntry": true,
|
|
68
|
+
"imports": [
|
|
69
|
+
"_vendor-Dpio9q2e.js",
|
|
70
|
+
"_vendor-arizeai-DDzwX9A6.js",
|
|
71
|
+
"_pages-CU_QMYRP.js",
|
|
72
|
+
"_components-Ddr-5VpM.js",
|
|
73
|
+
"_vendor-three-DwGkEfCM.js",
|
|
74
|
+
"_vendor-recharts-DoxlB_Wo.js",
|
|
75
|
+
"_vendor-codemirror-xRvQKK1G.js"
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|