vellum-ai 0.0.21__py3-none-any.whl → 0.0.22__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. vellum/__init__.py +19 -19
  2. vellum/client.py +270 -101
  3. vellum/core/__init__.py +11 -2
  4. vellum/core/client_wrapper.py +27 -0
  5. vellum/core/remove_none_from_dict.py +11 -0
  6. vellum/resources/deployments/client.py +35 -15
  7. vellum/resources/document_indexes/client.py +64 -16
  8. vellum/resources/documents/client.py +110 -35
  9. vellum/resources/model_versions/client.py +67 -25
  10. vellum/resources/registered_prompts/client.py +80 -16
  11. vellum/resources/sandboxes/client.py +90 -25
  12. vellum/resources/test_suites/client.py +90 -25
  13. vellum/types/deployment_read.py +2 -6
  14. vellum/types/document.py +3 -7
  15. vellum/types/document_document_to_document_index.py +2 -2
  16. vellum/types/document_index_read.py +3 -7
  17. vellum/types/enriched_normalized_completion.py +5 -9
  18. vellum/types/evaluation_params.py +1 -3
  19. vellum/types/evaluation_params_request.py +1 -3
  20. vellum/types/generate_error_response.py +1 -1
  21. vellum/types/generate_request.py +3 -7
  22. vellum/types/generate_result.py +2 -6
  23. vellum/types/generate_result_data.py +1 -1
  24. vellum/types/generate_result_error.py +1 -1
  25. vellum/types/model_version_build_config.py +2 -6
  26. vellum/types/model_version_compile_prompt_response.py +1 -1
  27. vellum/types/model_version_compiled_prompt.py +2 -4
  28. vellum/types/model_version_exec_config.py +3 -3
  29. vellum/types/model_version_read.py +6 -10
  30. vellum/types/model_version_sandbox_snapshot.py +3 -5
  31. vellum/types/prompt_template_block_properties_request.py +2 -2
  32. vellum/types/prompt_template_block_request.py +1 -1
  33. vellum/types/prompt_template_input_variable.py +1 -1
  34. vellum/types/prompt_template_input_variable_request.py +1 -1
  35. vellum/types/register_prompt_error_response.py +1 -1
  36. vellum/types/register_prompt_prompt.py +2 -2
  37. vellum/types/register_prompt_prompt_info_request.py +1 -1
  38. vellum/types/register_prompt_response.py +5 -7
  39. vellum/types/registered_prompt_deployment.py +3 -3
  40. vellum/types/registered_prompt_model_version.py +2 -2
  41. vellum/types/registered_prompt_sandbox.py +2 -2
  42. vellum/types/registered_prompt_sandbox_snapshot.py +1 -1
  43. vellum/types/sandbox_scenario.py +2 -2
  44. vellum/types/scenario_input_request.py +1 -1
  45. vellum/types/search_error_response.py +1 -1
  46. vellum/types/search_filters_request.py +1 -1
  47. vellum/types/search_request_options_request.py +4 -6
  48. vellum/types/search_response.py +1 -1
  49. vellum/types/search_result.py +3 -3
  50. vellum/types/search_result_merging_request.py +1 -1
  51. vellum/types/search_weights_request.py +2 -2
  52. vellum/types/slim_document.py +5 -9
  53. vellum/types/submit_completion_actual_request.py +5 -15
  54. vellum/types/terminal_node_chat_history_result.py +1 -1
  55. vellum/types/terminal_node_json_result.py +1 -1
  56. vellum/types/terminal_node_result_output.py +2 -4
  57. vellum/types/terminal_node_string_result.py +1 -1
  58. vellum/types/test_suite_test_case.py +4 -8
  59. vellum/types/upload_document_response.py +1 -1
  60. vellum/types/workflow_node_result_data.py +7 -11
  61. vellum/types/workflow_request_chat_history_input_request.py +1 -3
  62. vellum/types/workflow_request_input_request.py +2 -6
  63. vellum/types/workflow_request_json_input_request.py +1 -3
  64. vellum/types/workflow_request_string_input_request.py +1 -3
  65. vellum/types/workflow_result_event_output_data.py +2 -8
  66. vellum/types/workflow_result_event_output_data_chat_history.py +3 -0
  67. vellum/types/workflow_result_event_output_data_json.py +3 -0
  68. vellum/types/workflow_result_event_output_data_string.py +6 -1
  69. vellum/types/workflow_stream_event.py +1 -4
  70. {vellum_ai-0.0.21.dist-info → vellum_ai-0.0.22.dist-info}/METADATA +1 -1
  71. {vellum_ai-0.0.21.dist-info → vellum_ai-0.0.22.dist-info}/RECORD +72 -71
  72. vellum/core/remove_none_from_headers.py +0 -11
  73. {vellum_ai-0.0.21.dist-info → vellum_ai-0.0.22.dist-info}/WHEEL +0 -0
@@ -4,7 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  import typing
6
6
 
7
- import pydantic
8
7
  import typing_extensions
9
8
 
10
9
  from .conditional_node_result import ConditionalNodeResult
@@ -63,14 +62,11 @@ class WorkflowNodeResultData_Terminal(TerminalNodeResult):
63
62
  allow_population_by_field_name = True
64
63
 
65
64
 
