arize-phoenix 2.9.2__py3-none-any.whl → 2.9.4__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.1
2
2
  Name: arize-phoenix
3
- Version: 2.9.2
3
+ Version: 2.9.4
4
4
  Summary: ML Observability in your notebook
5
5
  Project-URL: Documentation, https://docs.arize.com/phoenix/
6
6
  Project-URL: Issues, https://github.com/Arize-ai/phoenix/issues
@@ -450,7 +450,7 @@ In order to run Phoenix tracing in production, you will have to follow these fol
450
450
 
451
451
  - **Setup a Server**: your LLM application to run on a server ([examples](https://github.com/Arize-ai/openinference/tree/main/python/examples))
452
452
  - **Instrument**: Add [OpenInference](https://github.com/Arize-ai/openinference) Instrumentation to your server
453
- - Observe: Run the Phoenix server as a side-car or a standalone instance and point your tracing instrumentation to the phoenix server
453
+ - **Observe**: Run the Phoenix server as a side-car or a standalone instance and point your tracing instrumentation to the phoenix server
454
454
 
455
455
  For more information on deploying Phoenix, see the [Phoenix Deployment Guide](https://docs.arize.com/phoenix/deployment/deploying-phoenix).
456
456
 
@@ -4,7 +4,7 @@ phoenix/datetime_utils.py,sha256=D955QLrkgrrSdUM6NyqbCeAu2SMsjhR5rHVQEsVUdng,277
4
4
  phoenix/exceptions.py,sha256=X5k9ipUDfwSCwZB-H5zFJLas86Gf9tAx0W4l5TZxp5k,108
5
5
  phoenix/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
6
6
  phoenix/services.py,sha256=f6AeyKTuOpy9RCcTCjVH3gx5nYZhbTMFOuv1WSUOB5o,4992
7
- phoenix/version.py,sha256=2wNk1TdqAeMl8njYHKnxyR5LsTqRh1L9eYia7D6rWHg,22
7
+ phoenix/version.py,sha256=_Q3Y00tkl_JKUEcjW92jE4tMsCnf4B0Q6tGHiIcQqRI,22
8
8
  phoenix/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  phoenix/core/embedding_dimension.py,sha256=zKGbcvwOXgLf-yrJBpQyKtd-LEOPRKHnUToyAU8Owis,87
10
10
  phoenix/core/evals.py,sha256=gJyqQzpud5YjtoY8h4pgXvHDsdubGfqmEewLuZHPPmQ,10224
@@ -132,14 +132,14 @@ phoenix/server/static/modernizr.js,sha256=mvK-XtkNqjOral-QvzoqsyOMECXIMu5BQwSVN_
132
132
  phoenix/server/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
133
133
  phoenix/server/templates/index.html,sha256=DlfcGoq1V5C2QkJWqP1j4Nu6_kPfsOzOrtzYF3ogghE,1900
134
134
  phoenix/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
135
- phoenix/session/client.py,sha256=_a4x2ppC2IRdVtw_-6Z8dVh3gW6RwFnIsBSvmufrHvs,4686
135
+ phoenix/session/client.py,sha256=lTV9Q4ljpV9wqasya4u3x7BCijrfAWKDm5akzrg0424,4885
136
136
  phoenix/session/data_extractor.py,sha256=V4ntT2FcmbV_-zobcbPR51HKWaDyMnXHj4Pmu7MZ0OQ,1664
137
137
  phoenix/session/evaluation.py,sha256=DaAtA0XYJbXRJO_StGywa-9APlz2ORSmCXzxrtn3rvI,4997
138
138
  phoenix/session/session.py,sha256=hr6p1-5_-BVky_5sFWqaFC56IxLjuEta0RwpA-VfzF0,20928
139
139
  phoenix/trace/__init__.py,sha256=4d_MqzUIFmlY9WWcFeTONJ4xL5mPGoWZaPM2TJ0ZDBQ,266
140
140
  phoenix/trace/errors.py,sha256=DbXSJnNErV7305tKv7pUWLD6jcVHJ6EBdSu4mZJ6IM4,112
141
141
  phoenix/trace/evaluation_conventions.py,sha256=t8jydM3U0-T5YpiQKRJ3tWdWGlHtzKyttYdw-ddvPOk,1048
142
- phoenix/trace/exporter.py,sha256=jH8jp1Ikt6BmZGElpTG1F3b0yYDm9WSWLFpxHnKiMtY,4409
142
+ phoenix/trace/exporter.py,sha256=7Ir-6gEwcTrkT78190DysVkIS6WSDTiVzsO7PfdFOCI,4411
143
143
  phoenix/trace/fixtures.py,sha256=LokNedhbGYxpzXznteO4m5QehvNYjzvoh231-CMJQeY,7113
144
144
  phoenix/trace/otel.py,sha256=9oum5RPCsEZvKg41mEy8aKDcXHBwtR-P9eeqEXp-ts4,14642
145
145
  phoenix/trace/schemas.py,sha256=QDBlM94faceTnloY_ZVo2BHWWnE5UGymefC0jmfj4ew,6011
@@ -170,8 +170,8 @@ phoenix/trace/v1/evaluation_pb2.pyi,sha256=cCbbx06gwQmaH14s3J1X25TtaARh-k1abbxQd
170
170
  phoenix/utilities/__init__.py,sha256=3TVirVnjIGyaCFuJCqeZO4tjlzQ_chZgYM0itIwsEpE,656
171
171
  phoenix/utilities/error_handling.py,sha256=7b5rpGFj9EWZ8yrZK1IHvxB89suWk3lggDayUQcvZds,1946
172
172
  phoenix/utilities/logging.py,sha256=lDXd6EGaamBNcQxL4vP1au9-i_SXe0OraUDiJOcszSw,222
173
- arize_phoenix-2.9.2.dist-info/METADATA,sha256=5_pXqnBMcbWhhF6a6kP8UYfweWVZDU55r2RAUspIc6A,28761
174
- arize_phoenix-2.9.2.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
175
- arize_phoenix-2.9.2.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
176
- arize_phoenix-2.9.2.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
177
- arize_phoenix-2.9.2.dist-info/RECORD,,
173
+ arize_phoenix-2.9.4.dist-info/METADATA,sha256=gTJgwXlsp2LDBDwLJy_skdUYm2VCpdV68n7fUqIS1hc,28765
174
+ arize_phoenix-2.9.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
175
+ arize_phoenix-2.9.4.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
176
+ arize_phoenix-2.9.4.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
177
+ arize_phoenix-2.9.4.dist-info/RECORD,,
phoenix/session/client.py CHANGED
@@ -35,9 +35,11 @@ class Client(TraceDataExtractor):
35
35
  Phoenix server endpoint, e.g. http://localhost:6006. If not provided, the
36
36
  endpoint will be inferred from the environment variables.
37
37
  use_active_session_if_available : bool, optional
38
- If active session is available, use it instead of sending HTTP requests.
38
+ If px.active_session() is available in the same runtime, e.g. the same Jupyter
39
+ notebook, delegate the request to the active session instead of making HTTP
40
+ requests. This argument is set to False if endpoint is provided explicitly.
39
41
  """
40
- self._use_active_session_if_available = use_active_session_if_available
42
+ self._use_active_session_if_available = use_active_session_if_available and not endpoint
41
43
  host = get_env_host()
42
44
  if host == "0.0.0.0":
43
45
  host = "127.0.0.1"
phoenix/trace/exporter.py CHANGED
@@ -108,9 +108,9 @@ class HttpExporter:
108
108
 
109
109
  def _url(self, message: Message) -> str:
110
110
  if isinstance(message, otlp.Span):
111
- return urljoin(self._base_url, "v1/spans")
111
+ return urljoin(self._base_url, "/v1/spans")
112
112
  if isinstance(message, pb.Evaluation):
113
- return urljoin(self._base_url, "v1/evaluations")
113
+ return urljoin(self._base_url, "/v1/evaluations")
114
114
  logger.exception(f"unrecognized message type: {type(message)}")
115
115
  assert_never(message)
116
116
 
phoenix/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.9.2"
1
+ __version__ = "2.9.4"