arize-phoenix 4.3.0__py3-none-any.whl → 4.3.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.3
2
2
  Name: arize-phoenix
3
- Version: 4.3.0
3
+ Version: 4.3.1
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
@@ -90,9 +90,7 @@ Requires-Dist: arize-phoenix-evals>=0.3.0; extra == 'evals'
90
90
  Provides-Extra: experimental
91
91
  Requires-Dist: tenacity; extra == 'experimental'
92
92
  Provides-Extra: llama-index
93
- Requires-Dist: llama-index-callbacks-arize-phoenix>=0.1.2; extra == 'llama-index'
94
- Requires-Dist: llama-index==0.10.3; extra == 'llama-index'
95
- Requires-Dist: openinference-instrumentation-llama-index>=1.2.0; extra == 'llama-index'
93
+ Requires-Dist: llama-index==0.10.43; extra == 'llama-index'
96
94
  Provides-Extra: pg
97
95
  Requires-Dist: asyncpg; extra == 'pg'
98
96
  Description-Content-Type: text/markdown
@@ -5,13 +5,13 @@ 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=wPyEHmYopdmpH4340zhwFNBFQBGN743kwlSVDWO73rA,22
8
+ phoenix/version.py,sha256=gKhp048MdP-3cJ_eV-P1YyHenF2KvM2r8m9M1vLMB1A,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
12
  phoenix/core/model_schema.py,sha256=lQaTvKS34yurHOJ53YD020uURLfgG3dqKC1NLQftOjA,50222
13
13
  phoenix/core/model_schema_adapter.py,sha256=aFvNtpI01sdaLoKvEvcsx51vP5_6anP0_g9idcJNaCI,8287
14
- phoenix/db/README.md,sha256=1Up6-TM6eMcAjgXR5SMTORTxMmhZWdwbOFwn72plx8Y,592
14
+ phoenix/db/README.md,sha256=IvKaZyf9ECbGBYYePaRhBveKZwDbxAc-c7BMxJYZh6Q,595
15
15
  phoenix/db/__init__.py,sha256=pDjEFXukHmJBM-1D8RjmXkvLsz85YWNxMQczt81ec3A,118
16
16
  phoenix/db/alembic.ini,sha256=p8DjVqGUs_tTx8oU56JP7qj-rMUebNFizItUSv_hPhs,3763
17
17
  phoenix/db/bulk_inserter.py,sha256=jubepj2a40jFy95NB8UFznpkFnlRRwB-iOXZ6DS0au8,9493
@@ -49,7 +49,7 @@ phoenix/pointcloud/umap_parameters.py,sha256=lJsEOrbSuSiqI7g4Yt6xj7kgYxEqoep4ZHW
49
49
  phoenix/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  phoenix/server/app.py,sha256=zsov7w_hjiXtr8js4nB3egSX1otDRBD2vEKz6b-GH1Y,16382
51
51
  phoenix/server/grpc_server.py,sha256=faktLxEtWGlCB1bPR4QwwTsRoQloahKMx0hAWqRGI5s,3379
52
- phoenix/server/main.py,sha256=chV26thMufLk96WZ1NqoxiXh_zF7hrnSM3fZjnjCTEw,10809
52
+ phoenix/server/main.py,sha256=HT8UfWSvJPKLu7LttUlNN5syQXjZhrIZZ8zS8BZPaFc,10312
53
53
  phoenix/server/prometheus.py,sha256=j9DHB2fERuq_ZKmwVaqR-9wx5WcPPuU1Cm5Bhg5241Y,2996
54
54
  phoenix/server/telemetry.py,sha256=T_2OKrxNViAeaANlNspEekg_Y5uZIFWvKAnpz8Aoqvk,2762
55
55
  phoenix/server/thread_server.py,sha256=dP6cm6Cf08jNhDA1TRlVZpziu1YgtPDmaeIJMm725eI,2154
@@ -165,7 +165,7 @@ phoenix/trace/trace_dataset.py,sha256=197ey31Zp40eN_gH1YVGM7avkZs-YlROSKG3M5eZsW
165
165
  phoenix/trace/utils.py,sha256=7LurVGXn245cjj4MJsc7v6jq4DSJkpK6YGBfIaSywuw,1307
166
166
  phoenix/trace/dsl/README.md,sha256=ihmP9zGUC5V-TDbzKla76LuyDqPDQIBUH2BORwxNI68,2902
167
167
  phoenix/trace/dsl/__init__.py,sha256=WIQIjJg362XD3s50OsPJJ0xbDsGp41bSv7vDllLrPuA,144
168
- phoenix/trace/dsl/filter.py,sha256=w4jHpzykdcpuk-3Z7diI6hXQjBKIuJ7vuS-bDIC_7Ck,31900
168
+ phoenix/trace/dsl/filter.py,sha256=HCx9FjnmgkzsYDW7ptPz7ozVGbbSnW59tzJdYCKojQI,32170
169
169
  phoenix/trace/dsl/helpers.py,sha256=ULAhqWULPqYWCSNX7y50DVKIqfySx86nqb6hDvZPnVk,3896
