vellum-ai 0.9.5__py3-none-any.whl → 0.9.6__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.5",
20
+ "X-Fern-SDK-Version": "0.9.6",
21
21
  }
22
22
  headers["X_API_KEY"] = self.api_key
23
23
  return headers
@@ -124,15 +124,14 @@ class AdHocClient:
124
124
  ),
125
125
  blocks=[
126
126
  JinjaPromptBlockRequest(
127
- properties=JinjaPromptBlockPropertiesRequest(
128
- template="string",
129
- template_type="STRING",
130
- ),
131
- id="string",
132
127
  state="ENABLED",
133
128
  cache_config=EphemeralPromptCacheConfigRequest(
134
129
  type={"key": "value"},
135
130
  ),
131
+ properties=JinjaPromptBlockPropertiesRequest(
132
+ template="string",
133
+ template_type="STRING",
134
+ ),
136
135
  )
137
136
  ],
138
137
  expand_meta=AdHocExpandMetaRequest(
@@ -331,15 +330,14 @@ class AsyncAdHocClient:
331
330
  ),
332
331
  blocks=[
333
332
  JinjaPromptBlockRequest(
334
- properties=JinjaPromptBlockPropertiesRequest(
335
- template="string",
336
- template_type="STRING",
337
- ),
338
- id="string",
339
333
  state="ENABLED",
340
334
  cache_config=EphemeralPromptCacheConfigRequest(
341
335
  type={"key": "value"},
342
336
  ),
337
+ properties=JinjaPromptBlockPropertiesRequest(
338
+ template="string",
339
+ template_type="STRING",
340
+ ),
343
341
  )
344
342
  ],
