arize-phoenix 11.21.0__py3-none-any.whl → 11.21.1__py3-none-any.whl

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arize-phoenix
3
- Version: 11.21.0
3
+ Version: 11.21.1
4
4
  Summary: AI Observability and Evaluation
5
5
  Project-URL: Documentation, https://arize.com/docs/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -167,7 +167,7 @@ Description-Content-Type: text/markdown
167
167
  <a target="_blank" href="https://github.com/Arize-ai/phoenix/tree/main/js/packages/phoenix-mcp">
168
168
  <img src="https://badge.mcpx.dev?status=on" title="MCP Enabled"/>
169
169
  </a>
170
- <a href="https://cursor.com/install-mcp?name=phoenix&config=eyJjb21tYW5kIjoibnB4IC15IEBhcml6ZWFpL3Bob2VuaXgtbWNwQGxhdGVzdCAtLWJhc2VVcmwgaHR0cDovL2xvY2FsaG9zdDo2MDA2IC0tYXBpS2V5IHlvdXItYXBpLWtleSJ9"><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add Arize Phoenix MCP server to Cursor" height=20 /></a>
170
+ <a href="cursor://anysphere.cursor-deeplink/mcp/install?name=phoenix&config=eyJjb21tYW5kIjoibnB4IC15IEBhcml6ZWFpL3Bob2VuaXgtbWNwQGxhdGVzdCAtLWJhc2VVcmwgaHR0cHM6Ly9teS1waG9lbml4LmNvbSAtLWFwaUtleSB5b3VyLWFwaS1rZXkifQ%3D%3D"><img src="https://cursor.com/deeplink/mcp-install-dark.svg" alt="Add Arize Phoenix MCP server to Cursor" height=20 /></a>
171
171
  </p>
172
172
 
173
173
  Phoenix is an open-source AI observability platform designed for experimentation, evaluation, and troubleshooting. It provides:
@@ -254,14 +254,16 @@ Phoenix is built on top of OpenTelemetry and is vendor, language, and framework
254
254
  | Integration | Package | Version Badge |
255
255
  | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