170
170
  phoenix/trace/dsl/query.py,sha256=W0t-tiXh2WIVb96lzFAGQOQ-U46uKux78d4KL3rW-PE,30316
171
171
  phoenix/trace/langchain/__init__.py,sha256=F37GfD1pd5Kuw7R7iRUM1zXXpO8xEcycNZh5dwqBXNk,109
@@ -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.3.0.dist-info/METADATA,sha256=d_s9bkmXrsWLaYJIrddgrdeKppyHh7BQB8RR5sPozv0,11097
187
- arize_phoenix-4.3.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
188
- arize_phoenix-4.3.0.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
189
- arize_phoenix-4.3.0.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
190
- arize_phoenix-4.3.0.dist-info/RECORD,,
186
+ arize_phoenix-4.3.1.dist-info/METADATA,sha256=MwwpYsiWuJmjunzLxpl8SLswcd2atKzM0oUKZc32MOI,10928
187
+ arize_phoenix-4.3.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
188
+ arize_phoenix-4.3.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
189
+ arize_phoenix-4.3.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
190
+ arize_phoenix-4.3.1.dist-info/RECORD,,
phoenix/db/README.md CHANGED
@@ -2,10 +2,12 @@
2
2
 
3
3
  This module is responsible for the database connection and the migrations.
4
4
 
5
+
5
6
  ## Migrations
6
7
 
7
8
  All migrations are managed by Alembic. Migrations are applied to the database automatically when the application starts.
8
9
 
10
+
9
11
  ### Applying Migrations
10
12
 
11
13
  To manually apply the migrations, run the following command:
@@ -14,6 +16,7 @@ To manually apply the migrations, run the following command:
14
16
  alembic upgrade head
15
17
  ```
16
18
 
19
+
17
20
  ### Creating a Migration
18
21
 
19
22
  All migrations are stored in the `migrations` folder. To create a new migration, run the following command:
phoenix/server/main.py CHANGED
@@ -1,7 +1,6 @@
1
1
  import atexit
2
2
  import logging
3
3
  import os
4
- import warnings
5
4
  from argparse import ArgumentParser
6
5
  from pathlib import Path
7
6
  from threading import Thread
@@ -124,7 +123,6 @@ if __name__ == "__main__":
124
123
  parser.add_argument("--no-internet", action="store_true")
125
124
  parser.add_argument("--umap_params", type=str, required=False, default=DEFAULT_UMAP_PARAMS_STR)
126
125
  parser.add_argument("--debug", action="store_false")
127
- parser.add_argument("--enable-prometheus", type=bool, default=False)
128
126
  subparsers = parser.add_subparsers(dest="command", required=True)
129
127
  serve_parser = subparsers.add_parser("serve")
130
128
  datasets_parser = subparsers.add_parser("datasets")
@@ -226,15 +224,7 @@ if __name__ == "__main__":
226
224
  )
227
225
  read_only = args.read_only
228
226
  logger.info(f"Server umap params: {umap_params}")
229
- if enable_prometheus := (get_env_enable_prometheus() or args.enable_prometheus):
230
- if args.enable_prometheus:
231
- warnings.warn(
232
- "The --enable-prometheus command line argument is being deprecated "
233
- "and will be removed in an upcoming release. "
234
- "Please set the PHOENIX_ENABLE_PROMETHEUS environment variable to TRUE.",
235
- DeprecationWarning,
236
- stacklevel=2,
237
- )
227
+ if enable_prometheus := get_env_enable_prometheus():
238
228
  from phoenix.server.prometheus import start_prometheus
239
229
 
240
230
  start_prometheus()
@@ -109,10 +109,17 @@ _FLOAT_NAMES: typing.Mapping[str, sqlalchemy.SQLColumnExpression[typing.Any]] =
109
109
  "cumulative_llm_token_count_total": models.Span.cumulative_llm_token_count_total,
110
110
  }
111
111
  )
112
+ _DATETIME_NAMES: typing.Mapping[str, sqlalchemy.SQLColumnExpression[typing.Any]] = MappingProxyType(
113
+ {
114
+ "start_time": models.Span.start_time,
115
+ "end_time": models.Span.end_time,
116
+ }
117
+ )
112
118
  _NAMES: typing.Mapping[str, sqlalchemy.SQLColumnExpression[typing.Any]] = MappingProxyType(
113
119
  {
114
120
  **_STRING_NAMES,
115
121
  **_FLOAT_NAMES,
122
+ **_DATETIME_NAMES,
116
123
  "attributes": models.Span.attributes,
117
124
  "events": models.Span.events,
118
125
  }
@@ -403,6 +410,7 @@ class _ProjectionTranslator(ast.NodeTransformer):
403
410
  reserved_keywords,
404
411
  _STRING_NAMES.keys(),
405
412
  _FLOAT_NAMES.keys(),
413
+ _DATETIME_NAMES.keys(),
406
414
  )
407
415
  )
408
416
 
phoenix/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "4.3.0"
1
+ __version__ = "4.3.1"