345
343
  expand_meta=AdHocExpandMetaRequest(
@@ -15,11 +15,10 @@ class ChatMessagePromptBlockRequest(UniversalBaseModel):
15
15
  A block that represents a chat message in a prompt template.
16
16
  """
17
17
 
18
- block_type: typing.Literal["CHAT_MESSAGE"] = "CHAT_MESSAGE"
19
- properties: "ChatMessagePromptBlockPropertiesRequest"
20
- id: str
21
18
  state: typing.Optional[PromptBlockState] = None
22
19
  cache_config: typing.Optional[EphemeralPromptCacheConfigRequest] = None
20
+ block_type: typing.Literal["CHAT_MESSAGE"] = "CHAT_MESSAGE"
21
+ properties: "ChatMessagePromptBlockPropertiesRequest"
23
22
 
24
23
  if IS_PYDANTIC_V2:
25
24
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -2,9 +2,9 @@
2
2
 
3
3
  from ..core.pydantic_utilities import UniversalBaseModel
4
4
  import typing
5
- from .function_definition_prompt_block_properties_request import FunctionDefinitionPromptBlockPropertiesRequest
6
5
  from .prompt_block_state import PromptBlockState
7
6
  from .ephemeral_prompt_cache_config_request import EphemeralPromptCacheConfigRequest
7
+ from .function_definition_prompt_block_properties_request import FunctionDefinitionPromptBlockPropertiesRequest
8
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
9
  import pydantic
10
10
 
@@ -14,11 +14,10 @@ class FunctionDefinitionPromptBlockRequest(UniversalBaseModel):
14
14
  A block that represents a function definition in a prompt template.
15
15
  """
16
16
 
17
- block_type: typing.Literal["FUNCTION_DEFINITION"] = "FUNCTION_DEFINITION"
18
- properties: FunctionDefinitionPromptBlockPropertiesRequest
19
- id: str
20
17
  state: typing.Optional[PromptBlockState] = None
21
18
  cache_config: typing.Optional[EphemeralPromptCacheConfigRequest] = None
19
+ block_type: typing.Literal["FUNCTION_DEFINITION"] = "FUNCTION_DEFINITION"
20
+ properties: FunctionDefinitionPromptBlockPropertiesRequest
22
21
 
23
22
  if IS_PYDANTIC_V2:
24
23
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -2,9 +2,9 @@
2
2
 
3
3
  from ..core.pydantic_utilities import UniversalBaseModel
4
4
  import typing
5
- from .jinja_prompt_block_properties_request import JinjaPromptBlockPropertiesRequest
6
5
  from .prompt_block_state import PromptBlockState
7
6
  from .ephemeral_prompt_cache_config_request import EphemeralPromptCacheConfigRequest
7
+ from .jinja_prompt_block_properties_request import JinjaPromptBlockPropertiesRequest
8
8
  from ..core.pydantic_utilities import IS_PYDANTIC_V2
9
9
  import pydantic
10
10
 
@@ -14,11 +14,10 @@ class JinjaPromptBlockRequest(UniversalBaseModel):
14
14
  A block of Jinja template code that is used to generate a prompt
15
15
  """
16
16
 
17
- block_type: typing.Literal["JINJA"] = "JINJA"
18
- properties: JinjaPromptBlockPropertiesRequest
19
- id: str
20
17
  state: typing.Optional[PromptBlockState] = None
21
18
  cache_config: typing.Optional[EphemeralPromptCacheConfigRequest] = None
19
+ block_type: typing.Literal["JINJA"] = "JINJA"
20
+ properties: JinjaPromptBlockPropertiesRequest
22
21
 
23
22
  if IS_PYDANTIC_V2:
24
23
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -13,11 +13,10 @@ class PlainTextPromptBlockRequest(UniversalBaseModel):
13
13
  A block that holds a plain text string value.
14
14
  """
15
15
 
16
- block_type: typing.Literal["PLAIN_TEXT"] = "PLAIN_TEXT"
17
- text: str
18
- id: str
19
16
  state: typing.Optional[PromptBlockState] = None
20
17
  cache_config: typing.Optional[EphemeralPromptCacheConfigRequest] = None
18
+ block_type: typing.Literal["PLAIN_TEXT"] = "PLAIN_TEXT"
19
+ text: str
21
20
 
22
21
  if IS_PYDANTIC_V2:
23
22
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -13,10 +13,9 @@ class VariablePromptBlockRequest(UniversalBaseModel):
13
13
  A block that represents a variable in a prompt template.
14
14
  """
15
15
 
16
- block_type: typing.Literal["VARIABLE"] = "VARIABLE"
17
- id: str
18
16
  state: typing.Optional[PromptBlockState] = None
19
17
  cache_config: typing.Optional[EphemeralPromptCacheConfigRequest] = None
18
+ block_type: typing.Literal["VARIABLE"] = "VARIABLE"
20
19
  input_variable_id: str
21
20
 
22
21
  if IS_PYDANTIC_V2:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.9.5
3
+ Version: 0.9.6
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -2,7 +2,7 @@ vellum/__init__.py,sha256=lxCyTeUWCY9gVFEdNGjS9D5vo_ZHdBKB5Jq5YBzOAuA,34880
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=eKBQyUrDOyRuqIhipKHnTPLlwF5qCGsy9j7k1um7lu4,1889
5
+ vellum/core/client_wrapper.py,sha256=HkbykwxWd4Q0SdjNKrldb7OajGyKhBvHr6mPforemyI,1889
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=maNoWMHH8LSFlr5rDfoJybiPaoWuUiWFkt-IFq8dNMA,17271
35
+ vellum/resources/ad_hoc/client.py,sha256=HZ8FOit4o3a0LcVs2oG-ymy0kqSZVa0fuscL-wHzzxo,17201
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
@@ -120,7 +120,7 @@ vellum/types/chat_message.py,sha256=EOA8v5Ebx2KS9BtwBBGbuvSK-pn4xWYZiioHuuPWvzw,
120
120
  vellum/types/chat_message_content.py,sha256=DQLB5rG40qLRLsmKWWo-XKa4rhk9TGQs_eFTFow2zEM,607
121
121
  vellum/types/chat_message_content_request.py,sha256=iFT_PmN6sUjeN1_fZXr2ePJEbSq_GZcClBvtu8SdVmQ,724
122
122
  vellum/types/chat_message_prompt_block_properties_request.py,sha256=lMBVwR5hnBykjVpcptjBJLj4QhUpomtxdj-E2Th8iYw,1346
123
- vellum/types/chat_message_prompt_block_request.py,sha256=osPqtdZOG9NW_Iqcv0CyvkU2cHZzPeVVIWQUGvnB-Dw,1423
123
+ vellum/types/chat_message_prompt_block_request.py,sha256=aCTBth-hSb5BLbyeiUJdtKB-zoXY78JfUl3mZXjkVfc,1411
124
124
  vellum/types/chat_message_request.py,sha256=r2EW1pfnvNYx2fo6mBqU5HQrUzp67WXuE5G-XK281E4,945
125
125
  vellum/types/chat_message_role.py,sha256=-i0Jrcbwf72MkMoaFTGyxRduvlN7f5Y9ULhCXR5KNdA,182
126
126
  vellum/types/code_execution_node_array_result.py,sha256=KCdbmjXjReO-hPPpBsSR17h_roDUpc4R-92cmIn59ck,952
@@ -217,7 +217,7 @@ vellum/types/function_call_variable_value.py,sha256=VQKCiEtJsmIK3i7CtFV_2ZpxeX70
217
217
  vellum/types/function_call_vellum_value.py,sha256=lLJb-S_-S_UXm6una1BMyCbqLpMhbbMcaVIYNO45h5o,759
218
218
  vellum/types/function_call_vellum_value_request.py,sha256=oUteuCfWcj7UJbSE_Vywmmva9kyTaeL9iv5WJHabDVs,788
219
219
  vellum/types/function_definition_prompt_block_properties_request.py,sha256=7mhG7x-YceU1TFImm_HpNuetByxpLZ3rZaT1JoKKBrE,1423
220
- vellum/types/function_definition_prompt_block_request.py,sha256=l6n6-Mg_EmXz_Ge-wdvQI3in61ipIoQ0JPgxHlpBvD0,1181
220
+ vellum/types/function_definition_prompt_block_request.py,sha256=ZX6YqqC1xDICC_S_KYDaWo4ag--ujQYGRhnO_6fIxJE,1169
221
221
  vellum/types/generate_options_request.py,sha256=TUDqsH0tiPWDZH4T-p5gsvKvwVHEVZ_k6oI3qsjlsk4,782
222
222
  vellum/types/generate_request.py,sha256=gL6ywAJe6YCJ5oKbtYwL2H_TMdC_6PJZAI7-P3UOF3I,1286
223
223
  vellum/types/generate_response.py,sha256=QJmSRsYhZhtDmk2xpE9ueQEkHyXmYsaEQqqlKl9-bS4,699
@@ -251,7 +251,7 @@ vellum/types/instructor_vectorizer_config.py,sha256=7udlosXv4CUWTW_Q9m0mz3VRi1FK
251
251
  vellum/types/instructor_vectorizer_config_request.py,sha256=6LGFFQKntMfX7bdetUqEMVdr3KJHEps0oDp2bNmqWbM,738
252
252
  vellum/types/iteration_state_enum.py,sha256=83JSh842OJgQiLtNn1KMimy6RlEYRVH3mDmYWS6Ewzo,180
253
253
  vellum/types/jinja_prompt_block_properties_request.py,sha256=2nb9gp224ADPi0aNTKNMaOe159EDB8JSHzDkMzR0QxI,719
254
- vellum/types/jinja_prompt_block_request.py,sha256=VQPrZOZJaEw2ILrebKT53CM8hRyQ5RuUeZZt0mzRd3Q,1097
254
+ vellum/types/jinja_prompt_block_request.py,sha256=KiRE-mYW-KvPTWDQBVVcXD8NKPLlgzB-_7_DnhVTIJM,1085
255
255
  vellum/types/json_input_request.py,sha256=x5sA-VXxF4QH-98xRcIKPZhsMVbnJNUQofiUQqyfGk4,768
256
256
  vellum/types/json_variable_value.py,sha256=X7eBEWxuozfvIdqD5sIZ5L-L77Ou6IIsZaQVNXh5G2k,634
257
257
  vellum/types/json_vellum_value.py,sha256=8irlw6NkRRVafysfTc1Q5BFFhRrWJYzdwrDYTdJK4JY,689
@@ -336,7 +336,7 @@ vellum/types/paginated_test_suite_test_case_list.py,sha256=9KrCCQKy0egMmVx5U2k6o
336
336
  vellum/types/paginated_workflow_release_tag_read_list.py,sha256=dH24ESWyAMVtyHsBkxG8kJ9oORY04Wn3IN-7jvV7Lu4,818
337
337
  vellum/types/pdf_search_result_meta_source.py,sha256=EMVhqdN1bwE6Ujdx4VhlmKQtJvitN-57kY8oZPxh9dI,1126
338
338
  vellum/types/pdf_search_result_meta_source_request.py,sha256=nUhaD2Kw1paGC6O_ICVNu3R0e1SVgTshRTkGNgmcjXo,1133
339
- vellum/types/plain_text_prompt_block_request.py,sha256=ljdh2OD-xUOAhEF8raHc6WnQDnWdtEY8aSNsEiuC5nY,971
339
+ vellum/types/plain_text_prompt_block_request.py,sha256=iKt6FH5vE4vCndqroDpkEwIbz0gQK40qzgXTPEuatCU,959
340
340
  vellum/types/price.py,sha256=ewzXDBVLaleuXMVQ-gQ3G1Nl5J2OWOVEMEFfnQIpiTk,610
341
341
  vellum/types/processing_failure_reason_enum.py,sha256=R_KIW7TcQejhc-vLhtNf9SdkYADgoZCn4ch4_RRIvsI,195
342
342
  vellum/types/processing_state_enum.py,sha256=lIEunnCpgYQExm2bGyTb12KyjQ3O7XOx636aWXb_Iwo,190
@@ -501,7 +501,7 @@ vellum/types/token_overlapping_window_chunking_request.py,sha256=IjCs9UDrwBT6tnf
501
501
  vellum/types/unit_enum.py,sha256=BKWRVp2WfHtGK4D6TsolhNJHGHfExzrRHkFn8H8QkwQ,113
502
502
  vellum/types/upload_document_response.py,sha256=6_5Cm4yBPq5nD-rEql6GsmrAtSVVtNRczOL5YwsBVMI,649
503
503
  vellum/types/upsert_test_suite_test_case_request.py,sha256=iB38vx4mo4yNLV5XTeXMGR-PJLOQPloWQOAAi7PDpM0,2079
504
- vellum/types/variable_prompt_block_request.py,sha256=XYiA3R_jaMZ2Mq37Lbh7CfBqqj93Yv8ZMVYGheodBdY,990
504
+ vellum/types/variable_prompt_block_request.py,sha256=e23BD9FQgF5JjxLuHCEBOlQn1e5cJaIF-HZBJ9mmjUA,978
505
505
  vellum/types/vellum_audio.py,sha256=oPm1bcxk7fTfWfHWOPSLvrZrRBjCyPDVDRMACPoWmMI,721
506
506
  vellum/types/vellum_audio_request.py,sha256=y9CZgQ1TteW0AHNk8GuAZLNVFa981rh7P9vyV8bfgys,728
507
507
  vellum/types/vellum_error.py,sha256=jCKfuCkDTiyFb1-QyP2cg0wReja6wMuooKPAjNhBA0M,643
@@ -565,7 +565,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
565
565
  vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
566
566
  vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
567
567
  vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
568
- vellum_ai-0.9.5.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
569
- vellum_ai-0.9.5.dist-info/METADATA,sha256=l-CeQgxUQREfkgizlV1e_eFat47Dv1eDEsb3KKY8kds,4394
570
- vellum_ai-0.9.5.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
- vellum_ai-0.9.5.dist-info/RECORD,,
568
+ vellum_ai-0.9.6.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
569
+ vellum_ai-0.9.6.dist-info/METADATA,sha256=81_zVpbr2Kd3kb9lKFW3VufkKzjk50WEtSGfxSmsQr8,4394
570
+ vellum_ai-0.9.6.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
571
+ vellum_ai-0.9.6.dist-info/RECORD,,