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.
- vellum/__init__.py +19 -19
- vellum/client.py +270 -101
- vellum/core/__init__.py +11 -2
- vellum/core/client_wrapper.py +27 -0
- vellum/core/remove_none_from_dict.py +11 -0
- vellum/resources/deployments/client.py +35 -15
- vellum/resources/document_indexes/client.py +64 -16
- vellum/resources/documents/client.py +110 -35
- vellum/resources/model_versions/client.py +67 -25
- vellum/resources/registered_prompts/client.py +80 -16
- vellum/resources/sandboxes/client.py +90 -25
- vellum/resources/test_suites/client.py +90 -25
- vellum/types/deployment_read.py +2 -6
- vellum/types/document.py +3 -7
- vellum/types/document_document_to_document_index.py +2 -2
- vellum/types/document_index_read.py +3 -7
- vellum/types/enriched_normalized_completion.py +5 -9
- vellum/types/evaluation_params.py +1 -3
- vellum/types/evaluation_params_request.py +1 -3
- vellum/types/generate_error_response.py +1 -1
- vellum/types/generate_request.py +3 -7
- vellum/types/generate_result.py +2 -6
- vellum/types/generate_result_data.py +1 -1
- vellum/types/generate_result_error.py +1 -1
- vellum/types/model_version_build_config.py +2 -6
- vellum/types/model_version_compile_prompt_response.py +1 -1
- vellum/types/model_version_compiled_prompt.py +2 -4
- vellum/types/model_version_exec_config.py +3 -3
- vellum/types/model_version_read.py +6 -10
- vellum/types/model_version_sandbox_snapshot.py +3 -5
- vellum/types/prompt_template_block_properties_request.py +2 -2
- vellum/types/prompt_template_block_request.py +1 -1
- vellum/types/prompt_template_input_variable.py +1 -1
- vellum/types/prompt_template_input_variable_request.py +1 -1
- vellum/types/register_prompt_error_response.py +1 -1
- vellum/types/register_prompt_prompt.py +2 -2
- vellum/types/register_prompt_prompt_info_request.py +1 -1
- vellum/types/register_prompt_response.py +5 -7
- vellum/types/registered_prompt_deployment.py +3 -3
- vellum/types/registered_prompt_model_version.py +2 -2
- vellum/types/registered_prompt_sandbox.py +2 -2
- vellum/types/registered_prompt_sandbox_snapshot.py +1 -1
- vellum/types/sandbox_scenario.py +2 -2
- vellum/types/scenario_input_request.py +1 -1
- vellum/types/search_error_response.py +1 -1
- vellum/types/search_filters_request.py +1 -1
- vellum/types/search_request_options_request.py +4 -6
- vellum/types/search_response.py +1 -1
- vellum/types/search_result.py +3 -3
- vellum/types/search_result_merging_request.py +1 -1
- vellum/types/search_weights_request.py +2 -2
- vellum/types/slim_document.py +5 -9
- vellum/types/submit_completion_actual_request.py +5 -15
- vellum/types/terminal_node_chat_history_result.py +1 -1
- vellum/types/terminal_node_json_result.py +1 -1
- vellum/types/terminal_node_result_output.py +2 -4
- vellum/types/terminal_node_string_result.py +1 -1
- vellum/types/test_suite_test_case.py +4 -8
- vellum/types/upload_document_response.py +1 -1
- vellum/types/workflow_node_result_data.py +7 -11
- vellum/types/workflow_request_chat_history_input_request.py +1 -3
- vellum/types/workflow_request_input_request.py +2 -6
- vellum/types/workflow_request_json_input_request.py +1 -3
- vellum/types/workflow_request_string_input_request.py +1 -3
- vellum/types/workflow_result_event_output_data.py +2 -8
- vellum/types/workflow_result_event_output_data_chat_history.py +3 -0
- vellum/types/workflow_result_event_output_data_json.py +3 -0
- vellum/types/workflow_result_event_output_data_string.py +6 -1
- vellum/types/workflow_stream_event.py +1 -4
- {vellum_ai-0.0.21.dist-info → vellum_ai-0.0.22.dist-info}/METADATA +1 -1
- {vellum_ai-0.0.21.dist-info → vellum_ai-0.0.22.dist-info}/RECORD +72 -71
- vellum/core/remove_none_from_headers.py +0 -11
- {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 =
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
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 =
|
40
|
-
|
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 =
|
40
|
-
|
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
|
-
|
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 =
|
31
|
-
typing.Union[WorkflowStreamEvent_Workflow, WorkflowStreamEvent_Node], pydantic.Field(discriminator="type")
|
32
|
-
]
|
29
|
+
WorkflowStreamEvent = typing.Union[WorkflowStreamEvent_Workflow, WorkflowStreamEvent_Node]
|
@@ -1,10 +1,11 @@
|
|
1
|
-
vellum/__init__.py,sha256=
|
2
|
-
vellum/client.py,sha256=
|
3
|
-
vellum/core/__init__.py,sha256=
|
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/
|
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
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
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=
|
44
|
-
vellum/types/document_document_to_document_index.py,sha256=
|
45
|
-
vellum/types/document_index_read.py,sha256=
|
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=
|
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=
|
50
|
-
vellum/types/evaluation_params_request.py,sha256=
|
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=
|
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=
|
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=
|
57
|
-
vellum/types/generate_result_data.py,sha256=
|
58
|
-
vellum/types/generate_result_error.py,sha256=
|
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=
|
66
|
-
vellum/types/model_version_compile_prompt_response.py,sha256=
|
67
|
-
vellum/types/model_version_compiled_prompt.py,sha256=
|
68
|
-
vellum/types/model_version_exec_config.py,sha256=
|
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=
|
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=
|
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=
|
85
|
-
vellum/types/prompt_template_block_request.py,sha256=
|
86
|
-
vellum/types/prompt_template_input_variable.py,sha256=
|
87
|
-
vellum/types/prompt_template_input_variable_request.py,sha256=
|
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=
|
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=
|
92
|
-
vellum/types/register_prompt_prompt_info_request.py,sha256
|
93
|
-
vellum/types/register_prompt_response.py,sha256=
|
94
|
-
vellum/types/registered_prompt_deployment.py,sha256=
|
95
|
-
vellum/types/registered_prompt_model_version.py,sha256=
|
96
|
-
vellum/types/registered_prompt_sandbox.py,sha256=
|
97
|
-
vellum/types/registered_prompt_sandbox_snapshot.py,sha256=
|
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=
|
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=
|
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=
|
107
|
-
vellum/types/search_filters_request.py,sha256=
|
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=
|
111
|
-
vellum/types/search_response.py,sha256
|
112
|
-
vellum/types/search_result.py,sha256=
|
113
|
-
vellum/types/search_result_merging_request.py,sha256=
|
114
|
-
vellum/types/search_weights_request.py,sha256=
|
115
|
-
vellum/types/slim_document.py,sha256=
|
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=
|
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=
|
120
|
-
vellum/types/terminal_node_json_result.py,sha256=
|
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=
|
124
|
-
vellum/types/terminal_node_string_result.py,sha256=
|
125
|
-
vellum/types/test_suite_test_case.py,sha256=
|
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=
|
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=
|
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=
|
136
|
-
vellum/types/workflow_request_input_request.py,sha256=
|
137
|
-
vellum/types/workflow_request_json_input_request.py,sha256=
|
138
|
-
vellum/types/workflow_request_string_input_request.py,sha256=
|
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=
|
141
|
-
vellum/types/workflow_result_event_output_data_chat_history.py,sha256=
|
142
|
-
vellum/types/workflow_result_event_output_data_json.py,sha256
|
143
|
-
vellum/types/workflow_result_event_output_data_string.py,sha256=
|
144
|
-
vellum/types/workflow_stream_event.py,sha256=
|
145
|
-
vellum_ai-0.0.
|
146
|
-
vellum_ai-0.0.
|
147
|
-
vellum_ai-0.0.
|
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
|
File without changes
|