vellum-ai 0.9.7__py3-none-any.whl → 0.9.8__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vellum/__init__.py +28 -0
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/ad_hoc/client.py +37 -8
- vellum/types/__init__.py +28 -0
- vellum/types/chat_message_prompt_block.py +36 -0
- vellum/types/chat_message_prompt_block_properties.py +36 -0
- vellum/types/ephemeral_prompt_cache_config.py +20 -0
- vellum/types/ephemeral_prompt_cache_config_type_enum.py +5 -0
- vellum/types/function_definition_prompt_block.py +29 -0
- vellum/types/function_definition_prompt_block_properties.py +42 -0
- vellum/types/jinja_prompt_block.py +29 -0
- vellum/types/jinja_prompt_block_properties.py +21 -0
- vellum/types/plain_text_prompt_block.py +28 -0
- vellum/types/prompt_block.py +15 -0
- vellum/types/prompt_block_state.py +5 -0
- vellum/types/rich_text_child_block.py +7 -0
- vellum/types/rich_text_prompt_block.py +29 -0
- vellum/types/variable_prompt_block.py +28 -0
- {vellum_ai-0.9.7.dist-info → vellum_ai-0.9.8.dist-info}/METADATA +1 -1
- {vellum_ai-0.9.7.dist-info → vellum_ai-0.9.8.dist-info}/RECORD +22 -8
- {vellum_ai-0.9.7.dist-info → vellum_ai-0.9.8.dist-info}/LICENSE +0 -0
- {vellum_ai-0.9.7.dist-info → vellum_ai-0.9.8.dist-info}/WHEEL +0 -0
vellum/__init__.py
CHANGED
@@ -37,6 +37,8 @@ from .types import (
|
|
37
37
|
ChatMessage,
|
38
38
|
ChatMessageContent,
|
39
39
|
ChatMessageContentRequest,
|
40
|
+
ChatMessagePromptBlock,
|
41
|
+
ChatMessagePromptBlockProperties,
|
40
42
|
ChatMessageRequest,
|
41
43
|
ChatMessageRole,
|
42
44
|
CodeExecutionNodeArrayResult,
|
@@ -82,6 +84,8 @@ from .types import (
|
|
82
84
|
EntityStatus,
|
83
85
|
EntityVisibility,
|
84
86
|
EnvironmentEnum,
|
87
|
+
EphemeralPromptCacheConfig,
|
88
|
+
EphemeralPromptCacheConfigTypeEnum,
|
85
89
|
ErrorInputRequest,
|
86
90
|
ErrorVariableValue,
|
87
91
|
ErrorVellumValue,
|
@@ -130,6 +134,8 @@ from .types import (
|
|
130
134
|
FunctionCallVariableValue,
|
131
135
|
FunctionCallVellumValue,
|
132
136
|
FunctionCallVellumValueRequest,
|
137
|
+
FunctionDefinitionPromptBlock,
|
138
|
+
FunctionDefinitionPromptBlockProperties,
|
133
139
|
GenerateOptionsRequest,
|
134
140
|
GenerateRequest,
|
135
141
|
GenerateResponse,
|
@@ -162,6 +168,8 @@ from .types import (
|
|
162
168
|
InstructorVectorizerConfig,
|
163
169
|
InstructorVectorizerConfigRequest,
|
164
170
|
IterationStateEnum,
|
171
|
+
JinjaPromptBlock,
|
172
|
+
JinjaPromptBlockProperties,
|
165
173
|
JsonInputRequest,
|
166
174
|
JsonVariableValue,
|
167
175
|
JsonVellumValue,
|
@@ -246,9 +254,12 @@ from .types import (
|
|
246
254
|
PaginatedWorkflowReleaseTagReadList,
|
247
255
|
PdfSearchResultMetaSource,
|
248
256
|
PdfSearchResultMetaSourceRequest,
|
257
|
+
PlainTextPromptBlock,
|
249
258
|
Price,
|
250
259
|
ProcessingFailureReasonEnum,
|
251
260
|
ProcessingStateEnum,
|
261
|
+
PromptBlock,
|
262
|
+
PromptBlockState,
|
252
263
|
PromptDeploymentExpandMetaRequest,
|
253
264
|
PromptDeploymentInputRequest,
|
254
265
|
PromptExecutionMeta,
|
@@ -275,6 +286,8 @@ from .types import (
|
|
275
286
|
RejectedWorkflowNodeResultEvent,
|
276
287
|
ReleaseTagSource,
|
277
288
|
ReplaceTestSuiteTestCaseRequest,
|
289
|
+
RichTextChildBlock,
|
290
|
+
RichTextPromptBlock,
|
278
291
|
SandboxScenario,
|
279
292
|
ScenarioInput,
|
280
293
|
ScenarioInputChatHistoryVariableValue,
|
@@ -406,6 +419,7 @@ from .types import (
|
|
406
419
|
UnitEnum,
|
407
420
|
UploadDocumentResponse,
|
408
421
|
UpsertTestSuiteTestCaseRequest,
|
422
|
+
VariablePromptBlock,
|
409
423
|
VellumAudio,
|
410
424
|
VellumAudioRequest,
|
411
425
|
VellumError,
|
@@ -534,6 +548,8 @@ __all__ = [
|
|
534
548
|
"ChatMessage",
|
535
549
|
"ChatMessageContent",
|
536
550
|
"ChatMessageContentRequest",
|
551
|
+
"ChatMessagePromptBlock",
|
552
|
+
"ChatMessagePromptBlockProperties",
|
537
553
|
"ChatMessageRequest",
|
538
554
|
"ChatMessageRole",
|
539
555
|
"CodeExecutionNodeArrayResult",
|
@@ -581,6 +597,8 @@ __all__ = [
|
|
581
597
|
"EntityStatus",
|
582
598
|
"EntityVisibility",
|
583
599
|
"EnvironmentEnum",
|
600
|
+
"EphemeralPromptCacheConfig",
|
601
|
+
"EphemeralPromptCacheConfigTypeEnum",
|
584
602
|
"ErrorInputRequest",
|
585
603
|
"ErrorVariableValue",
|
586
604
|
"ErrorVellumValue",
|
@@ -631,6 +649,8 @@ __all__ = [
|
|
631
649
|
"FunctionCallVariableValue",
|
632
650
|
"FunctionCallVellumValue",
|
633
651
|
"FunctionCallVellumValueRequest",
|
652
|
+
"FunctionDefinitionPromptBlock",
|
653
|
+
"FunctionDefinitionPromptBlockProperties",
|
634
654
|
"GenerateOptionsRequest",
|
635
655
|
"GenerateRequest",
|
636
656
|
"GenerateResponse",
|
@@ -664,6 +684,8 @@ __all__ = [
|
|
664
684
|
"InstructorVectorizerConfigRequest",
|
665
685
|
"InternalServerError",
|
666
686
|
"IterationStateEnum",
|
687
|
+
"JinjaPromptBlock",
|
688
|
+
"JinjaPromptBlockProperties",
|
667
689
|
"JsonInputRequest",
|
668
690
|
"JsonVariableValue",
|
669
691
|
"JsonVellumValue",
|
@@ -751,9 +773,12 @@ __all__ = [
|
|
751
773
|
"PaginatedWorkflowReleaseTagReadList",
|
752
774
|
"PdfSearchResultMetaSource",
|
753
775
|
"PdfSearchResultMetaSourceRequest",
|
776
|
+
"PlainTextPromptBlock",
|
754
777
|
"Price",
|
755
778
|
"ProcessingFailureReasonEnum",
|
756
779
|
"ProcessingStateEnum",
|
780
|
+
"PromptBlock",
|
781
|
+
"PromptBlockState",
|
757
782
|
"PromptDeploymentExpandMetaRequest",
|
758
783
|
"PromptDeploymentInputRequest",
|
759
784
|
"PromptExecutionMeta",
|
@@ -780,6 +805,8 @@ __all__ = [
|
|
780
805
|
"RejectedWorkflowNodeResultEvent",
|
781
806
|
"ReleaseTagSource",
|
782
807
|
"ReplaceTestSuiteTestCaseRequest",
|
808
|
+
"RichTextChildBlock",
|
809
|
+
"RichTextPromptBlock",
|
783
810
|
"SandboxScenario",
|
784
811
|
"ScenarioInput",
|
785
812
|
"ScenarioInputChatHistoryVariableValue",
|
@@ -911,6 +938,7 @@ __all__ = [
|
|
911
938
|
"UnitEnum",
|
912
939
|
"UploadDocumentResponse",
|
913
940
|
"UpsertTestSuiteTestCaseRequest",
|
941
|
+
"VariablePromptBlock",
|
914
942
|
"Vellum",
|
915
943
|
"VellumAudio",
|
916
944
|
"VellumAudioRequest",
|
vellum/core/client_wrapper.py
CHANGED
@@ -5,6 +5,7 @@ from ...core.client_wrapper import SyncClientWrapper
|
|
5
5
|
from ...types.prompt_request_input import PromptRequestInput
|
6
6
|
from ...types.vellum_variable import VellumVariable
|
7
7
|
from ...types.prompt_parameters import PromptParameters
|
8
|
+
from ...types.prompt_block import PromptBlock
|
8
9
|
from ...types.prompt_settings import PromptSettings
|
9
10
|
from ...types.ad_hoc_expand_meta import AdHocExpandMeta
|
10
11
|
from ...core.request_options import RequestOptions
|
@@ -34,7 +35,7 @@ class AdHocClient:
|
|
34
35
|
input_values: typing.Sequence[PromptRequestInput],
|
35
36
|
input_variables: typing.Sequence[VellumVariable],
|
36
37
|
parameters: PromptParameters,
|
37
|
-
blocks: typing.Sequence[
|
38
|
+
blocks: typing.Sequence[PromptBlock],
|
38
39
|
settings: typing.Optional[PromptSettings] = OMIT,
|
39
40
|
expand_meta: typing.Optional[AdHocExpandMeta] = OMIT,
|
40
41
|
request_options: typing.Optional[RequestOptions] = None,
|
@@ -52,7 +53,7 @@ class AdHocClient:
|
|
52
53
|
|
53
54
|
parameters : PromptParameters
|
54
55
|
|
55
|
-
blocks : typing.Sequence[
|
56
|
+
blocks : typing.Sequence[PromptBlock]
|
56
57
|
|
57
58
|
settings : typing.Optional[PromptSettings]
|
58
59
|
|
@@ -70,6 +71,9 @@ class AdHocClient:
|
|
70
71
|
--------
|
71
72
|
from vellum import (
|
72
73
|
AdHocExpandMeta,
|
74
|
+
EphemeralPromptCacheConfig,
|
75
|
+
JinjaPromptBlock,
|
76
|
+
JinjaPromptBlockProperties,
|
73
77
|
PromptParameters,
|
74
78
|
PromptRequestStringInput,
|
75
79
|
PromptSettings,
|
@@ -118,7 +122,16 @@ class AdHocClient:
|
|
118
122
|
settings=PromptSettings(
|
119
123
|
timeout=1.1,
|
120
124
|
),
|
121
|
-
blocks=[
|
125
|
+
blocks=[
|
126
|
+
JinjaPromptBlock(
|
127
|
+
state="ENABLED",
|
128
|
+
cache_config=EphemeralPromptCacheConfig(),
|
129
|
+
properties=JinjaPromptBlockProperties(
|
130
|
+
template="string",
|
131
|
+
template_type="STRING",
|
132
|
+
),
|
133
|
+
)
|
134
|
+
],
|
122
135
|
expand_meta=AdHocExpandMeta(
|
123
136
|
cost=True,
|
124
137
|
model_name=True,
|
@@ -147,7 +160,9 @@ class AdHocClient:
|
|
147
160
|
"settings": convert_and_respect_annotation_metadata(
|
148
161
|
object_=settings, annotation=PromptSettings, direction="write"
|
149
162
|
),
|
150
|
-
"blocks":
|
163
|
+
"blocks": convert_and_respect_annotation_metadata(
|
164
|
+
object_=blocks, annotation=typing.Sequence[PromptBlock], direction="write"
|
165
|
+
),
|
151
166
|
"expand_meta": convert_and_respect_annotation_metadata(
|
152
167
|
object_=expand_meta, annotation=AdHocExpandMeta, direction="write"
|
153
168
|
),
|
@@ -219,7 +234,7 @@ class AsyncAdHocClient:
|
|
219
234
|
input_values: typing.Sequence[PromptRequestInput],
|
220
235
|
input_variables: typing.Sequence[VellumVariable],
|
221
236
|
parameters: PromptParameters,
|
222
|
-
blocks: typing.Sequence[
|
237
|
+
blocks: typing.Sequence[PromptBlock],
|
223
238
|
settings: typing.Optional[PromptSettings] = OMIT,
|
224
239
|
expand_meta: typing.Optional[AdHocExpandMeta] = OMIT,
|
225
240
|
request_options: typing.Optional[RequestOptions] = None,
|
@@ -237,7 +252,7 @@ class AsyncAdHocClient:
|
|
237
252
|
|
238
253
|
parameters : PromptParameters
|
239
254
|
|
240
|
-
blocks : typing.Sequence[
|
255
|
+
blocks : typing.Sequence[PromptBlock]
|
241
256
|
|
242
257
|
settings : typing.Optional[PromptSettings]
|
243
258
|
|
@@ -258,6 +273,9 @@ class AsyncAdHocClient:
|
|
258
273
|
from vellum import (
|
259
274
|
AdHocExpandMeta,
|
260
275
|
AsyncVellum,
|
276
|
+
EphemeralPromptCacheConfig,
|
277
|
+
JinjaPromptBlock,
|
278
|
+
JinjaPromptBlockProperties,
|
261
279
|
PromptParameters,
|
262
280
|
PromptRequestStringInput,
|
263
281
|
PromptSettings,
|
@@ -308,7 +326,16 @@ class AsyncAdHocClient:
|
|
308
326
|
settings=PromptSettings(
|
309
327
|
timeout=1.1,
|
310
328
|
),
|
311
|
-
blocks=[
|
329
|
+
blocks=[
|
330
|
+
JinjaPromptBlock(
|
331
|
+
state="ENABLED",
|
332
|
+
cache_config=EphemeralPromptCacheConfig(),
|
333
|
+
properties=JinjaPromptBlockProperties(
|
334
|
+
template="string",
|
335
|
+
template_type="STRING",
|
336
|
+
),
|
337
|
+
)
|
338
|
+
],
|
312
339
|
expand_meta=AdHocExpandMeta(
|
313
340
|
cost=True,
|
314
341
|
model_name=True,
|
@@ -340,7 +367,9 @@ class AsyncAdHocClient:
|
|
340
367
|
"settings": convert_and_respect_annotation_metadata(
|
341
368
|
object_=settings, annotation=PromptSettings, direction="write"
|
342
369
|
),
|
343
|
-
"blocks":
|
370
|
+
"blocks": convert_and_respect_annotation_metadata(
|
371
|
+
object_=blocks, annotation=typing.Sequence[PromptBlock], direction="write"
|
372
|
+
),
|
344
373
|
"expand_meta": convert_and_respect_annotation_metadata(
|
345
374
|
object_=expand_meta, annotation=AdHocExpandMeta, direction="write"
|
346
375
|
),
|
vellum/types/__init__.py
CHANGED
@@ -44,6 +44,8 @@ from .chat_history_vellum_value_request import ChatHistoryVellumValueRequest
|
|
44
44
|
from .chat_message import ChatMessage
|
45
45
|
from .chat_message_content import ChatMessageContent
|
46
46
|
from .chat_message_content_request import ChatMessageContentRequest
|
47
|
+
from .chat_message_prompt_block import ChatMessagePromptBlock
|
48
|
+
from .chat_message_prompt_block_properties import ChatMessagePromptBlockProperties
|
47
49
|
from .chat_message_request import ChatMessageRequest
|
48
50
|
from .chat_message_role import ChatMessageRole
|
49
51
|
from .code_execution_node_array_result import CodeExecutionNodeArrayResult
|
@@ -89,6 +91,8 @@ from .enriched_normalized_completion import EnrichedNormalizedCompletion
|
|
89
91
|
from .entity_status import EntityStatus
|
90
92
|
from .entity_visibility import EntityVisibility
|
91
93
|
from .environment_enum import EnvironmentEnum
|
94
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
95
|
+
from .ephemeral_prompt_cache_config_type_enum import EphemeralPromptCacheConfigTypeEnum
|
92
96
|
from .error_input_request import ErrorInputRequest
|
93
97
|
from .error_variable_value import ErrorVariableValue
|
94
98
|
from .error_vellum_value import ErrorVellumValue
|
@@ -137,6 +141,8 @@ from .function_call_request import FunctionCallRequest
|
|
137
141
|
from .function_call_variable_value import FunctionCallVariableValue
|
138
142
|
from .function_call_vellum_value import FunctionCallVellumValue
|
139
143
|
from .function_call_vellum_value_request import FunctionCallVellumValueRequest
|
144
|
+
from .function_definition_prompt_block import FunctionDefinitionPromptBlock
|
145
|
+
from .function_definition_prompt_block_properties import FunctionDefinitionPromptBlockProperties
|
140
146
|
from .generate_options_request import GenerateOptionsRequest
|
141
147
|
from .generate_request import GenerateRequest
|
142
148
|
from .generate_response import GenerateResponse
|
@@ -173,6 +179,8 @@ from .initiated_workflow_node_result_event import InitiatedWorkflowNodeResultEve
|
|
173
179
|
from .instructor_vectorizer_config import InstructorVectorizerConfig
|
174
180
|
from .instructor_vectorizer_config_request import InstructorVectorizerConfigRequest
|
175
181
|
from .iteration_state_enum import IterationStateEnum
|
182
|
+
from .jinja_prompt_block import JinjaPromptBlock
|
183
|
+
from .jinja_prompt_block_properties import JinjaPromptBlockProperties
|
176
184
|
from .json_input_request import JsonInputRequest
|
177
185
|
from .json_variable_value import JsonVariableValue
|
178
186
|
from .json_vellum_value import JsonVellumValue
|
@@ -257,9 +265,12 @@ from .paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
|
257
265
|
from .paginated_workflow_release_tag_read_list import PaginatedWorkflowReleaseTagReadList
|
258
266
|
from .pdf_search_result_meta_source import PdfSearchResultMetaSource
|
259
267
|
from .pdf_search_result_meta_source_request import PdfSearchResultMetaSourceRequest
|
268
|
+
from .plain_text_prompt_block import PlainTextPromptBlock
|
260
269
|
from .price import Price
|
261
270
|
from .processing_failure_reason_enum import ProcessingFailureReasonEnum
|
262
271
|
from .processing_state_enum import ProcessingStateEnum
|
272
|
+
from .prompt_block import PromptBlock
|
273
|
+
from .prompt_block_state import PromptBlockState
|
263
274
|
from .prompt_deployment_expand_meta_request import PromptDeploymentExpandMetaRequest
|
264
275
|
from .prompt_deployment_input_request import PromptDeploymentInputRequest
|
265
276
|
from .prompt_execution_meta import PromptExecutionMeta
|
@@ -286,6 +297,8 @@ from .rejected_prompt_execution_meta import RejectedPromptExecutionMeta
|
|
286
297
|
from .rejected_workflow_node_result_event import RejectedWorkflowNodeResultEvent
|
287
298
|
from .release_tag_source import ReleaseTagSource
|
288
299
|
from .replace_test_suite_test_case_request import ReplaceTestSuiteTestCaseRequest
|
300
|
+
from .rich_text_child_block import RichTextChildBlock
|
301
|
+
from .rich_text_prompt_block import RichTextPromptBlock
|
289
302
|
from .sandbox_scenario import SandboxScenario
|
290
303
|
from .scenario_input import ScenarioInput
|
291
304
|
from .scenario_input_chat_history_variable_value import ScenarioInputChatHistoryVariableValue
|
@@ -421,6 +434,7 @@ from .token_overlapping_window_chunking_request import TokenOverlappingWindowChu
|
|
421
434
|
from .unit_enum import UnitEnum
|
422
435
|
from .upload_document_response import UploadDocumentResponse
|
423
436
|
from .upsert_test_suite_test_case_request import UpsertTestSuiteTestCaseRequest
|
437
|
+
from .variable_prompt_block import VariablePromptBlock
|
424
438
|
from .vellum_audio import VellumAudio
|
425
439
|
from .vellum_audio_request import VellumAudioRequest
|
426
440
|
from .vellum_error import VellumError
|
@@ -519,6 +533,8 @@ __all__ = [
|
|
519
533
|
"ChatMessage",
|
520
534
|
"ChatMessageContent",
|
521
535
|
"ChatMessageContentRequest",
|
536
|
+
"ChatMessagePromptBlock",
|
537
|
+
"ChatMessagePromptBlockProperties",
|
522
538
|
"ChatMessageRequest",
|
523
539
|
"ChatMessageRole",
|
524
540
|
"CodeExecutionNodeArrayResult",
|
@@ -564,6 +580,8 @@ __all__ = [
|
|
564
580
|
"EntityStatus",
|
565
581
|
"EntityVisibility",
|
566
582
|
"EnvironmentEnum",
|
583
|
+
"EphemeralPromptCacheConfig",
|
584
|
+
"EphemeralPromptCacheConfigTypeEnum",
|
567
585
|
"ErrorInputRequest",
|
568
586
|
"ErrorVariableValue",
|
569
587
|
"ErrorVellumValue",
|
@@ -612,6 +630,8 @@ __all__ = [
|
|
612
630
|
"FunctionCallVariableValue",
|
613
631
|
"FunctionCallVellumValue",
|
614
632
|
"FunctionCallVellumValueRequest",
|
633
|
+
"FunctionDefinitionPromptBlock",
|
634
|
+
"FunctionDefinitionPromptBlockProperties",
|
615
635
|
"GenerateOptionsRequest",
|
616
636
|
"GenerateRequest",
|
617
637
|
"GenerateResponse",
|
@@ -644,6 +664,8 @@ __all__ = [
|
|
644
664
|
"InstructorVectorizerConfig",
|
645
665
|
"InstructorVectorizerConfigRequest",
|
646
666
|
"IterationStateEnum",
|
667
|
+
"JinjaPromptBlock",
|
668
|
+
"JinjaPromptBlockProperties",
|
647
669
|
"JsonInputRequest",
|
648
670
|
"JsonVariableValue",
|
649
671
|
"JsonVellumValue",
|
@@ -728,9 +750,12 @@ __all__ = [
|
|
728
750
|
"PaginatedWorkflowReleaseTagReadList",
|
729
751
|
"PdfSearchResultMetaSource",
|
730
752
|
"PdfSearchResultMetaSourceRequest",
|
753
|
+
"PlainTextPromptBlock",
|
731
754
|
"Price",
|
732
755
|
"ProcessingFailureReasonEnum",
|
733
756
|
"ProcessingStateEnum",
|
757
|
+
"PromptBlock",
|
758
|
+
"PromptBlockState",
|
734
759
|
"PromptDeploymentExpandMetaRequest",
|
735
760
|
"PromptDeploymentInputRequest",
|
736
761
|
"PromptExecutionMeta",
|
@@ -757,6 +782,8 @@ __all__ = [
|
|
757
782
|
"RejectedWorkflowNodeResultEvent",
|
758
783
|
"ReleaseTagSource",
|
759
784
|
"ReplaceTestSuiteTestCaseRequest",
|
785
|
+
"RichTextChildBlock",
|
786
|
+
"RichTextPromptBlock",
|
760
787
|
"SandboxScenario",
|
761
788
|
"ScenarioInput",
|
762
789
|
"ScenarioInputChatHistoryVariableValue",
|
@@ -888,6 +915,7 @@ __all__ = [
|
|
888
915
|
"UnitEnum",
|
889
916
|
"UploadDocumentResponse",
|
890
917
|
"UpsertTestSuiteTestCaseRequest",
|
918
|
+
"VariablePromptBlock",
|
891
919
|
"VellumAudio",
|
892
920
|
"VellumAudioRequest",
|
893
921
|
"VellumError",
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
import typing
|
6
|
+
from .prompt_block_state import PromptBlockState
|
7
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
8
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
|
+
import pydantic
|
10
|
+
from ..core.pydantic_utilities import update_forward_refs
|
11
|
+
|
12
|
+
|
13
|
+
class ChatMessagePromptBlock(UniversalBaseModel):
|
14
|
+
"""
|
15
|
+
A block that represents a chat message in a prompt template.
|
16
|
+
"""
|
17
|
+
|
18
|
+
state: typing.Optional[PromptBlockState] = None
|
19
|
+
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
20
|
+
block_type: typing.Literal["CHAT_MESSAGE"] = "CHAT_MESSAGE"
|
21
|
+
properties: "ChatMessagePromptBlockProperties"
|
22
|
+
|
23
|
+
if IS_PYDANTIC_V2:
|
24
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
25
|
+
else:
|
26
|
+
|
27
|
+
class Config:
|
28
|
+
frozen = True
|
29
|
+
smart_union = True
|
30
|
+
extra = pydantic.Extra.allow
|
31
|
+
|
32
|
+
|
33
|
+
from .chat_message_prompt_block_properties import ChatMessagePromptBlockProperties # noqa: E402
|
34
|
+
|
35
|
+
update_forward_refs(ChatMessagePromptBlockProperties, ChatMessagePromptBlock=ChatMessagePromptBlock)
|
36
|
+
update_forward_refs(ChatMessagePromptBlock)
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
5
|
+
import typing
|
6
|
+
from .chat_message_role import ChatMessageRole
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
|
+
import pydantic
|
9
|
+
from ..core.pydantic_utilities import update_forward_refs
|
10
|
+
|
11
|
+
|
12
|
+
class ChatMessagePromptBlockProperties(UniversalBaseModel):
|
13
|
+
"""
|
14
|
+
The properties of a ChatMessagePromptTemplateBlock
|
15
|
+
"""
|
16
|
+
|
17
|
+
blocks: typing.List["PromptBlock"]
|
18
|
+
chat_role: typing.Optional[ChatMessageRole] = None
|
19
|
+
chat_source: typing.Optional[str] = None
|
20
|
+
chat_message_unterminated: typing.Optional[bool] = None
|
21
|
+
|
22
|
+
if IS_PYDANTIC_V2:
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
24
|
+
else:
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
extra = pydantic.Extra.allow
|
30
|
+
|
31
|
+
|
32
|
+
from .chat_message_prompt_block import ChatMessagePromptBlock # noqa: E402
|
33
|
+
from .prompt_block import PromptBlock # noqa: E402
|
34
|
+
|
35
|
+
update_forward_refs(ChatMessagePromptBlock, ChatMessagePromptBlockProperties=ChatMessagePromptBlockProperties)
|
36
|
+
update_forward_refs(ChatMessagePromptBlockProperties)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .ephemeral_prompt_cache_config_type_enum import EphemeralPromptCacheConfigTypeEnum
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
import pydantic
|
8
|
+
|
9
|
+
|
10
|
+
class EphemeralPromptCacheConfig(UniversalBaseModel):
|
11
|
+
type: typing.Optional[EphemeralPromptCacheConfigTypeEnum] = None
|
12
|
+
|
13
|
+
if IS_PYDANTIC_V2:
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
15
|
+
else:
|
16
|
+
|
17
|
+
class Config:
|
18
|
+
frozen = True
|
19
|
+
smart_union = True
|
20
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .prompt_block_state import PromptBlockState
|
6
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
7
|
+
from .function_definition_prompt_block_properties import FunctionDefinitionPromptBlockProperties
|
8
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
|
+
import pydantic
|
10
|
+
|
11
|
+
|
12
|
+
class FunctionDefinitionPromptBlock(UniversalBaseModel):
|
13
|
+
"""
|
14
|
+
A block that represents a function definition in a prompt template.
|
15
|
+
"""
|
16
|
+
|
17
|
+
state: typing.Optional[PromptBlockState] = None
|
18
|
+
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
19
|
+
block_type: typing.Literal["FUNCTION_DEFINITION"] = "FUNCTION_DEFINITION"
|
20
|
+
properties: FunctionDefinitionPromptBlockProperties
|
21
|
+
|
22
|
+
if IS_PYDANTIC_V2:
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
24
|
+
else:
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
import pydantic
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
|
8
|
+
|
9
|
+
class FunctionDefinitionPromptBlockProperties(UniversalBaseModel):
|
10
|
+
function_name: typing.Optional[str] = pydantic.Field(default=None)
|
11
|
+
"""
|
12
|
+
The name identifying the function.
|
13
|
+
"""
|
14
|
+
|
15
|
+
function_description: typing.Optional[str] = pydantic.Field(default=None)
|
16
|
+
"""
|
17
|
+
A description to help guide the model when to invoke this function.
|
18
|
+
"""
|
19
|
+
|
20
|
+
function_parameters: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
21
|
+
"""
|
22
|
+
An OpenAPI specification of parameters that are supported by this function.
|
23
|
+
"""
|
24
|
+
|
25
|
+
function_forced: typing.Optional[bool] = pydantic.Field(default=None)
|
26
|
+
"""
|
27
|
+
Set this option to true to force the model to return a function call of this function.
|
28
|
+
"""
|
29
|
+
|
30
|
+
function_strict: typing.Optional[bool] = pydantic.Field(default=None)
|
31
|
+
"""
|
32
|
+
Set this option to use strict schema decoding when available.
|
33
|
+
"""
|
34
|
+
|
35
|
+
if IS_PYDANTIC_V2:
|
36
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
37
|
+
else:
|
38
|
+
|
39
|
+
class Config:
|
40
|
+
frozen = True
|
41
|
+
smart_union = True
|
42
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .prompt_block_state import PromptBlockState
|
6
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
7
|
+
from .jinja_prompt_block_properties import JinjaPromptBlockProperties
|
8
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
|
+
import pydantic
|
10
|
+
|
11
|
+
|
12
|
+
class JinjaPromptBlock(UniversalBaseModel):
|
13
|
+
"""
|
14
|
+
A block of Jinja template code that is used to generate a prompt
|
15
|
+
"""
|
16
|
+
|
17
|
+
state: typing.Optional[PromptBlockState] = None
|
18
|
+
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
19
|
+
block_type: typing.Literal["JINJA"] = "JINJA"
|
20
|
+
properties: JinjaPromptBlockProperties
|
21
|
+
|
22
|
+
if IS_PYDANTIC_V2:
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
24
|
+
else:
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .vellum_variable_type import VellumVariableType
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
|
+
import pydantic
|
8
|
+
|
9
|
+
|
10
|
+
class JinjaPromptBlockProperties(UniversalBaseModel):
|
11
|
+
template: typing.Optional[str] = None
|
12
|
+
template_type: typing.Optional[VellumVariableType] = None
|
13
|
+
|
14
|
+
if IS_PYDANTIC_V2:
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
16
|
+
else:
|
17
|
+
|
18
|
+
class Config:
|
19
|
+
frozen = True
|
20
|
+
smart_union = True
|
21
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .prompt_block_state import PromptBlockState
|
6
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
|
+
import pydantic
|
9
|
+
|
10
|
+
|
11
|
+
class PlainTextPromptBlock(UniversalBaseModel):
|
12
|
+
"""
|
13
|
+
A block that holds a plain text string value.
|
14
|
+
"""
|
15
|
+
|
16
|
+
state: typing.Optional[PromptBlockState] = None
|
17
|
+
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
18
|
+
block_type: typing.Literal["PLAIN_TEXT"] = "PLAIN_TEXT"
|
19
|
+
text: str
|
20
|
+
|
21
|
+
if IS_PYDANTIC_V2:
|
22
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
23
|
+
else:
|
24
|
+
|
25
|
+
class Config:
|
26
|
+
frozen = True
|
27
|
+
smart_union = True
|
28
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
import typing
|
5
|
+
from .jinja_prompt_block import JinjaPromptBlock
|
6
|
+
from .function_definition_prompt_block import FunctionDefinitionPromptBlock
|
7
|
+
from .variable_prompt_block import VariablePromptBlock
|
8
|
+
from .rich_text_prompt_block import RichTextPromptBlock
|
9
|
+
import typing
|
10
|
+
|
11
|
+
if typing.TYPE_CHECKING:
|
12
|
+
from .chat_message_prompt_block import ChatMessagePromptBlock
|
13
|
+
PromptBlock = typing.Union[
|
14
|
+
JinjaPromptBlock, "ChatMessagePromptBlock", FunctionDefinitionPromptBlock, VariablePromptBlock, RichTextPromptBlock
|
15
|
+
]
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import typing
|
4
|
+
from .variable_prompt_block import VariablePromptBlock
|
5
|
+
from .plain_text_prompt_block import PlainTextPromptBlock
|
6
|
+
|
7
|
+
RichTextChildBlock = typing.Union[VariablePromptBlock, PlainTextPromptBlock]
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .prompt_block_state import PromptBlockState
|
6
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
7
|
+
from .rich_text_child_block import RichTextChildBlock
|
8
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
|
+
import pydantic
|
10
|
+
|
11
|
+
|
12
|
+
class RichTextPromptBlock(UniversalBaseModel):
|
13
|
+
"""
|
14
|
+
A block that includes a combination of plain text and variable blocks.
|
15
|
+
"""
|
16
|
+
|
17
|
+
state: typing.Optional[PromptBlockState] = None
|
18
|
+
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
19
|
+
block_type: typing.Literal["RICH_TEXT"] = "RICH_TEXT"
|
20
|
+
blocks: typing.List[RichTextChildBlock]
|
21
|
+
|
22
|
+
if IS_PYDANTIC_V2:
|
23
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
24
|
+
else:
|
25
|
+
|
26
|
+
class Config:
|
27
|
+
frozen = True
|
28
|
+
smart_union = True
|
29
|
+
extra = pydantic.Extra.allow
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.pydantic_utilities import UniversalBaseModel
|
4
|
+
import typing
|
5
|
+
from .prompt_block_state import PromptBlockState
|
6
|
+
from .ephemeral_prompt_cache_config import EphemeralPromptCacheConfig
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
|
+
import pydantic
|
9
|
+
|
10
|
+
|
11
|
+
class VariablePromptBlock(UniversalBaseModel):
|
12
|
+
"""
|
13
|
+
A block that represents a variable in a prompt template.
|
14
|
+
"""
|
15
|
+
|
16
|
+
state: typing.Optional[PromptBlockState] = None
|
17
|
+
cache_config: typing.Optional[EphemeralPromptCacheConfig] = None
|
18
|
+
block_type: typing.Literal["VARIABLE"] = "VARIABLE"
|
19
|
+
input_variable_id: str
|
20
|
+
|
21
|
+
if IS_PYDANTIC_V2:
|
22
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
23
|
+
else:
|
24
|
+
|
25
|
+
class Config:
|
26
|
+
frozen = True
|
27
|
+
smart_union = True
|
28
|
+
extra = pydantic.Extra.allow
|
@@ -1,8 +1,8 @@
|
|
1
|
-
vellum/__init__.py,sha256=
|
1
|
+
vellum/__init__.py,sha256=ymG1XhLJf664BANGlkkkn9WQYO3OBdOq9Hmmey5IQDA,34482
|
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=59_RRff6AtadFRoSTsynbNZ3BIbnSEkZepjV_9c7XIQ,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=
|
35
|
+
vellum/resources/ad_hoc/client.py,sha256=IMQyFBK007oQDfGion1rcSVjX0dIhFeDGxI6H5HjgJA,16467
|
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
|
@@ -82,7 +82,7 @@ vellum/terraform/ml_model/__init__.py,sha256=I8h1Ru-Rb-Hi_HusK6G7nJQZEKQGsAAHMmw
|
|
82
82
|
vellum/terraform/provider/__init__.py,sha256=-06xKmAmknpohVzw5TD-t1bnUHta8OrQYqvMd04XM-U,12684
|
83
83
|
vellum/terraform/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
84
84
|
vellum/terraform/versions.json,sha256=45c7jjRD5i4w9DJQHs5ZqLLVXRnQwP9Rirq3mWY-xEo,56
|
85
|
-
vellum/types/__init__.py,sha256=
|
85
|
+
vellum/types/__init__.py,sha256=PzW_-1tQv-UQHJB9_s4EXd2Jis0h3ptz-hBVvnWAt1U,52111
|
86
86
|
vellum/types/ad_hoc_execute_prompt_event.py,sha256=bCjujA2XsOgyF3bRZbcEqV2rOIymRgsLoIRtZpB14xg,607
|
87
87
|
vellum/types/ad_hoc_expand_meta.py,sha256=1gv-NCsy_6xBYupLvZH979yf2VMdxAU-l0y0ynMKZaw,1331
|
88
88
|
vellum/types/ad_hoc_fulfilled_prompt_execution_meta.py,sha256=Bfvf1d_dkmshxRACVM5vcxbH_7AQY23RmrrnPc0ytYY,939
|
@@ -119,6 +119,8 @@ vellum/types/chat_history_vellum_value_request.py,sha256=HzAiysncG5unJ-tlb43HhGZ
|
|
119
119
|
vellum/types/chat_message.py,sha256=EOA8v5Ebx2KS9BtwBBGbuvSK-pn4xWYZiioHuuPWvzw,916
|
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
|
+
vellum/types/chat_message_prompt_block.py,sha256=fnr8atRGphzLeevqrTl-dxvuCPcvaQZY6kF7TligUD4,1326
|
123
|
+
vellum/types/chat_message_prompt_block_properties.py,sha256=_XukG09TPcw7kYiXHZrp9vdYAmVVtNwACiiddOql378,1268
|
122
124
|
vellum/types/chat_message_request.py,sha256=r2EW1pfnvNYx2fo6mBqU5HQrUzp67WXuE5G-XK281E4,945
|
123
125
|
vellum/types/chat_message_role.py,sha256=-i0Jrcbwf72MkMoaFTGyxRduvlN7f5Y9ULhCXR5KNdA,182
|
124
126
|
vellum/types/code_execution_node_array_result.py,sha256=KCdbmjXjReO-hPPpBsSR17h_roDUpc4R-92cmIn59ck,952
|
@@ -164,6 +166,8 @@ vellum/types/enriched_normalized_completion.py,sha256=qk8o_PCj8rvgxa9omng0Nx5SvG
|
|
164
166
|
vellum/types/entity_status.py,sha256=bY0jEpISwXqFnbWd3PSb3yXEr-ounPXlAO_fyvHV7l8,158
|
165
167
|
vellum/types/entity_visibility.py,sha256=BX1KdYd7dirpv878XDDvtOHkMOqebM8-lkWmLyFLaw4,184
|
166
168
|
vellum/types/environment_enum.py,sha256=Wcewxp1cpGAMDIAZbTp4Y0GGfvy2Bq_Qu_67f_wBDGA,179
|
169
|
+
vellum/types/ephemeral_prompt_cache_config.py,sha256=PK26yfHCLPAnXd89r8gz0rCD9hRR5pjKrE-o6-Mk-dI,712
|
170
|
+
vellum/types/ephemeral_prompt_cache_config_type_enum.py,sha256=houFyNbNr9r2uXTBoRTA0eZJaBDe0CFTIUbsDyWK2e4,145
|
167
171
|
vellum/types/error_input_request.py,sha256=iWHzxp5DBkVPsinv8sDkf5m51YxzNCyQzRoO-ULaSz0,815
|
168
172
|
vellum/types/error_variable_value.py,sha256=ULT_D9h8dKeHTnXEDv6UHxNlpmwQ3iDHTGU6Zg8a6H0,676
|
169
173
|
vellum/types/error_vellum_value.py,sha256=Y7yO8Y1eOlbRyOqbOh6MyPRNHYKH48gIhlZIRcw1UaA,726
|
@@ -212,6 +216,8 @@ vellum/types/function_call_request.py,sha256=eJBIN-wLkkkDUIwAy1nMeWHu3MZ5aJpOXyW
|
|
212
216
|
vellum/types/function_call_variable_value.py,sha256=VQKCiEtJsmIK3i7CtFV_2ZpxeX70rqpUViXIvAci8L0,702
|
213
217
|
vellum/types/function_call_vellum_value.py,sha256=lLJb-S_-S_UXm6una1BMyCbqLpMhbbMcaVIYNO45h5o,759
|
214
218
|
vellum/types/function_call_vellum_value_request.py,sha256=oUteuCfWcj7UJbSE_Vywmmva9kyTaeL9iv5WJHabDVs,788
|
219
|
+
vellum/types/function_definition_prompt_block.py,sha256=vz3ywLJEuBs5NEmTNcS6L0k-Wezc-5zT0avQ0DWzdOg,1118
|
220
|
+
vellum/types/function_definition_prompt_block_properties.py,sha256=0D1yrSnCKQoJQlYu8Kk9AHItuc4LOIuz9LUoB4msTcw,1416
|
215
221
|
vellum/types/generate_options_request.py,sha256=TUDqsH0tiPWDZH4T-p5gsvKvwVHEVZ_k6oI3qsjlsk4,782
|
216
222
|
vellum/types/generate_request.py,sha256=gL6ywAJe6YCJ5oKbtYwL2H_TMdC_6PJZAI7-P3UOF3I,1286
|
217
223
|
vellum/types/generate_response.py,sha256=QJmSRsYhZhtDmk2xpE9ueQEkHyXmYsaEQqqlKl9-bS4,699
|
@@ -244,6 +250,8 @@ vellum/types/initiated_workflow_node_result_event.py,sha256=Nu1J4iQYsW2HHjQFzQq-
|
|
244
250
|
vellum/types/instructor_vectorizer_config.py,sha256=7udlosXv4CUWTW_Q9m0mz3VRi1FKSbBhDIOhtxRd0-U,731
|
245
251
|
vellum/types/instructor_vectorizer_config_request.py,sha256=6LGFFQKntMfX7bdetUqEMVdr3KJHEps0oDp2bNmqWbM,738
|
246
252
|
vellum/types/iteration_state_enum.py,sha256=83JSh842OJgQiLtNn1KMimy6RlEYRVH3mDmYWS6Ewzo,180
|
253
|
+
vellum/types/jinja_prompt_block.py,sha256=_0muggk56IM0SfzUmvqt71WvLNumn1UQ-HdJnYLsQqY,1034
|
254
|
+
vellum/types/jinja_prompt_block_properties.py,sha256=zC0AfT86xaLVVX8WkWLADoMonegv1jQvpked0DIhlEs,712
|
247
255
|
vellum/types/json_input_request.py,sha256=x5sA-VXxF4QH-98xRcIKPZhsMVbnJNUQofiUQqyfGk4,768
|
248
256
|
vellum/types/json_variable_value.py,sha256=X7eBEWxuozfvIdqD5sIZ5L-L77Ou6IIsZaQVNXh5G2k,634
|
249
257
|
vellum/types/json_vellum_value.py,sha256=8irlw6NkRRVafysfTc1Q5BFFhRrWJYzdwrDYTdJK4JY,689
|
@@ -328,9 +336,12 @@ vellum/types/paginated_test_suite_test_case_list.py,sha256=9KrCCQKy0egMmVx5U2k6o
|
|
328
336
|
vellum/types/paginated_workflow_release_tag_read_list.py,sha256=dH24ESWyAMVtyHsBkxG8kJ9oORY04Wn3IN-7jvV7Lu4,818
|
329
337
|
vellum/types/pdf_search_result_meta_source.py,sha256=EMVhqdN1bwE6Ujdx4VhlmKQtJvitN-57kY8oZPxh9dI,1126
|
330
338
|
vellum/types/pdf_search_result_meta_source_request.py,sha256=nUhaD2Kw1paGC6O_ICVNu3R0e1SVgTshRTkGNgmcjXo,1133
|
339
|
+
vellum/types/plain_text_prompt_block.py,sha256=GlzovdRbT6mhunMvIpF94_0apjh_0SZtkdlx5HFrE0k,930
|
331
340
|
vellum/types/price.py,sha256=ewzXDBVLaleuXMVQ-gQ3G1Nl5J2OWOVEMEFfnQIpiTk,610
|
332
341
|
vellum/types/processing_failure_reason_enum.py,sha256=R_KIW7TcQejhc-vLhtNf9SdkYADgoZCn4ch4_RRIvsI,195
|
333
342
|
vellum/types/processing_state_enum.py,sha256=lIEunnCpgYQExm2bGyTb12KyjQ3O7XOx636aWXb_Iwo,190
|
343
|
+
vellum/types/prompt_block.py,sha256=qJISp3lSZ0EVrTuqs9306KO14mZPQmj-yeghBqqfBao,606
|
344
|
+
vellum/types/prompt_block_state.py,sha256=BRAzTYARoSU36IVZGWMeeqhl5fgFMXCyhJ8rCbfB-f0,163
|
334
345
|
vellum/types/prompt_deployment_expand_meta_request.py,sha256=agsiAaHB6lDoZPlnfJ2nmhB4Ud4EiJJTX05YmduyCPo,1910
|
335
346
|
vellum/types/prompt_deployment_input_request.py,sha256=KrT4-Ew2VvTWXEkYQz2oyHn5EDOgrMW7FzRFaPH3ARg,353
|
336
347
|
vellum/types/prompt_execution_meta.py,sha256=3hhMZgdAR5mKfnh2e_eVN3oKfT0E9w26khVPrpjn7jk,1141
|
@@ -357,6 +368,8 @@ vellum/types/rejected_prompt_execution_meta.py,sha256=4Oidh3XBBHzgjOys2kuETxqWc_
|
|
357
368
|
vellum/types/rejected_workflow_node_result_event.py,sha256=o9AUc9hT60F8ckMkCx8HtKxtj4y82LBoJduB9u8w0TM,1319
|
358
369
|
vellum/types/release_tag_source.py,sha256=YavosOXZ976yfXTNWRTZwh2HhRiYmSDk0bQCkl-jCoQ,158
|
359
370
|
vellum/types/replace_test_suite_test_case_request.py,sha256=c1GT1RUCei1yWxyZy4Gv40PkXYisvK5OkzlqQ6WeBYA,1906
|
371
|
+
vellum/types/rich_text_child_block.py,sha256=X_ACKFKSUx5SXT1cLp0Y5-7VrNxcGOggPm67Lk2442U,270
|
372
|
+
vellum/types/rich_text_prompt_block.py,sha256=60Bg_1wuXAd5eBiO9xiN8NjMvYE67ZLTtAb1A3N-7oI,1036
|
360
373
|
vellum/types/sandbox_scenario.py,sha256=f4S0tDxmPYHIrD_BMjRL3XZGcGxlWy9apfI64hV7MBE,844
|
361
374
|
vellum/types/scenario_input.py,sha256=caC8p5ZnuXhv2ZiHvzTvKL3Ebtr4NXP9Q8UcJEVB8-U,476
|
362
375
|
vellum/types/scenario_input_chat_history_variable_value.py,sha256=ihgJktmZpz_12wx2yPtyrSrBjcBcSg9fby7h_eLoXgI,835
|
@@ -488,6 +501,7 @@ vellum/types/token_overlapping_window_chunking_request.py,sha256=IjCs9UDrwBT6tnf
|
|
488
501
|
vellum/types/unit_enum.py,sha256=BKWRVp2WfHtGK4D6TsolhNJHGHfExzrRHkFn8H8QkwQ,113
|
489
502
|
vellum/types/upload_document_response.py,sha256=6_5Cm4yBPq5nD-rEql6GsmrAtSVVtNRczOL5YwsBVMI,649
|
490
503
|
vellum/types/upsert_test_suite_test_case_request.py,sha256=iB38vx4mo4yNLV5XTeXMGR-PJLOQPloWQOAAi7PDpM0,2079
|
504
|
+
vellum/types/variable_prompt_block.py,sha256=cQezrQTHZRN4anIZDv21a6VEUfjYdCkDLqA7OrNGSBs,949
|
491
505
|
vellum/types/vellum_audio.py,sha256=oPm1bcxk7fTfWfHWOPSLvrZrRBjCyPDVDRMACPoWmMI,721
|
492
506
|
vellum/types/vellum_audio_request.py,sha256=y9CZgQ1TteW0AHNk8GuAZLNVFa981rh7P9vyV8bfgys,728
|
493
507
|
vellum/types/vellum_error.py,sha256=jCKfuCkDTiyFb1-QyP2cg0wReja6wMuooKPAjNhBA0M,643
|
@@ -549,7 +563,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
|
|
549
563
|
vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
|
550
564
|
vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
|
551
565
|
vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
|
552
|
-
vellum_ai-0.9.
|
553
|
-
vellum_ai-0.9.
|
554
|
-
vellum_ai-0.9.
|
555
|
-
vellum_ai-0.9.
|
566
|
+
vellum_ai-0.9.8.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
|
567
|
+
vellum_ai-0.9.8.dist-info/METADATA,sha256=XQ67tx6y1xy6HGrnZfvJsudcGjCZDEPjC-52aBSuZdA,4394
|
568
|
+
vellum_ai-0.9.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
569
|
+
vellum_ai-0.9.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|