arize-phoenix 4.4.1__py3-none-any.whl → 4.4.3__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.3
2
2
  Name: arize-phoenix
3
- Version: 4.4.1
3
+ Version: 4.4.3
4
4
  Summary: AI Observability and Evaluation
5
5
  Project-URL: Documentation, https://docs.arize.com/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -24,7 +24,7 @@ Requires-Dist: cachetools
24
24
  Requires-Dist: grpcio
25
25
  Requires-Dist: hdbscan>=0.8.33
26
26
  Requires-Dist: jinja2
27
- Requires-Dist: numpy
27
+ Requires-Dist: numpy<2
28
28
  Requires-Dist: openinference-instrumentation
29
29
  Requires-Dist: openinference-instrumentation-langchain>=0.1.12
30
30
  Requires-Dist: openinference-instrumentation-llama-index>=1.2.0
@@ -44,7 +44,7 @@ Requires-Dist: scipy
44
44
  Requires-Dist: sqlalchemy[asyncio]<3,>=2.0.4
45
45
  Requires-Dist: sqlean-py>=3.45.1
46
46
  Requires-Dist: starlette
47
- Requires-Dist: strawberry-graphql==0.227.2
47
+ Requires-Dist: strawberry-graphql==0.235.0
48
48
  Requires-Dist: tqdm
49
49
  Requires-Dist: typing-extensions>=4.5; python_version < '3.12'
50
50
  Requires-Dist: typing-extensions>=4.6; python_version >= '3.12'
@@ -61,7 +61,7 @@ Requires-Dist: opentelemetry-sdk; extra == 'container'
61
61
  Requires-Dist: opentelemetry-semantic-conventions; extra == 'container'
62
62
  Requires-Dist: prometheus-client; extra == 'container'
63
63
  Requires-Dist: py-grpc-prometheus; extra == 'container'
64
- Requires-Dist: strawberry-graphql[opentelemetry]==0.227.2; extra == 'container'
64
+ Requires-Dist: strawberry-graphql[opentelemetry]==0.235.0; extra == 'container'
65
65
  Requires-Dist: uvloop; (platform_system != 'Windows') and extra == 'container'
66
66
  Provides-Extra: dev
67
67
  Requires-Dist: anthropic; extra == 'dev'
@@ -75,16 +75,17 @@ Requires-Dist: langchain>=0.0.334; extra == 'dev'
75
75
  Requires-Dist: litellm>=1.0.3; extra == 'dev'
76
76
  Requires-Dist: llama-index>=0.10.3; extra == 'dev'
77
77
  Requires-Dist: nbqa; extra == 'dev'
78
- Requires-Dist: pandas-stubs<=2.0.2.230605; extra == 'dev'
78
+ Requires-Dist: pandas-stubs==2.0.3.230814; (python_version < '3.9') and extra == 'dev'
79
+ Requires-Dist: pandas-stubs==2.2.2.240603; (python_version >= '3.9') and extra == 'dev'
79
80
  Requires-Dist: pre-commit; extra == 'dev'
80
81
  Requires-Dist: prometheus-client; extra == 'dev'
81
82
  Requires-Dist: psycopg[binary]; extra == 'dev'
82
83
  Requires-Dist: pytest-asyncio; extra == 'dev'
83
84
  Requires-Dist: pytest-cov; extra == 'dev'
84
85
  Requires-Dist: pytest-postgresql; extra == 'dev'
85
- Requires-Dist: pytest==7.4.4; extra == 'dev'
86
- Requires-Dist: ruff==0.3.0; extra == 'dev'
87
- Requires-Dist: strawberry-graphql[debug-server,opentelemetry]==0.227.2; extra == 'dev'
86
+ Requires-Dist: pytest==8.2.2; extra == 'dev'
87
+ Requires-Dist: ruff==0.4.9; extra == 'dev'
88
+ Requires-Dist: strawberry-graphql[debug-server,opentelemetry]==0.235.0; extra == 'dev'
88
89
  Provides-Extra: evals
89
90
  Requires-Dist: arize-phoenix-evals>=0.3.0; extra == 'evals'
90
91
  Provides-Extra: experimental
@@ -5,11 +5,11 @@ phoenix/exceptions.py,sha256=n2L2KKuecrdflB9MsCdAYCiSEvGJptIsfRkXMoJle7A,169
5
5
  phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
