arize-phoenix 4.10.1__py3-none-any.whl → 4.10.2rc0__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.

Files changed (29) hide show
  1. {arize_phoenix-4.10.1.dist-info → arize_phoenix-4.10.2rc0.dist-info}/METADATA +1 -1
  2. {arize_phoenix-4.10.1.dist-info → arize_phoenix-4.10.2rc0.dist-info}/RECORD +27 -17
  3. phoenix/server/api/context.py +2 -0
  4. phoenix/server/api/dataloaders/__init__.py +2 -0
  5. phoenix/server/api/dataloaders/span_annotations.py +35 -0
  6. phoenix/server/api/types/Annotation.py +21 -0
  7. phoenix/server/api/types/Evaluation.py +4 -22
  8. phoenix/server/api/types/Span.py +16 -4
  9. phoenix/server/api/types/SpanAnnotation.py +4 -6
  10. phoenix/server/app.py +19 -0
  11. phoenix/server/main.py +3 -0
  12. phoenix/server/static/.vite/manifest.json +78 -0
  13. phoenix/server/static/assets/components-C8sm_r1F.js +1142 -0
  14. phoenix/server/static/assets/index-BEKPzgQs.js +100 -0
  15. phoenix/server/static/assets/pages-bN7juCjh.js +2885 -0
  16. phoenix/server/static/assets/vendor-CUDAPm8e.js +641 -0
  17. phoenix/server/static/assets/vendor-DxkFTwjz.css +1 -0
  18. phoenix/server/static/assets/vendor-arizeai-Do2HOmcL.js +662 -0
  19. phoenix/server/static/assets/vendor-codemirror-CrdxOlMs.js +12 -0
  20. phoenix/server/static/assets/vendor-recharts-PKRvByVe.js +59 -0
  21. phoenix/server/static/assets/vendor-three-DwGkEfCM.js +2998 -0
  22. phoenix/server/templates/index.html +76 -25
  23. phoenix/trace/schemas.py +1 -0
  24. phoenix/version.py +1 -1
  25. phoenix/server/static/index.css +0 -6
  26. phoenix/server/static/index.js +0 -8547
  27. {arize_phoenix-4.10.1.dist-info → arize_phoenix-4.10.2rc0.dist-info}/WHEEL +0 -0
  28. {arize_phoenix-4.10.1.dist-info → arize_phoenix-4.10.2rc0.dist-info}/licenses/IP_NOTICE +0 -0
  29. {arize_phoenix-4.10.1.dist-info → arize_phoenix-4.10.2rc0.dist-info}/licenses/LICENSE +0 -0
@@ -1,3 +1,43 @@
1
+ {% set rendered_files = [] %}
2
+ {% set rendered_chunks = [] %}
3
+
4
+ {% macro render_chunk(chunk_name, level=0) %}
5
+ {% if chunk_name not in rendered_chunks %}
6
+ {% set _ = rendered_chunks.append(chunk_name) %}
7
+ {% set chunk = manifest[chunk_name] %}
8
+
9
+ {% if chunk.css %}
10
+ {% for css_file in chunk.css %}
11
+ {% if css_file not in rendered_files %}
12
+ <link rel="stylesheet" href="{{ basename }}/{{ css_file }}">
13
+ {% set _ = rendered_files.append(css_file) %}
14
+ {% endif %}
15
+ {% endfor %}
16
+ {% endif %}
17
+
18
+ {% if chunk.imports %}
19
+ {% for import in chunk.imports %}
20
+ {{ render_chunk(import, level + 1) }}
21
+ {% endfor %}
22
+ {% endif %}
23
+
24
+ {% if level == 0 %}
25
+ {% if chunk.file.endswith('.js') and chunk.file not in rendered_files %}
26
+ <script type="module" src="{{ basename }}/{{ chunk.file }}"></script>
27
+ {% set _ = rendered_files.append(chunk.file) %}
28
+ {% elif chunk.file.endswith('.css') and chunk.file not in rendered_files %}
29
+ <link rel="stylesheet" href="{{ basename }}/{{ chunk.file }}">
30
+ {% set _ = rendered_files.append(chunk.file) %}
31
+ {% endif %}
32
+ {% endif %}
33
+
34
+ {% if chunk.file.endswith('.js') and chunk.file not in rendered_files %}
35
+ <link rel="modulepreload" href="{{ basename }}/{{ chunk.file }}">
36
+ {% set _ = rendered_files.append(chunk.file) %}
37
+ {% endif %}
38
+ {% endif %}
39
+ {% endmacro %}
40
+
1
41
  <!DOCTYPE html>
