arize-phoenix 8.14.1__py3-none-any.whl → 8.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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arize-phoenix
3
- Version: 8.14.1
3
+ Version: 8.15.0
4
4
  Summary: AI Observability and Evaluation
5
5
  Project-URL: Documentation, https://docs.arize.com/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -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=kpW1WL0kiB8XJsO6XycvZVJ-lBkNoenhQ7atCvBoSe8,5365
8
8
  phoenix/settings.py,sha256=ht-0oN-sMV6SPXrk7Tu1EZlngpAYkGNLYPhO8DyrdQI,661
9
- phoenix/version.py,sha256=zQS47maNorrj-eeZMTuqWKoNZqr2dKxz9CzgA3y-rNw,23
9
+ phoenix/version.py,sha256=heS3ugMbNrmBchYw9lTGo92LNvkldtWtc7pFL2DA05g,23
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
@@ -99,7 +99,7 @@ phoenix/server/api/auth.py,sha256=nywpmfMI1trZTbZRD3oBj4kFjzg_vnxDljcM431T1eY,12
99
99
  phoenix/server/api/context.py,sha256=OopBkMnY48TzulTtfuay3MXmhbFIWPtPoAsbhCW-Pl0,6459
100
100
  phoenix/server/api/exceptions.py,sha256=TA0JuY2YRnj35qGuMSQ8d0ToHum9gWm9W--3fSKHrX0,1171
101
101
  phoenix/server/api/interceptor.py,sha256=ykDnoC_apUd-llVli3m1CW18kNSIgjz2qZ6m5JmPDu8,1294
102
- phoenix/server/api/queries.py,sha256=2D0vmNN853NA9-8OGri5ByEA4Di96uzzOLs4cmqL5Ls,35327
102
+ phoenix/server/api/queries.py,sha256=e_zt4VKQj3dnLIrVEFbxIOhFo8bup_vVN9xAqVW009w,35726
103
103
  phoenix/server/api/schema.py,sha256=fcs36xQwFF_Qe41_5cWR8wYpDvOrnbcyTeo5WNMbDsA,1702
104
104
  phoenix/server/api/subscriptions.py,sha256=DSIgQF6lQqkbc7D0AaI5R4g3hIHbU04H5Y2UIpwmpy0,22989
105
105
  phoenix/server/api/utils.py,sha256=quCBRcusc6PUq9tJq7M8PgwFZp7nXgVAxtbw8feribY,833
@@ -314,10 +314,10 @@ phoenix/server/static/apple-touch-icon-76x76.png,sha256=CT_xT12I0u2i0WU8JzBZBuOQ
314
314
  phoenix/server/static/apple-touch-icon.png,sha256=fOfpjqGpWYbJ0eAurKsyoZP1EAs6ZVooBJ_SGk2ZkDs,3801
315
315
  phoenix/server/static/favicon.ico,sha256=bY0vvCKRftemZfPShwZtE93DiiQdaYaozkPGwNFr6H8,34494
316
316
  phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_wcU9c,2564
317
- phoenix/server/static/.vite/manifest.json,sha256=O13kqOvPpeiAxXLP9i578UexnxfIs4PS4Oi_RorDWiI,2165
318
- phoenix/server/static/assets/components-BugmFXye.js,sha256=wkGyJvqmFdJOEOFGjwJ_AkkV2mHVSrvJR2oL27BmkhY,436302
319
- phoenix/server/static/assets/index-CsMfMrpZ.js,sha256=3t9UlkevYO-J8nVCAwQVy_3xRnceVJoT8xhcJ7V_FTg,60085
320
- phoenix/server/static/assets/pages-CEf35SdW.js,sha256=fe6hM1y7bVXNCmlpEyEBLWLt4vWOV8FYM7J1-TSO4v0,851978
317
+ phoenix/server/static/.vite/manifest.json,sha256=n8NVBumHePO_MgLTOZNDw0utkqyS0WVwpg0_2HZm7-I,2165
318
+ phoenix/server/static/assets/components-B1h2vIB3.js,sha256=G9Qk6_HpDGpIGiAenjQ0G73Q56I9DICFG2UtJNKbtj0,441954
319
+ phoenix/server/static/assets/index-D27y64mn.js,sha256=8UAUOQ6q9xdRvqEuUiIRrD1KTcqC2_qn12_BIW-TI68,60085
320
+ phoenix/server/static/assets/pages-DV4OMLyH.js,sha256=Ha195nGXFFEjo4x-5hsS9nYHhO3GziJT6euJauEk7EA,852021
321
321
  phoenix/server/static/assets/vendor-BT2CVKel.js,sha256=LIV-43bFP85LEFu5QFr5WFcpwKYVMqop0ofrf0RzAVY,2492285
322
322
  phoenix/server/static/assets/vendor-Cg6lcjUC.css,sha256=nZrkr0u6NNElFGvpWHk9GTHeGoibCXCli1bE7mXZGZg,1816
323
323
  phoenix/server/static/assets/vendor-arizeai-Dzsaenki.js,sha256=NIKV6W5-cOcwg_FI772zlcl6kInoGOsiZyUbQczUxsU,194761