6
  phoenix/services.py,sha256=haZUWKuxfI5lm0o61HgW_4B6RTBg9CUbXC8y92ZMsw4,5121
7
7
  phoenix/settings.py,sha256=cO-qgis_S27nHirTobYI9hHPfZH18R--WMmxNdsVUwc,273
8
- phoenix/version.py,sha256=vo_ntHT1sqUyobxdRvXJ5-AEk3CJjFKn2TeOfUu3Ink,22
8
+ phoenix/version.py,sha256=sybOIbMx83iepiHW5hmOIuu46Gh4exmvzFk-hGKxF4w,22
9
9
  phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
11
11
  phoenix/core/model.py,sha256=SBO8BZg_CeQuH5LrSgzlQfqMModzirkQePdhnbLw7dE,4756
12
- phoenix/core/model_schema.py,sha256=lQaTvKS34yurHOJ53YD020uURLfgG3dqKC1NLQftOjA,50222
12
+ phoenix/core/model_schema.py,sha256=b8cGsYc6l_6nRQxGaiHraoMgE9NwW19rA3-GEfJ2byI,50259
13
13
  phoenix/core/model_schema_adapter.py,sha256=aFvNtpI01sdaLoKvEvcsx51vP5_6anP0_g9idcJNaCI,8287
14
14
  phoenix/db/README.md,sha256=IvKaZyf9ECbGBYYePaRhBveKZwDbxAc-c7BMxJYZh6Q,595
15
15
  phoenix/db/__init__.py,sha256=pDjEFXukHmJBM-1D8RjmXkvLsz85YWNxMQczt81ec3A,118
@@ -35,7 +35,7 @@ phoenix/inferences/schema.py,sha256=UYej9IJ6pFeNW3fq721kJy16ONso_xVDm78Q68G4hl4,
35
35
  phoenix/inferences/validation.py,sha256=dZ9lCFUV0EY7HCkQkQBrs-GLAEIZdpOqUxwD5l4dp88,8294
36
36
  phoenix/metrics/README.md,sha256=5gekqTU-5gGdMwvcfNp2Wlu8p1ul9kGY_jq0XXQusoI,1964
37
37
  phoenix/metrics/__init__.py,sha256=W8lVORvjBo66pFgUmU9P8Fi8i4yI75wOPkhU42sfeQU,2417
38
- phoenix/metrics/binning.py,sha256=e20P5W5ineqDtfyVO0KDmwI2KY9As31pDhJdjAofNIo,12739
38
+ phoenix/metrics/binning.py,sha256=jDd7YcyEhptCp3zWcH6tfyq87vJ3c8L50ocSuxgPAoQ,12739
39
39
  phoenix/metrics/metrics.py,sha256=7SfkDmSnpzGATtBXlYHb42r-2BfV8ELMcMgjdw3c8yA,7907
40
40
  phoenix/metrics/mixins.py,sha256=moZ5hENIKzUQt2IRhWOd5EFXnoqQkVrpqEqMH7KQzyA,7440
41
41
  phoenix/metrics/retrieval_metrics.py,sha256=XFQPo66h16w7-1AJ92M1VL_BUIXIWxXHGKF_QVOABZI,4384
@@ -117,7 +117,7 @@ phoenix/server/api/types/Project.py,sha256=M5qv27Nx0fypogumDd__wjO5L7j_glcNubIN5
117
117
  phoenix/server/api/types/PromptResponse.py,sha256=Q8HKtpp8GpUOcxPCzZpkkokidDd6u0aZOv_SuPZZd5Q,630
118
118
  phoenix/server/api/types/Retrieval.py,sha256=OhMK2ncjoyp5h1yjKhjlKpoTbQrMHuxmgSFw-AO1rWw,285
119
119
  phoenix/server/api/types/ScalarDriftMetricEnum.py,sha256=IUAcRPpgL41WdoIgK6cNk2Te38SspXGyEs-S1fY23_A,232
