arize-phoenix 11.32.0__py3-none-any.whl → 11.32.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.
- {arize_phoenix-11.32.0.dist-info → arize_phoenix-11.32.1.dist-info}/METADATA +1 -1
- {arize_phoenix-11.32.0.dist-info → arize_phoenix-11.32.1.dist-info}/RECORD +8 -8
- phoenix/server/api/helpers/prompts/models.py +16 -18
- phoenix/version.py +1 -1
- {arize_phoenix-11.32.0.dist-info → arize_phoenix-11.32.1.dist-info}/WHEEL +0 -0
- {arize_phoenix-11.32.0.dist-info → arize_phoenix-11.32.1.dist-info}/entry_points.txt +0 -0
- {arize_phoenix-11.32.0.dist-info → arize_phoenix-11.32.1.dist-info}/licenses/IP_NOTICE +0 -0
- {arize_phoenix-11.32.0.dist-info → arize_phoenix-11.32.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -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=ngkyKGVatX3cO2WJdo2hKdaVKP-xJCMvqthvga6kJss,5196
|
|
8
8
|
phoenix/settings.py,sha256=2kHfT3BNOVd4dAO1bq-syEQbHSG8oX2-7NhOwK2QREk,896
|
|
9
|
-
phoenix/version.py,sha256=
|
|
9
|
+
phoenix/version.py,sha256=Utvo1H1p3awEEChomMWPmKVktBQRkwo4E-GwCJs2ItI,24
|
|
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
|
|
@@ -181,7 +181,7 @@ phoenix/server/api/helpers/playground_clients.py,sha256=DgmDM6ismCwm1GLB4_9DnWsP
|
|
|
181
181
|
phoenix/server/api/helpers/playground_registry.py,sha256=n0v4-KnvZJxeaEwOla5qBbnOQjSWznKmMhZnh9ziJt0,2584
|
|
182
182
|
phoenix/server/api/helpers/playground_spans.py,sha256=QpXwPl_fFNwm_iA1A77XApUyXMl1aDmonw8aXuNZ_4k,17132
|
|
183
183
|
phoenix/server/api/helpers/prompts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
184
|
-
phoenix/server/api/helpers/prompts/models.py,sha256
|
|
184
|
+
phoenix/server/api/helpers/prompts/models.py,sha256=-uMQcFFsA_UwNxdZv0cZZ0m57rzxf8C9Ke2AYolR730,23522
|
|
185
185
|
phoenix/server/api/helpers/prompts/conversions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
186
186
|
phoenix/server/api/helpers/prompts/conversions/anthropic.py,sha256=ZT--UqBwoGf7QMusajB6aeB7zyWGttaZigb113kgiY8,3571
|
|
187
187
|
phoenix/server/api/helpers/prompts/conversions/aws.py,sha256=6vaT8K13r0bMXB9XHA8qY1MCjVsmR9TO0VIwyBMjQoY,2941
|
|
@@ -444,9 +444,9 @@ phoenix/utilities/project.py,sha256=auVpARXkDb-JgeX5f2aStyFIkeKvGwN9l7qrFeJMVxI,
|
|
|
444
444
|
phoenix/utilities/re.py,sha256=6YyUWIkv0zc2SigsxfOWIHzdpjKA_TZo2iqKq7zJKvw,2081
|
|
445
445
|
phoenix/utilities/span_store.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
446
446
|
phoenix/utilities/template_formatters.py,sha256=gh9PJD6WEGw7TEYXfSst1UR4pWWwmjxMLrDVQ_CkpkQ,2779
|
|
447
|
-
arize_phoenix-11.32.
|
|
448
|
-
arize_phoenix-11.32.
|
|
449
|
-
arize_phoenix-11.32.
|
|
450
|
-
arize_phoenix-11.32.
|
|
451
|
-
arize_phoenix-11.32.
|
|
452
|
-
arize_phoenix-11.32.
|
|
447
|
+
arize_phoenix-11.32.1.dist-info/METADATA,sha256=oiMDIZ_RNO_tlxwaq7ElAd1cceMlY7jDXO0SleWcR5A,32877
|
|
448
|
+
arize_phoenix-11.32.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
449
|
+
arize_phoenix-11.32.1.dist-info/entry_points.txt,sha256=Pgpn8Upxx9P8z8joPXZWl2LlnAlGc3gcQoVchb06X1Q,94
|
|
450
|
+
arize_phoenix-11.32.1.dist-info/licenses/IP_NOTICE,sha256=JBqyyCYYxGDfzQ0TtsQgjts41IJoa-hiwDrBjCb9gHM,469
|
|
451
|
+
arize_phoenix-11.32.1.dist-info/licenses/LICENSE,sha256=HFkW9REuMOkvKRACuwLPT0hRydHb3zNg-fdFt94td18,3794
|
|
452
|
+
arize_phoenix-11.32.1.dist-info/RECORD,,
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
1
|
from enum import Enum
|
|
4
2
|
from typing import Any, Literal, Mapping, Optional, Union
|
|
5
3
|
|
|
@@ -127,11 +125,6 @@ class PromptTemplateRootModel(RootModel[PromptTemplate]):
|
|
|
127
125
|
root: PromptTemplate
|
|
128
126
|
|
|
129
127
|
|
|
130
|
-
class PromptToolFunction(DBBaseModel):
|
|
131
|
-
type: Literal["function"]
|
|
132
|
-
function: PromptToolFunctionDefinition
|
|
133
|
-
|
|
134
|
-
|
|
135
128
|
class PromptToolFunctionDefinition(DBBaseModel):
|
|
136
129
|
name: str
|
|
137
130
|
description: str = UNDEFINED
|
|
@@ -139,14 +132,12 @@ class PromptToolFunctionDefinition(DBBaseModel):
|
|
|
139
132
|
strict: bool = UNDEFINED
|
|
140
133
|
|
|
141
134
|
|
|
142
|
-
|
|
135
|
+
class PromptToolFunction(DBBaseModel):
|
|
136
|
+
type: Literal["function"]
|
|
137
|
+
function: PromptToolFunctionDefinition
|
|
143
138
|
|
|
144
139
|
|
|
145
|
-
|
|
146
|
-
type: Literal["tools"]
|
|
147
|
-
tools: Annotated[list[PromptTool], Field(..., min_length=1)]
|
|
148
|
-
tool_choice: PromptToolChoice = UNDEFINED
|
|
149
|
-
disable_parallel_tool_calls: bool = UNDEFINED
|
|
140
|
+
PromptTool: TypeAlias = Annotated[Union[PromptToolFunction], Field(..., discriminator="type")]
|
|
150
141
|
|
|
151
142
|
|
|
152
143
|
class PromptToolChoiceNone(DBBaseModel):
|
|
@@ -177,6 +168,13 @@ PromptToolChoice: TypeAlias = Annotated[
|
|
|
177
168
|
]
|
|
178
169
|
|
|
179
170
|
|
|
171
|
+
class PromptTools(DBBaseModel):
|
|
172
|
+
type: Literal["tools"]
|
|
173
|
+
tools: Annotated[list[PromptTool], Field(..., min_length=1)]
|
|
174
|
+
tool_choice: PromptToolChoice = UNDEFINED
|
|
175
|
+
disable_parallel_tool_calls: bool = UNDEFINED
|
|
176
|
+
|
|
177
|
+
|
|
180
178
|
class PromptOpenAIJSONSchema(DBBaseModel):
|
|
181
179
|
"""
|
|
182
180
|
Based on https://github.com/openai/openai-python/blob/d16e6edde5a155626910b5758a0b939bfedb9ced/src/openai/types/shared/response_format_json_schema.py#L13
|
|
@@ -200,11 +198,6 @@ class PromptOpenAIResponseFormatJSONSchema(DBBaseModel):
|
|
|
200
198
|
type: Literal["json_schema"]
|
|
201
199
|
|
|
202
200
|
|
|
203
|
-
class PromptResponseFormatJSONSchema(DBBaseModel):
|
|
204
|
-
type: Literal["json_schema"]
|
|
205
|
-
json_schema: PromptResponseFormatJSONSchemaDefinition
|
|
206
|
-
|
|
207
|
-
|
|
208
201
|
class PromptResponseFormatJSONSchemaDefinition(DBBaseModel):
|
|
209
202
|
name: str
|
|
210
203
|
description: str = UNDEFINED
|
|
@@ -212,6 +205,11 @@ class PromptResponseFormatJSONSchemaDefinition(DBBaseModel):
|
|
|
212
205
|
strict: bool = UNDEFINED
|
|
213
206
|
|
|
214
207
|
|
|
208
|
+
class PromptResponseFormatJSONSchema(DBBaseModel):
|
|
209
|
+
type: Literal["json_schema"]
|
|
210
|
+
json_schema: PromptResponseFormatJSONSchemaDefinition
|
|
211
|
+
|
|
212
|
+
|
|
215
213
|
PromptResponseFormat: TypeAlias = Annotated[
|
|
216
214
|
Union[PromptResponseFormatJSONSchema], Field(..., discriminator="type")
|
|
217
215
|
]
|
phoenix/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "11.32.
|
|
1
|
+
__version__ = "11.32.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|