vellum-ai 0.9.6__py3-none-any.whl → 0.9.7__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vellum/__init__.py +14 -46
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/ad_hoc/client.py +75 -108
- vellum/types/__init__.py +14 -46
- vellum/types/{ad_hoc_expand_meta_request.py → ad_hoc_expand_meta.py} +1 -1
- vellum/types/{prompt_parameters_request.py → prompt_parameters.py} +1 -1
- vellum/types/{prompt_request_chat_history_input_request.py → prompt_request_chat_history_input.py} +3 -3
- vellum/types/prompt_request_input.py +8 -0
- vellum/types/{prompt_request_json_input_request.py → prompt_request_json_input.py} +1 -1
- vellum/types/{prompt_request_string_input_request.py → prompt_request_string_input.py} +1 -1
- vellum/types/{prompt_settings_request.py → prompt_settings.py} +1 -1
- {vellum_ai-0.9.6.dist-info → vellum_ai-0.9.7.dist-info}/METADATA +1 -1
- {vellum_ai-0.9.6.dist-info → vellum_ai-0.9.7.dist-info}/RECORD +15 -31
- vellum/types/chat_message_prompt_block_properties_request.py +0 -38
- vellum/types/chat_message_prompt_block_request.py +0 -38
- vellum/types/ephemeral_prompt_cache_config_request.py +0 -20
- vellum/types/ephemeral_prompt_cache_config_type_enum.py +0 -5
- vellum/types/function_definition_prompt_block_properties_request.py +0 -42
- vellum/types/function_definition_prompt_block_request.py +0 -29
- vellum/types/jinja_prompt_block_properties_request.py +0 -21
- vellum/types/jinja_prompt_block_request.py +0 -29
- vellum/types/plain_text_prompt_block_request.py +0 -28
- vellum/types/prompt_block_request.py +0 -19
- vellum/types/prompt_block_state.py +0 -5
- vellum/types/prompt_request_input_request.py +0 -10
- vellum/types/rich_text_child_block_request.py +0 -7
- vellum/types/rich_text_prompt_block_request.py +0 -30
- vellum/types/variable_prompt_block_request.py +0 -28
- vellum/types/vellum_variable_extensions_request.py +0 -23
- vellum/types/vellum_variable_request.py +0 -33
- {vellum_ai-0.9.6.dist-info → vellum_ai-0.9.7.dist-info}/LICENSE +0 -0
- {vellum_ai-0.9.6.dist-info → vellum_ai-0.9.7.dist-info}/WHEEL +0 -0
vellum/types/__init__.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
2
2
|
|
3
3
|
from .ad_hoc_execute_prompt_event import AdHocExecutePromptEvent
|
4
|
-
from .
|
4
|
+
from .ad_hoc_expand_meta import AdHocExpandMeta
|
5
5
|
from .ad_hoc_fulfilled_prompt_execution_meta import AdHocFulfilledPromptExecutionMeta
|
6
6
|
from .ad_hoc_initiated_prompt_execution_meta import AdHocInitiatedPromptExecutionMeta
|
7
7
|
from .ad_hoc_rejected_prompt_execution_meta import AdHocRejectedPromptExecutionMeta
|
@@ -44,8 +44,6 @@ 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_properties_request import ChatMessagePromptBlockPropertiesRequest
|
48
|
-
from .chat_message_prompt_block_request import ChatMessagePromptBlockRequest
|
49
47
|
from .chat_message_request import ChatMessageRequest
|
50
48
|
from .chat_message_role import ChatMessageRole
|
51
49
|
from .code_execution_node_array_result import CodeExecutionNodeArrayResult
|
@@ -91,8 +89,6 @@ from .enriched_normalized_completion import EnrichedNormalizedCompletion
|
|
91
89
|
from .entity_status import EntityStatus
|
92
90
|
from .entity_visibility import EntityVisibility
|
93
91
|
from .environment_enum import EnvironmentEnum
|
94
|
-
from .ephemeral_prompt_cache_config_request import EphemeralPromptCacheConfigRequest
|
95
|
-
from .ephemeral_prompt_cache_config_type_enum import EphemeralPromptCacheConfigTypeEnum
|
96
92
|
from .error_input_request import ErrorInputRequest
|
97
93
|
from .error_variable_value import ErrorVariableValue
|
98
94
|
from .error_vellum_value import ErrorVellumValue
|
@@ -141,8 +137,6 @@ from .function_call_request import FunctionCallRequest
|
|
141
137
|
from .function_call_variable_value import FunctionCallVariableValue
|
142
138
|
from .function_call_vellum_value import FunctionCallVellumValue
|
143
139
|
from .function_call_vellum_value_request import FunctionCallVellumValueRequest
|
144
|
-
from .function_definition_prompt_block_properties_request import FunctionDefinitionPromptBlockPropertiesRequest
|
145
|
-
from .function_definition_prompt_block_request import FunctionDefinitionPromptBlockRequest
|
146
140
|
from .generate_options_request import GenerateOptionsRequest
|
147
141
|
from .generate_request import GenerateRequest
|
148
142
|
from .generate_response import GenerateResponse
|
@@ -179,8 +173,6 @@ from .initiated_workflow_node_result_event import InitiatedWorkflowNodeResultEve
|
|
179
173
|
from .instructor_vectorizer_config import InstructorVectorizerConfig
|
180
174
|
from .instructor_vectorizer_config_request import InstructorVectorizerConfigRequest
|
181
175
|
from .iteration_state_enum import IterationStateEnum
|
182
|
-
from .jinja_prompt_block_properties_request import JinjaPromptBlockPropertiesRequest
|
183
|
-
from .jinja_prompt_block_request import JinjaPromptBlockRequest
|
184
176
|
from .json_input_request import JsonInputRequest
|
185
177
|
from .json_variable_value import JsonVariableValue
|
186
178
|
from .json_vellum_value import JsonVellumValue
|
@@ -265,12 +257,9 @@ from .paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
|
265
257
|
from .paginated_workflow_release_tag_read_list import PaginatedWorkflowReleaseTagReadList
|
266
258
|
from .pdf_search_result_meta_source import PdfSearchResultMetaSource
|
267
259
|
from .pdf_search_result_meta_source_request import PdfSearchResultMetaSourceRequest
|
268
|
-
from .plain_text_prompt_block_request import PlainTextPromptBlockRequest
|
269
260
|
from .price import Price
|
270
261
|
from .processing_failure_reason_enum import ProcessingFailureReasonEnum
|
271
262
|
from .processing_state_enum import ProcessingStateEnum
|
272
|
-
from .prompt_block_request import PromptBlockRequest
|
273
|
-
from .prompt_block_state import PromptBlockState
|
274
263
|
from .prompt_deployment_expand_meta_request import PromptDeploymentExpandMetaRequest
|
275
264
|
from .prompt_deployment_input_request import PromptDeploymentInputRequest
|
276
265
|
from .prompt_execution_meta import PromptExecutionMeta
|
@@ -278,12 +267,12 @@ from .prompt_node_execution_meta import PromptNodeExecutionMeta
|
|
278
267
|
from .prompt_node_result import PromptNodeResult
|
279
268
|
from .prompt_node_result_data import PromptNodeResultData
|
280
269
|
from .prompt_output import PromptOutput
|
281
|
-
from .
|
282
|
-
from .
|
283
|
-
from .
|
284
|
-
from .
|
285
|
-
from .
|
286
|
-
from .
|
270
|
+
from .prompt_parameters import PromptParameters
|
271
|
+
from .prompt_request_chat_history_input import PromptRequestChatHistoryInput
|
272
|
+
from .prompt_request_input import PromptRequestInput
|
273
|
+
from .prompt_request_json_input import PromptRequestJsonInput
|
274
|
+
from .prompt_request_string_input import PromptRequestStringInput
|
275
|
+
from .prompt_settings import PromptSettings
|
287
276
|
from .raw_prompt_execution_overrides_request import RawPromptExecutionOverridesRequest
|
288
277
|
from .reducto_chunker_config import ReductoChunkerConfig
|
289
278
|
from .reducto_chunker_config_request import ReductoChunkerConfigRequest
|
@@ -297,8 +286,6 @@ from .rejected_prompt_execution_meta import RejectedPromptExecutionMeta
|
|
297
286
|
from .rejected_workflow_node_result_event import RejectedWorkflowNodeResultEvent
|
298
287
|
from .release_tag_source import ReleaseTagSource
|
299
288
|
from .replace_test_suite_test_case_request import ReplaceTestSuiteTestCaseRequest
|
300
|
-
from .rich_text_child_block_request import RichTextChildBlockRequest
|
301
|
-
from .rich_text_prompt_block_request import RichTextPromptBlockRequest
|
302
289
|
from .sandbox_scenario import SandboxScenario
|
303
290
|
from .scenario_input import ScenarioInput
|
304
291
|
from .scenario_input_chat_history_variable_value import ScenarioInputChatHistoryVariableValue
|
@@ -434,7 +421,6 @@ from .token_overlapping_window_chunking_request import TokenOverlappingWindowChu
|
|
434
421
|
from .unit_enum import UnitEnum
|
435
422
|
from .upload_document_response import UploadDocumentResponse
|
436
423
|
from .upsert_test_suite_test_case_request import UpsertTestSuiteTestCaseRequest
|
437
|
-
from .variable_prompt_block_request import VariablePromptBlockRequest
|
438
424
|
from .vellum_audio import VellumAudio
|
439
425
|
from .vellum_audio_request import VellumAudioRequest
|
440
426
|
from .vellum_error import VellumError
|
@@ -449,8 +435,6 @@ from .vellum_value_logical_expression_request import VellumValueLogicalExpressio
|
|
449
435
|
from .vellum_value_request import VellumValueRequest
|
450
436
|
from .vellum_variable import VellumVariable
|
451
437
|
from .vellum_variable_extensions import VellumVariableExtensions
|
452
|
-
from .vellum_variable_extensions_request import VellumVariableExtensionsRequest
|
453
|
-
from .vellum_variable_request import VellumVariableRequest
|
454
438
|
from .vellum_variable_type import VellumVariableType
|
455
439
|
from .workflow_deployment_read import WorkflowDeploymentRead
|
456
440
|
from .workflow_event_error import WorkflowEventError
|
@@ -500,7 +484,7 @@ from .workspace_secret_read import WorkspaceSecretRead
|
|
500
484
|
|
501
485
|
__all__ = [
|
502
486
|
"AdHocExecutePromptEvent",
|
503
|
-
"
|
487
|
+
"AdHocExpandMeta",
|
504
488
|
"AdHocFulfilledPromptExecutionMeta",
|
505
489
|
"AdHocInitiatedPromptExecutionMeta",
|
506
490
|
"AdHocRejectedPromptExecutionMeta",
|
@@ -535,8 +519,6 @@ __all__ = [
|
|
535
519
|
"ChatMessage",
|
536
520
|
"ChatMessageContent",
|
537
521
|
"ChatMessageContentRequest",
|
538
|
-
"ChatMessagePromptBlockPropertiesRequest",
|
539
|
-
"ChatMessagePromptBlockRequest",
|
540
522
|
"ChatMessageRequest",
|
541
523
|
"ChatMessageRole",
|
542
524
|
"CodeExecutionNodeArrayResult",
|
@@ -582,8 +564,6 @@ __all__ = [
|
|
582
564
|
"EntityStatus",
|
583
565
|
"EntityVisibility",
|
584
566
|
"EnvironmentEnum",
|
585
|
-
"EphemeralPromptCacheConfigRequest",
|
586
|
-
"EphemeralPromptCacheConfigTypeEnum",
|
587
567
|
"ErrorInputRequest",
|
588
568
|
"ErrorVariableValue",
|
589
569
|
"ErrorVellumValue",
|
@@ -632,8 +612,6 @@ __all__ = [
|
|
632
612
|
"FunctionCallVariableValue",
|
633
613
|
"FunctionCallVellumValue",
|
634
614
|
"FunctionCallVellumValueRequest",
|
635
|
-
"FunctionDefinitionPromptBlockPropertiesRequest",
|
636
|
-
"FunctionDefinitionPromptBlockRequest",
|
637
615
|
"GenerateOptionsRequest",
|
638
616
|
"GenerateRequest",
|
639
617
|
"GenerateResponse",
|
@@ -666,8 +644,6 @@ __all__ = [
|
|
666
644
|
"InstructorVectorizerConfig",
|
667
645
|
"InstructorVectorizerConfigRequest",
|
668
646
|
"IterationStateEnum",
|
669
|
-
"JinjaPromptBlockPropertiesRequest",
|
670
|
-
"JinjaPromptBlockRequest",
|
671
647
|
"JsonInputRequest",
|
672
648
|
"JsonVariableValue",
|
673
649
|
"JsonVellumValue",
|
@@ -752,12 +728,9 @@ __all__ = [
|
|
752
728
|
"PaginatedWorkflowReleaseTagReadList",
|
753
729
|
"PdfSearchResultMetaSource",
|
754
730
|
"PdfSearchResultMetaSourceRequest",
|
755
|
-
"PlainTextPromptBlockRequest",
|
756
731
|
"Price",
|
757
732
|
"ProcessingFailureReasonEnum",
|
758
733
|
"ProcessingStateEnum",
|
759
|
-
"PromptBlockRequest",
|
760
|
-
"PromptBlockState",
|
761
734
|
"PromptDeploymentExpandMetaRequest",
|
762
735
|
"PromptDeploymentInputRequest",
|
763
736
|
"PromptExecutionMeta",
|
@@ -765,12 +738,12 @@ __all__ = [
|
|
765
738
|
"PromptNodeResult",
|
766
739
|
"PromptNodeResultData",
|
767
740
|
"PromptOutput",
|
768
|
-
"
|
769
|
-
"
|
770
|
-
"
|
771
|
-
"
|
772
|
-
"
|
773
|
-
"
|
741
|
+
"PromptParameters",
|
742
|
+
"PromptRequestChatHistoryInput",
|
743
|
+
"PromptRequestInput",
|
744
|
+
"PromptRequestJsonInput",
|
745
|
+
"PromptRequestStringInput",
|
746
|
+
"PromptSettings",
|
774
747
|
"RawPromptExecutionOverridesRequest",
|
775
748
|
"ReductoChunkerConfig",
|
776
749
|
"ReductoChunkerConfigRequest",
|
@@ -784,8 +757,6 @@ __all__ = [
|
|
784
757
|
"RejectedWorkflowNodeResultEvent",
|
785
758
|
"ReleaseTagSource",
|
786
759
|
"ReplaceTestSuiteTestCaseRequest",
|
787
|
-
"RichTextChildBlockRequest",
|
788
|
-
"RichTextPromptBlockRequest",
|
789
760
|
"SandboxScenario",
|
790
761
|
"ScenarioInput",
|
791
762
|
"ScenarioInputChatHistoryVariableValue",
|
@@ -917,7 +888,6 @@ __all__ = [
|
|
917
888
|
"UnitEnum",
|
918
889
|
"UploadDocumentResponse",
|
919
890
|
"UpsertTestSuiteTestCaseRequest",
|
920
|
-
"VariablePromptBlockRequest",
|
921
891
|
"VellumAudio",
|
922
892
|
"VellumAudioRequest",
|
923
893
|
"VellumError",
|
@@ -932,8 +902,6 @@ __all__ = [
|
|
932
902
|
"VellumValueRequest",
|
933
903
|
"VellumVariable",
|
934
904
|
"VellumVariableExtensions",
|
935
|
-
"VellumVariableExtensionsRequest",
|
936
|
-
"VellumVariableRequest",
|
937
905
|
"VellumVariableType",
|
938
906
|
"WorkflowDeploymentRead",
|
939
907
|
"WorkflowEventError",
|
@@ -6,7 +6,7 @@ import pydantic
|
|
6
6
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
7
|
|
8
8
|
|
9
|
-
class
|
9
|
+
class AdHocExpandMeta(UniversalBaseModel):
|
10
10
|
cost: typing.Optional[bool] = pydantic.Field(default=None)
|
11
11
|
"""
|
12
12
|
If enabled, the response will include model host cost tracking. This may increase latency for some model hosts.
|
@@ -6,7 +6,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
6
|
import pydantic
|
7
7
|
|
8
8
|
|
9
|
-
class
|
9
|
+
class PromptParameters(UniversalBaseModel):
|
10
10
|
stop: typing.Optional[typing.List[str]] = None
|
11
11
|
temperature: typing.Optional[float] = None
|
12
12
|
max_tokens: typing.Optional[int] = None
|
vellum/types/{prompt_request_chat_history_input_request.py → prompt_request_chat_history_input.py}
RENAMED
@@ -3,18 +3,18 @@
|
|
3
3
|
from ..core.pydantic_utilities import UniversalBaseModel
|
4
4
|
import pydantic
|
5
5
|
import typing
|
6
|
-
from .
|
6
|
+
from .chat_message import ChatMessage
|
7
7
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
8
8
|
|
9
9
|
|
10
|
-
class
|
10
|
+
class PromptRequestChatHistoryInput(UniversalBaseModel):
|
11
11
|
key: str = pydantic.Field()
|
12
12
|
"""
|
13
13
|
The variable's name, as defined in the Prompt.
|
14
14
|
"""
|
15
15
|
|
16
16
|
type: typing.Literal["CHAT_HISTORY"] = "CHAT_HISTORY"
|
17
|
-
value: typing.List[
|
17
|
+
value: typing.List[ChatMessage]
|
18
18
|
|
19
19
|
if IS_PYDANTIC_V2:
|
20
20
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
import typing
|
4
|
+
from .prompt_request_string_input import PromptRequestStringInput
|
5
|
+
from .prompt_request_json_input import PromptRequestJsonInput
|
6
|
+
from .prompt_request_chat_history_input import PromptRequestChatHistoryInput
|
7
|
+
|
8
|
+
PromptRequestInput = typing.Union[PromptRequestStringInput, PromptRequestJsonInput, PromptRequestChatHistoryInput]
|
@@ -6,7 +6,7 @@ import typing
|
|
6
6
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
7
|
|
8
8
|
|
9
|
-
class
|
9
|
+
class PromptRequestJsonInput(UniversalBaseModel):
|
10
10
|
key: str = pydantic.Field()
|
11
11
|
"""
|
12
12
|
The variable's name, as defined in the Prompt.
|
@@ -6,7 +6,7 @@ import typing
|
|
6
6
|
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
7
7
|
|
8
8
|
|
9
|
-
class
|
9
|
+
class PromptRequestStringInput(UniversalBaseModel):
|
10
10
|
key: str = pydantic.Field()
|
11
11
|
"""
|
12
12
|
The variable's name, as defined in the Prompt.
|
@@ -1,8 +1,8 @@
|
|
1
|
-
vellum/__init__.py,sha256=
|
1
|
+
vellum/__init__.py,sha256=XLTmPODTz4SX5gIYT6qkg5WfBvqH1Jq2h5w9dZGF0_s,33632
|
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=HejxYCB47RVZhppXHM51_7mVBa8ycn6A6-5EmrNTnok,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=JOdjssV2rLBHHOO0wVn5fFQ1-1-mfQZ4mQHCt_iGr7I,15291
|
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,9 +82,9 @@ 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=S1Z3m1icSICPDg0gPStafY6z_drQo2nByLdngrmg1MQ,50767
|
86
86
|
vellum/types/ad_hoc_execute_prompt_event.py,sha256=bCjujA2XsOgyF3bRZbcEqV2rOIymRgsLoIRtZpB14xg,607
|
87
|
-
vellum/types/
|
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
|
89
89
|
vellum/types/ad_hoc_initiated_prompt_execution_meta.py,sha256=gOHP4kmnVCJJkTpfRPOgkFB70mhz5ySg_c2qRffDGWQ,785
|
90
90
|
vellum/types/ad_hoc_rejected_prompt_execution_meta.py,sha256=Yo3TNjemHUfxU9R3EMzAGh-ey9pSClpEX7uGgGZiXDg,849
|
@@ -119,8 +119,6 @@ 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_properties_request.py,sha256=lMBVwR5hnBykjVpcptjBJLj4QhUpomtxdj-E2Th8iYw,1346
|
123
|
-
vellum/types/chat_message_prompt_block_request.py,sha256=aCTBth-hSb5BLbyeiUJdtKB-zoXY78JfUl3mZXjkVfc,1411
|
124
122
|
vellum/types/chat_message_request.py,sha256=r2EW1pfnvNYx2fo6mBqU5HQrUzp67WXuE5G-XK281E4,945
|
125
123
|
vellum/types/chat_message_role.py,sha256=-i0Jrcbwf72MkMoaFTGyxRduvlN7f5Y9ULhCXR5KNdA,182
|
126
124
|
vellum/types/code_execution_node_array_result.py,sha256=KCdbmjXjReO-hPPpBsSR17h_roDUpc4R-92cmIn59ck,952
|
@@ -166,8 +164,6 @@ vellum/types/enriched_normalized_completion.py,sha256=qk8o_PCj8rvgxa9omng0Nx5SvG
|
|
166
164
|
vellum/types/entity_status.py,sha256=bY0jEpISwXqFnbWd3PSb3yXEr-ounPXlAO_fyvHV7l8,158
|
167
165
|
vellum/types/entity_visibility.py,sha256=BX1KdYd7dirpv878XDDvtOHkMOqebM8-lkWmLyFLaw4,184
|
168
166
|
vellum/types/environment_enum.py,sha256=Wcewxp1cpGAMDIAZbTp4Y0GGfvy2Bq_Qu_67f_wBDGA,179
|
169
|
-
vellum/types/ephemeral_prompt_cache_config_request.py,sha256=cWJIUY6Y4StTLszPeGRlwgvSkmL9OvFT9IrcbCDcI6g,719
|
170
|
-
vellum/types/ephemeral_prompt_cache_config_type_enum.py,sha256=houFyNbNr9r2uXTBoRTA0eZJaBDe0CFTIUbsDyWK2e4,145
|
171
167
|
vellum/types/error_input_request.py,sha256=iWHzxp5DBkVPsinv8sDkf5m51YxzNCyQzRoO-ULaSz0,815
|
172
168
|
vellum/types/error_variable_value.py,sha256=ULT_D9h8dKeHTnXEDv6UHxNlpmwQ3iDHTGU6Zg8a6H0,676
|
173
169
|
vellum/types/error_vellum_value.py,sha256=Y7yO8Y1eOlbRyOqbOh6MyPRNHYKH48gIhlZIRcw1UaA,726
|
@@ -216,8 +212,6 @@ vellum/types/function_call_request.py,sha256=eJBIN-wLkkkDUIwAy1nMeWHu3MZ5aJpOXyW
|
|
216
212
|
vellum/types/function_call_variable_value.py,sha256=VQKCiEtJsmIK3i7CtFV_2ZpxeX70rqpUViXIvAci8L0,702
|
217
213
|
vellum/types/function_call_vellum_value.py,sha256=lLJb-S_-S_UXm6una1BMyCbqLpMhbbMcaVIYNO45h5o,759
|
218
214
|
vellum/types/function_call_vellum_value_request.py,sha256=oUteuCfWcj7UJbSE_Vywmmva9kyTaeL9iv5WJHabDVs,788
|
219
|
-
vellum/types/function_definition_prompt_block_properties_request.py,sha256=7mhG7x-YceU1TFImm_HpNuetByxpLZ3rZaT1JoKKBrE,1423
|
220
|
-
vellum/types/function_definition_prompt_block_request.py,sha256=ZX6YqqC1xDICC_S_KYDaWo4ag--ujQYGRhnO_6fIxJE,1169
|
221
215
|
vellum/types/generate_options_request.py,sha256=TUDqsH0tiPWDZH4T-p5gsvKvwVHEVZ_k6oI3qsjlsk4,782
|
222
216
|
vellum/types/generate_request.py,sha256=gL6ywAJe6YCJ5oKbtYwL2H_TMdC_6PJZAI7-P3UOF3I,1286
|
223
217
|
vellum/types/generate_response.py,sha256=QJmSRsYhZhtDmk2xpE9ueQEkHyXmYsaEQqqlKl9-bS4,699
|
@@ -250,8 +244,6 @@ vellum/types/initiated_workflow_node_result_event.py,sha256=Nu1J4iQYsW2HHjQFzQq-
|
|
250
244
|
vellum/types/instructor_vectorizer_config.py,sha256=7udlosXv4CUWTW_Q9m0mz3VRi1FKSbBhDIOhtxRd0-U,731
|
251
245
|
vellum/types/instructor_vectorizer_config_request.py,sha256=6LGFFQKntMfX7bdetUqEMVdr3KJHEps0oDp2bNmqWbM,738
|
252
246
|
vellum/types/iteration_state_enum.py,sha256=83JSh842OJgQiLtNn1KMimy6RlEYRVH3mDmYWS6Ewzo,180
|
253
|
-
vellum/types/jinja_prompt_block_properties_request.py,sha256=2nb9gp224ADPi0aNTKNMaOe159EDB8JSHzDkMzR0QxI,719
|
254
|
-
vellum/types/jinja_prompt_block_request.py,sha256=KiRE-mYW-KvPTWDQBVVcXD8NKPLlgzB-_7_DnhVTIJM,1085
|
255
247
|
vellum/types/json_input_request.py,sha256=x5sA-VXxF4QH-98xRcIKPZhsMVbnJNUQofiUQqyfGk4,768
|
256
248
|
vellum/types/json_variable_value.py,sha256=X7eBEWxuozfvIdqD5sIZ5L-L77Ou6IIsZaQVNXh5G2k,634
|
257
249
|
vellum/types/json_vellum_value.py,sha256=8irlw6NkRRVafysfTc1Q5BFFhRrWJYzdwrDYTdJK4JY,689
|
@@ -336,12 +328,9 @@ vellum/types/paginated_test_suite_test_case_list.py,sha256=9KrCCQKy0egMmVx5U2k6o
|
|
336
328
|
vellum/types/paginated_workflow_release_tag_read_list.py,sha256=dH24ESWyAMVtyHsBkxG8kJ9oORY04Wn3IN-7jvV7Lu4,818
|
337
329
|
vellum/types/pdf_search_result_meta_source.py,sha256=EMVhqdN1bwE6Ujdx4VhlmKQtJvitN-57kY8oZPxh9dI,1126
|
338
330
|
vellum/types/pdf_search_result_meta_source_request.py,sha256=nUhaD2Kw1paGC6O_ICVNu3R0e1SVgTshRTkGNgmcjXo,1133
|
339
|
-
vellum/types/plain_text_prompt_block_request.py,sha256=iKt6FH5vE4vCndqroDpkEwIbz0gQK40qzgXTPEuatCU,959
|
340
331
|
vellum/types/price.py,sha256=ewzXDBVLaleuXMVQ-gQ3G1Nl5J2OWOVEMEFfnQIpiTk,610
|
341
332
|
vellum/types/processing_failure_reason_enum.py,sha256=R_KIW7TcQejhc-vLhtNf9SdkYADgoZCn4ch4_RRIvsI,195
|
342
333
|
vellum/types/processing_state_enum.py,sha256=lIEunnCpgYQExm2bGyTb12KyjQ3O7XOx636aWXb_Iwo,190
|
343
|
-
vellum/types/prompt_block_request.py,sha256=A5I5J6bDjmauk5L4CexRXk_VMrGDZRApYZyevMHBPpI,740
|
344
|
-
vellum/types/prompt_block_state.py,sha256=BRAzTYARoSU36IVZGWMeeqhl5fgFMXCyhJ8rCbfB-f0,163
|
345
334
|
vellum/types/prompt_deployment_expand_meta_request.py,sha256=agsiAaHB6lDoZPlnfJ2nmhB4Ud4EiJJTX05YmduyCPo,1910
|
346
335
|
vellum/types/prompt_deployment_input_request.py,sha256=KrT4-Ew2VvTWXEkYQz2oyHn5EDOgrMW7FzRFaPH3ARg,353
|
347
336
|
vellum/types/prompt_execution_meta.py,sha256=3hhMZgdAR5mKfnh2e_eVN3oKfT0E9w26khVPrpjn7jk,1141
|
@@ -349,12 +338,12 @@ vellum/types/prompt_node_execution_meta.py,sha256=k8zPFTsXl0iuHi-CNXEQcWP5Adbr8x
|
|
349
338
|
vellum/types/prompt_node_result.py,sha256=3jewO-nPodoXTq_5RxgwhKfDZrvoPjRZ_vUXLeqiuHY,749
|
350
339
|
vellum/types/prompt_node_result_data.py,sha256=fNOxBfK3ablDBxkUWVVstJMYaGdHGgu27WxP87E6UQ4,872
|
351
340
|
vellum/types/prompt_output.py,sha256=NpDGJNIYIivzQJnBeoJLpJlCk7gqBESLwv5Qtn_20qQ,398
|
352
|
-
vellum/types/
|
353
|
-
vellum/types/
|
354
|
-
vellum/types/
|
355
|
-
vellum/types/
|
356
|
-
vellum/types/
|
357
|
-
vellum/types/
|
341
|
+
vellum/types/prompt_parameters.py,sha256=Vkwh4zI9gX1DuGQxrWiUUa1TshTfnPlS7_yRrziD5qg,1046
|
342
|
+
vellum/types/prompt_request_chat_history_input.py,sha256=DB2io5piMSyA89f5lnIVYO4MLZoNALNSufx8Y-oOwOE,790
|
343
|
+
vellum/types/prompt_request_input.py,sha256=brEdYhYm74Ac8XjK9wF0rKOLgnqd_Cg19yMS7VfB4qQ,400
|
344
|
+
vellum/types/prompt_request_json_input.py,sha256=6qLOPsNtDTIz43qJdZSgLwO9SWLe_plSJDH11xWGS6A,750
|
345
|
+
vellum/types/prompt_request_string_input.py,sha256=8GSFhtN3HeYssbDRY7B5SCh5Qrp67340D9c3oINpCmw,714
|
346
|
+
vellum/types/prompt_settings.py,sha256=lSQeNofj9EzOncr81hGRE2ZBhgRCqDYMT5e3a66PuqA,586
|
358
347
|
vellum/types/raw_prompt_execution_overrides_request.py,sha256=x4Chkm_NxXySOEyA6s6J_mhhiM91KCcQbu6pQETB8RI,927
|
359
348
|
vellum/types/reducto_chunker_config.py,sha256=by_Dj0hZPkLQAf7l1KAudRB8X2XnlfHiRTsyiR-DTRY,654
|
360
349
|
vellum/types/reducto_chunker_config_request.py,sha256=RnulU2a_PUtvRE2qhARQhsCkWI--K_MYkobzLNRGEz4,661
|
@@ -368,8 +357,6 @@ vellum/types/rejected_prompt_execution_meta.py,sha256=4Oidh3XBBHzgjOys2kuETxqWc_
|
|
368
357
|
vellum/types/rejected_workflow_node_result_event.py,sha256=o9AUc9hT60F8ckMkCx8HtKxtj4y82LBoJduB9u8w0TM,1319
|
369
358
|
vellum/types/release_tag_source.py,sha256=YavosOXZ976yfXTNWRTZwh2HhRiYmSDk0bQCkl-jCoQ,158
|
370
359
|
vellum/types/replace_test_suite_test_case_request.py,sha256=c1GT1RUCei1yWxyZy4Gv40PkXYisvK5OkzlqQ6WeBYA,1906
|
371
|
-
vellum/types/rich_text_child_block_request.py,sha256=Uggxf_xIIIu8x1LlR8uJdmr6_drFL0izWhVr6b5TxqQ,321
|
372
|
-
vellum/types/rich_text_prompt_block_request.py,sha256=aIGx84vK5HZ48ZGb0m1k6BUBgb8xHZXX7OSfLpTVGBw,1099
|
373
360
|
vellum/types/sandbox_scenario.py,sha256=f4S0tDxmPYHIrD_BMjRL3XZGcGxlWy9apfI64hV7MBE,844
|
374
361
|
vellum/types/scenario_input.py,sha256=caC8p5ZnuXhv2ZiHvzTvKL3Ebtr4NXP9Q8UcJEVB8-U,476
|
375
362
|
vellum/types/scenario_input_chat_history_variable_value.py,sha256=ihgJktmZpz_12wx2yPtyrSrBjcBcSg9fby7h_eLoXgI,835
|
@@ -501,7 +488,6 @@ vellum/types/token_overlapping_window_chunking_request.py,sha256=IjCs9UDrwBT6tnf
|
|
501
488
|
vellum/types/unit_enum.py,sha256=BKWRVp2WfHtGK4D6TsolhNJHGHfExzrRHkFn8H8QkwQ,113
|
502
489
|
vellum/types/upload_document_response.py,sha256=6_5Cm4yBPq5nD-rEql6GsmrAtSVVtNRczOL5YwsBVMI,649
|
503
490
|
vellum/types/upsert_test_suite_test_case_request.py,sha256=iB38vx4mo4yNLV5XTeXMGR-PJLOQPloWQOAAi7PDpM0,2079
|
504
|
-
vellum/types/variable_prompt_block_request.py,sha256=e23BD9FQgF5JjxLuHCEBOlQn1e5cJaIF-HZBJ9mmjUA,978
|
505
491
|
vellum/types/vellum_audio.py,sha256=oPm1bcxk7fTfWfHWOPSLvrZrRBjCyPDVDRMACPoWmMI,721
|
506
492
|
vellum/types/vellum_audio_request.py,sha256=y9CZgQ1TteW0AHNk8GuAZLNVFa981rh7P9vyV8bfgys,728
|
507
493
|
vellum/types/vellum_error.py,sha256=jCKfuCkDTiyFb1-QyP2cg0wReja6wMuooKPAjNhBA0M,643
|
@@ -516,8 +502,6 @@ vellum/types/vellum_value_logical_expression_request.py,sha256=vjNsI1NUAkwxLwIXJ
|
|
516
502
|
vellum/types/vellum_value_request.py,sha256=Yke9JRiEaAS7i9NiCUMZiECzQOkSeb7jRRAVf5pXUWo,1196
|
517
503
|
vellum/types/vellum_variable.py,sha256=LNNNlYbT1VqadO6aUmeir9cXirtxgrIl-R2EalYZ5Uo,1123
|
518
504
|
vellum/types/vellum_variable_extensions.py,sha256=PsrRo0STOKhxrkSFRrOXCPlf1x5Uxpy3vVMJz02O20E,685
|
519
|
-
vellum/types/vellum_variable_extensions_request.py,sha256=n5qAdEDpPtC_eS4HVRMFkm0f9GAvu16DZy7-R9FGEPI,692
|
520
|
-
vellum/types/vellum_variable_request.py,sha256=OyQbVgFIYK_-RRLiZSDE8otpzRwsccHa1NUJ5T9UKLM,1210
|
521
505
|
vellum/types/vellum_variable_type.py,sha256=SX8PY9l8zui3IaT9BwmOxczmb_WE7S9w37JshEZVemE,371
|
522
506
|
vellum/types/workflow_deployment_read.py,sha256=zBn6JDHemCnmU6M4tMtyxwmxETOPeGKJeg9fmiAEP4w,2363
|
523
507
|
vellum/types/workflow_event_error.py,sha256=HIewu_kh3KNPpWegAQArvAGHCp-cBIXqlUAAc_dBZhc,687
|
@@ -565,7 +549,7 @@ vellum/types/workflow_result_event_output_data_string.py,sha256=tM3kgh6tEhD0dFEb
|
|
565
549
|
vellum/types/workflow_stream_event.py,sha256=Wn3Yzuy9MqWAeo8tEaXDTKDEbJoA8DdYdMVq8EKuhu8,361
|
566
550
|
vellum/types/workspace_secret_read.py,sha256=3CnHDG72IAY0KRNvc31F0xLmhnpwjQHnDYCfQJzCxI0,714
|
567
551
|
vellum/version.py,sha256=jq-1PlAYxN9AXuaZqbYk9ak27SgE2lw9Ia5gx1b1gVI,76
|
568
|
-
vellum_ai-0.9.
|
569
|
-
vellum_ai-0.9.
|
570
|
-
vellum_ai-0.9.
|
571
|
-
vellum_ai-0.9.
|
552
|
+
vellum_ai-0.9.7.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
|
553
|
+
vellum_ai-0.9.7.dist-info/METADATA,sha256=hNHe7CoBAqYIH-ArQUtMpzL0iiyA_nHyJVyI-aNRlD0,4394
|
554
|
+
vellum_ai-0.9.7.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
555
|
+
vellum_ai-0.9.7.dist-info/RECORD,,
|
@@ -1,38 +0,0 @@
|
|
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 ChatMessagePromptBlockPropertiesRequest(UniversalBaseModel):
|
13
|
-
"""
|
14
|
-
The properties of a ChatMessagePromptTemplateBlock
|
15
|
-
"""
|
16
|
-
|
17
|
-
blocks: typing.List["PromptBlockRequest"]
|
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_request import ChatMessagePromptBlockRequest # noqa: E402
|
33
|
-
from .prompt_block_request import PromptBlockRequest # noqa: E402
|
34
|
-
|
35
|
-
update_forward_refs(
|
36
|
-
ChatMessagePromptBlockRequest, ChatMessagePromptBlockPropertiesRequest=ChatMessagePromptBlockPropertiesRequest
|
37
|
-
)
|
38
|
-
update_forward_refs(ChatMessagePromptBlockPropertiesRequest)
|
@@ -1,38 +0,0 @@
|
|
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_request import EphemeralPromptCacheConfigRequest
|
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 ChatMessagePromptBlockRequest(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[EphemeralPromptCacheConfigRequest] = None
|
20
|
-
block_type: typing.Literal["CHAT_MESSAGE"] = "CHAT_MESSAGE"
|
21
|
-
properties: "ChatMessagePromptBlockPropertiesRequest"
|
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_request import ChatMessagePromptBlockPropertiesRequest # noqa: E402
|
34
|
-
|
35
|
-
update_forward_refs(
|
36
|
-
ChatMessagePromptBlockPropertiesRequest, ChatMessagePromptBlockRequest=ChatMessagePromptBlockRequest
|
37
|
-
)
|
38
|
-
update_forward_refs(ChatMessagePromptBlockRequest)
|
@@ -1,20 +0,0 @@
|
|
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 EphemeralPromptCacheConfigRequest(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
|
@@ -1,42 +0,0 @@
|
|
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 FunctionDefinitionPromptBlockPropertiesRequest(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
|
@@ -1,29 +0,0 @@
|
|
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_request import EphemeralPromptCacheConfigRequest
|
7
|
-
from .function_definition_prompt_block_properties_request import FunctionDefinitionPromptBlockPropertiesRequest
|
8
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
9
|
-
import pydantic
|
10
|
-
|
11
|
-
|
12
|
-
class FunctionDefinitionPromptBlockRequest(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[EphemeralPromptCacheConfigRequest] = None
|
19
|
-
block_type: typing.Literal["FUNCTION_DEFINITION"] = "FUNCTION_DEFINITION"
|
20
|
-
properties: FunctionDefinitionPromptBlockPropertiesRequest
|
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
|
@@ -1,21 +0,0 @@
|
|
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 JinjaPromptBlockPropertiesRequest(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
|