120
- phoenix/server/api/types/Segments.py,sha256=B6UUWjalZONjWjl_l61A6USPSu15ICXRgzZ4m3vA1yw,2921
120
+ phoenix/server/api/types/Segments.py,sha256=m2yoegrxA1Tn7ZAy1rMjjD1isc752MaAXMoffkBlvrM,2921
121
121
  phoenix/server/api/types/SortDir.py,sha256=OUpXhlCzCxPoXSDkJJygEs9Rw9pMymfaZUG5zPTrw4Y,152
122
122
  phoenix/server/api/types/Span.py,sha256=ln3X1qZdM4ZxMgStsYFvI8vlCmjU-VUV4mD4WqU63zI,10898
123
123
  phoenix/server/api/types/TimeSeries.py,sha256=QbLfxHnwYsMsirpq4tx9us6ha7YtAVzK4m8mAL3fMt0,5200
@@ -140,7 +140,7 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
140
140
  phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
141
141
  phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
142
142
  phoenix/server/static/index.css,sha256=KKGpx4iwF91VGRm0YN-4cn8oC-oIqC6HecoPf0x3ZM8,1885
143
- phoenix/server/static/index.js,sha256=NRi31C9U_qsjjHAbFvmldWeIzCx4QeVkSf7tuw4L1Q0,3351373
143
+ phoenix/server/static/index.js,sha256=OkUrMDFdfm5jbrpA5yxVhTkGwKByUGmkGeWoVsQyNrE,3351373
144
144
  phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
145
145
  phoenix/server/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
146
146
  phoenix/server/templates/index.html,sha256=lO2wGA5XsftPg03rw_VcyaYf_4vegtlWbIT5ms4fA_c,1982
@@ -183,8 +183,8 @@ phoenix/utilities/error_handling.py,sha256=7b5rpGFj9EWZ8yrZK1IHvxB89suWk3lggDayU
183
183
  phoenix/utilities/logging.py,sha256=lDXd6EGaamBNcQxL4vP1au9-i_SXe0OraUDiJOcszSw,222
184
184
  phoenix/utilities/project.py,sha256=qWsvKnG1oKhOFUowXf9qiOL2ia7jaFe_ijFFHEt8GJo,431
185
185
  phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
186
- arize_phoenix-4.4.1.dist-info/METADATA,sha256=nMaQcVfj6YT1ISBQQ6mDe-GTvI2Yn2-RJv3V5kEz1MM,10928
187
- arize_phoenix-4.4.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
188
- arize_phoenix-4.4.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
189
- arize_phoenix-4.4.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
190
- arize_phoenix-4.4.1.dist-info/RECORD,,
186
+ arize_phoenix-4.4.3.dist-info/METADATA,sha256=fyvhGY0UVWtLj7ivKOdZFQXVmOQ79I0RzxH7tBTl4rU,11047
187
+ arize_phoenix-4.4.3.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
188
+ arize_phoenix-4.4.3.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
189
+ arize_phoenix-4.4.3.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
190
+ arize_phoenix-4.4.3.dist-info/RECORD,,
@@ -715,8 +715,8 @@ class Dataset(Events):
715
715
  return len(self) == 0
716
716
 
717
717
  @cached_property
718
- def primary_key(self) -> pd.Index:
719
- return pd.Index(self[PREDICTION_ID])
718
+ def primary_key(self) -> "pd.Index[Any]":
719
+ return cast("pd.Index[Any]", pd.Index(self[PREDICTION_ID]))
720
720
 
721
721
  @overload
722
722
  def __getitem__(self, key: ColumnKey) -> "pd.Series[Any]": ...
@@ -749,7 +749,7 @@ class Model:
749
749
  _datasets: Dict[DatasetRole, Dataset]
750
750
  _dimensions: Dict[Name, Dimension]
751
751
  _dim_names_by_role: Dict[DimensionRole, List[Name]]
752
- _original_columns_by_role: Dict[DatasetRole, pd.Index]
752
+ _original_columns_by_role: Dict[DatasetRole, "pd.Index[Any]"]
753
753
  _default_timestamps_factory: _ConstantValueSeriesFactory
754
754
  _nan_series_factory: _ConstantValueSeriesFactory
755
755
  _dimension_categories_from_all_datasets: _Cache[Name, Tuple[str, ...]]
