arize-phoenix 11.9.0__tar.gz → 11.10.1__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-11.9.0 → arize_phoenix-11.10.1}/PKG-INFO +1 -1
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/playground_clients.py +146 -63
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/playground_registry.py +2 -2
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Project.py +45 -21
- arize_phoenix-11.10.1/src/phoenix/server/static/.vite/manifest.json +87 -0
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/components-IBd-PDxA.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/components-XAeml0-1.js +70 -74
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/index-B8EBC_Z5.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/index-D7EtHUpz.js +31 -9
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/pages-6D1duYIe.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/pages-CPfaxiKa.js +506 -424
- arize_phoenix-11.10.1/src/phoenix/server/static/assets/vendor-CqDb5u4o.css +1 -0
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/vendor-arizeai-CvjUqTrl.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/vendor-arizeai-4fVwwnrI.js +1 -1
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/vendor-codemirror-CKK25Gd7.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/vendor-codemirror-DRfFHb57.js +1 -1
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/vendor-recharts-CWtaRhQC.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/vendor-recharts-w6bSawXG.js +1 -1
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/vendor-shiki-D30GF-p9.js → arize_phoenix-11.10.1/src/phoenix/server/static/assets/vendor-shiki-CplrhwOk.js +1 -1
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/templates/index.html +3 -4
- arize_phoenix-11.10.1/src/phoenix/version.py +1 -0
- arize_phoenix-11.9.0/src/phoenix/server/static/.vite/manifest.json +0 -87
- arize_phoenix-11.9.0/src/phoenix/server/static/assets/vendor-WIZid84E.css +0 -1
- arize_phoenix-11.9.0/src/phoenix/version.py +0 -1
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/.gitignore +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/IP_NOTICE +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/LICENSE +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/README.md +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/pyproject.toml +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/auth.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/config.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/core/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/core/embedding_dimension.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/core/model.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/core/model_schema.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/core/model_schema_adapter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/datetime_utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/README.md +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/alembic.ini +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/bulk_inserter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/constants.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/engines.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/enums.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/facilitator.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/helpers.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/constants.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/dataset.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/document_annotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/evaluation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/helpers.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/span.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/span_annotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/trace_annotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/insertion/types.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrate.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/data_migration_scripts/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/data_migration_scripts/populate_project_sessions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/env.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/script.py.mako +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/10460e46d750_datasets.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/2f9d1a65945f_annotation_config_migration.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/3be8647b87d8_add_token_columns_to_spans_table.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/4ded9e43755f_create_project_sessions_table.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/6a88424799fe_update_users_with_auth_method.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/8a3764fe7f1a_change_jsonb_to_json_for_prompts.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/a20694b15f82_cost.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/bb8139330879_create_project_trace_retention_policies_table.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/bc8fea3c2bc8_add_prompt_tables.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/cd164e83824f_users_and_tokens.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/migrations/versions/cf03bd6bae1d_init.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/models.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/pg_config.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/annotation_configs.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/db_models.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/identifier.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/model_provider.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/token_price_customization.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/db/types/trace_retention.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/exceptions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/evaluators/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/evaluators/base.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/evaluators/code_evaluators.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/evaluators/llm_evaluators.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/evaluators/utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/functions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/tracing.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/types.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/experiments/utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/inferences/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/inferences/errors.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/inferences/fixtures.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/inferences/inferences.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/inferences/schema.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/inferences/validation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/logging/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/logging/_config.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/logging/_filter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/logging/_formatter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/README.md +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/binning.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/metrics.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/mixins.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/retrieval_metrics.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/timeseries.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/metrics/wrappers.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/pointcloud/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/pointcloud/clustering.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/pointcloud/pointcloud.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/pointcloud/projectors.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/pointcloud/umap_parameters.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/py.typed +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/README.md +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/auth.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/context.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/annotation_configs_by_project.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/annotation_summaries.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/average_experiment_run_latency.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/cache/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/cache/two_tier_cache.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/dataset_example_revisions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/dataset_example_spans.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/document_evaluation_summaries.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/document_evaluations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/document_retrieval_metrics.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/experiment_annotation_summaries.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/experiment_error_rates.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/experiment_run_annotations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/experiment_run_counts.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/experiment_sequence_number.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/last_used_times_by_generative_model_id.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/latency_ms_quantile.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/min_start_or_max_end_times.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/num_child_spans.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/num_spans_per_trace.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/project_by_name.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/project_ids_by_trace_retention_policy_id.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/prompt_version_sequence_number.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/record_counts.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/session_io.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/session_num_traces.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/session_num_traces_with_error.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/session_token_usages.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/session_trace_latency_ms_quantile.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_annotations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_by_id.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_by_span.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_generative_model.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_project_session.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_span.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_detail_summary_entries_by_trace.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_details_by_span_cost.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_summary_by_experiment.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_summary_by_experiment_run.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_summary_by_generative_model.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_summary_by_project.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_summary_by_project_session.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_cost_summary_by_trace.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_costs.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_dataset_examples.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_descendants.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/span_projects.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/table_fields.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/token_counts.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/trace_by_trace_ids.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/trace_retention_policy_id_by_project_id.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/trace_root_spans.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/types.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/user_roles.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/dataloaders/users.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/exceptions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/annotations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/dataset_helpers.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/experiment_run_filters.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/playground_spans.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/prompts/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/prompts/conversions/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/prompts/conversions/anthropic.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/prompts/conversions/aws.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/prompts/conversions/openai.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/prompts/models.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/AddExamplesToDatasetInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/AddSpansToDatasetInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ChatCompletionInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ChatCompletionMessageInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ClearProjectInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ClusterInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/Coordinates.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/CreateDatasetInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/CreateProjectInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/CreateSpanAnnotationInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/CreateTraceAnnotationInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DataQualityMetricInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DatasetExampleInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DatasetFilter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DatasetSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DatasetVersionSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DeleteAnnotationsInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DeleteDatasetExamplesInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DeleteDatasetInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DeleteExperimentsInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DimensionFilter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/DimensionInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/GenerativeCredentialInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/GenerativeModelInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/Granularity.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/InvocationParameters.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/PatchAnnotationInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/PatchDatasetExamplesInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/PatchDatasetInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/PerformanceMetricInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ProjectFilter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ProjectSessionSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/ProjectSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/PromptTemplateOptions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/PromptVersionInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/SpanAnnotationFilter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/SpanAnnotationSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/SpanSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/TimeBinConfig.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/TimeRange.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/TraceAnnotationSort.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/UserRoleInput.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/input_types/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/interceptor.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/annotation_config_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/api_key_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/chat_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/dataset_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/experiment_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/export_events_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/model_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/project_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/project_trace_retention_policy_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/prompt_label_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/prompt_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/prompt_version_tag_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/span_annotations_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/trace_annotations_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/trace_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/mutations/user_mutations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/openapi/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/openapi/main.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/openapi/schema.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/queries.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/auth.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/embeddings.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/oauth2.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/annotation_configs.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/annotations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/datasets.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/evaluations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/experiment_evaluations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/experiment_runs.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/experiments.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/models.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/projects.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/prompts.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/spans.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/traces.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/users.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/routers/v1/utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/schema.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/subscriptions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Annotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/AnnotationConfig.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/AnnotationSource.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/AnnotationSummary.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/AnnotatorKind.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ApiKey.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/AuthMethod.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ChatCompletionMessageRole.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ChatCompletionSubscriptionPayload.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Cluster.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/CostBreakdown.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/CreateDatasetPayload.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/CronExpression.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DataQualityMetric.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Dataset.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DatasetExample.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DatasetExampleRevision.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DatasetValues.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DatasetVersion.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Dimension.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DimensionDataType.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DimensionShape.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DimensionType.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DimensionWithValue.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DocumentEvaluationSummary.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/DocumentRetrievalMetrics.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/EmbeddingDimension.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/EmbeddingMetadata.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Evaluation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/EvaluationSummary.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Event.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/EventMetadata.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ExampleRevisionInterface.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Experiment.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ExperimentAnnotationSummary.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ExperimentComparison.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ExperimentRun.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ExperimentRunAnnotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ExportedFile.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Functionality.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/GenerativeModel.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/GenerativeProvider.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Identifier.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/InferenceModel.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Inferences.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/InferencesRole.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/LabelFraction.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/MimeType.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ModelInterface.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/NumericRange.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PerformanceMetric.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PlaygroundModel.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ProjectSession.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ProjectTraceRetentionPolicy.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Prompt.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PromptLabel.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PromptResponse.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PromptVersion.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PromptVersionTag.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/PromptVersionTemplate.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ResponseFormat.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Retrieval.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ScalarDriftMetricEnum.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Segments.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/SortDir.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Span.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/SpanAnnotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/SpanCostDetailSummaryEntry.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/SpanCostSummary.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/SpanIOValue.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/SystemApiKey.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/TimeSeries.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/TokenCountPromptDetails.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/TokenPrice.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/TokenUsage.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ToolDefinition.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/Trace.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/TraceAnnotation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/UMAPPoints.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/User.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/UserApiKey.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/UserRole.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/ValidationResult.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/VectorDriftMetricEnum.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/node.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/types/pagination.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/app.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/authorization.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/bearer_auth.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/cost_details_calculator.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/cost_model_lookup.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/helpers.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/model_cost_manifest.json +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/regex_specificity.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/cost_tracking/token_cost_calculator.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/daemons/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/daemons/db_disk_usage_monitor.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/daemons/generative_model_store.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/daemons/span_cost_calculator.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/dml_event.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/dml_event_handler.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/sender.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/templates/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/templates/db_disk_usage_notification.html +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/templates/password_reset.html +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/templates/welcome.html +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/email/types.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/grpc_server.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/jwt_store.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/main.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/middleware/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/middleware/gzip.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/oauth2.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/openapi/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/prometheus.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/rate_limiters.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/retention.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-114x114.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-120x120.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-144x144.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-152x152.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-180x180.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-72x72.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon-76x76.png +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/apple-touch-icon.png +0 -0
- /arize_phoenix-11.9.0/src/phoenix/server/static/assets/vendor-BzZ0oklU.js → /arize_phoenix-11.10.1/src/phoenix/server/static/assets/vendor-DhvamIr8.js +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/assets/vendor-three-C5WAXd5r.js +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/favicon.ico +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/static/modernizr.js +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/telemetry.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/templates/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/thread_server.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/types.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/services.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/session/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/session/client.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/session/data_extractor.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/session/evaluation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/session/session.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/settings.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/attributes.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/dsl/README.md +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/dsl/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/dsl/filter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/dsl/helpers.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/dsl/query.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/errors.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/evaluation_conventions.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/exporter.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/fixtures.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/otel.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/projects.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/schemas.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/span_evaluations.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/span_json_decoder.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/span_json_encoder.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/trace_dataset.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/utils.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/v1/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/v1/evaluation_pb2.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/trace/v1/evaluation_pb2.pyi +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/__init__.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/client.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/deprecation.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/error_handling.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/json.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/logging.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/project.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/re.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/span_store.py +0 -0
- {arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/utilities/template_formatters.py +0 -0
{arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/playground_clients.py
RENAMED
|
@@ -20,7 +20,7 @@ from openinference.semconv.trace import (
|
|
|
20
20
|
)
|
|
21
21
|
from strawberry import UNSET
|
|
22
22
|
from strawberry.scalars import JSON as JSONScalarType
|
|
23
|
-
from typing_extensions import TypeAlias, assert_never
|
|
23
|
+
from typing_extensions import TypeAlias, assert_never, override
|
|
24
24
|
|
|
25
25
|
from phoenix.config import getenv
|
|
26
26
|
from phoenix.evals.models.rate_limiters import (
|
|
@@ -437,9 +437,9 @@ class OpenAIBaseStreamingClient(PlaygroundStreamingClient):
|
|
|
437
437
|
if role is ChatCompletionMessageRole.TOOL:
|
|
438
438
|
if tool_call_id is None:
|
|
439
439
|
raise ValueError("tool_call_id is required for tool messages")
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
440
|
+
return ChatCompletionToolMessageParam(
|
|
441
|
+
{"content": content, "role": "tool", "tool_call_id": tool_call_id}
|
|
442
|
+
)
|
|
443
443
|
assert_never(role)
|
|
444
444
|
|
|
445
445
|
def to_openai_tool_call_param(
|
|
@@ -1140,27 +1140,28 @@ class OpenAIStreamingClient(OpenAIBaseStreamingClient):
|
|
|
1140
1140
|
self._attributes[LLM_SYSTEM] = OpenInferenceLLMSystemValues.OPENAI.value
|
|
1141
1141
|
|
|
1142
1142
|
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
class
|
|
1143
|
+
_OPENAI_REASONING_MODELS = [
|
|
1144
|
+
"o1",
|
|
1145
|
+
"o1-pro",
|
|
1146
|
+
"o1-2024-12-17",
|
|
1147
|
+
"o1-pro-2025-03-19",
|
|
1148
|
+
"o1-mini",
|
|
1149
|
+
"o1-mini-2024-09-12",
|
|
1150
|
+
"o1-preview",
|
|
1151
|
+
"o1-preview-2024-09-12",
|
|
1152
|
+
"o3",
|
|
1153
|
+
"o3-pro",
|
|
1154
|
+
"o3-2025-04-16",
|
|
1155
|
+
"o3-mini",
|
|
1156
|
+
"o3-mini-2025-01-31",
|
|
1157
|
+
"o4-mini",
|
|
1158
|
+
"o4-mini-2025-04-16",
|
|
1159
|
+
]
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
class OpenAIReasoningReasoningModelsMixin:
|
|
1163
|
+
"""Mixin class for OpenAI-style reasoning model clients (o1, o3 series)."""
|
|
1164
|
+
|
|
1164
1165
|
@classmethod
|
|
1165
1166
|
def supported_invocation_parameters(cls) -> list[InvocationParameter]:
|
|
1166
1167
|
return [
|
|
@@ -1191,6 +1192,16 @@ class OpenAIReasoningStreamingClient(OpenAIStreamingClient):
|
|
|
1191
1192
|
),
|
|
1192
1193
|
]
|
|
1193
1194
|
|
|
1195
|
+
|
|
1196
|
+
@register_llm_client(
|
|
1197
|
+
provider_key=GenerativeProviderKey.OPENAI,
|
|
1198
|
+
model_names=_OPENAI_REASONING_MODELS,
|
|
1199
|
+
)
|
|
1200
|
+
class OpenAIReasoningNonStreamingClient(
|
|
1201
|
+
OpenAIReasoningReasoningModelsMixin,
|
|
1202
|
+
OpenAIStreamingClient,
|
|
1203
|
+
):
|
|
1204
|
+
@override
|
|
1194
1205
|
async def chat_completion_create(
|
|
1195
1206
|
self,
|
|
1196
1207
|
messages: list[
|
|
@@ -1283,46 +1294,11 @@ class OpenAIReasoningStreamingClient(OpenAIStreamingClient):
|
|
|
1283
1294
|
if role is ChatCompletionMessageRole.TOOL:
|
|
1284
1295
|
if tool_call_id is None:
|
|
1285
1296
|
raise ValueError("tool_call_id is required for tool messages")
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1297
|
+
return ChatCompletionToolMessageParam(
|
|
1298
|
+
{"content": content, "role": "tool", "tool_call_id": tool_call_id}
|
|
1299
|
+
)
|
|
1289
1300
|
assert_never(role)
|
|
1290
1301
|
|
|
1291
|
-
@staticmethod
|
|
1292
|
-
def _llm_token_counts(usage: "CompletionUsage") -> Iterator[tuple[str, Any]]:
|
|
1293
|
-
yield LLM_TOKEN_COUNT_PROMPT, usage.prompt_tokens
|
|
1294
|
-
yield LLM_TOKEN_COUNT_COMPLETION, usage.completion_tokens
|
|
1295
|
-
yield LLM_TOKEN_COUNT_TOTAL, usage.total_tokens
|
|
1296
|
-
|
|
1297
|
-
if hasattr(usage, "prompt_tokens_details") and usage.prompt_tokens_details is not None:
|
|
1298
|
-
prompt_details = usage.prompt_tokens_details
|
|
1299
|
-
if (
|
|
1300
|
-
hasattr(prompt_details, "cached_tokens")
|
|
1301
|
-
and prompt_details.cached_tokens is not None
|
|
1302
|
-
):
|
|
1303
|
-
yield LLM_TOKEN_COUNT_PROMPT_DETAILS_CACHE_READ, prompt_details.cached_tokens
|
|
1304
|
-
if hasattr(prompt_details, "audio_tokens") and prompt_details.audio_tokens is not None:
|
|
1305
|
-
yield LLM_TOKEN_COUNT_PROMPT_DETAILS_AUDIO, prompt_details.audio_tokens
|
|
1306
|
-
|
|
1307
|
-
if (
|
|
1308
|
-
hasattr(usage, "completion_tokens_details")
|
|
1309
|
-
and usage.completion_tokens_details is not None
|
|
1310
|
-
):
|
|
1311
|
-
completion_details = usage.completion_tokens_details
|
|
1312
|
-
if (
|
|
1313
|
-
hasattr(completion_details, "reasoning_tokens")
|
|
1314
|
-
and completion_details.reasoning_tokens is not None
|
|
1315
|
-
):
|
|
1316
|
-
yield (
|
|
1317
|
-
LLM_TOKEN_COUNT_COMPLETION_DETAILS_REASONING,
|
|
1318
|
-
completion_details.reasoning_tokens,
|
|
1319
|
-
)
|
|
1320
|
-
if (
|
|
1321
|
-
hasattr(completion_details, "audio_tokens")
|
|
1322
|
-
and completion_details.audio_tokens is not None
|
|
1323
|
-
):
|
|
1324
|
-
yield LLM_TOKEN_COUNT_COMPLETION_DETAILS_AUDIO, completion_details.audio_tokens
|
|
1325
|
-
|
|
1326
1302
|
|
|
1327
1303
|
@register_llm_client(
|
|
1328
1304
|
provider_key=GenerativeProviderKey.AZURE_OPENAI,
|
|
@@ -1376,6 +1352,113 @@ class AzureOpenAIStreamingClient(OpenAIBaseStreamingClient):
|
|
|
1376
1352
|
self._attributes[LLM_SYSTEM] = OpenInferenceLLMSystemValues.OPENAI.value
|
|
1377
1353
|
|
|
1378
1354
|
|
|
1355
|
+
@register_llm_client(
|
|
1356
|
+
provider_key=GenerativeProviderKey.AZURE_OPENAI,
|
|
1357
|
+
model_names=_OPENAI_REASONING_MODELS,
|
|
1358
|
+
)
|
|
1359
|
+
class AzureOpenAIReasoningNonStreamingClient(
|
|
1360
|
+
OpenAIReasoningReasoningModelsMixin,
|
|
1361
|
+
AzureOpenAIStreamingClient,
|
|
1362
|
+
):
|
|
1363
|
+
@override
|
|
1364
|
+
async def chat_completion_create(
|
|
1365
|
+
self,
|
|
1366
|
+
messages: list[
|
|
1367
|
+
tuple[ChatCompletionMessageRole, str, Optional[str], Optional[list[JSONScalarType]]]
|
|
1368
|
+
],
|
|
1369
|
+
tools: list[JSONScalarType],
|
|
1370
|
+
**invocation_parameters: Any,
|
|
1371
|
+
) -> AsyncIterator[ChatCompletionChunk]:
|
|
1372
|
+
from openai import NOT_GIVEN
|
|
1373
|
+
|
|
1374
|
+
# Convert standard messages to OpenAI messages
|
|
1375
|
+
openai_messages = []
|
|
1376
|
+
for message in messages:
|
|
1377
|
+
openai_message = self.to_openai_chat_completion_param(*message)
|
|
1378
|
+
if openai_message is not None:
|
|
1379
|
+
openai_messages.append(openai_message)
|
|
1380
|
+
|
|
1381
|
+
throttled_create = self.rate_limiter._alimit(self.client.chat.completions.create)
|
|
1382
|
+
response = await throttled_create(
|
|
1383
|
+
messages=openai_messages,
|
|
1384
|
+
model=self.model_name,
|
|
1385
|
+
stream=False,
|
|
1386
|
+
tools=tools or NOT_GIVEN,
|
|
1387
|
+
**invocation_parameters,
|
|
1388
|
+
)
|
|
1389
|
+
|
|
1390
|
+
if response.usage is not None:
|
|
1391
|
+
self._attributes.update(dict(self._llm_token_counts(response.usage)))
|
|
1392
|
+
|
|
1393
|
+
choice = response.choices[0]
|
|
1394
|
+
if choice.message.content:
|
|
1395
|
+
yield TextChunk(content=choice.message.content)
|
|
1396
|
+
|
|
1397
|
+
if choice.message.tool_calls:
|
|
1398
|
+
for tool_call in choice.message.tool_calls:
|
|
1399
|
+
yield ToolCallChunk(
|
|
1400
|
+
id=tool_call.id,
|
|
1401
|
+
function=FunctionCallChunk(
|
|
1402
|
+
name=tool_call.function.name,
|
|
1403
|
+
arguments=tool_call.function.arguments,
|
|
1404
|
+
),
|
|
1405
|
+
)
|
|
1406
|
+
|
|
1407
|
+
def to_openai_chat_completion_param(
|
|
1408
|
+
self,
|
|
1409
|
+
role: ChatCompletionMessageRole,
|
|
1410
|
+
content: JSONScalarType,
|
|
1411
|
+
tool_call_id: Optional[str] = None,
|
|
1412
|
+
tool_calls: Optional[list[JSONScalarType]] = None,
|
|
1413
|
+
) -> Optional["ChatCompletionMessageParam"]:
|
|
1414
|
+
from openai.types.chat import (
|
|
1415
|
+
ChatCompletionAssistantMessageParam,
|
|
1416
|
+
ChatCompletionDeveloperMessageParam,
|
|
1417
|
+
ChatCompletionToolMessageParam,
|
|
1418
|
+
ChatCompletionUserMessageParam,
|
|
1419
|
+
)
|
|
1420
|
+
|
|
1421
|
+
if role is ChatCompletionMessageRole.USER:
|
|
1422
|
+
return ChatCompletionUserMessageParam(
|
|
1423
|
+
{
|
|
1424
|
+
"content": content,
|
|
1425
|
+
"role": "user",
|
|
1426
|
+
}
|
|
1427
|
+
)
|
|
1428
|
+
if role is ChatCompletionMessageRole.SYSTEM:
|
|
1429
|
+
return ChatCompletionDeveloperMessageParam(
|
|
1430
|
+
{
|
|
1431
|
+
"content": content,
|
|
1432
|
+
"role": "developer",
|
|
1433
|
+
}
|
|
1434
|
+
)
|
|
1435
|
+
if role is ChatCompletionMessageRole.AI:
|
|
1436
|
+
if tool_calls is None:
|
|
1437
|
+
return ChatCompletionAssistantMessageParam(
|
|
1438
|
+
{
|
|
1439
|
+
"content": content,
|
|
1440
|
+
"role": "assistant",
|
|
1441
|
+
}
|
|
1442
|
+
)
|
|
1443
|
+
else:
|
|
1444
|
+
return ChatCompletionAssistantMessageParam(
|
|
1445
|
+
{
|
|
1446
|
+
"content": content,
|
|
1447
|
+
"role": "assistant",
|
|
1448
|
+
"tool_calls": [
|
|
1449
|
+
self.to_openai_tool_call_param(tool_call) for tool_call in tool_calls
|
|
1450
|
+
],
|
|
1451
|
+
}
|
|
1452
|
+
)
|
|
1453
|
+
if role is ChatCompletionMessageRole.TOOL:
|
|
1454
|
+
if tool_call_id is None:
|
|
1455
|
+
raise ValueError("tool_call_id is required for tool messages")
|
|
1456
|
+
return ChatCompletionToolMessageParam(
|
|
1457
|
+
{"content": content, "role": "tool", "tool_call_id": tool_call_id}
|
|
1458
|
+
)
|
|
1459
|
+
assert_never(role)
|
|
1460
|
+
|
|
1461
|
+
|
|
1379
1462
|
@register_llm_client(
|
|
1380
1463
|
provider_key=GenerativeProviderKey.ANTHROPIC,
|
|
1381
1464
|
model_names=[
|
{arize_phoenix-11.9.0 → arize_phoenix-11.10.1}/src/phoenix/server/api/helpers/playground_registry.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from typing import TYPE_CHECKING, Any, Callable, Optional, Union
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Callable, Optional, Sequence, Union
|
|
2
2
|
|
|
3
3
|
from phoenix.server.api.types.GenerativeProvider import GenerativeProviderKey
|
|
4
4
|
|
|
@@ -59,7 +59,7 @@ PLAYGROUND_CLIENT_REGISTRY: PlaygroundClientRegistry = PlaygroundClientRegistry(
|
|
|
59
59
|
|
|
60
60
|
def register_llm_client(
|
|
61
61
|
provider_key: GenerativeProviderKey,
|
|
62
|
-
model_names:
|
|
62
|
+
model_names: Sequence[ModelName],
|
|
63
63
|
) -> Callable[[type["PlaygroundStreamingClient"]], type["PlaygroundStreamingClient"]]:
|
|
64
64
|
def decorator(cls: type["PlaygroundStreamingClient"]) -> type["PlaygroundStreamingClient"]:
|
|
65
65
|
provider_registry = PLAYGROUND_CLIENT_REGISTRY._registry.setdefault(provider_key, {})
|
|
@@ -7,7 +7,7 @@ from typing import TYPE_CHECKING, Annotated, Any, ClassVar, Literal, Optional, c
|
|
|
7
7
|
import strawberry
|
|
8
8
|
from aioitertools.itertools import groupby, islice
|
|
9
9
|
from openinference.semconv.trace import SpanAttributes
|
|
10
|
-
from sqlalchemy import and_, desc, distinct, exists, func, or_, select
|
|
10
|
+
from sqlalchemy import and_, case, desc, distinct, exists, func, or_, select
|
|
11
11
|
from sqlalchemy.dialects import postgresql, sqlite
|
|
12
12
|
from sqlalchemy.sql.elements import ColumnElement
|
|
13
13
|
from sqlalchemy.sql.expression import tuple_
|
|
@@ -719,6 +719,7 @@ class Project(Node):
|
|
|
719
719
|
info: Info[Context, None],
|
|
720
720
|
time_range: TimeRange,
|
|
721
721
|
time_bin_config: Optional[TimeBinConfig] = UNSET,
|
|
722
|
+
filter_condition: Optional[str] = UNSET,
|
|
722
723
|
) -> SpanCountTimeSeries:
|
|
723
724
|
if time_range.start is None:
|
|
724
725
|
raise BadRequest("Start time is required")
|
|
@@ -742,7 +743,17 @@ class Project(Node):
|
|
|
742
743
|
field = "year"
|
|
743
744
|
bucket = date_trunc(dialect, field, models.Span.start_time, utc_offset_minutes)
|
|
744
745
|
stmt = (
|
|
745
|
-
select(
|
|
746
|
+
select(
|
|
747
|
+
bucket,
|
|
748
|
+
func.count(models.Span.id).label("total_count"),
|
|
749
|
+
func.sum(case((models.Span.status_code == "OK", 1), else_=0)).label("ok_count"),
|
|
750
|
+
func.sum(case((models.Span.status_code == "ERROR", 1), else_=0)).label(
|
|
751
|
+
"error_count"
|
|
752
|
+
),
|
|
753
|
+
func.sum(case((models.Span.status_code == "UNSET", 1), else_=0)).label(
|
|
754
|
+
"unset_count"
|
|
755
|
+
),
|
|
756
|
+
)
|
|
746
757
|
.join_from(models.Span, models.Trace)
|
|
747
758
|
.where(models.Trace.project_rowid == self.project_rowid)
|
|
748
759
|
.group_by(bucket)
|
|
@@ -752,21 +763,31 @@ class Project(Node):
|
|
|
752
763
|
stmt = stmt.where(time_range.start <= models.Span.start_time)
|
|
753
764
|
if time_range.end:
|
|
754
765
|
stmt = stmt.where(models.Span.start_time < time_range.end)
|
|
766
|
+
if filter_condition:
|
|
767
|
+
span_filter = SpanFilter(condition=filter_condition)
|
|
768
|
+
stmt = span_filter(stmt)
|
|
755
769
|
|
|
756
770
|
data = {}
|
|
757
771
|
async with info.context.db() as session:
|
|
758
|
-
async for t,
|
|
772
|
+
async for t, total_count, ok_count, error_count, unset_count in await session.stream(
|
|
773
|
+
stmt
|
|
774
|
+
):
|
|
759
775
|
timestamp = _as_datetime(t)
|
|
760
|
-
data[timestamp] =
|
|
776
|
+
data[timestamp] = SpanCountTimeSeriesDataPoint(
|
|
777
|
+
timestamp=timestamp,
|
|
778
|
+
ok_count=ok_count,
|
|
779
|
+
error_count=error_count,
|
|
780
|
+
unset_count=unset_count,
|
|
781
|
+
total_count=total_count,
|
|
782
|
+
)
|
|
761
783
|
|
|
762
784
|
data_timestamps: list[datetime] = [data_point.timestamp for data_point in data.values()]
|
|
763
785
|
min_time = min([*data_timestamps, time_range.start])
|
|
764
786
|
max_time = max(
|
|
765
787
|
[
|
|
766
788
|
*data_timestamps,
|
|
767
|
-
*([time_range.end] if time_range.end else []),
|
|
789
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
768
790
|
],
|
|
769
|
-
default=datetime.now(timezone.utc),
|
|
770
791
|
)
|
|
771
792
|
for timestamp in get_timestamp_range(
|
|
772
793
|
start_time=min_time,
|
|
@@ -775,7 +796,7 @@ class Project(Node):
|
|
|
775
796
|
utc_offset_minutes=utc_offset_minutes,
|
|
776
797
|
):
|
|
777
798
|
if timestamp not in data:
|
|
778
|
-
data[timestamp] =
|
|
799
|
+
data[timestamp] = SpanCountTimeSeriesDataPoint(timestamp=timestamp)
|
|
779
800
|
return SpanCountTimeSeries(data=sorted(data.values(), key=lambda x: x.timestamp))
|
|
780
801
|
|
|
781
802
|
@strawberry.field
|
|
@@ -828,9 +849,8 @@ class Project(Node):
|
|
|
828
849
|
max_time = max(
|
|
829
850
|
[
|
|
830
851
|
*data_timestamps,
|
|
831
|
-
*([time_range.end] if time_range.end else []),
|
|
852
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
832
853
|
],
|
|
833
|
-
default=datetime.now(timezone.utc),
|
|
834
854
|
)
|
|
835
855
|
for timestamp in get_timestamp_range(
|
|
836
856
|
start_time=min_time,
|
|
@@ -917,9 +937,8 @@ class Project(Node):
|
|
|
917
937
|
max_time = max(
|
|
918
938
|
[
|
|
919
939
|
*data_timestamps,
|
|
920
|
-
*([time_range.end] if time_range.end else []),
|
|
940
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
921
941
|
],
|
|
922
|
-
default=datetime.now(timezone.utc),
|
|
923
942
|
)
|
|
924
943
|
for timestamp in get_timestamp_range(
|
|
925
944
|
start_time=min_time,
|
|
@@ -1025,9 +1044,8 @@ class Project(Node):
|
|
|
1025
1044
|
max_time = max(
|
|
1026
1045
|
[
|
|
1027
1046
|
*data_timestamps,
|
|
1028
|
-
*([time_range.end] if time_range.end else []),
|
|
1047
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
1029
1048
|
],
|
|
1030
|
-
default=datetime.now(timezone.utc),
|
|
1031
1049
|
)
|
|
1032
1050
|
for timestamp in get_timestamp_range(
|
|
1033
1051
|
start_time=min_time,
|
|
@@ -1111,9 +1129,8 @@ class Project(Node):
|
|
|
1111
1129
|
max_time = max(
|
|
1112
1130
|
[
|
|
1113
1131
|
*data_timestamps,
|
|
1114
|
-
*([time_range.end] if time_range.end else []),
|
|
1132
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
1115
1133
|
],
|
|
1116
|
-
default=datetime.now(timezone.utc),
|
|
1117
1134
|
)
|
|
1118
1135
|
for timestamp in get_timestamp_range(
|
|
1119
1136
|
start_time=min_time,
|
|
@@ -1195,9 +1212,8 @@ class Project(Node):
|
|
|
1195
1212
|
max_time = max(
|
|
1196
1213
|
[
|
|
1197
1214
|
*data_timestamps,
|
|
1198
|
-
*([time_range.end] if time_range.end else []),
|
|
1215
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
1199
1216
|
],
|
|
1200
|
-
default=datetime.now(timezone.utc),
|
|
1201
1217
|
)
|
|
1202
1218
|
for timestamp in get_timestamp_range(
|
|
1203
1219
|
start_time=min_time,
|
|
@@ -1281,9 +1297,8 @@ class Project(Node):
|
|
|
1281
1297
|
max_time = max(
|
|
1282
1298
|
[
|
|
1283
1299
|
*score_timestamps,
|
|
1284
|
-
*([time_range.end] if time_range.end else []),
|
|
1300
|
+
*([time_range.end] if time_range.end else [datetime.now(timezone.utc)]),
|
|
1285
1301
|
],
|
|
1286
|
-
default=datetime.now(timezone.utc),
|
|
1287
1302
|
)
|
|
1288
1303
|
data: dict[datetime, SpanAnnotationScoreTimeSeriesDataPoint] = {
|
|
1289
1304
|
timestamp: SpanAnnotationScoreTimeSeriesDataPoint(
|
|
@@ -1313,8 +1328,17 @@ class Project(Node):
|
|
|
1313
1328
|
|
|
1314
1329
|
|
|
1315
1330
|
@strawberry.type
|
|
1316
|
-
class
|
|
1317
|
-
|
|
1331
|
+
class SpanCountTimeSeriesDataPoint:
|
|
1332
|
+
timestamp: datetime
|
|
1333
|
+
ok_count: Optional[int] = None
|
|
1334
|
+
error_count: Optional[int] = None
|
|
1335
|
+
unset_count: Optional[int] = None
|
|
1336
|
+
total_count: Optional[int] = None
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
@strawberry.type
|
|
1340
|
+
class SpanCountTimeSeries:
|
|
1341
|
+
data: list[SpanCountTimeSeriesDataPoint]
|
|
1318
1342
|
|
|
1319
1343
|
|
|
1320
1344
|
@strawberry.type
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_components-XAeml0-1.js": {
|
|
3
|
+
"file": "assets/components-XAeml0-1.js",
|
|
4
|
+
"name": "components",
|
|
5
|
+
"imports": [
|
|
6
|
+
"_vendor-DhvamIr8.js",
|
|
7
|
+
"_pages-CPfaxiKa.js",
|
|
8
|
+
"_vendor-arizeai-4fVwwnrI.js",
|
|
9
|
+
"_vendor-codemirror-DRfFHb57.js",
|
|
10
|
+
"_vendor-three-C5WAXd5r.js"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
"_pages-CPfaxiKa.js": {
|
|
14
|
+
"file": "assets/pages-CPfaxiKa.js",
|
|
15
|
+
"name": "pages",
|
|
16
|
+
"imports": [
|
|
17
|
+
"_vendor-DhvamIr8.js",
|
|
18
|
+
"_vendor-arizeai-4fVwwnrI.js",
|
|
19
|
+
"_components-XAeml0-1.js",
|
|
20
|
+
"_vendor-codemirror-DRfFHb57.js",
|
|
21
|
+
"_vendor-recharts-w6bSawXG.js"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"_vendor-CqDb5u4o.css": {
|
|
25
|
+
"file": "assets/vendor-CqDb5u4o.css",
|
|
26
|
+
"src": "_vendor-CqDb5u4o.css"
|
|
27
|
+
},
|
|
28
|
+
"_vendor-DhvamIr8.js": {
|
|
29
|
+
"file": "assets/vendor-DhvamIr8.js",
|
|
30
|
+
"name": "vendor",
|
|
31
|
+
"imports": [
|
|
32
|
+
"_vendor-three-C5WAXd5r.js"
|
|
33
|
+
],
|
|
34
|
+
"css": [
|
|
35
|
+
"assets/vendor-CqDb5u4o.css"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"_vendor-arizeai-4fVwwnrI.js": {
|
|
39
|
+
"file": "assets/vendor-arizeai-4fVwwnrI.js",
|
|
40
|
+
"name": "vendor-arizeai",
|
|
41
|
+
"imports": [
|
|
42
|
+
"_vendor-DhvamIr8.js"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
"_vendor-codemirror-DRfFHb57.js": {
|
|
46
|
+
"file": "assets/vendor-codemirror-DRfFHb57.js",
|
|
47
|
+
"name": "vendor-codemirror",
|
|
48
|
+
"imports": [
|
|
49
|
+
"_vendor-DhvamIr8.js",
|
|
50
|
+
"_vendor-shiki-CplrhwOk.js"
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
"_vendor-recharts-w6bSawXG.js": {
|
|
54
|
+
"file": "assets/vendor-recharts-w6bSawXG.js",
|
|
55
|
+
"name": "vendor-recharts",
|
|
56
|
+
"imports": [
|
|
57
|
+
"_vendor-DhvamIr8.js"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"_vendor-shiki-CplrhwOk.js": {
|
|
61
|
+
"file": "assets/vendor-shiki-CplrhwOk.js",
|
|
62
|
+
"name": "vendor-shiki",
|
|
63
|
+
"imports": [
|
|
64
|
+
"_vendor-DhvamIr8.js"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"_vendor-three-C5WAXd5r.js": {
|
|
68
|
+
"file": "assets/vendor-three-C5WAXd5r.js",
|
|
69
|
+
"name": "vendor-three"
|
|
70
|
+
},
|
|
71
|
+
"index.tsx": {
|
|
72
|
+
"file": "assets/index-D7EtHUpz.js",
|
|
73
|
+
"name": "index",
|
|
74
|
+
"src": "index.tsx",
|
|
75
|
+
"isEntry": true,
|
|
76
|
+
"imports": [
|
|
77
|
+
"_vendor-DhvamIr8.js",
|
|
78
|
+
"_vendor-arizeai-4fVwwnrI.js",
|
|
79
|
+
"_pages-CPfaxiKa.js",
|
|
80
|
+
"_components-XAeml0-1.js",
|
|
81
|
+
"_vendor-three-C5WAXd5r.js",
|
|
82
|
+
"_vendor-codemirror-DRfFHb57.js",
|
|
83
|
+
"_vendor-shiki-CplrhwOk.js",
|
|
84
|
+
"_vendor-recharts-w6bSawXG.js"
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|