vellum-ai 1.5.4__py3-none-any.whl → 1.5.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vellum/__init__.py +34 -0
- vellum/client/__init__.py +6 -0
- vellum/client/core/client_wrapper.py +2 -2
- vellum/client/reference.md +497 -11
- vellum/client/resources/__init__.py +4 -0
- vellum/client/resources/integration_auth_configs/__init__.py +4 -0
- vellum/client/resources/integration_auth_configs/client.py +186 -0
- vellum/client/resources/integration_auth_configs/raw_client.py +171 -0
- vellum/client/resources/integration_providers/__init__.py +4 -0
- vellum/client/resources/integration_providers/client.py +279 -0
- vellum/client/resources/integration_providers/raw_client.py +255 -0
- vellum/client/resources/integrations/client.py +226 -28
- vellum/client/resources/integrations/raw_client.py +257 -20
- vellum/client/resources/test_suite_runs/client.py +6 -6
- vellum/client/resources/test_suite_runs/raw_client.py +6 -6
- vellum/client/types/__init__.py +30 -0
- vellum/client/types/components_schemas_composio_integration_exec_config.py +5 -0
- vellum/client/types/components_schemas_slim_composio_tool_definition.py +5 -0
- vellum/client/types/composio_integration_exec_config.py +20 -0
- vellum/client/types/composio_tool_definition.py +4 -1
- vellum/client/types/integration_auth_config_integration_credential.py +19 -0
- vellum/client/types/integration_credential_access_type.py +5 -0
- vellum/client/types/integration_name.py +20 -0
- vellum/client/types/integration_provider.py +5 -0
- vellum/client/types/integration_read.py +30 -0
- vellum/client/types/paginated_slim_integration_auth_config_read_list.py +23 -0
- vellum/client/types/paginated_slim_integration_read_list.py +23 -0
- vellum/client/types/paginated_slim_tool_definition_list.py +23 -0
- vellum/client/types/slim_composio_tool_definition.py +23 -0
- vellum/client/types/slim_integration_auth_config_read.py +27 -0
- vellum/client/types/slim_integration_read.py +25 -0
- vellum/client/types/tool_definition_integration.py +23 -0
- vellum/resources/integration_auth_configs/__init__.py +3 -0
- vellum/resources/integration_auth_configs/client.py +3 -0
- vellum/resources/integration_auth_configs/raw_client.py +3 -0
- vellum/resources/integration_providers/__init__.py +3 -0
- vellum/resources/integration_providers/client.py +3 -0
- vellum/resources/integration_providers/raw_client.py +3 -0
- vellum/types/components_schemas_composio_integration_exec_config.py +3 -0
- vellum/types/components_schemas_slim_composio_tool_definition.py +3 -0
- vellum/types/composio_integration_exec_config.py +3 -0
- vellum/types/integration_auth_config_integration_credential.py +3 -0
- vellum/types/integration_credential_access_type.py +3 -0
- vellum/types/integration_name.py +3 -0
- vellum/types/integration_provider.py +3 -0
- vellum/types/integration_read.py +3 -0
- vellum/types/paginated_slim_integration_auth_config_read_list.py +3 -0
- vellum/types/paginated_slim_integration_read_list.py +3 -0
- vellum/types/paginated_slim_tool_definition_list.py +3 -0
- vellum/types/slim_composio_tool_definition.py +3 -0
- vellum/types/slim_integration_auth_config_read.py +3 -0
- vellum/types/slim_integration_read.py +3 -0
- vellum/types/tool_definition_integration.py +3 -0
- vellum/workflows/integrations/tests/test_vellum_integration_service.py +26 -19
- vellum/workflows/integrations/vellum_integration_service.py +5 -5
- vellum/workflows/nodes/displayable/tool_calling_node/node.py +2 -4
- vellum/workflows/types/definition.py +1 -1
- vellum/workflows/types/tests/test_definition.py +40 -2
- {vellum_ai-1.5.4.dist-info → vellum_ai-1.5.5.dist-info}/METADATA +1 -1
- {vellum_ai-1.5.4.dist-info → vellum_ai-1.5.5.dist-info}/RECORD +64 -21
- vellum_ee/workflows/display/tests/workflow_serialization/test_basic_tool_calling_node_vellum_integration_serialization.py +68 -0
- {vellum_ai-1.5.4.dist-info → vellum_ai-1.5.5.dist-info}/LICENSE +0 -0
- {vellum_ai-1.5.4.dist-info → vellum_ai-1.5.5.dist-info}/WHEEL +0 -0
- {vellum_ai-1.5.4.dist-info → vellum_ai-1.5.5.dist-info}/entry_points.txt +0 -0
vellum/__init__.py
CHANGED
@@ -70,12 +70,15 @@ from .client.types import (
|
|
70
70
|
CompilePromptMeta,
|
71
71
|
ComponentsSchemasComposioExecuteToolRequest,
|
72
72
|
ComponentsSchemasComposioExecuteToolResponse,
|
73
|
+
ComponentsSchemasComposioIntegrationExecConfig,
|
73
74
|
ComponentsSchemasComposioToolDefinition,
|
74
75
|
ComponentsSchemasPdfSearchResultMetaSource,
|
75
76
|
ComponentsSchemasPdfSearchResultMetaSourceRequest,
|
76
77
|
ComponentsSchemasPromptVersionBuildConfigSandbox,
|
78
|
+
ComponentsSchemasSlimComposioToolDefinition,
|
77
79
|
ComposioExecuteToolRequest,
|
78
80
|
ComposioExecuteToolResponse,
|
81
|
+
ComposioIntegrationExecConfig,
|
79
82
|
ComposioToolDefinition,
|
80
83
|
ConditionCombinator,
|
81
84
|
ConditionalNodeResult,
|
@@ -219,6 +222,11 @@ from .client.types import (
|
|
219
222
|
InitiatedWorkflowNodeResultEvent,
|
220
223
|
InstructorVectorizerConfig,
|
221
224
|
InstructorVectorizerConfigRequest,
|
225
|
+
IntegrationAuthConfigIntegrationCredential,
|
226
|
+
IntegrationCredentialAccessType,
|
227
|
+
IntegrationName,
|
228
|
+
IntegrationProvider,
|
229
|
+
IntegrationRead,
|
222
230
|
InvokedPort,
|
223
231
|
IterationStateEnum,
|
224
232
|
JinjaPromptBlock,
|
@@ -338,6 +346,9 @@ from .client.types import (
|
|
338
346
|
PaginatedFolderEntityList,
|
339
347
|
PaginatedSlimDeploymentReadList,
|
340
348
|
PaginatedSlimDocumentList,
|
349
|
+
PaginatedSlimIntegrationAuthConfigReadList,
|
350
|
+
PaginatedSlimIntegrationReadList,
|
351
|
+
PaginatedSlimToolDefinitionList,
|
341
352
|
PaginatedSlimWorkflowDeploymentList,
|
342
353
|
PaginatedTestSuiteRunExecutionList,
|
343
354
|
PaginatedTestSuiteTestCaseList,
|
@@ -428,9 +439,12 @@ from .client.types import (
|
|
428
439
|
SentenceChunkerConfigRequest,
|
429
440
|
SentenceChunking,
|
430
441
|
SentenceChunkingRequest,
|
442
|
+
SlimComposioToolDefinition,
|
431
443
|
SlimDeploymentRead,
|
432
444
|
SlimDocument,
|
433
445
|
SlimDocumentDocumentToDocumentIndex,
|
446
|
+
SlimIntegrationAuthConfigRead,
|
447
|
+
SlimIntegrationRead,
|
434
448
|
SlimReleaseReview,
|
435
449
|
SlimWorkflowDeployment,
|
436
450
|
SlimWorkflowExecutionRead,
|
@@ -554,6 +568,7 @@ from .client.types import (
|
|
554
568
|
TokenOverlappingWindowChunkerConfigRequest,
|
555
569
|
TokenOverlappingWindowChunking,
|
556
570
|
TokenOverlappingWindowChunkingRequest,
|
571
|
+
ToolDefinitionIntegration,
|
557
572
|
UnitEnum,
|
558
573
|
UploadDocumentResponse,
|
559
574
|
UpsertTestSuiteTestCaseRequest,
|
@@ -702,6 +717,8 @@ from .resources import (
|
|
702
717
|
documents,
|
703
718
|
events,
|
704
719
|
folder_entities,
|
720
|
+
integration_auth_configs,
|
721
|
+
integration_providers,
|
705
722
|
integrations,
|
706
723
|
metric_definitions,
|
707
724
|
ml_models,
|
@@ -788,12 +805,15 @@ __all__ = [
|
|
788
805
|
"CompilePromptMeta",
|
789
806
|
"ComponentsSchemasComposioExecuteToolRequest",
|
790
807
|
"ComponentsSchemasComposioExecuteToolResponse",
|
808
|
+
"ComponentsSchemasComposioIntegrationExecConfig",
|
791
809
|
"ComponentsSchemasComposioToolDefinition",
|
792
810
|
"ComponentsSchemasPdfSearchResultMetaSource",
|
793
811
|
"ComponentsSchemasPdfSearchResultMetaSourceRequest",
|
794
812
|
"ComponentsSchemasPromptVersionBuildConfigSandbox",
|
813
|
+
"ComponentsSchemasSlimComposioToolDefinition",
|
795
814
|
"ComposioExecuteToolRequest",
|
796
815
|
"ComposioExecuteToolResponse",
|
816
|
+
"ComposioIntegrationExecConfig",
|
797
817
|
"ComposioToolDefinition",
|
798
818
|
"ConditionCombinator",
|
799
819
|
"ConditionalNodeResult",
|
@@ -941,6 +961,11 @@ __all__ = [
|
|
941
961
|
"InitiatedWorkflowNodeResultEvent",
|
942
962
|
"InstructorVectorizerConfig",
|
943
963
|
"InstructorVectorizerConfigRequest",
|
964
|
+
"IntegrationAuthConfigIntegrationCredential",
|
965
|
+
"IntegrationCredentialAccessType",
|
966
|
+
"IntegrationName",
|
967
|
+
"IntegrationProvider",
|
968
|
+
"IntegrationRead",
|
944
969
|
"InternalServerError",
|
945
970
|
"InvokedPort",
|
946
971
|
"IterationStateEnum",
|
@@ -1065,6 +1090,9 @@ __all__ = [
|
|
1065
1090
|
"PaginatedFolderEntityList",
|
1066
1091
|
"PaginatedSlimDeploymentReadList",
|
1067
1092
|
"PaginatedSlimDocumentList",
|
1093
|
+
"PaginatedSlimIntegrationAuthConfigReadList",
|
1094
|
+
"PaginatedSlimIntegrationReadList",
|
1095
|
+
"PaginatedSlimToolDefinitionList",
|
1068
1096
|
"PaginatedSlimWorkflowDeploymentList",
|
1069
1097
|
"PaginatedTestSuiteRunExecutionList",
|
1070
1098
|
"PaginatedTestSuiteTestCaseList",
|
@@ -1155,9 +1183,12 @@ __all__ = [
|
|
1155
1183
|
"SentenceChunkerConfigRequest",
|
1156
1184
|
"SentenceChunking",
|
1157
1185
|
"SentenceChunkingRequest",
|
1186
|
+
"SlimComposioToolDefinition",
|
1158
1187
|
"SlimDeploymentRead",
|
1159
1188
|
"SlimDocument",
|
1160
1189
|
"SlimDocumentDocumentToDocumentIndex",
|
1190
|
+
"SlimIntegrationAuthConfigRead",
|
1191
|
+
"SlimIntegrationRead",
|
1161
1192
|
"SlimReleaseReview",
|
1162
1193
|
"SlimWorkflowDeployment",
|
1163
1194
|
"SlimWorkflowExecutionRead",
|
@@ -1282,6 +1313,7 @@ __all__ = [
|
|
1282
1313
|
"TokenOverlappingWindowChunking",
|
1283
1314
|
"TokenOverlappingWindowChunkingRequest",
|
1284
1315
|
"TooManyRequestsError",
|
1316
|
+
"ToolDefinitionIntegration",
|
1285
1317
|
"UnauthorizedError",
|
1286
1318
|
"UnitEnum",
|
1287
1319
|
"UploadDocumentResponse",
|
@@ -1418,6 +1450,8 @@ __all__ = [
|
|
1418
1450
|
"documents",
|
1419
1451
|
"events",
|
1420
1452
|
"folder_entities",
|
1453
|
+
"integration_auth_configs",
|
1454
|
+
"integration_providers",
|
1421
1455
|
"integrations",
|
1422
1456
|
"metric_definitions",
|
1423
1457
|
"ml_models",
|
vellum/client/__init__.py
CHANGED
@@ -16,6 +16,8 @@ from .resources.document_indexes.client import AsyncDocumentIndexesClient, Docum
|
|
16
16
|
from .resources.documents.client import AsyncDocumentsClient, DocumentsClient
|
17
17
|
from .resources.events.client import AsyncEventsClient, EventsClient
|
18
18
|
from .resources.folder_entities.client import AsyncFolderEntitiesClient, FolderEntitiesClient
|
19
|
+
from .resources.integration_auth_configs.client import AsyncIntegrationAuthConfigsClient, IntegrationAuthConfigsClient
|
20
|
+
from .resources.integration_providers.client import AsyncIntegrationProvidersClient, IntegrationProvidersClient
|
19
21
|
from .resources.integrations.client import AsyncIntegrationsClient, IntegrationsClient
|
20
22
|
from .resources.metric_definitions.client import AsyncMetricDefinitionsClient, MetricDefinitionsClient
|
21
23
|
from .resources.ml_models.client import AsyncMlModelsClient, MlModelsClient
|
@@ -138,6 +140,8 @@ class Vellum:
|
|
138
140
|
self.document_indexes = DocumentIndexesClient(client_wrapper=self._client_wrapper)
|
139
141
|
self.documents = DocumentsClient(client_wrapper=self._client_wrapper)
|
140
142
|
self.folder_entities = FolderEntitiesClient(client_wrapper=self._client_wrapper)
|
143
|
+
self.integration_auth_configs = IntegrationAuthConfigsClient(client_wrapper=self._client_wrapper)
|
144
|
+
self.integration_providers = IntegrationProvidersClient(client_wrapper=self._client_wrapper)
|
141
145
|
self.metric_definitions = MetricDefinitionsClient(client_wrapper=self._client_wrapper)
|
142
146
|
self.ml_models = MlModelsClient(client_wrapper=self._client_wrapper)
|
143
147
|
self.organizations = OrganizationsClient(client_wrapper=self._client_wrapper)
|
@@ -1013,6 +1017,8 @@ class AsyncVellum:
|
|
1013
1017
|
self.document_indexes = AsyncDocumentIndexesClient(client_wrapper=self._client_wrapper)
|
1014
1018
|
self.documents = AsyncDocumentsClient(client_wrapper=self._client_wrapper)
|
1015
1019
|
self.folder_entities = AsyncFolderEntitiesClient(client_wrapper=self._client_wrapper)
|
1020
|
+
self.integration_auth_configs = AsyncIntegrationAuthConfigsClient(client_wrapper=self._client_wrapper)
|
1021
|
+
self.integration_providers = AsyncIntegrationProvidersClient(client_wrapper=self._client_wrapper)
|
1016
1022
|
self.metric_definitions = AsyncMetricDefinitionsClient(client_wrapper=self._client_wrapper)
|
1017
1023
|
self.ml_models = AsyncMlModelsClient(client_wrapper=self._client_wrapper)
|
1018
1024
|
self.organizations = AsyncOrganizationsClient(client_wrapper=self._client_wrapper)
|
@@ -27,10 +27,10 @@ class BaseClientWrapper:
|
|
27
27
|
|
28
28
|
def get_headers(self) -> typing.Dict[str, str]:
|
29
29
|
headers: typing.Dict[str, str] = {
|
30
|
-
"User-Agent": "vellum-ai/1.5.
|
30
|
+
"User-Agent": "vellum-ai/1.5.5",
|
31
31
|
"X-Fern-Language": "Python",
|
32
32
|
"X-Fern-SDK-Name": "vellum-ai",
|
33
|
-
"X-Fern-SDK-Version": "1.5.
|
33
|
+
"X-Fern-SDK-Version": "1.5.5",
|
34
34
|
**(self.get_custom_headers() or {}),
|
35
35
|
}
|
36
36
|
if self._api_version is not None:
|