vellum-ai 0.9.10__py3-none-any.whl → 0.9.11__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/ad_hoc/client.py +0 -2
- vellum/types/jinja_prompt_block.py +0 -2
- vellum/types/variable_prompt_block.py +1 -1
- {vellum_ai-0.9.10.dist-info → vellum_ai-0.9.11.dist-info}/METADATA +1 -1
- {vellum_ai-0.9.10.dist-info → vellum_ai-0.9.11.dist-info}/RECORD +8 -8
- {vellum_ai-0.9.10.dist-info → vellum_ai-0.9.11.dist-info}/LICENSE +0 -0
- {vellum_ai-0.9.10.dist-info → vellum_ai-0.9.11.dist-info}/WHEEL +0 -0
vellum/core/client_wrapper.py
CHANGED
@@ -17,7 +17,7 @@ class BaseClientWrapper:
|
|
17
17
|
headers: typing.Dict[str, str] = {
|
18
18
|
"X-Fern-Language": "Python",
|
19
19
|
"X-Fern-SDK-Name": "vellum-ai",
|
20
|
-
"X-Fern-SDK-Version": "0.9.
|
20
|
+
"X-Fern-SDK-Version": "0.9.11",
|
21
21
|
}
|
22
22
|
headers["X_API_KEY"] = self.api_key
|
23
23
|
return headers
|
@@ -126,7 +126,6 @@ class AdHocClient:
|
|
126
126
|
state="ENABLED",
|
127
127
|
cache_config=EphemeralPromptCacheConfig(),
|
128
128
|
template="string",
|
129
|
-
template_type="STRING",
|
130
129
|
)
|
131
130
|
],
|
132
131
|
expand_meta=AdHocExpandMeta(
|
@@ -327,7 +326,6 @@ class AsyncAdHocClient:
|
|
327
326
|
state="ENABLED",
|
328
327
|
cache_config=EphemeralPromptCacheConfig(),
|
329
328
|
template="string",
|
330
|
-
template_type="STRING",
|
331
329
|
)
|
332
330
|
],
|
333
331
|
expand_meta=AdHocExpandMeta(
|
@@ -4,7 +4,6 @@ from ..core.pydantic_utilities import UniversalBaseModel
|
|
4
4
|
import typing
|
5
5
|
from .prompt_block_state import PromptBlockState
|
6
6
|
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
7
|
-
from .vellum_variable_type import VellumVariableType
|
8
7
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
8
|
import pydantic
|
10
9
|
|
@@ -18,7 +17,6 @@ class JinjaPromptBlock(UniversalBaseModel):
|
|
18
17
|
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
19
18
|
block_type: typing.Literal["JINJA"] = "JINJA"
|
20
19
|
template: str
|
21
|
-
template_type: VellumVariableType
|
22
20
|
|
23
21
|
if IS_PYDANTIC_V2:
|
24
22
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -16,7 +16,7 @@ class VariablePromptBlock(UniversalBaseModel):
|
|
16
16
|
state: typing.Optional[PromptBlockState] = None
|
17
17
|
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
18
18
|
block_type: typing.Literal["VARIABLE"] = "VARIABLE"
|
19
|
-
|
19
|
+
input_variable: str
|
20
20
|
|
21
21
|
if IS_PYDANTIC_V2:
|
22
22
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -2,7 +2,7 @@ vellum/__init__.py,sha256=NEsCiACEkYsvptuTcfLFTiuhK3a17YvN0m-S6aHergA,34246
|
|
2
2
|
vellum/client.py,sha256=kG4b9g1Jjm6zgzGBXCAYXcM_3xNQfBsa2Xut6F0eHQM,115201
|
3
3
|
vellum/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
|
4
4
|
vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
5
|
-
vellum/core/client_wrapper.py,sha256=
|
5
|
+
vellum/core/client_wrapper.py,sha256=rFCyqPB7-DwPoy9Pzx3i_2prqt4Ogllt6aWD54T3vj0,1890
|
6
6
|
vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
7
7
|
vellum/core/file.py,sha256=X9IbmkZmB2bB_DpmZAO3crWdXagOakAyn6UCOCImCPg,2322
|
8
8
|
vellum/core/http_client.py,sha256=R0pQpCppnEtxccGvXl4uJ76s7ro_65Fo_erlNNLp_AI,19228
|
@@ -32,7 +32,7 @@ vellum/lib/utils/uuid.py,sha256=nedyhTNQDS2YvrU5gL3PtvG9cgGH87yKOcpGDJAe44E,214
|
|
32
32
|
vellum/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
33
|
vellum/resources/__init__.py,sha256=6tqe3AwLJGLW38iua0Tje0n3uz3a4vkqMFxbUJGRs98,1346
|
34
34
|
vellum/resources/ad_hoc/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
35
|
-
vellum/resources/ad_hoc/client.py,sha256=
|
35
|
+
vellum/resources/ad_hoc/client.py,sha256=fQqnZrUADSTadNx8RP2yfR-MiJ0slkKRHY8DG5CndHQ,16107
|
36
36
|
vellum/resources/container_images/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
37
37
|
vellum/resources/container_images/client.py,sha256=jK1n-NFsdBKCeEKh-EIqvw7R8AG9PP4GxxcoH9F0GYs,15463
|
38
38
|
vellum/resources/deployments/__init__.py,sha256=m64MNuPx3qVazOnTNwOY8oEeDrAkNwMJvUEe5xoMDvs,239
|
@@ -248,7 +248,7 @@ vellum/types/initiated_workflow_node_result_event.py,sha256=Nu1J4iQYsW2HHjQFzQq-
|
|
248
248
|
vellum/types/instructor_vectorizer_config.py,sha256=7udlosXv4CUWTW_Q9m0mz3VRi1FKSbBhDIOhtxRd0-U,731
|
249
249
|
vellum/types/instructor_vectorizer_config_request.py,sha256=6LGFFQKntMfX7bdetUqEMVdr3KJHEps0oDp2bNmqWbM,738
|
250
250
|
vellum/types/iteration_state_enum.py,sha256=83JSh842OJgQiLtNn1KMimy6RlEYRVH3mDmYWS6Ewzo,180
|
251
|
-
vellum/types/jinja_prompt_block.py,sha256=
|
251
|
+
vellum/types/jinja_prompt_block.py,sha256=Q2aIQh8a-i09kL1ISM-kzTq7TZoyaafDDlmCkUmLnVw,939
|
252
252
|
vellum/types/json_input_request.py,sha256=x5sA-VXxF4QH-98xRcIKPZhsMVbnJNUQofiUQqyfGk4,768
|
253
253
|
vellum/types/json_variable_value.py,sha256=X7eBEWxuozfvIdqD5sIZ5L-L77Ou6IIsZaQVNXh5G2k,634
|
254
254
|
vellum/types/json_vellum_value.py,sha256=8irlw6NkRRVafysfTc1Q5BFFhRrWJYzdwrDYTdJK4JY,689
|
@@ -498,7 +498,7 @@ vellum/types/token_overlapping_window_chunking_request.py,sha256=IjCs9UDrwBT6tnf
|
|
498
498
|
vellum/types/unit_enum.py,sha256=BKWRVp2WfHtGK4D6TsolhNJHGHfExzrRHkFn8H8QkwQ,113
|
499
499
|
vellum/types/upload_document_response.py,sha256=6_5Cm4yBPq5nD-rEql6GsmrAtSVVtNRczOL5YwsBVMI,649
|
500
500
|
vellum/types/upsert_test_suite_test_case_request.py,sha256=iB38vx4mo4yNLV5XTeXMGR-PJLOQPloWQOAAi7PDpM0,2079
|
501
|
-
vellum/types/variable_prompt_block.py,sha256=
|
501
|
+
vellum/types/variable_prompt_block.py,sha256=TnFQpfulqvbO-Ogs0u_IqQ6TPMMRC_Grz5uzd9-gMTs,946
|
502
502
|
vellum/types/vellum_audio.py,sha256=oPm1bcxk7fTfWfHWOPSLvrZrRBjCyPDVDRMACPoWmMI,721
|
503
503
|
vellum/types/vellum_audio_request.py,sha256=y9CZgQ1TteW0AHNk8GuAZLNVFa981rh7P9vyV8bfgys,728
|
504
504
|
vellum/types/vellum_error.py,sha256=jCKfuCkDTiyFb1-QyP2cg0wReja6wMuooKPAjNhBA0M,643
|
@@ -560,7 +560,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
|
|
560
560
|
vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
|
561
561
|
vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
|
562
562
|
vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
|
563
|
-
vellum_ai-0.9.
|
564
|
-
vellum_ai-0.9.
|
565
|
-
vellum_ai-0.9.
|
566
|
-
vellum_ai-0.9.
|
563
|
+
vellum_ai-0.9.11.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
|
564
|
+
vellum_ai-0.9.11.dist-info/METADATA,sha256=YDWfvAemFTiybwPWoWRe_cMypWAR1OvvalBoiFn8Ki8,4395
|
565
|
+
vellum_ai-0.9.11.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
566
|
+
vellum_ai-0.9.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|