256
256
  | [LangChain4j](https://github.com/Arize-ai/openinference/tree/main/java/instrumentation/openinference-instrumentation-langchain4j) | `openinference-instrumentation-langchain4j` | [![Maven Central](https://img.shields.io/maven-central/v/com.arize/openinference-instrumentation-langchain4j.svg)](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-langchain4j) |
257
+ | [SpringAI](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-springAI) | `openinference-instrumentation-springAI` | [![Maven Central](https://img.shields.io/maven-central/v/com.arize/openinference-instrumentation-springAI.svg)](https://central.sonatype.com/artifact/com.arize/openinference-instrumentation-springAI) |
257
258
 
258
259
  ### Platforms
259
260
 
260
261
  | Platform | Description | Docs |
261
262
  | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
263
+ | [BeeAI](https://docs.beeai.dev/observability/agents-traceability) | AI agent framework with built-in observability | [Integration Guide](https://docs.beeai.dev/observability/agents-traceability) |
262
264
  | [Dify](https://docs.dify.ai/en/guides/monitoring/integrate-external-ops-tools/integrate-phoenix) | Open-source LLM app development platform | [Integration Guide](https://docs.dify.ai/en/guides/monitoring/integrate-external-ops-tools/integrate-phoenix) |
265
+ | [Envoy AI Gateway](https://github.com/envoyproxy/ai-gateway) | AI Gateway built on Envoy Proxy for AI workloads | [Integration Guide](https://github.com/envoyproxy/ai-gateway/tree/main/cmd/aigw#opentelemetry-setup-with-phoenix) |
263
266
  | [LangFlow](https://arize.com/docs/phoenix/tracing/integrations-tracing/langflow) | Visual framework for building multi-agent and RAG applications | [Integration Guide](https://arize.com/docs/phoenix/tracing/integrations-tracing/langflow) |
264
- | [BeeAI](https://docs.beeai.dev/observability/agents-traceability) | AI agent framework with built-in observability | [Integration Guide](https://docs.beeai.dev/observability/agents-traceability) |
265
267
  | [LiteLLM Proxy](https://docs.litellm.ai/docs/observability/phoenix_integration#using-with-litellm-proxy) | Proxy server for LLMs | [Integration Guide](https://docs.litellm.ai/docs/observability/phoenix_integration#using-with-litellm-proxy) |
266
268
 
267
269
  ## Community
@@ -6,7 +6,7 @@ phoenix/exceptions.py,sha256=n2L2KKuecrdflB9MsCdAYCiSEvGJptIsfRkXMoJle7A,169
6
6
  phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
7
7
  phoenix/services.py,sha256=ngkyKGVatX3cO2WJdo2hKdaVKP-xJCMvqthvga6kJss,5196
8
8
  phoenix/settings.py,sha256=2kHfT3BNOVd4dAO1bq-syEQbHSG8oX2-7NhOwK2QREk,896
9
- phoenix/version.py,sha256=S2TiwHQgEbsL_ldKr5oOsMKO-n7_zvhjBACaqir74do,24
9
+ phoenix/version.py,sha256=MKnna2l-ytcQjtXJcRSl2t1LDUmcw25A2XUiuU4Tln0,24
10
10
  phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
12
12
  phoenix/core/model.py,sha256=qBFraOtmwCCnWJltKNP18DDG0mULXigytlFsa6YOz6k,4837
@@ -112,7 +112,7 @@ phoenix/server/api/auth.py,sha256=AyYhnZIbY9ALVjg2K6aC2UXSa3Pva5GVDBXyaZ3nD3o,27
112
112
  phoenix/server/api/context.py,sha256=mqsq_8Ru50e-PxKWNTzh9zptb1PFjYFUf58uW59UYL0,8996
113
113
  phoenix/server/api/exceptions.py,sha256=E2W0x63CBzc0CoQPptrLr9nZxPF9zIP8MCJ3RuJMddw,1322
114
114
  phoenix/server/api/interceptor.py,sha256=ykDnoC_apUd-llVli3m1CW18kNSIgjz2qZ6m5JmPDu8,1294
115
- phoenix/server/api/queries.py,sha256=RC-MS6x1gNqYhNQ6TnWA6zqDDnpiW4puKLBTrbtS8os,67102
115
+ phoenix/server/api/queries.py,sha256=rHV8gBqCwNjuDCtfKTfBcJB-eWxbJFivZzFV3mId1HY,67524
116
116
  phoenix/server/api/schema.py,sha256=fcs36xQwFF_Qe41_5cWR8wYpDvOrnbcyTeo5WNMbDsA,1702
117
117
  phoenix/server/api/subscriptions.py,sha256=U7JZl-FGfsaIhRkIFdeSQLqR7xCS7CY1h-21BOAcaqY,25439
118
118
  phoenix/server/api/utils.py,sha256=quCBRcusc6PUq9tJq7M8PgwFZp7nXgVAxtbw8feribY,833
@@ -362,7 +362,7 @@ phoenix/server/cost_tracking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
362
362
  phoenix/server/cost_tracking/cost_details_calculator.py,sha256=Tt0YcuLhgPuXKWJemWVmYQfG0xQUvH4VziIj6KcDnoA,8945
363
363
  phoenix/server/cost_tracking/cost_model_lookup.py,sha256=jhtVdnQBzrTUHeOGPWgOebk-Io5hpJ1vAgWOu8ojeJ4,6801
364
364
  phoenix/server/cost_tracking/helpers.py,sha256=Pk6ECjnYreTxrldtRwxnwFcxIPVsvDq_yAwDA_spkOc,2122
365
- phoenix/server/cost_tracking/model_cost_manifest.json,sha256=9y3c0YrYSYTZvwerCr6yAQD97YBTZ6GUZ4UykDvwfFU,63485
365
+ phoenix/server/cost_tracking/model_cost_manifest.json,sha256=kE8VrBbvdqDy1ijk8KWWs_76U-L_vcRUT5hVT418evY,63488
366
366
  phoenix/server/cost_tracking/regex_specificity.py,sha256=9kqWuQ68C-hlwW25hr7BhFlRt5y2Nnpy0Ax3n9UN6Xk,11622
367
367
  phoenix/server/cost_tracking/token_cost_calculator.py,sha256=2JEZnvusx2-xbhp8krp9EarjWuyGH2KO4e-ZwJX-K0s,1598
368
368
  phoenix/server/daemons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -391,10 +391,10 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
391
391
  phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
392
392
  phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
393
393
  phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
394
- phoenix/server/static/.vite/manifest.json,sha256=VfeGEGEeidc2iRZCqPQ8Ae-XTEOyLCy0MQw8DsvFEc0,2328
395
- phoenix/server/static/assets/components-BNcxEjYs.js,sha256=1_lobSTCfokeUlK4ClEylCmZ4gMIpa_zCsgZYZDGF9w,658582
396
- phoenix/server/static/assets/index-CKIBKnVD.js,sha256=ig-C5VgtSHWxhrkqhMwj6k1WKTjCYXdYvqI30ajC3v0,63064
397
- phoenix/server/static/assets/pages-3RoC-adr.js,sha256=Y5BgOTRvJRpBKJJ4rBMi7iTM3TNRDFe_v0nlxUEpV-0,1224388
394
+ phoenix/server/static/.vite/manifest.json,sha256=42hM44kTkxtzKywj80vA_-KqJ9LJO9p6Xvi52T8UnGU,2328
395
+ phoenix/server/static/assets/components-BHdwFK1u.js,sha256=aWWK46DXOMuDUTYquIY07idjdtqJqdF_H8Kc7vcE0ZU,658573
396
+ phoenix/server/static/assets/index-BuFamj8g.js,sha256=ijIj6Frv0WbowI5EYmfJQibFOsFD102TOQ7o6q4QkFk,63122
397
+ phoenix/server/static/assets/pages-wNrdUuht.js,sha256=OCYvFNXL1V7CiMFoeszBhHtQJ7CZnfmXkwRl8vj-A3A,1225254
398
398
  phoenix/server/static/assets/vendor-BbqekBfb.js,sha256=8xINQdH4ikfrf8nr8mlO0B9YrKJ2FPecrA9qu5kPILo,2588857
399
399
  phoenix/server/static/assets/vendor-CqDb5u4o.css,sha256=zIyFiNJKxMaQk8AvtLgt1rR01oO10d1MFndSDKH9Clw,5517
400
400
  phoenix/server/static/assets/vendor-arizeai-CEwHhYfL.js,sha256=EIl1d9G6uPn7_Fc8YyAdxWmyV1Y7k1nN7VeJmI4MxtA,121514
@@ -441,9 +441,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
441
441
  phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
442
442
  phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
443
443
  phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
444
- arize_phoenix-11.21.0.dist-info/METADATA,sha256=YdUThYDa8tZXg7RRzkuImDvvvGjvUtQFuv5tTUzHDWc,30950
445
- arize_phoenix-11.21.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
446
- arize_phoenix-11.21.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
447
- arize_phoenix-11.21.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
448
- arize_phoenix-11.21.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
449
- arize_phoenix-11.21.0.dist-info/RECORD,,
444
+ arize_phoenix-11.21.1.dist-info/METADATA,sha256=XaEthhkljvctwAGuXZs1mQwD6AXTMF8Jzx_ngrsjTQg,31612
445
+ arize_phoenix-11.21.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
446
+ arize_phoenix-11.21.1.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
447
+ arize_phoenix-11.21.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
448
+ arize_phoenix-11.21.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
449
+ arize_phoenix-11.21.1.dist-info/RECORD,,
@@ -7,8 +7,8 @@ from typing import cast as type_cast
7
7
  import numpy as np
8
8
  import numpy.typing as npt
9
9
  import strawberry
10
- from sqlalchemy import ColumnElement, String, and_, case, cast, distinct, func, select, text
11
- from sqlalchemy.orm import aliased, joinedload
10
+ from sqlalchemy import ColumnElement, String, and_, case, cast, func, select, text
11
+ from sqlalchemy.orm import aliased, joinedload, load_only
12
12
  from starlette.authentication import UnauthenticatedUser
13
13
  from strawberry import ID, UNSET
14
14
  from strawberry.relay import Connection, GlobalID, Node
@@ -375,41 +375,52 @@ class Query:
375
375
  raise BadRequest("Compare experiment IDs cannot contain the base experiment ID")
376
376
  if len(set(compare_experiment_ids)) < len(compare_experiment_ids):
377
377
  raise BadRequest("Compare experiment IDs must be unique")
378
- experiment_ids = [
379
- from_global_id_with_expected_type(experiment_id, models.Experiment.__name__)
380
- for experiment_id in (base_experiment_id, *compare_experiment_ids)
381
- ]
378
+
379
+ try:
380
+ base_experiment_rowid = from_global_id_with_expected_type(
381
+ base_experiment_id, models.Experiment.__name__
382
+ )
383
+ except ValueError:
384
+ raise BadRequest(f"Invalid base experiment ID: {base_experiment_id}")
385
+
386
+ compare_experiment_rowids = []
387
+ for compare_experiment_id in compare_experiment_ids:
388
+ try:
389
+ compare_experiment_rowids.append(
390
+ from_global_id_with_expected_type(
391
+ compare_experiment_id, models.Experiment.__name__
392
+ )
393
+ )
394
+ except ValueError:
395
+ raise BadRequest(f"Invalid compare experiment ID: {compare_experiment_id}")
396
+
397
+ experiment_rowids = [base_experiment_rowid, *compare_experiment_rowids]
398
+
382
399
  cursor = Cursor.from_string(after) if after else None
383
400
  page_size = first or 50
384
401
 
385
402
  async with info.context.db() as session:
386
- validation_result = (
387
- await session.execute(
403
+ experiments = (
404
+ await session.scalars(
388
405
  select(
389
- func.count(distinct(models.DatasetVersion.dataset_id)),
390
- func.max(models.DatasetVersion.dataset_id),
391
- func.max(models.DatasetVersion.id),
392
- func.count(models.Experiment.id),
393
- )
394
- .select_from(models.DatasetVersion)
395
- .join(
396
406
  models.Experiment,
397
- models.Experiment.dataset_version_id == models.DatasetVersion.id,
398
407
  )
399
- .where(
400
- models.Experiment.id.in_(experiment_ids),
408
+ .where(models.Experiment.id.in_(experiment_rowids))
409
+ .options(
410
+ load_only(
411
+ models.Experiment.dataset_id, models.Experiment.dataset_version_id
412
+ )
401
413
  )
402
414
  )
403
- ).first()
404
- if validation_result is None:
405
- raise NotFound("No experiments could be found for input IDs.")
406
-
407
- num_datasets, dataset_id, version_id, num_resolved_experiment_ids = validation_result
408
- if num_datasets != 1:
409
- raise BadRequest("Experiments must belong to the same dataset.")
410
- if num_resolved_experiment_ids != len(experiment_ids):
415
+ ).all()
416
+ if not experiments or len(experiments) < len(experiment_rowids):
411
417
  raise NotFound("Unable to resolve one or more experiment IDs.")
412
-
418
+ num_datasets = len(set(experiment.dataset_id for experiment in experiments))
419
+ if num_datasets > 1:
420
+ raise BadRequest("Experiments must belong to the same dataset.")
421
+ base_experiment = next(
422
+ experiment for experiment in experiments if experiment.id == base_experiment_rowid
423
+ )
413
424
  revision_ids = (
414
425
  select(func.max(models.DatasetExampleRevision.id))
415
426
  .join(
@@ -418,8 +429,9 @@ class Query:
418
429
  )
419
430
  .where(
420
431
  and_(
421
- models.DatasetExampleRevision.dataset_version_id <= version_id,
422
- models.DatasetExample.dataset_id == dataset_id,
432
+ models.DatasetExampleRevision.dataset_version_id
433
+ <= base_experiment.dataset_version_id,
434
+ models.DatasetExample.dataset_id == base_experiment.dataset_id,
423
435
  )
424
436
  )
425
437
  .group_by(models.DatasetExampleRevision.dataset_example_id)
@@ -447,7 +459,7 @@ class Query:
447
459
  examples_query = update_examples_query_with_filter_condition(
448
460
  query=examples_query,
449
461
  filter_condition=filter_condition,
450
- experiment_ids=experiment_ids,
462
+ experiment_ids=experiment_rowids,
451
463
  )
452
464
 
453
465
  examples = (await session.scalars(examples_query)).all()
@@ -466,7 +478,7 @@ class Query:
466
478
  models.ExperimentRun.dataset_example_id.in_(
467
479
  example.id for example in examples
468
480
  ),
469
- models.ExperimentRun.experiment_id.in_(experiment_ids),
481
+ models.ExperimentRun.experiment_id.in_(experiment_rowids),
470
482
  )
471
483
  )
472
484
  .options(joinedload(models.ExperimentRun.trace).load_only(models.Trace.trace_id))
@@ -479,7 +491,7 @@ class Query:
479
491
  cursors_and_nodes = []
480
492
  for example in examples:
481
493
  run_comparison_items = []
482
- for experiment_id in experiment_ids:
494
+ for experiment_id in experiment_rowids:
483
495
  run_comparison_items.append(
484
496
  RunComparisonItem(
485
497
  experiment_id=GlobalID(Experiment.__name__, str(experiment_id)),
@@ -496,7 +508,7 @@ class Query:
496
508
  example=DatasetExample(
497
509
  id_attr=example.id,
498
510
  created_at=example.created_at,
499
- version_id=version_id,
511
+ version_id=base_experiment.dataset_version_id,
500
512
  ),
501
513
  run_comparison_items=run_comparison_items,
502
514
  )
@@ -1491,7 +1503,7 @@ class Query:
1491
1503
  return None
1492
1504
 
1493
1505
  @strawberry.field
1494
- async def get_project_session_by_otel_id(
1506
+ async def get_project_session_by_id(
1495
1507
  self,
1496
1508
  info: Info[Context, None],
1497
1509
  session_id: str,
@@ -2182,17 +2182,17 @@
2182
2182
  "source": "litellm",
2183
2183
  "token_prices": [
2184
2184
  {
2185
- "base_rate": 5e-6,
2185
+ "base_rate": 1.25e-6,
2186
2186
  "is_prompt": true,
2187
2187
  "token_type": "input"
2188
2188
  },
2189
2189
  {
2190
- "base_rate": 0.00002,
2190
+ "base_rate": 0.00001,
2191
2191
  "is_prompt": false,
2192
2192
  "token_type": "output"
2193
2193
  },
2194
2194
  {
2195
- "base_rate": 1.25e-6,
2195
+ "base_rate": 1.25e-7,
2196
2196
  "is_prompt": true,
2197
2197
  "token_type": "cache_read"
2198
2198
  }
@@ -1,22 +1,22 @@
1
1
  {
2
- "_components-BNcxEjYs.js": {
3
- "file": "assets/components-BNcxEjYs.js",
2
+ "_components-BHdwFK1u.js": {
3
+ "file": "assets/components-BHdwFK1u.js",
4
4
  "name": "components",
5
5
  "imports": [
6
6
  "_vendor-BbqekBfb.js",
7
- "_pages-3RoC-adr.js",
7
+ "_pages-wNrdUuht.js",
8
8
  "_vendor-arizeai-CEwHhYfL.js",
9
9
  "_vendor-codemirror-CHApHLLJ.js",
10
10
  "_vendor-three-BLWp5bic.js"
11
11
  ]
12
12
  },
13
- "_pages-3RoC-adr.js": {
14
- "file": "assets/pages-3RoC-adr.js",
13
+ "_pages-wNrdUuht.js": {
14
+ "file": "assets/pages-wNrdUuht.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
17
  "_vendor-BbqekBfb.js",
18
18
  "_vendor-arizeai-CEwHhYfL.js",
19
- "_components-BNcxEjYs.js",
19
+ "_components-BHdwFK1u.js",
20
20
  "_vendor-codemirror-CHApHLLJ.js",
21
21
  "_vendor-recharts-Bqf7C6Cm.js"
22
22
  ]
@@ -75,15 +75,15 @@
75
75
  "name": "vendor-three"
76
76
  },
77
77
  "index.tsx": {
78
- "file": "assets/index-CKIBKnVD.js",
78
+ "file": "assets/index-BuFamj8g.js",
79
79
  "name": "index",
80
80
  "src": "index.tsx",
81
81
  "isEntry": true,
82
82
  "imports": [
83
83
  "_vendor-BbqekBfb.js",
84
84
  "_vendor-arizeai-CEwHhYfL.js",
85
- "_pages-3RoC-adr.js",
86
- "_components-BNcxEjYs.js",
85
+ "_pages-wNrdUuht.js",
86
+ "_components-BHdwFK1u.js",
87
87
  "_vendor-three-BLWp5bic.js",
88
88
  "_vendor-codemirror-CHApHLLJ.js",
89
89
  "_vendor-shiki-BQ88Q1b1.js",
@@ -1,4 +1,4 @@
1
- import{r as p,j as e,u as ot,a as rn,e as Wn,s as xa,b as Ta,c as In,d as ja,f as ho,g as Qe,h as fo,i as bo,k as Za,l as s,m as hn,p as sa,n as Nn,R as an,o as F,q as st,t as Mn,v as yo,C as ea,w as vo,x as Co,L as El,y as _l,z as Dl,A as Ke,B as tn,D as q,E as ko,F as cn,G as Lo,H as wo,I as Re,J as Je,K as B,M as So,N as se,O as fn,P as En,Q as Kl,S as wn,T as ca,U as m,V as Vl,$ as N,W as xo,X as Pl,Y as P,Z as Rl,_ as Te,a0 as To,a1 as Ao,a2 as bn,a3 as Io,a4 as j,a5 as gn,a6 as V,a7 as G,a8 as ee,a9 as Ol,aa as Nl,ab as Mo,ac as $l,ad as zo,ae as Hl,af as Fo,ag as Eo,ah as _o,ai as Do,aj as Ko,ak as Bl,al as Vo,am as Po,an as Ro,ao as xe,ap as jl,aq as Oe,ar as Oo,as as No,at as Ze,au as Ua,av as Ga,aw as Qa,ax as U,ay as yn,az as Zt,aA as Zl,aB as Ul,aC as $o,aD as Ho,aE as Bo,aF as jo,aG as Zo,aH as Uo,aI as Gl,aJ as Go,aK as Qo,aL as Wo,aM as qo,aN as Xo,aO as Yo,aP as Jo,aQ as ct,aR as te,aS as e1,aT as n1,aU as Ql,aV as a1,aW as t1,aX as Ae,aY as Wl,aZ as Ut,a_ as l1,a$ as ql,b0 as pe,b1 as i1,b2 as dt,b3 as r1,b4 as o1,b5 as s1,b6 as c1,b7 as Gt,b8 as Xl,b9 as d1,ba as u1,bb as g1,bc as ut,bd as m1,be as p1,bf as da,bg as h1,bh as f1,bi as b1,bj as y1,bk as Yl,bl as v1,bm as C1,bn as k1,bo as L1,bp as w1,bq as S1,br as x1,bs as Qt,bt as T1,bu as A1,bv as Aa,bw as I1,bx as M1,by as z1,bz as F1,bA as E1,bB as _1,bC as D1,bD as K1,bE as V1,bF as qn}from"./vendor-BbqekBfb.js";import{a as Wt,R as P1,b as R1,c as O1,m as N1,T as $1,A as H1,S as B1,d as j1,e as Z1,f as U1,u as G1}from"./pages-3RoC-adr.js";import{u as Q1,_ as W1,F as Jl,I as q1,a as X1,b as Y1,c as J1,d as es,e as ns,f as as,P as ts,g as ls,h as is,i as rs,T as os,j as ss}from"./vendor-arizeai-CEwHhYfL.js";import{L as ei,a as ni,j as ai,E as gt,k as ti,d as li,l as Wa,b as ii,h as cs,c as ds,e as us,f as gs,g as ms,i as ps,s as hs,m as $n,n as Hn,R as Bn,p as fs,o as bs}from"./vendor-codemirror-CHApHLLJ.js";import{V as ys}from"./vendor-three-BLWp5bic.js";const ri=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},a={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},t={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},l={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},i={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},r=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],o=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:r,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:r,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[n,a,t,l,i],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:o,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,a,l,i],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:o},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
1
+ import{r as p,j as e,u as ot,a as rn,e as Wn,s as xa,b as Ta,c as In,d as ja,f as ho,g as Qe,h as fo,i as bo,k as Za,l as s,m as hn,p as sa,n as Nn,R as an,o as F,q as st,t as Mn,v as yo,C as ea,w as vo,x as Co,L as El,y as _l,z as Dl,A as Ke,B as tn,D as q,E as ko,F as cn,G as Lo,H as wo,I as Re,J as Je,K as B,M as So,N as se,O as fn,P as En,Q as Kl,S as wn,T as ca,U as m,V as Vl,$ as N,W as xo,X as Pl,Y as P,Z as Rl,_ as Te,a0 as To,a1 as Ao,a2 as bn,a3 as Io,a4 as j,a5 as gn,a6 as V,a7 as G,a8 as ee,a9 as Ol,aa as Nl,ab as Mo,ac as $l,ad as zo,ae as Hl,af as Fo,ag as Eo,ah as _o,ai as Do,aj as Ko,ak as Bl,al as Vo,am as Po,an as Ro,ao as xe,ap as jl,aq as Oe,ar as Oo,as as No,at as Ze,au as Ua,av as Ga,aw as Qa,ax as U,ay as yn,az as Zt,aA as Zl,aB as Ul,aC as $o,aD as Ho,aE as Bo,aF as jo,aG as Zo,aH as Uo,aI as Gl,aJ as Go,aK as Qo,aL as Wo,aM as qo,aN as Xo,aO as Yo,aP as Jo,aQ as ct,aR as te,aS as e1,aT as n1,aU as Ql,aV as a1,aW as t1,aX as Ae,aY as Wl,aZ as Ut,a_ as l1,a$ as ql,b0 as pe,b1 as i1,b2 as dt,b3 as r1,b4 as o1,b5 as s1,b6 as c1,b7 as Gt,b8 as Xl,b9 as d1,ba as u1,bb as g1,bc as ut,bd as m1,be as p1,bf as da,bg as h1,bh as f1,bi as b1,bj as y1,bk as Yl,bl as v1,bm as C1,bn as k1,bo as L1,bp as w1,bq as S1,br as x1,bs as Qt,bt as T1,bu as A1,bv as Aa,bw as I1,bx as M1,by as z1,bz as F1,bA as E1,bB as _1,bC as D1,bD as K1,bE as V1,bF as qn}from"./vendor-BbqekBfb.js";import{a as Wt,R as P1,b as R1,c as O1,m as N1,T as $1,A as H1,S as B1,d as j1,e as Z1,f as U1,u as G1}from"./pages-wNrdUuht.js";import{u as Q1,_ as W1,F as Jl,I as q1,a as X1,b as Y1,c as J1,d as es,e as ns,f as as,P as ts,g as ls,h as is,i as rs,T as os,j as ss}from"./vendor-arizeai-CEwHhYfL.js";import{L as ei,a as ni,j as ai,E as gt,k as ti,d as li,l as Wa,b as ii,h as cs,c as ds,e as us,f as gs,g as ms,i as ps,s as hs,m as $n,n as Hn,R as Bn,p as fs,o as bs}from"./vendor-codemirror-CHApHLLJ.js";import{V as ys}from"./vendor-three-BLWp5bic.js";const ri=function(){var n={defaultValue:null,kind:"LocalArgument",name:"clusters"},a={defaultValue:null,kind:"LocalArgument",name:"dataQualityMetricColumnName"},t={defaultValue:null,kind:"LocalArgument",name:"fetchDataQualityMetric"},l={defaultValue:null,kind:"LocalArgument",name:"fetchPerformanceMetric"},i={defaultValue:null,kind:"LocalArgument",name:"performanceMetric"},r=[{alias:null,args:null,kind:"ScalarField",name:"primaryValue",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"referenceValue",storageKey:null}],o=[{alias:null,args:[{kind:"Variable",name:"clusters",variableName:"clusters"}],concreteType:"Cluster",kind:"LinkedField",name:"clusters",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"eventIds",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"driftRatio",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"primaryToCorpusRatio",storageKey:null},{condition:"fetchDataQualityMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"columnName",variableName:"dataQualityMetricColumnName"},{kind:"Literal",name:"metric",value:"mean"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"dataQualityMetric",plural:!1,selections:r,storageKey:null}]},{condition:"fetchPerformanceMetric",kind:"Condition",passingValue:!0,selections:[{alias:null,args:[{fields:[{kind:"Variable",name:"metric",variableName:"performanceMetric"}],kind:"ObjectValue",name:"metric"}],concreteType:"DatasetValues",kind:"LinkedField",name:"performanceMetric",plural:!1,selections:r,storageKey:null}]}],storageKey:null}];return{fragment:{argumentDefinitions:[n,a,t,l,i],kind:"Fragment",metadata:null,name:"pointCloudStore_clusterMetricsQuery",selections:o,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[n,t,a,l,i],kind:"Operation",name:"pointCloudStore_clusterMetricsQuery",selections:o},params:{cacheID:"86666967012812887ac0a0149d2d2535",id:null,metadata:{},name:"pointCloudStore_clusterMetricsQuery",operationKind:"query",text:`query pointCloudStore_clusterMetricsQuery(
2
2
  $clusters: [ClusterInput!]!
3
3
  $fetchDataQualityMetric: Boolean!
4
4
  $dataQualityMetricColumnName: String
@@ -5645,4 +5645,4 @@ resource: new Resource({
5645
5645
  id
5646
5646
  }
5647
5647
  }
5648
- `}}}();po.hash="7772e95d9d4cf1f8435cb8fcf8e77081";function z6({experimentId:n}){const a=F.useLazyLoadQuery(po,{experimentId:n}),t=p.useMemo(()=>{if(a.experiment.__typename==="Experiment"){const l=a.experiment.costSummary.prompt.tokens,i=a.experiment.costSummary.completion.tokens,r=a.experiment.costSummary.total.tokens,o=a.experiment.runCount,c=r==null||o==0?null:r/o,d=l==null||o==0?null:l/o,u=i==null||o==0?null:i/o;return{total:c,prompt:d,completion:u}}return{total:null,prompt:null,completion:null}},[a.experiment]);return e(ln,{...t,label:"Average"})}function lp(n){return n.averageRunTokenCountTotal==null?e(_e,{size:n.size,children:null}):s(N,{children:[e(te,{children:e(_e,{size:n.size,role:"button",children:n.averageRunTokenCountTotal})}),s(ce,{children:[e(ae,{}),e(p.Suspense,{fallback:e(ue,{}),children:e(z6,{experimentId:n.experimentId})})]})]})}export{Ui as $,Be as A,en as B,t7 as C,Mi as D,nn as E,x as F,Vn as G,Z8 as H,S as I,C as J,W0 as K,M as L,I as M,e8 as N,Pt as O,qa as P,Xi as Q,A8 as R,T8 as S,Pe as T,jn as U,mi as V,ft as W,W as X,E8 as Y,_8 as Z,Kn as _,ha as a,Q as a$,Dt as a0,g8 as a1,H7 as a2,O7 as a3,j3 as a4,ig as a5,tr as a6,oa as a7,Ye as a8,Wi as a9,M5 as aA,vn as aB,ur as aC,z5 as aD,dr as aE,Cn as aF,G6 as aG,or as aH,At as aI,L8 as aJ,k8 as aK,A7 as aL,I7 as aM,$g as aN,Ng as aO,et as aP,Kt as aQ,J7 as aR,Q8 as aS,Hc as aT,k2 as aU,ce as aV,ar as aW,b5 as aX,Ie as aY,Ce as aZ,be as a_,ve as aa,ae as ab,lr as ac,ne as ad,ue as ae,ji as af,sr as ag,Vs as ah,va as ai,ug as aj,gg as ak,bg as al,dg as am,_t as an,og as ao,cg as ap,Id as aq,hl as ar,V8 as as,Td as at,O3 as au,vg as av,yg as aw,Rg as ax,Og as ay,dl as az,Ei as b,y7 as b$,ie as b0,w5 as b1,Eg as b2,Tg as b3,Ag as b4,xg as b5,Sg as b6,We as b7,Ee as b8,F8 as b9,r8 as bA,jg as bB,d8 as bC,qg as bD,Wg as bE,o8 as bF,Gg as bG,P8 as bH,Jg as bI,j6 as bJ,B6 as bK,$8 as bL,N8 as bM,C8 as bN,n7 as bO,v8 as bP,y8 as bQ,ir as bR,g7 as bS,u7 as bT,_7 as bU,b8 as bV,k7 as bW,L7 as bX,w7 as bY,nm as bZ,em as b_,q8 as ba,X8 as bb,Y8 as bc,J8 as bd,eg as be,q2 as bf,G8 as bg,w8 as bh,B7 as bi,M8 as bj,Ug as bk,Yg as bl,Xg as bm,Ne as bn,Q6 as bo,Zg as bp,Qg as bq,Q7 as br,i8 as bs,X7 as bt,u8 as bu,s8 as bv,G7 as bw,Bg as bx,h8 as by,Hg as bz,wt as c,hm as c$,Un as c0,fa as c1,ba as c2,w0 as c3,A0 as c4,sg as c5,X3 as c6,q3 as c7,n8 as c8,Sd as c9,Cg as cA,Yi as cB,vm as cC,i4 as cD,Cm as cE,km as cF,f4 as cG,b4 as cH,V7 as cI,r4 as cJ,bm as cK,S8 as cL,mg as cM,Lm as cN,s5 as cO,wm as cP,q7 as cQ,a8 as cR,xm as cS,Tm as cT,mc as cU,D7 as cV,j5 as cW,le as cX,Cc as cY,V6 as cZ,mm as c_,U0 as ca,t0 as cb,T7 as cc,C0 as cd,p8 as ce,W3 as cf,Z5 as cg,lg as ch,Et as ci,t2 as cj,tm as ck,hc as cl,de as cm,zt as cn,F7 as co,z8 as cp,je as cq,N3 as cr,z3 as cs,fm as ct,Du as cu,wu as cv,sm as cw,Bi as cx,n4 as cy,K3 as cz,P6 as d,kg as d$,pm as d0,yl as d1,l8 as d2,mu as d3,ym as d4,um as d5,_u as d6,gm as d7,$7 as d8,N7 as d9,P0 as dA,B8 as dB,j8 as dC,Mm as dD,Fm as dE,am as dF,Zc as dG,Vt as dH,Pg as dI,Mt as dJ,om as dK,cm as dL,im as dM,ua as dN,Fs as dO,Em as dP,_m as dQ,Dm as dR,Vm as dS,Km as dT,As as dU,Ts as dV,A as dW,_4 as dX,Mg as dY,zg as dZ,Fg as d_,Am as da,M0 as db,fg as dc,lm as dd,U8 as de,rg as df,t8 as dg,Ft as dh,ye as di,O0 as dj,Im as dk,E7 as dl,K8 as dm,D8 as dn,a7 as dp,v0 as dq,f7 as dr,b7 as ds,h7 as dt,wa as du,x7 as dv,zm as dw,o7 as dx,r7 as dy,i7 as dz,m7 as e,Nc as e$,Lg as e0,wg as e1,W4 as e2,q4 as e3,Y7 as e4,xi as e5,a9 as e6,Fn as e7,qe as e8,no as e9,we as eA,K9 as eB,l5 as eC,dm as eD,p7 as eE,c8 as eF,Zm as eG,Um as eH,U7 as eI,I8 as eJ,I2 as eK,M4 as eL,u3 as eM,H8 as eN,hg as eO,Vu as eP,Gm as eQ,rm as eR,Ig as eS,Vg as eT,_g as eU,ng as eV,ag as eW,W8 as eX,N6 as eY,R6 as eZ,Pc as e_,nt as ea,mn as eb,x8 as ec,jm as ed,Nm as ee,Ct as ef,$m as eg,Bm as eh,Y6 as ei,X6 as ej,J6 as ek,O6 as el,Pm as em,z7 as en,gi as eo,Om as ep,Hm as eq,Rm as er,R3 as es,Kg as et,nr as eu,Dg as ev,K7 as ew,e7 as ex,Qc as ey,W7 as ez,G0 as f,k6 as f0,ke as f1,Wm as f2,Qm as f3,un as f4,u5 as f5,Sm as f6,R8 as f7,wc as f8,m8 as f9,q6 as fA,W6 as fB,P7 as fC,U6 as fD,j7 as fE,Vc as fF,f8 as fG,H6 as fH,Z6 as fI,$6 as fJ,pg as fa,B3 as fb,zc as fc,a5 as fd,F3 as fe,qm as ff,Z7 as fg,R7 as fh,Ji as fi,O8 as fj,ap as fk,Jm as fl,np as fm,cl as fn,Xm as fo,_e as fp,Ym as fq,lp as fr,ep as fs,_c as ft,tg as fu,Ni as fv,Pd as fw,M6 as fx,tp as fy,Rc as fz,ta as g,S7 as h,he as i,aa as j,l0 as k,I0 as l,K as m,l7 as n,V0 as o,v7 as p,C7 as q,s7 as r,zs as s,d7 as t,c7 as u,y0 as v,M7 as w,fe as x,$e as y,He as z};
5648
+ `}}}();po.hash="7772e95d9d4cf1f8435cb8fcf8e77081";function z6({experimentId:n}){const a=F.useLazyLoadQuery(po,{experimentId:n}),t=p.useMemo(()=>{if(a.experiment.__typename==="Experiment"){const l=a.experiment.costSummary.prompt.tokens,i=a.experiment.costSummary.completion.tokens,r=a.experiment.costSummary.total.tokens,o=a.experiment.runCount,c=r==null||o==0?null:r/o,d=l==null||o==0?null:l/o,u=i==null||o==0?null:i/o;return{total:c,prompt:d,completion:u}}return{total:null,prompt:null,completion:null}},[a.experiment]);return e(ln,{...t,label:"Average"})}function lp(n){return n.averageRunTokenCountTotal==null?e(_e,{size:n.size,children:null}):s(N,{children:[e(te,{children:e(_e,{size:n.size,role:"button",children:n.averageRunTokenCountTotal})}),s(ce,{children:[e(ae,{}),e(p.Suspense,{fallback:e(ue,{}),children:e(z6,{experimentId:n.experimentId})})]})]})}export{Ui as $,Be as A,en as B,t7 as C,Mi as D,nn as E,x as F,Vn as G,Z8 as H,S as I,C as J,W0 as K,M as L,I as M,e8 as N,Pt as O,qa as P,Xi as Q,A8 as R,T8 as S,Pe as T,jn as U,mi as V,ft as W,W as X,E8 as Y,_8 as Z,Kn as _,ha as a,Q as a$,Dt as a0,g8 as a1,H7 as a2,O7 as a3,j3 as a4,ig as a5,tr as a6,oa as a7,Ye as a8,Wi as a9,M5 as aA,vn as aB,ur as aC,z5 as aD,dr as aE,Cn as aF,G6 as aG,or as aH,At as aI,L8 as aJ,k8 as aK,A7 as aL,I7 as aM,$g as aN,Ng as aO,et as aP,Kt as aQ,J7 as aR,Q8 as aS,Hc as aT,k2 as aU,ce as aV,ar as aW,b5 as aX,Ie as aY,Ce as aZ,be as a_,ve as aa,ae as ab,lr as ac,ne as ad,ue as ae,ji as af,sr as ag,Vs as ah,va as ai,ug as aj,gg as ak,bg as al,dg as am,_t as an,og as ao,cg as ap,Id as aq,hl as ar,V8 as as,Td as at,O3 as au,vg as av,yg as aw,Rg as ax,Og as ay,dl as az,Ei as b,y7 as b$,ie as b0,w5 as b1,Eg as b2,Tg as b3,Ag as b4,xg as b5,Sg as b6,We as b7,Ee as b8,F8 as b9,r8 as bA,jg as bB,d8 as bC,qg as bD,Wg as bE,o8 as bF,Gg as bG,P8 as bH,Jg as bI,j6 as bJ,B6 as bK,$8 as bL,N8 as bM,C8 as bN,n7 as bO,v8 as bP,y8 as bQ,ir as bR,g7 as bS,u7 as bT,_7 as bU,b8 as bV,k7 as bW,L7 as bX,w7 as bY,nm as bZ,em as b_,q8 as ba,X8 as bb,Y8 as bc,J8 as bd,eg as be,q2 as bf,G8 as bg,w8 as bh,B7 as bi,M8 as bj,Ug as bk,Yg as bl,Xg as bm,Ne as bn,Q6 as bo,Zg as bp,Qg as bq,Q7 as br,i8 as bs,X7 as bt,u8 as bu,s8 as bv,G7 as bw,Bg as bx,h8 as by,Hg as bz,wt as c,hm as c$,Un as c0,fa as c1,ba as c2,w0 as c3,A0 as c4,sg as c5,X3 as c6,q3 as c7,n8 as c8,Sd as c9,Cg as cA,Yi as cB,vm as cC,i4 as cD,Cm as cE,km as cF,f4 as cG,b4 as cH,V7 as cI,r4 as cJ,bm as cK,S8 as cL,mg as cM,Lm as cN,s5 as cO,wm as cP,q7 as cQ,a8 as cR,xm as cS,Tm as cT,mc as cU,D7 as cV,j5 as cW,le as cX,Cc as cY,V6 as cZ,mm as c_,U0 as ca,t0 as cb,T7 as cc,C0 as cd,p8 as ce,W3 as cf,Z5 as cg,lg as ch,Et as ci,t2 as cj,tm as ck,hc as cl,de as cm,zt as cn,F7 as co,z8 as cp,je as cq,N3 as cr,z3 as cs,fm as ct,Du as cu,wu as cv,sm as cw,Bi as cx,n4 as cy,K3 as cz,P6 as d,kg as d$,pm as d0,yl as d1,l8 as d2,mu as d3,ym as d4,um as d5,_u as d6,gm as d7,$7 as d8,N7 as d9,P0 as dA,B8 as dB,j8 as dC,Mm as dD,Fm as dE,am as dF,Zc as dG,Vt as dH,Pg as dI,Mt as dJ,om as dK,cm as dL,im as dM,ua as dN,Fs as dO,Em as dP,_m as dQ,Dm as dR,Vm as dS,Km as dT,As as dU,Ts as dV,A as dW,_4 as dX,Mg as dY,zg as dZ,Fg as d_,Am as da,M0 as db,fg as dc,lm as dd,U8 as de,rg as df,t8 as dg,Ft as dh,ye as di,O0 as dj,Im as dk,E7 as dl,K8 as dm,D8 as dn,a7 as dp,v0 as dq,f7 as dr,b7 as ds,h7 as dt,wa as du,x7 as dv,zm as dw,o7 as dx,r7 as dy,i7 as dz,m7 as e,Nc as e$,Lg as e0,wg as e1,W4 as e2,q4 as e3,Y7 as e4,xi as e5,a9 as e6,Fn as e7,qe as e8,no as e9,we as eA,K9 as eB,l5 as eC,dm as eD,p7 as eE,c8 as eF,Zm as eG,Um as eH,U7 as eI,I8 as eJ,I2 as eK,M4 as eL,u3 as eM,H8 as eN,hg as eO,Vu as eP,Gm as eQ,rm as eR,Ig as eS,Vg as eT,_g as eU,ng as eV,ag as eW,W8 as eX,N6 as eY,R6 as eZ,Pc as e_,nt as ea,mn as eb,x8 as ec,jm as ed,Nm as ee,Ct as ef,$m as eg,Bm as eh,Y6 as ei,X6 as ej,J6 as ek,O6 as el,Pm as em,z7 as en,gi as eo,Om as ep,Hm as eq,Rm as er,R3 as es,Kg as et,nr as eu,Dg as ev,K7 as ew,e7 as ex,Qc as ey,W7 as ez,G0 as f,k6 as f0,ke as f1,Wm as f2,Qm as f3,un as f4,u5 as f5,Sm as f6,R8 as f7,wc as f8,m8 as f9,W6 as fA,P7 as fB,U6 as fC,j7 as fD,Vc as fE,f8 as fF,H6 as fG,Z6 as fH,$6 as fI,pg as fa,B3 as fb,a5 as fc,F3 as fd,qm as fe,Z7 as ff,R7 as fg,Ji as fh,O8 as fi,ap as fj,Jm as fk,np as fl,cl as fm,Xm as fn,_e as fo,Ym as fp,lp as fq,ep as fr,_c as fs,tg as ft,Ni as fu,Pd as fv,M6 as fw,tp as fx,Rc as fy,q6 as fz,ta as g,S7 as h,he as i,aa as j,l0 as k,I0 as l,K as m,l7 as n,V0 as o,v7 as p,C7 as q,s7 as r,zs as s,d7 as t,c7 as u,y0 as v,M7 as w,fe as x,$e as y,He as z};
@@ -1,4 +1,4 @@
1
- import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as w,o as P,eF as k}from"./vendor-BbqekBfb.js";import{r as S,s as L}from"./vendor-arizeai-CEwHhYfL.js";import{L as C,g as R,r as j,h as I,i as E,F as D,j as A,P as F,k as T,M as t,l as M,D as _,n as G,E as O,o as N,p as q,q as B,s as V,t as d,v as W,w as U,x as $,y as H,z as J,B as K,C as X,G as Y,H as Q,I as Z,J as oo,K as ao,N as lo,O as ro,Q as co,U as go,V as eo,W as m,X as p,Y as u,Z as bo,_ as no,$ as io,a0 as so,a1 as to,a2 as mo,a3 as po,a4 as uo,a5 as fo,a6 as ho,a7 as vo,a8 as yo,a9 as xo,aa as zo,ab as wo,ac as Po,ad as ko,ae as So,af as Lo,ag as Co,ah as Ro,ai as jo,aj as Io,ak as Eo,al as Do,am as Ao,an as Fo,ao as To,ap as Mo,aq as _o,ar as Go,as as Oo,at as No,au as qo,av as Bo,aw as Vo,ax as n,ay as Wo,az as Uo,aA as $o,aB as Ho,aC as Jo,aD as Ko,aE as Xo}from"./pages-3RoC-adr.js";import{fH as Yo,cX as Qo,U as Zo,fI as oa,fJ as aa}from"./components-BNcxEjYs.js";import"./vendor-three-BLWp5bic.js";import"./vendor-codemirror-CHApHLLJ.js";import"./vendor-shiki-BQ88Q1b1.js";import"./vendor-recharts-Bqf7C6Cm.js";(function(){const b=document.createElement("link").relList;if(b&&b.supports&&b.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const e of c)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function f(c){const e={};return c.integrity&&(e.integrity=c.integrity),c.referrerPolicy&&(e.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?e.credentials="include":c.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function s(c){if(c.ep)return;c.ep=!0;const e=f(c);fetch(c.href,e)}})();const la=g`
1
+ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as w,o as P,eF as k}from"./vendor-BbqekBfb.js";import{r as S,s as L}from"./vendor-arizeai-CEwHhYfL.js";import{L as C,g as R,r as j,h as I,i as E,F as D,j as A,P as F,k as T,M as t,l as G,D as M,n as _,E as O,o as N,p as V,q,s as B,t as d,v as W,w as U,x as $,y as H,z as K,B as X,C as Y,G as J,H as Q,I as Z,J as oo,K as ao,N as lo,O as ro,Q as co,U as go,V as eo,W as m,X as p,Y as u,Z as bo,_ as no,$ as io,a0 as so,a1 as to,a2 as mo,a3 as po,a4 as uo,a5 as fo,a6 as ho,a7 as vo,a8 as yo,a9 as xo,aa as zo,ab as wo,ac as Po,ad as ko,ae as So,af as Lo,ag as Co,ah as Ro,ai as jo,aj as Io,ak as Eo,al as Do,am as Ao,an as Fo,ao as To,ap as Go,aq as Mo,ar as _o,as as Oo,at as No,au as Vo,av as qo,aw as Bo,ax as Wo,ay as Uo,az as n,aA as $o,aB as Ho,aC as Ko,aD as Xo,aE as Yo,aF as Jo,aG as Qo}from"./pages-wNrdUuht.js";import{fG as Zo,cX as oa,U as aa,fH as la,fI as ra}from"./components-BHdwFK1u.js";import"./vendor-three-BLWp5bic.js";import"./vendor-codemirror-CHApHLLJ.js";import"./vendor-shiki-BQ88Q1b1.js";import"./vendor-recharts-Bqf7C6Cm.js";(function(){const b=document.createElement("link").relList;if(b&&b.supports&&b.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const e of c)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function f(c){const e={};return c.integrity&&(e.integrity=c.integrity),c.referrerPolicy&&(e.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?e.credentials="include":c.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function s(c){if(c.ep)return;c.ep=!0;const e=f(c);fetch(c.href,e)}})();const ca=g`
2
2
  :root,
3
3
  .ac-theme {
4
4
  --ac-global-dimension-scale-factor: 1;
@@ -54,7 +54,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
54
54
  --ac-global-dimension-size-5000: 400px;
55
55
  --ac-global-dimension-size-6000: 480px;
56
56
  }
57
- `,ra=g`
57
+ `,ga=g`
58
58
  :root,
59
59
  .ac-theme {
60
60
  // static colors
@@ -71,7 +71,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
71
71
  --ac-global-button-height-s: var(--ac-global-input-height-s);
72
72
  --ac-global-button-height-m: var(--ac-global-input-height-m);
73
73
  }
74
- `,ca=g`
74
+ `,ea=g`
75
75
  :root,
76
76
  .ac-theme {
77
77
  --ac-global-dimension-static-size-0: 0px;
@@ -152,7 +152,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
152
152
  --ac-global-dimension-font-size-1200: 50px;
153
153
  --ac-global-dimension-font-size-1300: 60px;
154
154
  }
155
- `,ga=g`
155
+ `,ba=g`
156
156
  :root,
157
157
  .ac-theme--dark {
158
158
  /* Colors */
@@ -666,7 +666,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
666
666
  --ac-floating-toolbar-background-color: var(--ac-global-color-grey-200);
667
667
  --ac-floating-toolbar-border-color: var(--ac-global-color-grey-300);
668
668
  }
669
- `,ea=g`
669
+ `,na=g`
670
670
  :root,
671
671
  .ac-theme--light {
672
672
  /* Colors */
@@ -915,7 +915,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
915
915
  --ac-floating-toolbar-background-color: var(--ac-global-color-grey-75);
916
916
  --ac-floating-toolbar-border-color: var(--ac-global-color-grey-200);
917
917
  }
918
- `,ba=l=>g`
918
+ `,ia=l=>g`
919
919
  :root,
920
920
  .ac-theme--${l} {
921
921
  // The primary color tint for the apps
@@ -1069,12 +1069,12 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
1069
1069
  --ac-alias-single-line-height: var(--ac-global-dimension-size-400);
1070
1070
  --ac-alias-single-line-width: var(--ac-global-dimension-size-2400);
1071
1071
  }
1072
- `,na=g`
1072
+ `,sa=g`
1073
1073
  :root,
1074
1074
  .ac-theme {
1075
1075
  --ac-opacity-disabled: 0.6;
1076
1076
  }
1077
- `,ia=g`
1077
+ `,ta=g`
1078
1078
  body,
1079
1079
  input,
1080
1080
  button,
@@ -1208,7 +1208,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
1208
1208
  --px-corpus-color: #92969c;
1209
1209
  --px-corpus-color--transparent: #92969c63;
1210
1210
  }
1211
- `,sa=g`
1211
+ `,da=g`
1212
1212
  .ac-theme--light {
1213
1213
  .cm-editor {
1214
1214
  background-color: rgba(255, 255, 255, 0.5) !important;
@@ -1225,7 +1225,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
1225
1225
  background-color: rgba(0, 0, 0, 0.2) !important;
1226
1226
  }
1227
1227
  }
1228
- `,ta=g`
1228
+ `,ma=g`
1229
1229
  .react-grid-item.react-grid-placeholder {
1230
1230
  // the placeholder doesn't look good
1231
1231
  background: var(--ac-global-color-blue-500);
@@ -1234,7 +1234,7 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
1234
1234
  .ac-theme--dark .react-resizable-handle {
1235
1235
  filter: invert(1);
1236
1236
  }
1237
- `,da=g`
1237
+ `,pa=g`
1238
1238
  .ac-theme {
1239
1239
  --chart-cartesian-grid-stroke-color: var(--ac-global-color-grey-300);
1240
1240
  --chart-axis-stroke-color: var(--ac-global-color-grey-300);
@@ -1248,4 +1248,4 @@ import{U as g,j as o,cY as h,eB as v,eC as y,eD as x,l as r,cl as z,eE as a,r as
1248
1248
  .ac-theme--light {
1249
1249
  --chart-tooltip-cursor-fill-color: rgba(0, 0, 0, 0.05);
1250
1250
  }
1251
- `;function ma(){const{theme:l="dark"}=S();return o(h,{styles:g(ca,ra,l==="dark"?ga:ea,ba(l),la,na,ia,sa,ta,da)})}const pa=v(y(r(a,{path:"/",errorElement:o(n,{}),children:[o(a,{path:"/v1/*",element:o(z,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(C,{})}),o(a,{path:"/logout",element:o(R,{})}),o(a,{path:"/reset-password",element:o(I,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(E,{})}),o(a,{path:"/forgot-password",element:o(D,{})}),o(a,{element:o(Ho,{}),loader:A,children:r(a,{element:o($o,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(F,{})}),o(a,{index:!0,loader:T}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(N,{}),children:[o(a,{index:!0,element:o(t,{})}),o(a,{element:o(t,{}),children:o(a,{path:"dimensions",children:o(a,{path:":dimensionId",element:o(_,{}),loader:M})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:G,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(Z,{}),children:[o(a,{index:!0,element:o(q,{})}),r(a,{path:":projectId",loader:B,handle:{crumb:l=>l.project.name},element:o(Q,{}),children:[o(a,{index:!0,element:o(V,{})}),r(a,{element:o(Y,{}),children:[o(a,{path:"traces",element:o(W,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(U,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(J,{}),children:o(a,{path:":sessionId",element:o(H,{}),loader:$})}),o(a,{path:"config",element:o(K,{})}),o(a,{path:"metrics",element:o(X,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"Dashboards"},element:o(go,{}),children:[o(a,{index:!0,element:o(ao,{}),loader:oo}),o(a,{path:"projects/:projectId",element:o(ro,{}),loader:lo,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(co,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(eo,{})}),r(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(so,{}),loader:m,children:[o(a,{index:!0,element:o(u,{}),loader:p}),o(a,{path:"experiments",element:o(u,{}),loader:p}),o(a,{path:"examples",element:o(io,{}),loader:bo,children:o(a,{path:":exampleId",element:o(no,{})})})]}),o(a,{path:"compare",element:o(mo,{}),loader:to,handle:{crumb:()=>"compare"}})]})]}),r(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(po,{})}),o(a,{path:"spans/:spanId",element:o(fo,{}),loader:uo,handle:{crumb:l=>l.span.__typename==="Span"?`span ${l.span.spanId}`:"span unknown"}})]}),r(a,{path:"/prompts",handle:{crumb:()=>"Prompts"},children:[o(a,{index:!0,element:o(vo,{}),loader:ho}),r(a,{path:":promptId",loader:yo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(Co,{}),children:[o(a,{index:!0,element:o(xo,{})}),o(a,{path:"versions",loader:zo,element:o(ko,{}),children:o(a,{path:":versionId",loader:wo,element:o(Po,{})})}),o(a,{path:"config",element:o(Lo,{}),loader:So})]}),o(a,{path:"playground",element:o(jo,{}),loader:Ro,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Io,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Eo,{}),handle:{crumb:()=>"Support"}}),r(a,{path:"/settings",element:o(Bo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Do,element:o(Ao,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Fo,element:o(To,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:Mo,element:o(_o,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"annotations",loader:Go,element:o(Oo,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(qo,{}),handle:{crumb:()=>"Data Retention"},loader:No})]}),o(a,{path:"/redirects/spans/:span_otel_id",loader:Vo,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:Wo,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_otel_id",loader:Uo,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function ua(){return o(x,{router:pa})}function fa(){return o(Jo,{children:o(Yo,{children:o(ha,{})})})}function ha(){const{theme:l}=Qo();return o(L,{theme:l,mountGlobalStyles:!1,children:r(P.RelayEnvironmentProvider,{environment:Zo,children:[o(ma,{}),o(Ko,{children:o(oa,{children:o(Xo,{children:o(w.Suspense,{children:o(aa,{children:o(ua,{})})})})})})]})})}const va=document.getElementById("root"),ya=k.createRoot(va);ya.render(o(fa,{}));
1251
+ `;function ua(){const{theme:l="dark"}=S();return o(h,{styles:g(ea,ga,l==="dark"?ba:na,ia(l),ca,sa,ta,da,ma,pa)})}const fa=v(y(r(a,{path:"/",errorElement:o(n,{}),children:[o(a,{path:"/v1/*",element:o(z,{to:"/",replace:!0})}),o(a,{path:"/login",element:o(C,{})}),o(a,{path:"/logout",element:o(R,{})}),o(a,{path:"/reset-password",element:o(I,{}),loader:j}),o(a,{path:"/reset-password-with-token",element:o(E,{})}),o(a,{path:"/forgot-password",element:o(D,{})}),o(a,{element:o(Xo,{}),loader:A,children:r(a,{element:o(Ko,{}),children:[o(a,{path:"/profile",handle:{crumb:()=>"profile"},element:o(F,{})}),o(a,{index:!0,loader:T}),r(a,{path:"/model",handle:{crumb:()=>"model"},element:o(N,{}),children:[o(a,{index:!0,element:o(t,{})}),o(a,{element:o(t,{}),children:o(a,{path:"dimensions",children:o(a,{path:":dimensionId",element:o(M,{}),loader:G})})}),o(a,{path:"embeddings",children:o(a,{path:":embeddingDimensionId",element:o(O,{}),loader:_,handle:{crumb:l=>l.embedding.name}})})]}),r(a,{path:"/projects",handle:{crumb:()=>"Projects"},element:o(Z,{}),children:[o(a,{index:!0,element:o(V,{})}),r(a,{path:":projectId",loader:q,handle:{crumb:l=>l.project.name},element:o(Q,{}),children:[o(a,{index:!0,element:o(B,{})}),r(a,{element:o(J,{}),children:[o(a,{path:"traces",element:o(W,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"spans",element:o(U,{}),children:o(a,{path:":traceId",element:o(d,{})})}),o(a,{path:"sessions",element:o(K,{}),children:o(a,{path:":sessionId",element:o(H,{}),loader:$})}),o(a,{path:"config",element:o(X,{})}),o(a,{path:"metrics",element:o(Y,{})})]})]})]}),r(a,{path:"/dashboards",handle:{crumb:()=>"Dashboards"},element:o(go,{}),children:[o(a,{index:!0,element:o(ao,{}),loader:oo}),o(a,{path:"projects/:projectId",element:o(ro,{}),loader:lo,handle:{crumb:l=>l.project.name}}),o(a,{path:":dashboardId",handle:{crumb:()=>"dashboard"},element:o(co,{})})]}),r(a,{path:"/datasets",handle:{crumb:()=>"Datasets"},children:[o(a,{index:!0,element:o(eo,{})}),r(a,{path:":datasetId",loader:m,handle:{crumb:l=>l.dataset.name},children:[r(a,{element:o(mo,{}),loader:m,children:[o(a,{index:!0,element:o(u,{}),loader:p}),o(a,{path:"experiments",element:o(u,{}),loader:p}),o(a,{path:"examples",element:o(io,{}),loader:bo,children:o(a,{path:":exampleId",element:o(no,{})})}),o(a,{path:"versions",element:o(to,{}),loader:so})]}),o(a,{path:"compare",element:o(uo,{}),loader:po,handle:{crumb:()=>"compare"}})]})]}),r(a,{path:"/playground",handle:{crumb:()=>"Playground"},children:[o(a,{index:!0,element:o(fo,{})}),o(a,{path:"spans/:spanId",element:o(vo,{}),loader:ho,handle:{crumb:l=>l.span.__typename==="Span"?`span ${l.span.spanId}`:"span unknown"}})]}),r(a,{path:"/prompts",handle:{crumb:()=>"Prompts"},children:[o(a,{index:!0,element:o(xo,{}),loader:yo}),r(a,{path:":promptId",loader:zo,shouldRevalidate:()=>!0,handle:{crumb:l=>l.prompt.__typename==="Prompt"?l.prompt.name:"unknown"},children:[r(a,{element:o(jo,{}),children:[o(a,{index:!0,element:o(wo,{})}),o(a,{path:"versions",loader:Po,element:o(Lo,{}),children:o(a,{path:":versionId",loader:ko,element:o(So,{})})}),o(a,{path:"config",element:o(Ro,{}),loader:Co})]}),o(a,{path:"playground",element:o(Eo,{}),loader:Io,handle:{crumb:()=>"playground"}})]})]}),o(a,{path:"/apis",element:o(Do,{}),handle:{crumb:()=>"APIs"}}),o(a,{path:"/support",element:o(Ao,{}),handle:{crumb:()=>"Support"}}),r(a,{path:"/settings",element:o(Wo,{}),handle:{crumb:()=>"Settings"},children:[o(a,{path:"general",loader:Fo,element:o(To,{}),handle:{crumb:()=>"General"}}),o(a,{path:"providers",loader:Go,element:o(Mo,{}),handle:{crumb:()=>"AI Providers"}}),o(a,{path:"models",loader:_o,element:o(Oo,{}),handle:{crumb:()=>"Models"}}),o(a,{path:"annotations",loader:No,element:o(Vo,{}),handle:{crumb:()=>"Annotations"}}),o(a,{path:"data",element:o(Bo,{}),handle:{crumb:()=>"Data Retention"},loader:qo})]}),o(a,{path:"/redirects/spans/:span_otel_id",loader:Uo,errorElement:o(n,{})}),o(a,{path:"/redirects/traces/:trace_otel_id",loader:$o,errorElement:o(n,{})}),o(a,{path:"/redirects/sessions/:session_id",loader:Ho,errorElement:o(n,{})})]})})]})),{basename:window.Config.basename});function ha(){return o(x,{router:fa})}function va(){return o(Yo,{children:o(Zo,{children:o(ya,{})})})}function ya(){const{theme:l}=oa();return o(L,{theme:l,mountGlobalStyles:!1,children:r(P.RelayEnvironmentProvider,{environment:aa,children:[o(ua,{}),o(Jo,{children:o(la,{children:o(Qo,{children:o(w.Suspense,{children:o(ra,{children:o(ha,{})})})})})})]})})}const xa=document.getElementById("root"),za=k.createRoot(xa);za.render(o(va,{}));