@@ -78,7 +78,7 @@ class IntervalBinning(BinningMethod):
78
78
  else pd.IntervalIndex(
79
79
  (
80
80
  pd.Interval(
81
- np.NINF,
81
+ -np.inf,
82
82
  np.inf,
83
83
  closed="neither",
84
84
  ),
@@ -208,7 +208,7 @@ class QuantileBinning(IntervalBinning):
208
208
  # Extend min and max to infinities, unless len(breaks) < 3,
209
209
  # in which case the min is kept and two bins are created.
210
210
  breaks = breaks[1:-1] if len(breaks) > 2 else breaks[:1]
211
- breaks = [np.NINF] + breaks + [np.inf]
211
+ breaks = [-np.inf] + breaks + [np.inf]
212
212
  return pd.IntervalIndex.from_breaks(
213
213
  breaks,
214
214
  closed="left",
@@ -34,7 +34,7 @@ class IntervalBin:
34
34
 
35
35
  @dataclass(frozen=True)
36
36
  class GqlBinFactory:
37
- numeric_lbound: float = np.NINF
37
+ numeric_lbound: float = -np.inf
38
38
  numeric_ubound: float = np.inf
39
39
 
40
40
  @overload
@@ -6970,7 +6970,7 @@ fragment SpanEvaluationsTable_evals on Span {
6970
6970
  --ac-global-dimension-static-size-100
6971
6971
  );
6972
6972
  margin-bottom: 0;
6973
- `,children:s.explanation})]})})},c)})})]})})]})})}function x1n({message:t}){let e=t[Ll.content],n=t[Ll.tool_calls]?.map(o=>o[mn.tool_call]).filter(Boolean)||[],i=t[Ll.function_call_arguments_json]&&t[Ll.function_call_name],r=t[Ll.role]||"unknown",a=(0,Ei.useMemo)(()=>r==="user"?{backgroundColor:"gray-600",borderColor:"gray-100"}:r==="assistant"?{backgroundColor:"blue-100",borderColor:"blue-700"}:r==="system"?{backgroundColor:"indigo-100",borderColor:"indigo-700"}:["function","tool"].includes(r)?{backgroundColor:"yellow-100",borderColor:"yellow-700"}:{backgroundColor:"gray-600",borderColor:"gray-400"},[r]);return v(Cg,{children:v(Zr,{...sa,...a,title:r+(t[Ll.name]?`: ${t[Ll.name]}`:""),extra:P(Fe,{direction:"row",gap:"size-100",children:[v(ab,{}),v(Ju,{text:e||JSON.stringify(t)})]}),children:P(Fe,{direction:"column",alignItems:"start",children:[e?v(_G,{children:e}):null,n.length>0?n.map((o,l)=>P("pre",{css:ee`
6973
+ `,children:s.explanation})]})})},c)})})]})})]})})}function x1n({message:t}){let e=t[Ll.content],n=t[Ll.tool_calls]?.map(o=>o[mn.tool_call]).filter(Boolean)||[],i=t[Ll.function_call_arguments_json]&&t[Ll.function_call_name],r=t[Ll.role]||"unknown",a=(0,Ei.useMemo)(()=>r==="user"?{backgroundColor:"grey-100",borderColor:"grey-700"}:r==="assistant"?{backgroundColor:"blue-100",borderColor:"blue-700"}:r==="system"?{backgroundColor:"indigo-100",borderColor:"indigo-700"}:["function","tool"].includes(r)?{backgroundColor:"yellow-100",borderColor:"yellow-700"}:{backgroundColor:"grey-100",borderColor:"grey-700"},[r]);return v(Cg,{children:v(Zr,{...sa,...a,title:r+(t[Ll.name]?`: ${t[Ll.name]}`:""),extra:P(Fe,{direction:"row",gap:"size-100",children:[v(ab,{}),v(Ju,{text:e||JSON.stringify(t)})]}),children:P(Fe,{direction:"column",alignItems:"start",children:[e?v(_G,{children:e}):null,n.length>0?n.map((o,l)=>P("pre",{css:ee`
6974
6974
  text-wrap: wrap;
6975
6975
  margin: var(--ac-global-dimension-static-size-100) 0;
6976
6976
  `,children:[o?.function?.name,"(",JSON.stringify(JSON.parse(o?.function?.arguments),null,2),")"]},l)):null,i?P("pre",{css:ee`
phoenix/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "4.4.1"
1
+ __version__ = "4.4.3"