@@ -364,9 +364,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
364
364
  phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
365
365
  phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
366
366
  phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
367
- arize_phoenix-8.14.1.dist-info/METADATA,sha256=rVy7LBA84OjL_o5500-dfC0_7kqcew3BEYJrB10ezzM,21347
368
- arize_phoenix-8.14.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
- arize_phoenix-8.14.1.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
370
- arize_phoenix-8.14.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
371
- arize_phoenix-8.14.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
372
- arize_phoenix-8.14.1.dist-info/RECORD,,
367
+ arize_phoenix-8.15.0.dist-info/METADATA,sha256=sdgMM0E87beGAqCbpDbdC5HyO20L8seI_2gdgYAi-Bw,21347
368
+ arize_phoenix-8.15.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
+ arize_phoenix-8.15.0.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
370
+ arize_phoenix-8.15.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
371
+ arize_phoenix-8.15.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
372
+ arize_phoenix-8.15.0.dist-info/RECORD,,
@@ -808,14 +808,18 @@ class Query:
808
808
  info: Info[Context, None],
809
809
  ) -> list[DbTableStats]:
810
810
  if info.context.db.dialect is SupportedSQLDialect.SQLITE:
811
- stmt = text("SELECT name, sum(pgsize) FROM dbstat group by name;")
812
- try:
813
- async with info.context.db() as session:
814
- stats = cast(Iterable[tuple[str, int]], await session.execute(stmt))
815
- stats = _consolidate_sqlite_db_table_stats(stats)
816
- except Exception:
817
- # TODO: temporary workaround until we can reproduce the error
818
- return []
811
+ # TODO: temporary workaround until we can figure out why
812
+ # the dbstat query takes longer than expected
813
+ async with info.context.db() as session:
814
+ page_count = await session.scalar(text("PRAGMA page_count;"))
815
+ free_pages = await session.scalar(text("PRAGMA freelist_count;"))
816
+ page_size = await session.scalar(text("PRAGMA page_size;"))
817
+ num_bytes = (page_count - free_pages) * page_size
818
+ return [DbTableStats(table_name="SQLite", num_bytes=num_bytes)]
819
+ # stmt = text("SELECT name, sum(pgsize) FROM dbstat group by name;")
820
+ # async with info.context.db() as session:
821
+ # stats = cast(Iterable[tuple[str, int]], await session.execute(stmt))
822
+ # stats = _consolidate_sqlite_db_table_stats(stats)
819
823
  elif info.context.db.dialect is SupportedSQLDialect.POSTGRESQL:
820
824
  stmt = text(f"""\
821
825
  SELECT c.relname, pg_total_relation_size(c.oid)
@@ -1,22 +1,22 @@
1
1
  {
2
- "_components-BugmFXye.js": {
3
- "file": "assets/components-BugmFXye.js",
2
+ "_components-B1h2vIB3.js": {
3
+ "file": "assets/components-B1h2vIB3.js",
4
4
  "name": "components",
5
5
  "imports": [
6
6
  "_vendor-BT2CVKel.js",
7
- "_pages-CEf35SdW.js",
7
+ "_pages-DV4OMLyH.js",
8
8
  "_vendor-arizeai-Dzsaenki.js",
9
9
  "_vendor-codemirror-D2R3PB3i.js",
10
10
  "_vendor-three-C5WAXd5r.js"
11
11
  ]
12
12
  },
13
- "_pages-CEf35SdW.js": {
14
- "file": "assets/pages-CEf35SdW.js",
13
+ "_pages-DV4OMLyH.js": {
14
+ "file": "assets/pages-DV4OMLyH.js",
15
15
  "name": "pages",
16
16
  "imports": [
17
17
  "_vendor-BT2CVKel.js",
18
18
  "_vendor-arizeai-Dzsaenki.js",
19
- "_components-BugmFXye.js",
19
+ "_components-B1h2vIB3.js",
20
20
  "_vendor-codemirror-D2R3PB3i.js",
21
21
  "_vendor-recharts-DetvdWCF.js"
22
22
  ]
@@ -69,15 +69,15 @@
69
69
  "name": "vendor-three"
70
70
  },
71
71
  "index.tsx": {
72
- "file": "assets/index-CsMfMrpZ.js",
72
+ "file": "assets/index-D27y64mn.js",
73
73
  "name": "index",
74
74
  "src": "index.tsx",
75
75
  "isEntry": true,
76
76
  "imports": [
77
77
  "_vendor-BT2CVKel.js",
78
78
  "_vendor-arizeai-Dzsaenki.js",
79
- "_pages-CEf35SdW.js",
80
- "_components-BugmFXye.js",
79
+ "_pages-DV4OMLyH.js",
80
+ "_components-B1h2vIB3.js",
81
81
  "_vendor-three-C5WAXd5r.js",
82
82
  "_vendor-codemirror-D2R3PB3i.js",
83
83
  "_vendor-shiki-dzrzjP7E.js",