66
- WorkflowNodeResultData = typing_extensions.Annotated[
67
- typing.Union[
68
- WorkflowNodeResultData_Prompt,
69
- WorkflowNodeResultData_Sandbox,
70
- WorkflowNodeResultData_Deployment,
71
- WorkflowNodeResultData_Search,
72
- WorkflowNodeResultData_Conditional,
73
- WorkflowNodeResultData_Terminal,
74
- ],
75
- pydantic.Field(discriminator="type"),
65
+ WorkflowNodeResultData = typing.Union[
66
+ WorkflowNodeResultData_Prompt,
67
+ WorkflowNodeResultData_Sandbox,
68
+ WorkflowNodeResultData_Deployment,
69
+ WorkflowNodeResultData_Search,
70
+ WorkflowNodeResultData_Conditional,
71
+ WorkflowNodeResultData_Terminal,
76
72
  ]
@@ -11,9 +11,7 @@ from .chat_message_request import ChatMessageRequest
11
11
 
12
12
  class WorkflowRequestChatHistoryInputRequest(pydantic.BaseModel):
13
13
  name: str = pydantic.Field(
14
- description=(
15
- 'The variable\'s name, as defined in the Workflow. <span style="white-space: nowrap">`non-empty`</span> \n'
16
- )
14
+ description='The variable\'s name, as defined in the Workflow. <span style="white-space: nowrap">`non-empty`</span> '
17
15
  )
18
16
  value: typing.List[ChatMessageRequest]
19
17
 
@@ -4,7 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  import typing
6
6
 
7
- import pydantic
8
7
  import typing_extensions
9
8
 
10
9
  from .workflow_request_chat_history_input_request import WorkflowRequestChatHistoryInputRequest
@@ -36,9 +35,6 @@ class WorkflowRequestInputRequest_ChatHistory(WorkflowRequestChatHistoryInputReq
36
35
  allow_population_by_field_name = True
37
36
 
38
37
 
39
- WorkflowRequestInputRequest = typing_extensions.Annotated[
40
- typing.Union[
41
- WorkflowRequestInputRequest_String, WorkflowRequestInputRequest_Json, WorkflowRequestInputRequest_ChatHistory
42
- ],
43
- pydantic.Field(discriminator="type"),
38
+ WorkflowRequestInputRequest = typing.Union[
39
+ WorkflowRequestInputRequest_String, WorkflowRequestInputRequest_Json, WorkflowRequestInputRequest_ChatHistory
44
40
  ]
@@ -10,9 +10,7 @@ from ..core.datetime_utils import serialize_datetime
10
10
 
11
11
  class WorkflowRequestJsonInputRequest(pydantic.BaseModel):
12
12
  name: str = pydantic.Field(
13
- description=(
14
- 'The variable\'s name, as defined in the Workflow. <span style="white-space: nowrap">`non-empty`</span> \n'
15
- )
13
+ description='The variable\'s name, as defined in the Workflow. <span style="white-space: nowrap">`non-empty`</span> '
16
14
  )
17
15
  value: typing.Dict[str, typing.Any]
18
16
 
@@ -10,9 +10,7 @@ from ..core.datetime_utils import serialize_datetime
10
10
 
11
11
  class WorkflowRequestStringInputRequest(pydantic.BaseModel):
12
12
  name: str = pydantic.Field(
13
- description=(
14
- 'The variable\'s name, as defined in the Workflow. <span style="white-space: nowrap">`non-empty`</span> \n'
15
- )
13
+ description='The variable\'s name, as defined in the Workflow. <span style="white-space: nowrap">`non-empty`</span> '
16
14
  )
17
15
  value: str
18
16
 
@@ -4,7 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  import typing
6
6
 
7
- import pydantic
8
7
  import typing_extensions
9
8
 
10
9
  from .workflow_result_event_output_data_chat_history import WorkflowResultEventOutputDataChatHistory
@@ -36,11 +35,6 @@ class WorkflowResultEventOutputData_ChatHistory(WorkflowResultEventOutputDataCha
36
35
  allow_population_by_field_name = True
37
36
 
38
37
 
39
- WorkflowResultEventOutputData = typing_extensions.Annotated[
40
- typing.Union[
41
- WorkflowResultEventOutputData_String,
42
- WorkflowResultEventOutputData_Json,
43
- WorkflowResultEventOutputData_ChatHistory,
44
- ],
45
- pydantic.Field(discriminator="type"),
38
+ WorkflowResultEventOutputData = typing.Union[
39
+ WorkflowResultEventOutputData_String, WorkflowResultEventOutputData_Json, WorkflowResultEventOutputData_ChatHistory
46
40
  ]
@@ -14,6 +14,9 @@ class WorkflowResultEventOutputDataChatHistory(pydantic.BaseModel):
14
14
  name: str
15
15
  state: WorkflowNodeResultEventState
16
16
  node_id: str
17
+ delta: typing.Optional[str] = pydantic.Field(
18
+ description="The newly output string value. Only relevant for string outputs with a state of STREAMING."
19
+ )
17
20
  value: typing.Optional[typing.List[ChatMessage]]
18
21
 
19
22
  def json(self, **kwargs: typing.Any) -> str:
@@ -13,6 +13,9 @@ class WorkflowResultEventOutputDataJson(pydantic.BaseModel):
13
13
  name: str
14
14
  state: WorkflowNodeResultEventState
15
15
  node_id: str
16
+ delta: typing.Optional[str] = pydantic.Field(
17
+ description="The newly output string value. Only relevant for string outputs with a state of STREAMING."
18
+ )
16
19
  value: typing.Optional[typing.Dict[str, typing.Any]]
17
20
 
18
21
  def json(self, **kwargs: typing.Any) -> str:
@@ -13,7 +13,12 @@ class WorkflowResultEventOutputDataString(pydantic.BaseModel):
13
13
  name: str
14
14
  state: WorkflowNodeResultEventState
15
15
  node_id: str
16
- value: typing.Optional[str]
16
+ delta: typing.Optional[str] = pydantic.Field(
17
+ description="The newly output string value, meant to be concatenated with all previous. Will be non-null for events of state STREAMING."
18
+ )
19
+ value: typing.Optional[str] = pydantic.Field(
20
+ description="The entire string value. Will be non-null for events of state FULFILLED."
21
+ )
17
22
 
18
23
  def json(self, **kwargs: typing.Any) -> str:
19
24
  kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
@@ -4,7 +4,6 @@ from __future__ import annotations
4
4
 
5
5
  import typing
6
6
 
7
- import pydantic
8
7
  import typing_extensions
9
8
 
10
9
  from .workflow_execution_node_result_event import WorkflowExecutionNodeResultEvent
@@ -27,6 +26,4 @@ class WorkflowStreamEvent_Node(WorkflowExecutionNodeResultEvent):
27
26
  allow_population_by_field_name = True
28
27
 
29
28
 
30
- WorkflowStreamEvent = typing_extensions.Annotated[
31
- typing.Union[WorkflowStreamEvent_Workflow, WorkflowStreamEvent_Node], pydantic.Field(discriminator="type")
32
- ]
29
+ WorkflowStreamEvent = typing.Union[WorkflowStreamEvent_Workflow, WorkflowStreamEvent_Node]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.0.21
3
+ Version: 0.0.22
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,10 +1,11 @@
1
- vellum/__init__.py,sha256=uxZjXBX0NiBy01lcsTnzhrqgN2jSyxxGXzw5flaKteo,8747
2
- vellum/client.py,sha256=adCZQQKrVBnJ1PlU6dRzfkJj6NzPaQjfJYO9MgAselo,22519
3
- vellum/core/__init__.py,sha256=qQP1ec3_wC4q9KA3hqDEqyllC-z5Bza2NPQbADBq5f8,348
1
+ vellum/__init__.py,sha256=dTUTCxnQCfTSzlJNR2s8U-4_4gjfa7DpkqmuNDDkzos,8747
2
+ vellum/client.py,sha256=b6rn2IiVQyW01nlqAEYFVp6eavOBiedITlXaG-qV52k,30765
3
+ vellum/core/__init__.py,sha256=QJS3CJ2TYP2E1Tge0CS6Z7r8LTNzJHQVX1hD3558eP0,519
4
4
  vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
+ vellum/core/client_wrapper.py,sha256=wNp6eZVx2wfl0CBL2eRja6VzGPjd-VH0F27tkE1YSGk,758
5
6
  vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
6
7
  vellum/core/jsonable_encoder.py,sha256=yHrx0C19n1H77G-GanO-HsFyBPVMlsJz7WffsHwXEVI,3710
7
- vellum/core/remove_none_from_headers.py,sha256=paKMgUVWJW133a_5y5lV00bhOuZOgZqWrON_oGNuzCA,385
8
+ vellum/core/remove_none_from_dict.py,sha256=8m91FC3YuVem0Gm9_sXhJ2tGvP33owJJdrqCLEdowGw,330
8
9
  vellum/environment.py,sha256=bcAFjoE9XXd7tiysYS90Os669IJmUMZS2JZ_ZQn0Dpg,498
9
10
  vellum/errors/__init__.py,sha256=57E7ykyjmPTSDm-CJKS6exWPndqZBUVslrmzLbtQUYg,402
10
11
  vellum/errors/bad_request_error.py,sha256=jvBFMSUKdTc6ya16S5O7zwaFnPhOm8N4DjIom_pw5pc,248
@@ -15,19 +16,19 @@ vellum/errors/not_found_error.py,sha256=P65k-Lm2RuefAVSNLER5hH-4P99SGohKy2cOPSrI
15
16
  vellum/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
17
  vellum/resources/__init__.py,sha256=ceVGZa6cItlSHYeXoDUeCJuYVs73cUxghmL6MTL3Vp4,339
17
18
  vellum/resources/deployments/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
18
- vellum/resources/deployments/client.py,sha256=-tkz0NYeG6jHUmUc5W_CniGZfPgcVTkH-Lb0K8lldQc,2259
19
+ vellum/resources/deployments/client.py,sha256=cCnzNh50THrjuM8hAB6M40bTtKWo4u4mEHo8P1OCHt0,2867
19
20
  vellum/resources/document_indexes/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
20
- vellum/resources/document_indexes/client.py,sha256=IQ_LnCV8QmJEE5cEbepKngYS7st67S31eng1G9oVq3s,4080
21
+ vellum/resources/document_indexes/client.py,sha256=Ced_UO_Ds1EU-TGTSCtzH7vCSE1JoM2XoUE9RB9tVJg,7198
21
22
  vellum/resources/documents/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
22
- vellum/resources/documents/client.py,sha256=RFkUlRETZeOOsvZzw-m1NqP3oSOjTUeNWO4t0K0EqRs,6809
23
+ vellum/resources/documents/client.py,sha256=X8lLotljPCN2PMPmGp73VemD3kfFUMqGXPpdSu6oMBo,9555
23
24
  vellum/resources/model_versions/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
24
- vellum/resources/model_versions/client.py,sha256=iMp3910WRthkUulW643qUA_20FbxNJQ7PF3oepEwZr0,4344
25
+ vellum/resources/model_versions/client.py,sha256=EURN_8gzN_jxq1ElyOIud4RZm2xFNua9kI--ntR0FdQ,5890
25
26
  vellum/resources/registered_prompts/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
26
- vellum/resources/registered_prompts/client.py,sha256=DEVf9WePGMy2L_7qYHyVawztfzYqjFW-9rSGTu6tI_Y,4486
27
+ vellum/resources/registered_prompts/client.py,sha256=s4TEIuvDN8jeSAkq0XpY6_AjpOxUTGR5IOIa-lYvbLE,8056
27
28
  vellum/resources/sandboxes/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
28
- vellum/resources/sandboxes/client.py,sha256=ysZjWAhPdQMZ_-BPRGa_kZ1qbZpV5MybJHAshAlY1vQ,5355
29
+ vellum/resources/sandboxes/client.py,sha256=pj0PeQocAszu5-uPXjsOOSvGkHfgJpHIzmTfU5-CmPM,8292
29
30
  vellum/resources/test_suites/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
30
- vellum/resources/test_suites/client.py,sha256=1NSTOub8ZU6adHnQWeAES1q03c2Z4FPn4WizXPFksIw,5146
31
+ vellum/resources/test_suites/client.py,sha256=KzFNGnFLRGkgrdZIpXtSOKntsqE79GPl1kkGc6qhNJg,8419
31
32
  vellum/types/__init__.py,sha256=yD2jQIhvPEAiia13lwly5kFdBLscc73XSQgxKqs0dA0,12048
32
33
  vellum/types/block_type_enum.py,sha256=BQ8ZN1OKhOdmHeQ3-bhMfkLLohirsNhHPljBJX8Bbmo,1051
33
34
  vellum/types/chat_message.py,sha256=ESrounRUkV54kKOgc2oaz_mPvpl-xntCDfxEnSt9A4c,818
@@ -38,38 +39,38 @@ vellum/types/conditional_node_result_data.py,sha256=00r_gnLm_vl21ca3msx2h8E2kAfu
38
39
  vellum/types/content_type.py,sha256=a1VMXJl7XOcb0dPUw1mCHPQMElextdsjvTi-tTeJNsg,508
39
40
  vellum/types/deployment_node_result.py,sha256=ogzAlyhpH4_w9PKPMOVMRvseRv_t3FJLHS2bauK3pQo,841
40
41
  vellum/types/deployment_node_result_data.py,sha256=5SMqC-X7S99aEvhfTUZ579affaisap-OG7ELWwDnfZU,826
41
- vellum/types/deployment_read.py,sha256=gXsBhDIcXku7dELYEqAjlTRslzu0YKRYfeB74GXdlGc,2209
42
+ vellum/types/deployment_read.py,sha256=5kVlMBaB9wFSmata5kNrLO1Gjr7HU519kzzsD_J-zPE,2157
42
43
  vellum/types/deployment_read_status_enum.py,sha256=LrMcVcuZcPJqWYmbE_am0G_pQl_fDYKO1ktnzdVECqQ,793
43
- vellum/types/document.py,sha256=z0OOuAaaiiZCWvgRTQH2gS1Nf2rT785qmRSy1na8iqQ,1216
44
- vellum/types/document_document_to_document_index.py,sha256=grcq5hdYfyrVNUfMOKVf-4S0R2ElWH_FTgxqg_69nfU,1519
45
- vellum/types/document_index_read.py,sha256=dkXbp1CsII8ElWUsOat6p5gotTtXvomD4T9gw7Az3rY,1966
44
+ vellum/types/document.py,sha256=fdiJyRyO0nec1foyfYDMy1K9mZlI80qSUT5_lMmYoyo,1160
45
+ vellum/types/document_document_to_document_index.py,sha256=UUIbQNz5ejctfe_VFReG8JHp1oD7ESFQOeuCkNWurys,1511
46
+ vellum/types/document_index_read.py,sha256=b-ps3EnmTE1_NSCIpAae0eqw_X3_LpgV9xIJsqCUxNU,1910
46
47
  vellum/types/document_index_status.py,sha256=DtcNtByS8wUEuxfYAW7IQVPSN4HaGJTynP0jNkxgbKE,560
47
- vellum/types/enriched_normalized_completion.py,sha256=SdneO6WvqwNi-pdi7TUpBNl_fzBhuzr-FZbxilUy91Y,1967
48
+ vellum/types/enriched_normalized_completion.py,sha256=CrDe9H5Nz38mPT32klFpzg4Z8b2hMVIQP_O3g-F5r3Q,1911
48
49
  vellum/types/environment_enum.py,sha256=16gr0xkzNIO5dhrOnJNjcQ34z9Xk1oE-egW17P0RWDs,799
49
- vellum/types/evaluation_params.py,sha256=dHB4KZPCtEqK6XllkfR9xyx4-JApGENYAKm2m1JQDN4,951
50
- vellum/types/evaluation_params_request.py,sha256=_5FR4SLCFplQDJ9MIcbuZuj6Wl5Dmrxknzivp4LGLFg,958
50
+ vellum/types/evaluation_params.py,sha256=t3jChEFTUnXPMrNRpq9YuKQ8ssfuOZBi96Pbx3SImx4,925
51
+ vellum/types/evaluation_params_request.py,sha256=eukfuCti2IOT_IjMiRTiD7wT02cM_z9Ce7pysiszdZg,932
51
52
  vellum/types/finish_reason_enum.py,sha256=JawC1tsGIUCwfGoIjrnD2c4wmbsO5Dx39WPAbwYIWm0,726
52
- vellum/types/generate_error_response.py,sha256=u5zOFiVS8zqwb1s9OZVUmHj6_y_niGmOa_FJrNWI4ew,831
53
+ vellum/types/generate_error_response.py,sha256=Aavv-cQ1-u98EubN4qPhKMgC7z9JQeFGvA4lbxqEmp8,827
53
54
  vellum/types/generate_options_request.py,sha256=Na9CyN716hkI48L4taLaSpqkIM6JXiK_8NehRrlCsjQ,994
54
- vellum/types/generate_request.py,sha256=dTRvRx7BQUZTjCQw8bAue_7pet3zHWwo-vojHGQwTDM,1514
55
+ vellum/types/generate_request.py,sha256=1Fyalh9DRb7-pMbnO72x29NnNCLPISF_BPreudEWMmg,1458
55
56
  vellum/types/generate_response.py,sha256=oT2DslzpO7DBmEA7vY0KpjEViCeJjqlvpxrLJUmwDIA,1246
56
- vellum/types/generate_result.py,sha256=9KF1AmLWki2qBeuvG2k5sq_ePrnPVTI0LoAfmLwkgVg,1326
57
- vellum/types/generate_result_data.py,sha256=XS4ZWLu2c8hTCS3tcdl78mX67Yn1Wdq_Extlo9WLK4s,992
58
- vellum/types/generate_result_error.py,sha256=BG1pSzGGVZYFyjVt25DJaddf-9wDJzeCERSiqinTr3w,840
57
+ vellum/types/generate_result.py,sha256=5do7CsL6vxDuOq07y7_6hHZTxcsGj2TB8SXX4fS5lsk,1274
58
+ vellum/types/generate_result_data.py,sha256=sR5EwBTT3slGCZOPGNiTEQLKt4LZMxuGjn_hkj46xHc,988
59
+ vellum/types/generate_result_error.py,sha256=_lrlnCFbGuk2f1AKkPNmsMpuNhlB9VB-dOZNFGv01GE,836
59
60
  vellum/types/generate_stream_response.py,sha256=MBmVP8oMtlfS8eJ6gDLStQYw2HUTyN_EWejgQKxbWHo,831
60
61
  vellum/types/generate_stream_result.py,sha256=-2JnN1QN8uLfI4o8H--6L1EOZVj-h9TK9Z1JwoFUsoY,984
61
62
  vellum/types/generate_stream_result_data.py,sha256=ksjbaZsumPAzdZ-nvr2Y_rHnVnpR_keVJ0xQCBEpimc,888
62
63
  vellum/types/indexing_state_enum.py,sha256=7eEvjuZi3dy6XJIYhHgca4XfRDqntaoYTFOOl9AXe78,1181
63
64
  vellum/types/logprobs_enum.py,sha256=v3VTlzw1bpuU0hBhcWJTN7JMBS2nWqwertJlaCgxmuY,490
64
65
  vellum/types/model_type_enum.py,sha256=-g8fwOI8c5IY9zSijz46UZzlXswbUnF9KoeIJvgnu6Y,556
65
- vellum/types/model_version_build_config.py,sha256=2jE9B6Qd-jW5xIXHS5y03bFMQhGTu44k0qkh1MSOcxI,1241
66
- vellum/types/model_version_compile_prompt_response.py,sha256=_OH1BoBfQuHXLjvTsI-Bt5jr4wmjvx-48mCq284VpmQ,937
67
- vellum/types/model_version_compiled_prompt.py,sha256=zlPb0ISBCn2Oz3DzfN1OUxeDWQ0uYo6FCQTGYamzCFM,1075
68
- vellum/types/model_version_exec_config.py,sha256=Cx4WWlM0TeQiRKwfyR4qp5g5T927GSGGItACV_YsA6s,1575
66
+ vellum/types/model_version_build_config.py,sha256=ZxCM2ydZBQtVgC8o-oUeVZMco_AQu41avBmWZ6ADXuk,1189
67
+ vellum/types/model_version_compile_prompt_response.py,sha256=KILXpq-Gegr5vyWCYqJDF2zDQSJuHAcQpZYyj0EIwks,933
68
+ vellum/types/model_version_compiled_prompt.py,sha256=h9lUQPqz8NY1ZbLE2lWAzrWsrLbd5BdWKsyeZuMN2rU,1045
69
+ vellum/types/model_version_exec_config.py,sha256=W9SzwbfEZVjojomoICcHb0O_xedF6t7hy3g49ZddMgc,1563
69
70
  vellum/types/model_version_exec_config_parameters.py,sha256=AD9p1t3_EU48bNTjGTk7ITkjZ8FhHEOSPK315LGiWKo,1021
70
- vellum/types/model_version_read.py,sha256=QVjmL3t5MH6SAv88PYc3slM-Af_OIhAeCcbvcXLckLI,2668
71
+ vellum/types/model_version_read.py,sha256=7QWCmU8HtbVKL1zj-YAsxKA2Rglq-WZuxcuXsOdrKSw,2600
71
72
  vellum/types/model_version_read_status_enum.py,sha256=Fkciaj4_EHRfNfa6okK4mPbmgCOLaEPkdsoGBYEGkv8,1032
72
- vellum/types/model_version_sandbox_snapshot.py,sha256=lbHXh4kXwJ9b4rDI70wwOXSYRJiGKcvzfbjj6X2kRag,1120
73
+ vellum/types/model_version_sandbox_snapshot.py,sha256=yLNE5SwB3ggiUloYdY01QDJGgyYrk4llcFbPlbJO_g4,1094
73
74
  vellum/types/normalized_log_probs.py,sha256=t1i4XLxRJ699vec8ddwz_2Uvdwt2zpWjIu_y9yjJd4k,890
74
75
  vellum/types/normalized_token_log_probs.py,sha256=DSoHMSaoxdw2rzEuafJl9ygwpMzQ3XBHoazOdi3jEPs,891
75
76
  vellum/types/paginated_slim_document_list.py,sha256=YfSKrQLehmWOBHL8gMLzXsc7hdvfau9MWhRXl9jfNwA,939
@@ -81,67 +82,67 @@ vellum/types/prompt_template_block.py,sha256=my4rE1G1CnUiSVQrNE2mnOWlpx_H99Hr-Yt
81
82
  vellum/types/prompt_template_block_data.py,sha256=ah0PBJch96eciYomf_DRY-o9rpQ5_hrnhGdpTuk5ap0,860
82
83
  vellum/types/prompt_template_block_data_request.py,sha256=aZdwVA1GqUWUGmPOp909jScbAPBpnfHpbY9U--cWrIQ,889
83
84
  vellum/types/prompt_template_block_properties.py,sha256=y8dsSfxHoW2ITU7QQCpeYRDRJgV1eyyxbSWzlQC-Psg,1398
84
- vellum/types/prompt_template_block_properties_request.py,sha256=3CJ_oq3HaiC7cv43Q_qHpVoWVzKU6h2D8Pe5rxAQY_g,1640
85
- vellum/types/prompt_template_block_request.py,sha256=Xt5L3Bjo5jEReZ3xoxEIdfTQ7dKd9Jku40ZxlLlpss0,1166
86
- vellum/types/prompt_template_input_variable.py,sha256=P8BheJ-FGhIIfqNq1hunVOtK9LYeuaeWdGLqNHPEU_Y,828
87
- vellum/types/prompt_template_input_variable_request.py,sha256=iNETp2O93I_YhJAciNRPFH6Uari-wW2s528O6MYjMNI,903
85
+ vellum/types/prompt_template_block_properties_request.py,sha256=yqrxb-YkcbkQ9twxDS35-GEbH2dirOEcE0oRsyru2c8,1632
86
+ vellum/types/prompt_template_block_request.py,sha256=K1lJmT9bJjuUPPiFq02PG6tCMtvCz_XsD62rwQY9MgE,1162
87
+ vellum/types/prompt_template_input_variable.py,sha256=SvQ37BvzIdlLJ4vu8fWr7j0mIGJ4qoVDM8jeFHp98Ro,824
88
+ vellum/types/prompt_template_input_variable_request.py,sha256=g_MCcBf7LpXSdqpfZ2ENKEnOJxF5_cPLtGDmIrYVoAc,899
88
89
  vellum/types/provider_enum.py,sha256=sBOD07BMRl2Fyzv-3Xgrf0ayVZGLcGuU_ZS8L5PEaGc,1536
89
- vellum/types/register_prompt_error_response.py,sha256=PxE1GgQ995p3-CNv2fLP13KLBF38l02pO-webA478ms,837
90
+ vellum/types/register_prompt_error_response.py,sha256=_AuvU97wMrU8XiQjsPBgjB-0ClC3sPPvlKlaUlPqyTE,833
90
91
  vellum/types/register_prompt_model_parameters_request.py,sha256=aWB5KTcU5HWVvM5ml0KnfxY1W3fb8TiCamCAoSEFiqQ,1025
91
- vellum/types/register_prompt_prompt.py,sha256=E-rPwu70Q1qZBkm28c45aEWi0Yeg0Nb2SfFZf7WKWEI,920
92
- vellum/types/register_prompt_prompt_info_request.py,sha256=hi6FA_U1oRAzR5Jec1XnhGDSrjHC-ml5X7pbqvd_z9c,1201
93
- vellum/types/register_prompt_response.py,sha256=qMlHfCI0ltvbxiiKNDQIipUP7mZoZh4BgjrH6_CTzMY,1739
94
- vellum/types/registered_prompt_deployment.py,sha256=lWyGvfQ309bcvanWbO9L38TKQj0-lToGmQjKYvx-VJw,1038
95
- vellum/types/registered_prompt_model_version.py,sha256=qpmEfB45pA72IcXFz25goh9A_yePtEeUcCbLNNrGo6A,942
96
- vellum/types/registered_prompt_sandbox.py,sha256=8fQD7OeOMZz0-ZQOE-UIpDILXfc4xb3437akW2UzAZ8,925
97
- vellum/types/registered_prompt_sandbox_snapshot.py,sha256=wU1DKwW36386mmZZZ5IrVtQ1xt_yvckBUTqAfqP6HKg,841
92
+ vellum/types/register_prompt_prompt.py,sha256=IiPN5m1bn5imZyLezJ9KY6z_i2JIkBcK8-plL_bCd44,912
93
+ vellum/types/register_prompt_prompt_info_request.py,sha256=-smHzpEbXJneqVsGyJHaOiGnYSGCnu0JljLa3NehxOc,1197
94
+ vellum/types/register_prompt_response.py,sha256=lannMME34xIhZ-xywPV_qzuuJyIhe1_aRvqYxuoufpU,1705
95
+ vellum/types/registered_prompt_deployment.py,sha256=WyABdEzQQkC0ZjmZqfvfp5lVximtmiF8H2aiIpWa0AU,1026
96
+ vellum/types/registered_prompt_model_version.py,sha256=3BbgvQfgQvlrG-K1ly5VO-v-MdsuH5qkeoNSzZGHzq0,934
97
+ vellum/types/registered_prompt_sandbox.py,sha256=kjiCP6zGZksvB8grl_QWTcmTr-4oCAvb1WKG8mDfEKs,917
98
+ vellum/types/registered_prompt_sandbox_snapshot.py,sha256=PwCYNTU_24kicLLNH2sOh-1LqZD6aEcGRqQuKVFxIp8,837
98
99
  vellum/types/sandbox_metric_input_params.py,sha256=N0N9Z-nTDHCrTmi95fEFiQ0YAE-p6-vndtf0Ib9tMDw,838
99
100
  vellum/types/sandbox_metric_input_params_request.py,sha256=P-5sfEzMiJ1J62DUsH0ByDHQy_0qNEDDSlSEKMVN1NA,867
100
101
  vellum/types/sandbox_node_result.py,sha256=Hrq2B3eb6APszXSS7b1WR5hx96qh72KaFyAiGqbDS04,829
101
102
  vellum/types/sandbox_node_result_data.py,sha256=WOOzcpMaxxj-5DM-qeoIgTCCXfsz4cu8hXyFLWFLJzo,823
102
- vellum/types/sandbox_scenario.py,sha256=hym5pULIUjIl3rRLXNPkP2n71e9iYbu33zVuEU3sPjk,1099
103
+ vellum/types/sandbox_scenario.py,sha256=e5ob_nBjbukzhQQORA_6hHrz69_EfUtkXYSJxVe3UvY,1091
103
104
  vellum/types/scenario_input.py,sha256=HlIlDBGyOpnJ0-bhGq8qgkQisUw-kQDEQiw0bFqfthA,985
104
- vellum/types/scenario_input_request.py,sha256=TF2oM-okwDFShLbEySM08gWtndKWBO4ufX8-QuFKF9s,1103
105
+ vellum/types/scenario_input_request.py,sha256=S0ZlWNMd5M4whSj2UMgAJ2DQyX6DRQ6iIUhsgK44zW4,1099
105
106
  vellum/types/scenario_input_type_enum.py,sha256=K25pst92SH1W686DMb29bMGeSvGVCM6KDjOBIs5Tw4k,580
106
- vellum/types/search_error_response.py,sha256=RosaqTUb9MdCk-DbkRqAWBC8n8IW7izOAM15Hu5thWw,829
107
- vellum/types/search_filters_request.py,sha256=z5_gPQR-geMpkb_AaA1rDhjcwHDUtIosR2lXHPPV1I4,881
107
+ vellum/types/search_error_response.py,sha256=IjVI4BcFsQJ3TbyvR707mn2i5rC8LM16Ug4DMU8k6JE,825
108
+ vellum/types/search_filters_request.py,sha256=jZih0gTa1NT4azrs0H0Vt3IwzuX-GCu7JPHg13L3qk0,877
108
109
  vellum/types/search_node_result.py,sha256=n3dSEGjnNMTrSVkcorNIAjzZ2fh3RVFaN_qmmdjtMzA,825
109
110
  vellum/types/search_node_result_data.py,sha256=t5goMZ4NNwXgYgxI7S43a7JBB2kUTsiIAx4xHPalm5M,894
110
- vellum/types/search_request_options_request.py,sha256=SyJH_ffuSEAGFpEflfz7570Ms35uY1SZQCQ-q_3l9xY,1486
111
- vellum/types/search_response.py,sha256=-DCVgiAU6t7rtlPh9Wmw5mHmYzOJeI0IY9sNS-aNI1E,952
112
- vellum/types/search_result.py,sha256=9NwesuGMlqkAGiyoAjnolHcIhQxMNrzuSHQL6jQv2xo,1157
113
- vellum/types/search_result_merging_request.py,sha256=i_2C0jPdodqDkqAWUq1g_XW_SVP0EmEFJGK2NQNsdug,834
114
- vellum/types/search_weights_request.py,sha256=tEthjhlOFlxieZAtIEKew9-ocdi5MqpBGr2_McyaUOc,961
115
- vellum/types/slim_document.py,sha256=a1QLLFzcVPxOcKS1w9cjkWRjMJ3KRO6K4G6s6CAN5zI,2862
111
+ vellum/types/search_request_options_request.py,sha256=PHCnq0FNTh10fV4h-g1KJRqkhKMBilHc1el3M1lR4YI,1456
112
+ vellum/types/search_response.py,sha256=VuPbVXkJ_OHDuJJEGZDVwB7DcTbcTmstixantli7lwM,948
113
+ vellum/types/search_result.py,sha256=WRAlpIxxNDmSOkoEWHshK74zmuItDrbOwvvChrb33lQ,1145
114
+ vellum/types/search_result_merging_request.py,sha256=2P02ejNr_m_Sx_vdPTQEcDuGPdFI_37nExX9UNQD0pk,830
115
+ vellum/types/search_weights_request.py,sha256=EdAbOOXOWXCq0C3lziyRHTuNIlODw0BECQNu9IUlfZ0,953
116
+ vellum/types/slim_document.py,sha256=0x6_etT0rBakpvqqg0CA9z_cjIFrpD_axf6FdYBTn_0,2798
116
117
  vellum/types/slim_document_status_enum.py,sha256=_j2jq3_Acudzgb2tlDIwvl6aBkRLoZ0HAbnKtVCi5G8,152
117
- vellum/types/submit_completion_actual_request.py,sha256=0Nz3wlrFcCKI63Z9H6KDV-bPAm79rYh9buatt1cnwe8,1778
118
+ vellum/types/submit_completion_actual_request.py,sha256=k5BHx1JUfq8XcLbBZOsbSNzVA3xNVNVFsJkM7tMtXpo,1656
118
119
  vellum/types/submit_completion_actuals_error_response.py,sha256=8ZNcGD7l4crYQoKn4LTdMKbRVGHs3v-M3ER9lTkKzmM,772
119
- vellum/types/terminal_node_chat_history_result.py,sha256=6-uMYWKHUygPZ5d7NhQn8AfhlouAk_l5talzhATMJEw,943
120
- vellum/types/terminal_node_json_result.py,sha256=ccGoZiwvyN8F2ablXmVPlm-O_5Xk-KGO-IexHKPdhF4,902
120
+ vellum/types/terminal_node_chat_history_result.py,sha256=SvlvoLfQFxUNRpaBNAbE6X72X54GrM1ERmaZ373efto,939
121
+ vellum/types/terminal_node_json_result.py,sha256=X9Dzwy25RcBLU_8s2pK5bc-nHWRfoOUslJyKYAj0SsU,898
121
122
  vellum/types/terminal_node_result.py,sha256=dNdckayDfIQ_LR9IKfklxyFfJErPgtxA9tzsDUXjiPA,833
122
123
  vellum/types/terminal_node_result_data.py,sha256=4fsLNH_jkTOIKViXfHavkpE2GhB5NBUJdnVni82tEpk,845
123
- vellum/types/terminal_node_result_output.py,sha256=lcH_Pg-BbCpaaxlEu_FYvprjlmCmyPDxsgnMP8IHSFI,1195
124
- vellum/types/terminal_node_string_result.py,sha256=d82Ztsec94L0KhwGuIIVuy_BZw52jAo_hen2e63aGPk,879
125
- vellum/types/test_suite_test_case.py,sha256=1SJWGyCsBlOIGg2ENBdWNCqKhHyJ_p0-bzf4KwMnp0I,1499
124
+ vellum/types/terminal_node_result_output.py,sha256=QkdMPv5SH8gvtfVd2md9KoAe2inIBMINGul94ZZ-YXE,1107
125
+ vellum/types/terminal_node_string_result.py,sha256=puo54vwX0G-3zDZVRlz5deVA8K-lOQQt0Lu50g8zWmA,875
126
+ vellum/types/test_suite_test_case.py,sha256=_zk_wcESjEWG_fePNPLXsmvpFJmB_bPueacVLVeihNg,1439
126
127
  vellum/types/upload_document_error_response.py,sha256=VNSsUbd0TSCKnlBohoKv1h3AJDJeicH-q3kjkXpxKG4,763
127
- vellum/types/upload_document_response.py,sha256=aUy76XJX6LpcXywOfP2ysW0YbGLkXJgLzMoDV2jW02E,837
128
+ vellum/types/upload_document_response.py,sha256=wi6kn2SWkE5ZlbSQvGXKuQUZInz-2ik1ib7A4kqvkGo,833
128
129
  vellum/types/workflow_event_error.py,sha256=yfO80RYvpxF0JN3OVhgxZQJ6Dh2wJTNkPxl1jxSJ-yY,878
129
130
  vellum/types/workflow_execution_event_error_code.py,sha256=s-A0d0co0D-0OVQTE9Ypbk1EUsY-rJlf_SOlsqf107w,771
130
131
  vellum/types/workflow_execution_node_result_event.py,sha256=rmPtIWArB7_CPYERP6QXQldxx6CHkjN5Pjbw2335x-E,904
131
132
  vellum/types/workflow_execution_workflow_result_event.py,sha256=rvmBd85iLtLbK2lFLfw9ZI_kUa8pYIk2_O4lkDP4b7Q,895
132
- vellum/types/workflow_node_result_data.py,sha256=Xy1fktHFatqnpN4eB71cG-KLXJ2a6aok-H0MdYK-J8M,2023
133
+ vellum/types/workflow_node_result_data.py,sha256=GKReluwy6m6mVpv-KnZnLWFzpSfDOkCEkHRqhwJqkQk,1901
133
134
  vellum/types/workflow_node_result_event.py,sha256=nNTvO9ZzzcWkwJvxxuN8MHoKNCoEraHVBXFb1GhP0qY,1152
134
135
  vellum/types/workflow_node_result_event_state.py,sha256=6CIcJo1UrVEv83s9u8jgIwUpejMpFEUkZsylTBNUWMY,1035
135
- vellum/types/workflow_request_chat_history_input_request.py,sha256=4t9ZPeOKw8FzlajD3fwihdSwuwjgvxUsJ2GiNyJI8eY,1044
136
- vellum/types/workflow_request_input_request.py,sha256=ldpGQi3CUV4_7ZxFpF7lx-Qyk-FS0A76LAH4gGqBjR8,1314
137
- vellum/types/workflow_request_json_input_request.py,sha256=YQFdCW2T3MME_Y55vBsOIkXlGtzANUK6BD-CTCXfjtI,981
138
- vellum/types/workflow_request_string_input_request.py,sha256=95odk9IMfS1y2t4UgmVGoElN3LCFcD7ERNSUOKA5WZc,958
136
+ vellum/types/workflow_request_chat_history_input_request.py,sha256=bl2BEJGcDoasJjgi0u5b7rS4q1xbZpDAarwwV8aO3Mk,1018
137
+ vellum/types/workflow_request_input_request.py,sha256=6Qrcg_aBdeY99qcN8Q0WLp8pnBjAvyjCXQaQe1vDFEk,1212
138
+ vellum/types/workflow_request_json_input_request.py,sha256=0HFLwZKEgYuvv-hV8UYTOAp4eogU2OKoHS8d5q0Ysys,955
139
+ vellum/types/workflow_request_string_input_request.py,sha256=CeOApKxntw8ZbiR1tpdALh6bDI8REFoWOYS6PGM4QCQ,932
139
140
  vellum/types/workflow_result_event.py,sha256=VNfPxmdP6rIzOzRlMFC1zoJvxhmjPhAppMAkHlc5xs8,1114
140
- vellum/types/workflow_result_event_output_data.py,sha256=Ju-NnBWs5GqnEEbq4_5_H21ALet75M-IRUM_KzcpGtM,1366
141
- vellum/types/workflow_result_event_output_data_chat_history.py,sha256=QsypenIq5yyjC2AUJDPflY1KSAFIrJ21O6yK6d56gVU,997
142
- vellum/types/workflow_result_event_output_data_json.py,sha256=dP7pMWX5QJ9HjEiS_YXradmcFkITOHTl9GowNaCBbrU,956
143
- vellum/types/workflow_result_event_output_data_string.py,sha256=MRwuN8K_dBTVBcZRdcOqJR-f22aAJzTW6BYKQec4fds,933
144
- vellum/types/workflow_stream_event.py,sha256=B2weH9N43bTzF4XYbXPmXo3p0bHUA9dBB2EzKP7t5VE,908
145
- vellum_ai-0.0.21.dist-info/METADATA,sha256=W1vwDOW7q_ktB0RTyMqBguNF1xac1HPgdUDB4Wxqihc,3487
146
- vellum_ai-0.0.21.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
147
- vellum_ai-0.0.21.dist-info/RECORD,,
141
+ vellum/types/workflow_result_event_output_data.py,sha256=cJRwRPhbz8LdrfPsyzza0D95Aw4bAiMn8NS5wPnP1Bo,1247
142
+ vellum/types/workflow_result_event_output_data_chat_history.py,sha256=viyNe9VF8-vQxStcOXzw0srmKLmyVugSAKcpqJHCmso,1166
143
+ vellum/types/workflow_result_event_output_data_json.py,sha256=-zLIOCCOurui_vXE_WJlaDO5xfTQx81EGyWdgSurItk,1125
144
+ vellum/types/workflow_result_event_output_data_string.py,sha256=EqTpT1SJxagtuFCxFkJuze64MgUjGuZlzYEOqnR1UGM,1253
145
+ vellum/types/workflow_stream_event.py,sha256=sVpX2OBZq-vVn8A74opHnV_pD83eoICS5_aJ1H9WjxM,819
146
+ vellum_ai-0.0.22.dist-info/METADATA,sha256=YDyMLOLrPxPGC70-iyI6bqWE-lDXYYHES8aHXFwuM98,3487
147
+ vellum_ai-0.0.22.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
148
+ vellum_ai-0.0.22.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- from typing import Dict, Optional
4
-
5
-
6
- def remove_none_from_headers(headers: Dict[str, Optional[str]]) -> Dict[str, str]:
7
- new_headers: Dict[str, str] = {}
8
- for header_key, header_value in headers.items():
9
- if header_value is not None:
10
- new_headers[header_key] = header_value
11
- return new_headers