2
42
  <html>
3
43
  <head>
@@ -11,7 +51,6 @@
11
51
  <meta property="og:description" content="AI Observability & Evaluation" />
12
52
  <meta property="og:image" content="https://raw.githubusercontent.com/Arize-ai/phoenix-assets/main/images/socal/social-preview-horizontal.jpg" />
13
53
  <meta name="theme-color" content="#ffffff" />
14
- <link rel="stylesheet" src="{{basename}}/index.css"></link>
15
54
  <link
16
55
  rel="stylesheet"
17
56
  href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap"
@@ -21,28 +60,40 @@
21
60
  <body>
22
61
  <div id="root"></div>
23
62
  <script>(function() {
24
- // Request Info:
25
- // URL: {{request.url}}
26
- // Base URL: {{request.base_url}}
27
- // Root Path: {{root_path}}
28
- Object.defineProperty(window, "Config", {
29
- // Place any server-side injected config here
30
- // E.g. default UMAP parameters etc. that needs to be
31
- // injected into the client before React runs
32
- value: Object.freeze({
33
- basename: "{{basename}}",
34
- platformVersion: "{{platform_version}}",
35
- hasInferences: Boolean("{{has_inferences}}" == "True"),
36
- hasCorpus: Boolean("{{has_corpus}}" == "True"),
37
- UMAP: {
38
- minDist: parseFloat("{{min_dist}}"),
39
- nNeighbors: parseInt("{{n_neighbors}}"),
40
- nSamples: parseInt("{{n_samples}}"),
41
- }
42
- }),
43
- writable: false
44
- });
45
- })()</script>
46
- <script type="module" src="{{basename}}/index.js"></script>
47
- </body>
63
+ // Request Info:
64
+ // URL: {{request.url}}
65
+ // Base URL: {{request.base_url}}
66
+ // Root Path: {{root_path}}
67
+ Object.defineProperty(window, "Config", {
68
+ // Place any server-side injected config here
69
+ // E.g. default UMAP parameters etc. that needs to be
70
+ // injected into the client before React runs
71
+ value: Object.freeze({
72
+ basename: "{{basename}}",
73
+ platformVersion: "{{platform_version}}",
74
+ hasInferences: Boolean("{{has_inferences}}" == "True"),
75
+ hasCorpus: Boolean("{{has_corpus}}" == "True"),
76
+ UMAP: {
77
+ minDist: parseFloat("{{min_dist}}"),
78
+ nNeighbors: parseInt("{{n_neighbors}}"),
79
+ nSamples: parseInt("{{n_samples}}"),
80
+ }
81
+ }),
82
+ writable: false
83
+ });
84
+ })()</script>
85
+ {% if is_development %}
86
+ <script type="module">
87
+ import RefreshRuntime from 'http://localhost:5173/@react-refresh'
88
+ RefreshRuntime.injectIntoGlobalHook(window)
89
+ window.$RefreshReg$ = () => {}
90
+ window.$RefreshSig$ = () => (type) => type
91
+ window.__vite_plugin_react_preamble_installed__ = true
92
+ </script>
93
+ <script type="module" src="http://localhost:5173/@vite/client"></script>
94
+ <script type="module" src="http://localhost:5173/index.tsx"></script>
95
+ {% else %}
96
+ {{ render_chunk('index.tsx') }}
97
+ {% endif %}
98
+ </body>
48
99
  </html>
phoenix/trace/schemas.py CHANGED
@@ -39,6 +39,7 @@ class SpanKind(Enum):
39
39
  AGENT = "AGENT"
40
40
  RERANKER = "RERANKER"
41
41
  EVALUATOR = "EVALUATOR"
42
+ GUARDRAIL = "GUARDRAIL"
42
43
  UNKNOWN = "UNKNOWN"
43
44
 
44
45
  def __str__(self) -> str:
phoenix/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "4.10.1"
1
+ __version__ = "4.10.2rc"
@@ -1,6 +0,0 @@
1
- html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
2
- /*! Bundled license information:
3
-
4
- normalize.css/normalize.css:
5
- (*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css *)
6
- */