vellum-ai 0.7.5__py3-none-any.whl → 0.7.6__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- vellum/__init__.py +68 -72
- vellum/core/client_wrapper.py +1 -1
- vellum/resources/ml_models/client.py +0 -11
- vellum/types/__init__.py +72 -76
- vellum/types/ml_model_display_config_labelled.py +0 -1
- vellum/types/ml_model_display_config_request.py +0 -1
- vellum/types/ml_model_parameter_config.py +14 -14
- vellum/types/ml_model_parameter_config_request.py +14 -14
- vellum/types/ml_model_read.py +0 -6
- vellum/types/{array_parameter_config.py → open_api_array_property.py} +6 -6
- vellum/types/{array_parameter_config_request.py → open_api_array_property_request.py} +6 -6
- vellum/types/{boolean_parameter_config.py → open_api_boolean_property.py} +1 -1
- vellum/types/{boolean_parameter_config_request.py → open_api_boolean_property_request.py} +1 -1
- vellum/types/{const_parameter_config.py → open_api_const_property.py} +1 -1
- vellum/types/{const_parameter_config_request.py → open_api_const_property_request.py} +1 -1
- vellum/types/{integer_parameter_config.py → open_api_integer_property.py} +1 -1
- vellum/types/{integer_parameter_config_request.py → open_api_integer_property_request.py} +1 -1
- vellum/types/{number_parameter_config.py → open_api_number_property.py} +1 -1
- vellum/types/{number_parameter_config_request.py → open_api_number_property_request.py} +1 -1
- vellum/types/{object_parameter_config.py → open_api_object_property.py} +7 -7
- vellum/types/{object_parameter_config_request.py → open_api_object_property_request.py} +7 -7
- vellum/types/{one_of_parameter_config.py → open_api_one_of_property.py} +4 -4
- vellum/types/{one_of_parameter_config_request.py → open_api_one_of_property_request.py} +4 -4
- vellum/types/{parameter_config.py → open_api_property.py} +25 -25
- vellum/types/{parameter_config_request.py → open_api_property_request.py} +25 -25
- vellum/types/{string_parameter_config.py → open_api_string_property.py} +1 -1
- vellum/types/{string_parameter_config_request.py → open_api_string_property_request.py} +1 -1
- {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/METADATA +1 -1
- {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/RECORD +31 -33
- vellum/types/ml_model_build_config.py +0 -29
- vellum/types/ml_model_build_config_request.py +0 -29
- {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/LICENSE +0 -0
- {vellum_ai-0.7.5.dist-info → vellum_ai-0.7.6.dist-info}/WHEEL +0 -0
vellum/__init__.py
CHANGED
@@ -14,8 +14,6 @@ from .types import (
|
|
14
14
|
ArrayChatMessageContentItem_Image,
|
15
15
|
ArrayChatMessageContentItem_String,
|
16
16
|
ArrayChatMessageContentRequest,
|
17
|
-
ArrayParameterConfig,
|
18
|
-
ArrayParameterConfigRequest,
|
19
17
|
ArrayVariableValueItem,
|
20
18
|
ArrayVariableValueItem_Error,
|
21
19
|
ArrayVariableValueItem_FunctionCall,
|
@@ -43,8 +41,6 @@ from .types import (
|
|
43
41
|
BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request,
|
44
42
|
BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1,
|
45
43
|
BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request,
|
46
|
-
BooleanParameterConfig,
|
47
|
-
BooleanParameterConfigRequest,
|
48
44
|
ChatHistoryInputRequest,
|
49
45
|
ChatMessage,
|
50
46
|
ChatMessageContent,
|
@@ -82,8 +78,6 @@ from .types import (
|
|
82
78
|
CompilePromptMeta,
|
83
79
|
ConditionalNodeResult,
|
84
80
|
ConditionalNodeResultData,
|
85
|
-
ConstParameterConfig,
|
86
|
-
ConstParameterConfigRequest,
|
87
81
|
CreateTestSuiteTestCaseRequest,
|
88
82
|
DeploymentProviderPayloadResponse,
|
89
83
|
DeploymentProviderPayloadResponsePayload,
|
@@ -198,8 +192,6 @@ from .types import (
|
|
198
192
|
InitiatedWorkflowNodeResultEvent,
|
199
193
|
InstructorVectorizerConfig,
|
200
194
|
InstructorVectorizerConfigRequest,
|
201
|
-
IntegerParameterConfig,
|
202
|
-
IntegerParameterConfigRequest,
|
203
195
|
IterationStateEnum,
|
204
196
|
JsonInputRequest,
|
205
197
|
JsonVariableValue,
|
@@ -215,8 +207,6 @@ from .types import (
|
|
215
207
|
MetadataFilterRuleCombinator,
|
216
208
|
MetadataFilterRuleRequest,
|
217
209
|
MetricNodeResult,
|
218
|
-
MlModelBuildConfig,
|
219
|
-
MlModelBuildConfigRequest,
|
220
210
|
MlModelDeveloper,
|
221
211
|
MlModelDeveloperEnumValueLabel,
|
222
212
|
MlModelDisplayConfigLabelled,
|
@@ -320,15 +310,9 @@ from .types import (
|
|
320
310
|
NodeOutputCompiledValue_String,
|
321
311
|
NormalizedLogProbs,
|
322
312
|
NormalizedTokenLogProbs,
|
323
|
-
NumberParameterConfig,
|
324
|
-
NumberParameterConfigRequest,
|
325
313
|
NumberVariableValue,
|
326
314
|
NumberVellumValue,
|
327
315
|
NumberVellumValueRequest,
|
328
|
-
ObjectParameterConfig,
|
329
|
-
ObjectParameterConfigRequest,
|
330
|
-
OneOfParameterConfig,
|
331
|
-
OneOfParameterConfigRequest,
|
332
316
|
OpenAiVectorizerConfig,
|
333
317
|
OpenAiVectorizerConfigRequest,
|
334
318
|
OpenAiVectorizerTextEmbedding3Large,
|
@@ -337,6 +321,40 @@ from .types import (
|
|
337
321
|
OpenAiVectorizerTextEmbedding3SmallRequest,
|
338
322
|
OpenAiVectorizerTextEmbeddingAda002,
|
339
323
|
OpenAiVectorizerTextEmbeddingAda002Request,
|
324
|
+
OpenApiArrayProperty,
|
325
|
+
OpenApiArrayPropertyRequest,
|
326
|
+
OpenApiBooleanProperty,
|
327
|
+
OpenApiBooleanPropertyRequest,
|
328
|
+
OpenApiConstProperty,
|
329
|
+
OpenApiConstPropertyRequest,
|
330
|
+
OpenApiIntegerProperty,
|
331
|
+
OpenApiIntegerPropertyRequest,
|
332
|
+
OpenApiNumberProperty,
|
333
|
+
OpenApiNumberPropertyRequest,
|
334
|
+
OpenApiObjectProperty,
|
335
|
+
OpenApiObjectPropertyRequest,
|
336
|
+
OpenApiOneOfProperty,
|
337
|
+
OpenApiOneOfPropertyRequest,
|
338
|
+
OpenApiProperty,
|
339
|
+
OpenApiPropertyRequest,
|
340
|
+
OpenApiPropertyRequest_Array,
|
341
|
+
OpenApiPropertyRequest_Boolean,
|
342
|
+
OpenApiPropertyRequest_Const,
|
343
|
+
OpenApiPropertyRequest_Integer,
|
344
|
+
OpenApiPropertyRequest_Number,
|
345
|
+
OpenApiPropertyRequest_Object,
|
346
|
+
OpenApiPropertyRequest_OneOf,
|
347
|
+
OpenApiPropertyRequest_String,
|
348
|
+
OpenApiProperty_Array,
|
349
|
+
OpenApiProperty_Boolean,
|
350
|
+
OpenApiProperty_Const,
|
351
|
+
OpenApiProperty_Integer,
|
352
|
+
OpenApiProperty_Number,
|
353
|
+
OpenApiProperty_Object,
|
354
|
+
OpenApiProperty_OneOf,
|
355
|
+
OpenApiProperty_String,
|
356
|
+
OpenApiStringProperty,
|
357
|
+
OpenApiStringPropertyRequest,
|
340
358
|
PaginatedDocumentIndexReadList,
|
341
359
|
PaginatedMlModelReadList,
|
342
360
|
PaginatedSlimDeploymentReadList,
|
@@ -344,24 +362,6 @@ from .types import (
|
|
344
362
|
PaginatedSlimWorkflowDeploymentList,
|
345
363
|
PaginatedTestSuiteRunExecutionList,
|
346
364
|
PaginatedTestSuiteTestCaseList,
|
347
|
-
ParameterConfig,
|
348
|
-
ParameterConfigRequest,
|
349
|
-
ParameterConfigRequest_Array,
|
350
|
-
ParameterConfigRequest_Boolean,
|
351
|
-
ParameterConfigRequest_Const,
|
352
|
-
ParameterConfigRequest_Integer,
|
353
|
-
ParameterConfigRequest_Number,
|
354
|
-
ParameterConfigRequest_Object,
|
355
|
-
ParameterConfigRequest_OneOf,
|
356
|
-
ParameterConfigRequest_String,
|
357
|
-
ParameterConfig_Array,
|
358
|
-
ParameterConfig_Boolean,
|
359
|
-
ParameterConfig_Const,
|
360
|
-
ParameterConfig_Integer,
|
361
|
-
ParameterConfig_Number,
|
362
|
-
ParameterConfig_Object,
|
363
|
-
ParameterConfig_OneOf,
|
364
|
-
ParameterConfig_String,
|
365
365
|
PdfSearchResultMetaSource,
|
366
366
|
PdfSearchResultMetaSourceRequest,
|
367
367
|
ProcessingFailureReasonEnum,
|
@@ -428,8 +428,6 @@ from .types import (
|
|
428
428
|
StringChatMessageContent,
|
429
429
|
StringChatMessageContentRequest,
|
430
430
|
StringInputRequest,
|
431
|
-
StringParameterConfig,
|
432
|
-
StringParameterConfigRequest,
|
433
431
|
StringVariableValue,
|
434
432
|
StringVellumValue,
|
435
433
|
StringVellumValueRequest,
|
@@ -697,8 +695,6 @@ __all__ = [
|
|
697
695
|
"ArrayChatMessageContentItem_Image",
|
698
696
|
"ArrayChatMessageContentItem_String",
|
699
697
|
"ArrayChatMessageContentRequest",
|
700
|
-
"ArrayParameterConfig",
|
701
|
-
"ArrayParameterConfigRequest",
|
702
698
|
"ArrayVariableValueItem",
|
703
699
|
"ArrayVariableValueItem_Error",
|
704
700
|
"ArrayVariableValueItem_FunctionCall",
|
@@ -727,8 +723,6 @@ __all__ = [
|
|
727
723
|
"BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request",
|
728
724
|
"BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1",
|
729
725
|
"BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request",
|
730
|
-
"BooleanParameterConfig",
|
731
|
-
"BooleanParameterConfigRequest",
|
732
726
|
"ChatHistoryInputRequest",
|
733
727
|
"ChatMessage",
|
734
728
|
"ChatMessageContent",
|
@@ -766,8 +760,6 @@ __all__ = [
|
|
766
760
|
"CompilePromptMeta",
|
767
761
|
"ConditionalNodeResult",
|
768
762
|
"ConditionalNodeResultData",
|
769
|
-
"ConstParameterConfig",
|
770
|
-
"ConstParameterConfigRequest",
|
771
763
|
"CreateTestSuiteTestCaseRequest",
|
772
764
|
"DeploymentProviderPayloadResponse",
|
773
765
|
"DeploymentProviderPayloadResponsePayload",
|
@@ -885,8 +877,6 @@ __all__ = [
|
|
885
877
|
"InitiatedWorkflowNodeResultEvent",
|
886
878
|
"InstructorVectorizerConfig",
|
887
879
|
"InstructorVectorizerConfigRequest",
|
888
|
-
"IntegerParameterConfig",
|
889
|
-
"IntegerParameterConfigRequest",
|
890
880
|
"InternalServerError",
|
891
881
|
"IterationStateEnum",
|
892
882
|
"JsonInputRequest",
|
@@ -903,8 +893,6 @@ __all__ = [
|
|
903
893
|
"MetadataFilterRuleCombinator",
|
904
894
|
"MetadataFilterRuleRequest",
|
905
895
|
"MetricNodeResult",
|
906
|
-
"MlModelBuildConfig",
|
907
|
-
"MlModelBuildConfigRequest",
|
908
896
|
"MlModelDeveloper",
|
909
897
|
"MlModelDeveloperEnumValueLabel",
|
910
898
|
"MlModelDisplayConfigLabelled",
|
@@ -1009,15 +997,9 @@ __all__ = [
|
|
1009
997
|
"NormalizedLogProbs",
|
1010
998
|
"NormalizedTokenLogProbs",
|
1011
999
|
"NotFoundError",
|
1012
|
-
"NumberParameterConfig",
|
1013
|
-
"NumberParameterConfigRequest",
|
1014
1000
|
"NumberVariableValue",
|
1015
1001
|
"NumberVellumValue",
|
1016
1002
|
"NumberVellumValueRequest",
|
1017
|
-
"ObjectParameterConfig",
|
1018
|
-
"ObjectParameterConfigRequest",
|
1019
|
-
"OneOfParameterConfig",
|
1020
|
-
"OneOfParameterConfigRequest",
|
1021
1003
|
"OpenAiVectorizerConfig",
|
1022
1004
|
"OpenAiVectorizerConfigRequest",
|
1023
1005
|
"OpenAiVectorizerTextEmbedding3Large",
|
@@ -1026,6 +1008,40 @@ __all__ = [
|
|
1026
1008
|
"OpenAiVectorizerTextEmbedding3SmallRequest",
|
1027
1009
|
"OpenAiVectorizerTextEmbeddingAda002",
|
1028
1010
|
"OpenAiVectorizerTextEmbeddingAda002Request",
|
1011
|
+
"OpenApiArrayProperty",
|
1012
|
+
"OpenApiArrayPropertyRequest",
|
1013
|
+
"OpenApiBooleanProperty",
|
1014
|
+
"OpenApiBooleanPropertyRequest",
|
1015
|
+
"OpenApiConstProperty",
|
1016
|
+
"OpenApiConstPropertyRequest",
|
1017
|
+
"OpenApiIntegerProperty",
|
1018
|
+
"OpenApiIntegerPropertyRequest",
|
1019
|
+
"OpenApiNumberProperty",
|
1020
|
+
"OpenApiNumberPropertyRequest",
|
1021
|
+
"OpenApiObjectProperty",
|
1022
|
+
"OpenApiObjectPropertyRequest",
|
1023
|
+
"OpenApiOneOfProperty",
|
1024
|
+
"OpenApiOneOfPropertyRequest",
|
1025
|
+
"OpenApiProperty",
|
1026
|
+
"OpenApiPropertyRequest",
|
1027
|
+
"OpenApiPropertyRequest_Array",
|
1028
|
+
"OpenApiPropertyRequest_Boolean",
|
1029
|
+
"OpenApiPropertyRequest_Const",
|
1030
|
+
"OpenApiPropertyRequest_Integer",
|
1031
|
+
"OpenApiPropertyRequest_Number",
|
1032
|
+
"OpenApiPropertyRequest_Object",
|
1033
|
+
"OpenApiPropertyRequest_OneOf",
|
1034
|
+
"OpenApiPropertyRequest_String",
|
1035
|
+
"OpenApiProperty_Array",
|
1036
|
+
"OpenApiProperty_Boolean",
|
1037
|
+
"OpenApiProperty_Const",
|
1038
|
+
"OpenApiProperty_Integer",
|
1039
|
+
"OpenApiProperty_Number",
|
1040
|
+
"OpenApiProperty_Object",
|
1041
|
+
"OpenApiProperty_OneOf",
|
1042
|
+
"OpenApiProperty_String",
|
1043
|
+
"OpenApiStringProperty",
|
1044
|
+
"OpenApiStringPropertyRequest",
|
1029
1045
|
"PaginatedDocumentIndexReadList",
|
1030
1046
|
"PaginatedMlModelReadList",
|
1031
1047
|
"PaginatedSlimDeploymentReadList",
|
@@ -1033,24 +1049,6 @@ __all__ = [
|
|
1033
1049
|
"PaginatedSlimWorkflowDeploymentList",
|
1034
1050
|
"PaginatedTestSuiteRunExecutionList",
|
1035
1051
|
"PaginatedTestSuiteTestCaseList",
|
1036
|
-
"ParameterConfig",
|
1037
|
-
"ParameterConfigRequest",
|
1038
|
-
"ParameterConfigRequest_Array",
|
1039
|
-
"ParameterConfigRequest_Boolean",
|
1040
|
-
"ParameterConfigRequest_Const",
|
1041
|
-
"ParameterConfigRequest_Integer",
|
1042
|
-
"ParameterConfigRequest_Number",
|
1043
|
-
"ParameterConfigRequest_Object",
|
1044
|
-
"ParameterConfigRequest_OneOf",
|
1045
|
-
"ParameterConfigRequest_String",
|
1046
|
-
"ParameterConfig_Array",
|
1047
|
-
"ParameterConfig_Boolean",
|
1048
|
-
"ParameterConfig_Const",
|
1049
|
-
"ParameterConfig_Integer",
|
1050
|
-
"ParameterConfig_Number",
|
1051
|
-
"ParameterConfig_Object",
|
1052
|
-
"ParameterConfig_OneOf",
|
1053
|
-
"ParameterConfig_String",
|
1054
1052
|
"PdfSearchResultMetaSource",
|
1055
1053
|
"PdfSearchResultMetaSourceRequest",
|
1056
1054
|
"ProcessingFailureReasonEnum",
|
@@ -1117,8 +1115,6 @@ __all__ = [
|
|
1117
1115
|
"StringChatMessageContent",
|
1118
1116
|
"StringChatMessageContentRequest",
|
1119
1117
|
"StringInputRequest",
|
1120
|
-
"StringParameterConfig",
|
1121
|
-
"StringParameterConfigRequest",
|
1122
1118
|
"StringVariableValue",
|
1123
1119
|
"StringVellumValue",
|
1124
1120
|
"StringVellumValueRequest",
|
vellum/core/client_wrapper.py
CHANGED
@@ -9,7 +9,6 @@ from ...core.jsonable_encoder import jsonable_encoder
|
|
9
9
|
from ...core.pydantic_utilities import pydantic_v1
|
10
10
|
from ...core.request_options import RequestOptions
|
11
11
|
from ...types.hosted_by_enum import HostedByEnum
|
12
|
-
from ...types.ml_model_build_config_request import MlModelBuildConfigRequest
|
13
12
|
from ...types.ml_model_developer import MlModelDeveloper
|
14
13
|
from ...types.ml_model_display_config_request import MlModelDisplayConfigRequest
|
15
14
|
from ...types.ml_model_exec_config_request import MlModelExecConfigRequest
|
@@ -89,7 +88,6 @@ class MlModelsClient:
|
|
89
88
|
exec_config: MlModelExecConfigRequest,
|
90
89
|
hosted_by: typing.Optional[HostedByEnum] = OMIT,
|
91
90
|
developed_by: typing.Optional[MlModelDeveloper] = OMIT,
|
92
|
-
build_config: typing.Optional[MlModelBuildConfigRequest] = OMIT,
|
93
91
|
parameter_config: typing.Optional[MlModelParameterConfigRequest] = OMIT,
|
94
92
|
display_config: typing.Optional[MlModelDisplayConfigRequest] = OMIT,
|
95
93
|
visibility: typing.Optional[VisibilityEnum] = OMIT,
|
@@ -173,9 +171,6 @@ class MlModelsClient:
|
|
173
171
|
* `TII` - TII
|
174
172
|
* `WIZARDLM` - WIZARDLM
|
175
173
|
|
176
|
-
build_config : typing.Optional[MlModelBuildConfigRequest]
|
177
|
-
Configuration for how the ML Model was built.
|
178
|
-
|
179
174
|
parameter_config : typing.Optional[MlModelParameterConfigRequest]
|
180
175
|
Configuration for the ML Model's parameters.
|
181
176
|
|
@@ -226,7 +221,6 @@ class MlModelsClient:
|
|
226
221
|
"family": family,
|
227
222
|
"hosted_by": hosted_by,
|
228
223
|
"developed_by": developed_by,
|
229
|
-
"build_config": build_config,
|
230
224
|
"exec_config": exec_config,
|
231
225
|
"parameter_config": parameter_config,
|
232
226
|
"display_config": display_config,
|
@@ -484,7 +478,6 @@ class AsyncMlModelsClient:
|
|
484
478
|
exec_config: MlModelExecConfigRequest,
|
485
479
|
hosted_by: typing.Optional[HostedByEnum] = OMIT,
|
486
480
|
developed_by: typing.Optional[MlModelDeveloper] = OMIT,
|
487
|
-
build_config: typing.Optional[MlModelBuildConfigRequest] = OMIT,
|
488
481
|
parameter_config: typing.Optional[MlModelParameterConfigRequest] = OMIT,
|
489
482
|
display_config: typing.Optional[MlModelDisplayConfigRequest] = OMIT,
|
490
483
|
visibility: typing.Optional[VisibilityEnum] = OMIT,
|
@@ -568,9 +561,6 @@ class AsyncMlModelsClient:
|
|
568
561
|
* `TII` - TII
|
569
562
|
* `WIZARDLM` - WIZARDLM
|
570
563
|
|
571
|
-
build_config : typing.Optional[MlModelBuildConfigRequest]
|
572
|
-
Configuration for how the ML Model was built.
|
573
|
-
|
574
564
|
parameter_config : typing.Optional[MlModelParameterConfigRequest]
|
575
565
|
Configuration for the ML Model's parameters.
|
576
566
|
|
@@ -629,7 +619,6 @@ class AsyncMlModelsClient:
|
|
629
619
|
"family": family,
|
630
620
|
"hosted_by": hosted_by,
|
631
621
|
"developed_by": developed_by,
|
632
|
-
"build_config": build_config,
|
633
622
|
"exec_config": exec_config,
|
634
623
|
"parameter_config": parameter_config,
|
635
624
|
"display_config": display_config,
|
vellum/types/__init__.py
CHANGED
@@ -17,8 +17,6 @@ from .array_chat_message_content_item_request import (
|
|
17
17
|
ArrayChatMessageContentItemRequest_String,
|
18
18
|
)
|
19
19
|
from .array_chat_message_content_request import ArrayChatMessageContentRequest
|
20
|
-
from .array_parameter_config import ArrayParameterConfig
|
21
|
-
from .array_parameter_config_request import ArrayParameterConfigRequest
|
22
20
|
from .array_variable_value_item import (
|
23
21
|
ArrayVariableValueItem,
|
24
22
|
ArrayVariableValueItem_Error,
|
@@ -60,8 +58,6 @@ from .basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1 import
|
|
60
58
|
from .basic_vectorizer_sentence_transformers_multi_qa_mpnet_base_dot_v_1_request import (
|
61
59
|
BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request,
|
62
60
|
)
|
63
|
-
from .boolean_parameter_config import BooleanParameterConfig
|
64
|
-
from .boolean_parameter_config_request import BooleanParameterConfigRequest
|
65
61
|
from .chat_history_input_request import ChatHistoryInputRequest
|
66
62
|
from .chat_message import ChatMessage
|
67
63
|
from .chat_message_content import (
|
@@ -105,8 +101,6 @@ from .compile_prompt_deployment_expand_meta_request import CompilePromptDeployme
|
|
105
101
|
from .compile_prompt_meta import CompilePromptMeta
|
106
102
|
from .conditional_node_result import ConditionalNodeResult
|
107
103
|
from .conditional_node_result_data import ConditionalNodeResultData
|
108
|
-
from .const_parameter_config import ConstParameterConfig
|
109
|
-
from .const_parameter_config_request import ConstParameterConfigRequest
|
110
104
|
from .create_test_suite_test_case_request import CreateTestSuiteTestCaseRequest
|
111
105
|
from .deployment_provider_payload_response import DeploymentProviderPayloadResponse
|
112
106
|
from .deployment_provider_payload_response_payload import DeploymentProviderPayloadResponsePayload
|
@@ -237,8 +231,6 @@ from .initiated_prompt_execution_meta import InitiatedPromptExecutionMeta
|
|
237
231
|
from .initiated_workflow_node_result_event import InitiatedWorkflowNodeResultEvent
|
238
232
|
from .instructor_vectorizer_config import InstructorVectorizerConfig
|
239
233
|
from .instructor_vectorizer_config_request import InstructorVectorizerConfigRequest
|
240
|
-
from .integer_parameter_config import IntegerParameterConfig
|
241
|
-
from .integer_parameter_config_request import IntegerParameterConfigRequest
|
242
234
|
from .iteration_state_enum import IterationStateEnum
|
243
235
|
from .json_input_request import JsonInputRequest
|
244
236
|
from .json_variable_value import JsonVariableValue
|
@@ -254,8 +246,6 @@ from .metadata_filter_config_request import MetadataFilterConfigRequest
|
|
254
246
|
from .metadata_filter_rule_combinator import MetadataFilterRuleCombinator
|
255
247
|
from .metadata_filter_rule_request import MetadataFilterRuleRequest
|
256
248
|
from .metric_node_result import MetricNodeResult
|
257
|
-
from .ml_model_build_config import MlModelBuildConfig
|
258
|
-
from .ml_model_build_config_request import MlModelBuildConfigRequest
|
259
249
|
from .ml_model_developer import MlModelDeveloper
|
260
250
|
from .ml_model_developer_enum_value_label import MlModelDeveloperEnumValueLabel
|
261
251
|
from .ml_model_display_config_labelled import MlModelDisplayConfigLabelled
|
@@ -373,15 +363,9 @@ from .node_output_compiled_value import (
|
|
373
363
|
)
|
374
364
|
from .normalized_log_probs import NormalizedLogProbs
|
375
365
|
from .normalized_token_log_probs import NormalizedTokenLogProbs
|
376
|
-
from .number_parameter_config import NumberParameterConfig
|
377
|
-
from .number_parameter_config_request import NumberParameterConfigRequest
|
378
366
|
from .number_variable_value import NumberVariableValue
|
379
367
|
from .number_vellum_value import NumberVellumValue
|
380
368
|
from .number_vellum_value_request import NumberVellumValueRequest
|
381
|
-
from .object_parameter_config import ObjectParameterConfig
|
382
|
-
from .object_parameter_config_request import ObjectParameterConfigRequest
|
383
|
-
from .one_of_parameter_config import OneOfParameterConfig
|
384
|
-
from .one_of_parameter_config_request import OneOfParameterConfigRequest
|
385
369
|
from .open_ai_vectorizer_config import OpenAiVectorizerConfig
|
386
370
|
from .open_ai_vectorizer_config_request import OpenAiVectorizerConfigRequest
|
387
371
|
from .open_ai_vectorizer_text_embedding_3_large import OpenAiVectorizerTextEmbedding3Large
|
@@ -390,6 +374,44 @@ from .open_ai_vectorizer_text_embedding_3_small import OpenAiVectorizerTextEmbed
|
|
390
374
|
from .open_ai_vectorizer_text_embedding_3_small_request import OpenAiVectorizerTextEmbedding3SmallRequest
|
391
375
|
from .open_ai_vectorizer_text_embedding_ada_002 import OpenAiVectorizerTextEmbeddingAda002
|
392
376
|
from .open_ai_vectorizer_text_embedding_ada_002_request import OpenAiVectorizerTextEmbeddingAda002Request
|
377
|
+
from .open_api_array_property import OpenApiArrayProperty
|
378
|
+
from .open_api_array_property_request import OpenApiArrayPropertyRequest
|
379
|
+
from .open_api_boolean_property import OpenApiBooleanProperty
|
380
|
+
from .open_api_boolean_property_request import OpenApiBooleanPropertyRequest
|
381
|
+
from .open_api_const_property import OpenApiConstProperty
|
382
|
+
from .open_api_const_property_request import OpenApiConstPropertyRequest
|
383
|
+
from .open_api_integer_property import OpenApiIntegerProperty
|
384
|
+
from .open_api_integer_property_request import OpenApiIntegerPropertyRequest
|
385
|
+
from .open_api_number_property import OpenApiNumberProperty
|
386
|
+
from .open_api_number_property_request import OpenApiNumberPropertyRequest
|
387
|
+
from .open_api_object_property import OpenApiObjectProperty
|
388
|
+
from .open_api_object_property_request import OpenApiObjectPropertyRequest
|
389
|
+
from .open_api_one_of_property import OpenApiOneOfProperty
|
390
|
+
from .open_api_one_of_property_request import OpenApiOneOfPropertyRequest
|
391
|
+
from .open_api_property import (
|
392
|
+
OpenApiProperty,
|
393
|
+
OpenApiProperty_Array,
|
394
|
+
OpenApiProperty_Boolean,
|
395
|
+
OpenApiProperty_Const,
|
396
|
+
OpenApiProperty_Integer,
|
397
|
+
OpenApiProperty_Number,
|
398
|
+
OpenApiProperty_Object,
|
399
|
+
OpenApiProperty_OneOf,
|
400
|
+
OpenApiProperty_String,
|
401
|
+
)
|
402
|
+
from .open_api_property_request import (
|
403
|
+
OpenApiPropertyRequest,
|
404
|
+
OpenApiPropertyRequest_Array,
|
405
|
+
OpenApiPropertyRequest_Boolean,
|
406
|
+
OpenApiPropertyRequest_Const,
|
407
|
+
OpenApiPropertyRequest_Integer,
|
408
|
+
OpenApiPropertyRequest_Number,
|
409
|
+
OpenApiPropertyRequest_Object,
|
410
|
+
OpenApiPropertyRequest_OneOf,
|
411
|
+
OpenApiPropertyRequest_String,
|
412
|
+
)
|
413
|
+
from .open_api_string_property import OpenApiStringProperty
|
414
|
+
from .open_api_string_property_request import OpenApiStringPropertyRequest
|
393
415
|
from .paginated_document_index_read_list import PaginatedDocumentIndexReadList
|
394
416
|
from .paginated_ml_model_read_list import PaginatedMlModelReadList
|
395
417
|
from .paginated_slim_deployment_read_list import PaginatedSlimDeploymentReadList
|
@@ -397,28 +419,6 @@ from .paginated_slim_document_list import PaginatedSlimDocumentList
|
|
397
419
|
from .paginated_slim_workflow_deployment_list import PaginatedSlimWorkflowDeploymentList
|
398
420
|
from .paginated_test_suite_run_execution_list import PaginatedTestSuiteRunExecutionList
|
399
421
|
from .paginated_test_suite_test_case_list import PaginatedTestSuiteTestCaseList
|
400
|
-
from .parameter_config import (
|
401
|
-
ParameterConfig,
|
402
|
-
ParameterConfig_Array,
|
403
|
-
ParameterConfig_Boolean,
|
404
|
-
ParameterConfig_Const,
|
405
|
-
ParameterConfig_Integer,
|
406
|
-
ParameterConfig_Number,
|
407
|
-
ParameterConfig_Object,
|
408
|
-
ParameterConfig_OneOf,
|
409
|
-
ParameterConfig_String,
|
410
|
-
)
|
411
|
-
from .parameter_config_request import (
|
412
|
-
ParameterConfigRequest,
|
413
|
-
ParameterConfigRequest_Array,
|
414
|
-
ParameterConfigRequest_Boolean,
|
415
|
-
ParameterConfigRequest_Const,
|
416
|
-
ParameterConfigRequest_Integer,
|
417
|
-
ParameterConfigRequest_Number,
|
418
|
-
ParameterConfigRequest_Object,
|
419
|
-
ParameterConfigRequest_OneOf,
|
420
|
-
ParameterConfigRequest_String,
|
421
|
-
)
|
422
422
|
from .pdf_search_result_meta_source import PdfSearchResultMetaSource
|
423
423
|
from .pdf_search_result_meta_source_request import PdfSearchResultMetaSourceRequest
|
424
424
|
from .processing_failure_reason_enum import ProcessingFailureReasonEnum
|
@@ -485,8 +485,6 @@ from .streaming_workflow_node_result_event import StreamingWorkflowNodeResultEve
|
|
485
485
|
from .string_chat_message_content import StringChatMessageContent
|
486
486
|
from .string_chat_message_content_request import StringChatMessageContentRequest
|
487
487
|
from .string_input_request import StringInputRequest
|
488
|
-
from .string_parameter_config import StringParameterConfig
|
489
|
-
from .string_parameter_config_request import StringParameterConfigRequest
|
490
488
|
from .string_variable_value import StringVariableValue
|
491
489
|
from .string_vellum_value import StringVellumValue
|
492
490
|
from .string_vellum_value_request import StringVellumValueRequest
|
@@ -767,8 +765,6 @@ __all__ = [
|
|
767
765
|
"ArrayChatMessageContentItem_Image",
|
768
766
|
"ArrayChatMessageContentItem_String",
|
769
767
|
"ArrayChatMessageContentRequest",
|
770
|
-
"ArrayParameterConfig",
|
771
|
-
"ArrayParameterConfigRequest",
|
772
768
|
"ArrayVariableValueItem",
|
773
769
|
"ArrayVariableValueItem_Error",
|
774
770
|
"ArrayVariableValueItem_FunctionCall",
|
@@ -796,8 +792,6 @@ __all__ = [
|
|
796
792
|
"BasicVectorizerSentenceTransformersMultiQaMpnetBaseCosV1Request",
|
797
793
|
"BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1",
|
798
794
|
"BasicVectorizerSentenceTransformersMultiQaMpnetBaseDotV1Request",
|
799
|
-
"BooleanParameterConfig",
|
800
|
-
"BooleanParameterConfigRequest",
|
801
795
|
"ChatHistoryInputRequest",
|
802
796
|
"ChatMessage",
|
803
797
|
"ChatMessageContent",
|
@@ -835,8 +829,6 @@ __all__ = [
|
|
835
829
|
"CompilePromptMeta",
|
836
830
|
"ConditionalNodeResult",
|
837
831
|
"ConditionalNodeResultData",
|
838
|
-
"ConstParameterConfig",
|
839
|
-
"ConstParameterConfigRequest",
|
840
832
|
"CreateTestSuiteTestCaseRequest",
|
841
833
|
"DeploymentProviderPayloadResponse",
|
842
834
|
"DeploymentProviderPayloadResponsePayload",
|
@@ -951,8 +943,6 @@ __all__ = [
|
|
951
943
|
"InitiatedWorkflowNodeResultEvent",
|
952
944
|
"InstructorVectorizerConfig",
|
953
945
|
"InstructorVectorizerConfigRequest",
|
954
|
-
"IntegerParameterConfig",
|
955
|
-
"IntegerParameterConfigRequest",
|
956
946
|
"IterationStateEnum",
|
957
947
|
"JsonInputRequest",
|
958
948
|
"JsonVariableValue",
|
@@ -968,8 +958,6 @@ __all__ = [
|
|
968
958
|
"MetadataFilterRuleCombinator",
|
969
959
|
"MetadataFilterRuleRequest",
|
970
960
|
"MetricNodeResult",
|
971
|
-
"MlModelBuildConfig",
|
972
|
-
"MlModelBuildConfigRequest",
|
973
961
|
"MlModelDeveloper",
|
974
962
|
"MlModelDeveloperEnumValueLabel",
|
975
963
|
"MlModelDisplayConfigLabelled",
|
@@ -1073,15 +1061,9 @@ __all__ = [
|
|
1073
1061
|
"NodeOutputCompiledValue_String",
|
1074
1062
|
"NormalizedLogProbs",
|
1075
1063
|
"NormalizedTokenLogProbs",
|
1076
|
-
"NumberParameterConfig",
|
1077
|
-
"NumberParameterConfigRequest",
|
1078
1064
|
"NumberVariableValue",
|
1079
1065
|
"NumberVellumValue",
|
1080
1066
|
"NumberVellumValueRequest",
|
1081
|
-
"ObjectParameterConfig",
|
1082
|
-
"ObjectParameterConfigRequest",
|
1083
|
-
"OneOfParameterConfig",
|
1084
|
-
"OneOfParameterConfigRequest",
|
1085
1067
|
"OpenAiVectorizerConfig",
|
1086
1068
|
"OpenAiVectorizerConfigRequest",
|
1087
1069
|
"OpenAiVectorizerTextEmbedding3Large",
|
@@ -1090,6 +1072,40 @@ __all__ = [
|
|
1090
1072
|
"OpenAiVectorizerTextEmbedding3SmallRequest",
|
1091
1073
|
"OpenAiVectorizerTextEmbeddingAda002",
|
1092
1074
|
"OpenAiVectorizerTextEmbeddingAda002Request",
|
1075
|
+
"OpenApiArrayProperty",
|
1076
|
+
"OpenApiArrayPropertyRequest",
|
1077
|
+
"OpenApiBooleanProperty",
|
1078
|
+
"OpenApiBooleanPropertyRequest",
|
1079
|
+
"OpenApiConstProperty",
|
1080
|
+
"OpenApiConstPropertyRequest",
|
1081
|
+
"OpenApiIntegerProperty",
|
1082
|
+
"OpenApiIntegerPropertyRequest",
|
1083
|
+
"OpenApiNumberProperty",
|
1084
|
+
"OpenApiNumberPropertyRequest",
|
1085
|
+
"OpenApiObjectProperty",
|
1086
|
+
"OpenApiObjectPropertyRequest",
|
1087
|
+
"OpenApiOneOfProperty",
|
1088
|
+
"OpenApiOneOfPropertyRequest",
|
1089
|
+
"OpenApiProperty",
|
1090
|
+
"OpenApiPropertyRequest",
|
1091
|
+
"OpenApiPropertyRequest_Array",
|
1092
|
+
"OpenApiPropertyRequest_Boolean",
|
1093
|
+
"OpenApiPropertyRequest_Const",
|
1094
|
+
"OpenApiPropertyRequest_Integer",
|
1095
|
+
"OpenApiPropertyRequest_Number",
|
1096
|
+
"OpenApiPropertyRequest_Object",
|
1097
|
+
"OpenApiPropertyRequest_OneOf",
|
1098
|
+
"OpenApiPropertyRequest_String",
|
1099
|
+
"OpenApiProperty_Array",
|
1100
|
+
"OpenApiProperty_Boolean",
|
1101
|
+
"OpenApiProperty_Const",
|
1102
|
+
"OpenApiProperty_Integer",
|
1103
|
+
"OpenApiProperty_Number",
|
1104
|
+
"OpenApiProperty_Object",
|
1105
|
+
"OpenApiProperty_OneOf",
|
1106
|
+
"OpenApiProperty_String",
|
1107
|
+
"OpenApiStringProperty",
|
1108
|
+
"OpenApiStringPropertyRequest",
|
1093
1109
|
"PaginatedDocumentIndexReadList",
|
1094
1110
|
"PaginatedMlModelReadList",
|
1095
1111
|
"PaginatedSlimDeploymentReadList",
|
@@ -1097,24 +1113,6 @@ __all__ = [
|
|
1097
1113
|
"PaginatedSlimWorkflowDeploymentList",
|
1098
1114
|
"PaginatedTestSuiteRunExecutionList",
|
1099
1115
|
"PaginatedTestSuiteTestCaseList",
|
1100
|
-
"ParameterConfig",
|
1101
|
-
"ParameterConfigRequest",
|
1102
|
-
"ParameterConfigRequest_Array",
|
1103
|
-
"ParameterConfigRequest_Boolean",
|
1104
|
-
"ParameterConfigRequest_Const",
|
1105
|
-
"ParameterConfigRequest_Integer",
|
1106
|
-
"ParameterConfigRequest_Number",
|
1107
|
-
"ParameterConfigRequest_Object",
|
1108
|
-
"ParameterConfigRequest_OneOf",
|
1109
|
-
"ParameterConfigRequest_String",
|
1110
|
-
"ParameterConfig_Array",
|
1111
|
-
"ParameterConfig_Boolean",
|
1112
|
-
"ParameterConfig_Const",
|
1113
|
-
"ParameterConfig_Integer",
|
1114
|
-
"ParameterConfig_Number",
|
1115
|
-
"ParameterConfig_Object",
|
1116
|
-
"ParameterConfig_OneOf",
|
1117
|
-
"ParameterConfig_String",
|
1118
1116
|
"PdfSearchResultMetaSource",
|
1119
1117
|
"PdfSearchResultMetaSourceRequest",
|
1120
1118
|
"ProcessingFailureReasonEnum",
|
@@ -1181,8 +1179,6 @@ __all__ = [
|
|
1181
1179
|
"StringChatMessageContent",
|
1182
1180
|
"StringChatMessageContentRequest",
|
1183
1181
|
"StringInputRequest",
|
1184
|
-
"StringParameterConfig",
|
1185
|
-
"StringParameterConfigRequest",
|
1186
1182
|
"StringVariableValue",
|
1187
1183
|
"StringVellumValue",
|
1188
1184
|
"StringVellumValueRequest",
|
@@ -12,7 +12,6 @@ class MlModelDisplayConfigLabelled(pydantic_v1.BaseModel):
|
|
12
12
|
label: str
|
13
13
|
description: str
|
14
14
|
tags: typing.List[MlModelDisplayTagEnumValueLabel]
|
15
|
-
default_display_priority: float
|
16
15
|
|
17
16
|
def json(self, **kwargs: typing.Any) -> str:
|
18
17
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
@@ -12,7 +12,6 @@ class MlModelDisplayConfigRequest(pydantic_v1.BaseModel):
|
|
12
12
|
label: str
|
13
13
|
description: str
|
14
14
|
tags: typing.List[MlModelDisplayTag]
|
15
|
-
default_display_priority: float
|
16
15
|
|
17
16
|
def json(self, **kwargs: typing.Any) -> str:
|
18
17
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|
@@ -5,23 +5,23 @@ import typing
|
|
5
5
|
|
6
6
|
from ..core.datetime_utils import serialize_datetime
|
7
7
|
from ..core.pydantic_utilities import deep_union_pydantic_dicts, pydantic_v1
|
8
|
-
from .
|
9
|
-
from .
|
10
|
-
from .
|
11
|
-
from .
|
12
|
-
from .
|
8
|
+
from .open_api_array_property import OpenApiArrayProperty
|
9
|
+
from .open_api_integer_property import OpenApiIntegerProperty
|
10
|
+
from .open_api_number_property import OpenApiNumberProperty
|
11
|
+
from .open_api_object_property import OpenApiObjectProperty
|
12
|
+
from .open_api_property import OpenApiProperty
|
13
13
|
|
14
14
|
|
15
15
|
class MlModelParameterConfig(pydantic_v1.BaseModel):
|
16
|
-
temperature: typing.Optional[
|
17
|
-
max_tokens: typing.Optional[
|
18
|
-
stop: typing.Optional[
|
19
|
-
top_p: typing.Optional[
|
20
|
-
top_k: typing.Optional[
|
21
|
-
frequency_penalty: typing.Optional[
|
22
|
-
presence_penalty: typing.Optional[
|
23
|
-
logit_bias: typing.Optional[
|
24
|
-
custom_parameters: typing.Optional[typing.Dict[str, typing.Optional[
|
16
|
+
temperature: typing.Optional[OpenApiNumberProperty] = None
|
17
|
+
max_tokens: typing.Optional[OpenApiIntegerProperty] = None
|
18
|
+
stop: typing.Optional[OpenApiArrayProperty] = None
|
19
|
+
top_p: typing.Optional[OpenApiNumberProperty] = None
|
20
|
+
top_k: typing.Optional[OpenApiIntegerProperty] = None
|
21
|
+
frequency_penalty: typing.Optional[OpenApiNumberProperty] = None
|
22
|
+
presence_penalty: typing.Optional[OpenApiNumberProperty] = None
|
23
|
+
logit_bias: typing.Optional[OpenApiObjectProperty] = None
|
24
|
+
custom_parameters: typing.Optional[typing.Dict[str, typing.Optional[OpenApiProperty]]] = None
|
25
25
|
|
26
26
|
def json(self, **kwargs: typing.Any) -> str:
|
27
27
|
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}
|