arize-phoenix 8.17.0__py3-none-any.whl → 8.18.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.
- {arize_phoenix-8.17.0.dist-info → arize_phoenix-8.18.0.dist-info}/METADATA +1 -1
- {arize_phoenix-8.17.0.dist-info → arize_phoenix-8.18.0.dist-info}/RECORD +12 -12
- phoenix/server/static/.vite/manifest.json +9 -9
- phoenix/server/static/assets/{components-Q7vebP-x.js → components-C9nEyUpZ.js} +251 -200
- phoenix/server/static/assets/{index-BhL6cAT9.js → index-Byq5IvLD.js} +2 -1
- phoenix/server/static/assets/{pages-_MY_UD-t.js → pages-DHlvPcZL.js} +353 -346
- phoenix/trace/dsl/helpers.py +7 -0
- phoenix/version.py +1 -1
- {arize_phoenix-8.17.0.dist-info → arize_phoenix-8.18.0.dist-info}/WHEEL +0 -0
- {arize_phoenix-8.17.0.dist-info → arize_phoenix-8.18.0.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-8.17.0.dist-info → arize_phoenix-8.18.0.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-8.17.0.dist-info → arize_phoenix-8.18.0.dist-info}/licenses/LICENSE +0 -0
phoenix/trace/dsl/helpers.py
CHANGED
|
@@ -22,6 +22,8 @@ IS_ROOT = "parent_id is None"
|
|
|
22
22
|
IS_LLM = "span_kind == 'LLM'"
|
|
23
23
|
IS_RETRIEVER = "span_kind == 'RETRIEVER'"
|
|
24
24
|
|
|
25
|
+
DEFAULT_TIMEOUT_IN_SECONDS = 5
|
|
26
|
+
|
|
25
27
|
|
|
26
28
|
class CanQuerySpans(Protocol):
|
|
27
29
|
# Implemented by phoenix.session.client.Client
|
|
@@ -31,6 +33,7 @@ class CanQuerySpans(Protocol):
|
|
|
31
33
|
start_time: Optional[datetime] = None,
|
|
32
34
|
end_time: Optional[datetime] = None,
|
|
33
35
|
project_name: Optional[str] = None,
|
|
36
|
+
timeout: Optional[int] = DEFAULT_TIMEOUT_IN_SECONDS,
|
|
34
37
|
) -> Optional[Union[pd.DataFrame, list[pd.DataFrame]]]: ...
|
|
35
38
|
|
|
36
39
|
|
|
@@ -41,6 +44,7 @@ def get_retrieved_documents(
|
|
|
41
44
|
project_name: Optional[str] = None,
|
|
42
45
|
# Deprecated
|
|
43
46
|
stop_time: Optional[datetime] = None,
|
|
47
|
+
timeout: Optional[int] = DEFAULT_TIMEOUT_IN_SECONDS,
|
|
44
48
|
) -> pd.DataFrame:
|
|
45
49
|
project_name = project_name or get_env_project_name()
|
|
46
50
|
if stop_time is not None:
|
|
@@ -64,6 +68,7 @@ def get_retrieved_documents(
|
|
|
64
68
|
start_time=start_time,
|
|
65
69
|
end_time=end_time,
|
|
66
70
|
project_name=project_name,
|
|
71
|
+
timeout=timeout,
|
|
67
72
|
),
|
|
68
73
|
)
|
|
69
74
|
|
|
@@ -75,6 +80,7 @@ def get_qa_with_reference(
|
|
|
75
80
|
project_name: Optional[str] = None,
|
|
76
81
|
# Deprecated
|
|
77
82
|
stop_time: Optional[datetime] = None,
|
|
83
|
+
timeout: Optional[int] = DEFAULT_TIMEOUT_IN_SECONDS,
|
|
78
84
|
) -> Optional[pd.DataFrame]:
|
|
79
85
|
project_name = project_name or get_env_project_name()
|
|
80
86
|
if stop_time:
|
|
@@ -101,6 +107,7 @@ def get_qa_with_reference(
|
|
|
101
107
|
start_time=start_time,
|
|
102
108
|
end_time=end_time,
|
|
103
109
|
project_name=project_name,
|
|
110
|
+
timeout=timeout,
|
|
104
111
|
),
|
|
105
112
|
)
|
|
106
113
|
if df_qa is None or df_qa.empty:
|
phoenix/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "8.
|
|
1
|
+
__version__ = "8.18.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|