arize-phoenix 11.13.2__py3-none-any.whl → 11.15.0__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.

Files changed (26) hide show
  1. {arize_phoenix-11.13.2.dist-info → arize_phoenix-11.15.0.dist-info}/METADATA +1 -1
  2. {arize_phoenix-11.13.2.dist-info → arize_phoenix-11.15.0.dist-info}/RECORD +26 -26
  3. phoenix/config.py +13 -0
  4. phoenix/experiments/evaluators/utils.py +3 -3
  5. phoenix/experiments/functions.py +6 -6
  6. phoenix/experiments/types.py +1 -1
  7. phoenix/server/api/mutations/trace_annotations_mutations.py +1 -2
  8. phoenix/server/api/routers/v1/datasets.py +24 -10
  9. phoenix/server/api/routers/v1/evaluations.py +1 -2
  10. phoenix/server/api/routers/v1/spans.py +2 -3
  11. phoenix/server/api/types/Span.py +1 -2
  12. phoenix/server/app.py +5 -0
  13. phoenix/server/cost_tracking/model_cost_manifest.json +91 -17
  14. phoenix/server/daemons/db_disk_usage_monitor.py +1 -2
  15. phoenix/server/static/.vite/manifest.json +9 -9
  16. phoenix/server/static/assets/{components-DwuYh6r_.js → components-CK8hwrPx.js} +418 -329
  17. phoenix/server/static/assets/{index-Ddq6YZwI.js → index-ByWTGseQ.js} +7 -4
  18. phoenix/server/static/assets/{pages-4IITCxQq.js → pages-D8Hgmz1V.js} +489 -446
  19. phoenix/server/templates/index.html +3 -0
  20. phoenix/session/client.py +1 -2
  21. phoenix/trace/dsl/query.py +6 -6
  22. phoenix/version.py +1 -1
  23. {arize_phoenix-11.13.2.dist-info → arize_phoenix-11.15.0.dist-info}/WHEEL +0 -0
  24. {arize_phoenix-11.13.2.dist-info → arize_phoenix-11.15.0.dist-info}/entry_points.txt +0 -0
  25. {arize_phoenix-11.13.2.dist-info → arize_phoenix-11.15.0.dist-info}/licenses/IP_NOTICE +0 -0
  26. {arize_phoenix-11.13.2.dist-info → arize_phoenix-11.15.0.dist-info}/licenses/LICENSE +0 -0
@@ -55,9 +55,11 @@
55
55
  <meta property="og:description" content="AI Observability & Evaluation" />
56
56
  <meta property="og:image" content="https://raw.githubusercontent.com/Arize-ai/phoenix-assets/main/images/socal/social-preview-horizontal.jpg" />
57
57
  <meta name="theme-color" content="#ffffff" />
58
+ {% if allow_external_resources %}
58
59
  <link rel="preconnect" href="https://fonts.googleapis.com">
59
60
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
60
61
  <link href="https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap" rel="stylesheet">
62
+ {% endif %}
61
63
  {% if not is_development -%}
62
64
  {% set _ = collect_assets('index.tsx') -%}
63
65
  {{- render_css() -}}
@@ -111,6 +113,7 @@
111
113
  managementUrl: {{management_url | tojson}},
112
114
  supportEmail: {{support_email | tojson}},
113
115
  hasDbThreshold: Boolean("{{has_db_threshold}}" == "True"),
116
+ allowExternalResources: Boolean("{{allow_external_resources}}" == "True"),
114
117
  }),
115
118
  writable: false
116
119
  });
phoenix/session/client.py CHANGED
@@ -68,8 +68,7 @@ class Client(TraceDataExtractor):
68
68
  """
69
69
  if kwargs.pop("use_active_session_if_available", None) is not None:
70
70
  print(
71
- "`use_active_session_if_available` is deprecated "
72
- "and will be removed in the future."
71
+ "`use_active_session_if_available` is deprecated and will be removed in the future."
73
72
  )
74
73
  if kwargs:
75
74
  raise TypeError(f"Unexpected keyword arguments: {', '.join(kwargs)}")
@@ -456,16 +456,16 @@ class SpanQuery(_HasTmpSuffix):
456
456
  return replace(self, _filter=_filter)
457
457
 
458
458
  def explode(self, key: str, **kwargs: str) -> "SpanQuery":
459
- assert (
460
- isinstance(key, str) and key
461
- ), "The field name for explosion must be a non-empty string."
459
+ assert isinstance(key, str) and key, (
460
+ "The field name for explosion must be a non-empty string."
461
+ )
462
462
  _explode = Explosion(key=key, kwargs=kwargs, primary_index_key=self._index.key)
463
463
  return replace(self, _explode=_explode)
464
464
 
465
465
  def concat(self, key: str, **kwargs: str) -> "SpanQuery":
466
- assert (
467
- isinstance(key, str) and key
468
- ), "The field name for concatenation must be a non-empty string."
466
+ assert isinstance(key, str) and key, (
467
+ "The field name for concatenation must be a non-empty string."
468
+ )
469
469
  _concat = (
470
470
  Concatenation(key=key, kwargs=kwargs, separator=self._concat.separator)
471
471
  if self._concat
phoenix/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "11.13.2"
1
+ __version__ = "11.15.0"