vellum_ai 1.11.10 → 1.11.11
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.
- checksums.yaml +4 -4
- data/lib/requests.rb +2 -2
- data/lib/vellum_ai/types/container_image_build_config.rb +9 -2
- data/lib/vellum_ai/types/dataset_row_push_request.rb +11 -2
- data/lib/vellum_ai/types/integration_name.rb +2 -0
- data/lib/vellum_ai/types/runner_config_request.rb +9 -2
- data/lib/vellum_ai/workflows/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad6b8989d65a220e11883103bb9adddbba6599938ca999cf2c12bf21375c40df
|
|
4
|
+
data.tar.gz: efa37c32c6d0919a95c98383f478ac23758ad0c87677828945e32f69cfa5f2a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b034da73f5e01e45cb800fddb9cf49562c876f5d2d48ca6c18252ce455ef4454d8d90367418d97af31bc7ac1e684d07008646ec76d9546fb0a8004f04a423906
|
|
7
|
+
data.tar.gz: fccfb7f177cf277cfa77035cc3bb14666b2d16c7976ea229456d531e1d4f5b12a2ff2d52150610f82e2ad24fcf8d973c260e674b9af57e55717c313627ef47e5
|
data/lib/requests.rb
CHANGED
|
@@ -56,7 +56,7 @@ end
|
|
|
56
56
|
end
|
|
57
57
|
# @return [Hash{String => String}]
|
|
58
58
|
def get_headers
|
|
59
|
-
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.11.
|
|
59
|
+
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.11.11' }
|
|
60
60
|
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
|
|
61
61
|
headers
|
|
62
62
|
end
|
|
@@ -107,7 +107,7 @@ end
|
|
|
107
107
|
end
|
|
108
108
|
# @return [Hash{String => String}]
|
|
109
109
|
def get_headers
|
|
110
|
-
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.11.
|
|
110
|
+
headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.11.11' }
|
|
111
111
|
headers["X-API-KEY"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil?
|
|
112
112
|
headers
|
|
113
113
|
end
|
|
@@ -9,6 +9,8 @@ module Vellum
|
|
|
9
9
|
attr_reader :packages
|
|
10
10
|
# @return [String]
|
|
11
11
|
attr_reader :user_script
|
|
12
|
+
# @return [String]
|
|
13
|
+
attr_reader :hotswappable_version
|
|
12
14
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
13
15
|
attr_reader :additional_properties
|
|
14
16
|
# @return [Object]
|
|
@@ -19,13 +21,15 @@ module Vellum
|
|
|
19
21
|
|
|
20
22
|
# @param packages [Array<Vellum::CodeExecutionPackage>]
|
|
21
23
|
# @param user_script [String]
|
|
24
|
+
# @param hotswappable_version [String]
|
|
22
25
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
23
26
|
# @return [Vellum::ContainerImageBuildConfig]
|
|
24
|
-
def initialize(packages:, user_script: OMIT, additional_properties: nil)
|
|
27
|
+
def initialize(packages:, user_script: OMIT, hotswappable_version: OMIT, additional_properties: nil)
|
|
25
28
|
@packages = packages
|
|
26
29
|
@user_script = user_script if user_script != OMIT
|
|
30
|
+
@hotswappable_version = hotswappable_version if hotswappable_version != OMIT
|
|
27
31
|
@additional_properties = additional_properties
|
|
28
|
-
@_field_set = { "packages": packages, "user_script": user_script }.reject do | _k, v |
|
|
32
|
+
@_field_set = { "packages": packages, "user_script": user_script, "hotswappable_version": hotswappable_version }.reject do | _k, v |
|
|
29
33
|
v == OMIT
|
|
30
34
|
end
|
|
31
35
|
end
|
|
@@ -41,9 +45,11 @@ end
|
|
|
41
45
|
Vellum::CodeExecutionPackage.from_json(json_object: item)
|
|
42
46
|
end
|
|
43
47
|
user_script = parsed_json["user_script"]
|
|
48
|
+
hotswappable_version = parsed_json["hotswappable_version"]
|
|
44
49
|
new(
|
|
45
50
|
packages: packages,
|
|
46
51
|
user_script: user_script,
|
|
52
|
+
hotswappable_version: hotswappable_version,
|
|
47
53
|
additional_properties: struct
|
|
48
54
|
)
|
|
49
55
|
end
|
|
@@ -62,6 +68,7 @@ end
|
|
|
62
68
|
def self.validate_raw(obj:)
|
|
63
69
|
obj.packages.is_a?(Array) != false || raise("Passed value for field obj.packages is not the expected type, validation failed.")
|
|
64
70
|
obj.user_script&.is_a?(String) != false || raise("Passed value for field obj.user_script is not the expected type, validation failed.")
|
|
71
|
+
obj.hotswappable_version&.is_a?(String) != false || raise("Passed value for field obj.hotswappable_version is not the expected type, validation failed.")
|
|
65
72
|
end
|
|
66
73
|
end
|
|
67
74
|
end
|
|
@@ -8,6 +8,8 @@ module Vellum
|
|
|
8
8
|
attr_reader :label
|
|
9
9
|
# @return [Hash{String => Object}]
|
|
10
10
|
attr_reader :inputs
|
|
11
|
+
# @return [String]
|
|
12
|
+
attr_reader :workflow_trigger_id
|
|
11
13
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
12
14
|
attr_reader :additional_properties
|
|
13
15
|
# @return [Object]
|
|
@@ -18,13 +20,17 @@ module Vellum
|
|
|
18
20
|
|
|
19
21
|
# @param label [String]
|
|
20
22
|
# @param inputs [Hash{String => Object}]
|
|
23
|
+
# @param workflow_trigger_id [String]
|
|
21
24
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
22
25
|
# @return [Vellum::DatasetRowPushRequest]
|
|
23
|
-
def initialize(label:, inputs:, additional_properties: nil)
|
|
26
|
+
def initialize(label:, inputs:, workflow_trigger_id: OMIT, additional_properties: nil)
|
|
24
27
|
@label = label
|
|
25
28
|
@inputs = inputs
|
|
29
|
+
@workflow_trigger_id = workflow_trigger_id if workflow_trigger_id != OMIT
|
|
26
30
|
@additional_properties = additional_properties
|
|
27
|
-
@_field_set = { "label": label, "inputs": inputs }
|
|
31
|
+
@_field_set = { "label": label, "inputs": inputs, "workflow_trigger_id": workflow_trigger_id }.reject do | _k, v |
|
|
32
|
+
v == OMIT
|
|
33
|
+
end
|
|
28
34
|
end
|
|
29
35
|
# Deserialize a JSON object to an instance of DatasetRowPushRequest
|
|
30
36
|
#
|
|
@@ -35,9 +41,11 @@ module Vellum
|
|
|
35
41
|
parsed_json = JSON.parse(json_object)
|
|
36
42
|
label = parsed_json["label"]
|
|
37
43
|
inputs = parsed_json["inputs"]
|
|
44
|
+
workflow_trigger_id = parsed_json["workflow_trigger_id"]
|
|
38
45
|
new(
|
|
39
46
|
label: label,
|
|
40
47
|
inputs: inputs,
|
|
48
|
+
workflow_trigger_id: workflow_trigger_id,
|
|
41
49
|
additional_properties: struct
|
|
42
50
|
)
|
|
43
51
|
end
|
|
@@ -56,6 +64,7 @@ module Vellum
|
|
|
56
64
|
def self.validate_raw(obj:)
|
|
57
65
|
obj.label.is_a?(String) != false || raise("Passed value for field obj.label is not the expected type, validation failed.")
|
|
58
66
|
obj.inputs.is_a?(Hash) != false || raise("Passed value for field obj.inputs is not the expected type, validation failed.")
|
|
67
|
+
obj.workflow_trigger_id&.is_a?(String) != false || raise("Passed value for field obj.workflow_trigger_id is not the expected type, validation failed.")
|
|
59
68
|
end
|
|
60
69
|
end
|
|
61
70
|
end
|
|
@@ -21,6 +21,7 @@ module Vellum
|
|
|
21
21
|
# * `MEM0` - Mem0
|
|
22
22
|
# * `MONDAY` - Monday
|
|
23
23
|
# * `NEON` - Neon
|
|
24
|
+
# * `OUTLOOK` - Outlook
|
|
24
25
|
# * `GITHUB` - Github
|
|
25
26
|
# * `GOOGLE_SHEETS` - Google Sheets
|
|
26
27
|
# * `GOOGLE_CALENDAR` - Google Calendar
|
|
@@ -112,6 +113,7 @@ module Vellum
|
|
|
112
113
|
MEM_0 = "MEM0"
|
|
113
114
|
MONDAY = "MONDAY"
|
|
114
115
|
NEON = "NEON"
|
|
116
|
+
OUTLOOK = "OUTLOOK"
|
|
115
117
|
GITHUB = "GITHUB"
|
|
116
118
|
GOOGLE_SHEETS = "GOOGLE_SHEETS"
|
|
117
119
|
GOOGLE_CALENDAR = "GOOGLE_CALENDAR"
|
|
@@ -14,6 +14,8 @@ module Vellum
|
|
|
14
14
|
attr_reader :sdk_version
|
|
15
15
|
# @return [Boolean]
|
|
16
16
|
attr_reader :is_deployment_inlining_enabled
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_reader :server_version
|
|
17
19
|
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
|
18
20
|
attr_reader :additional_properties
|
|
19
21
|
# @return [Object]
|
|
@@ -27,16 +29,18 @@ module Vellum
|
|
|
27
29
|
# @param codegen_version [String]
|
|
28
30
|
# @param sdk_version [String]
|
|
29
31
|
# @param is_deployment_inlining_enabled [Boolean]
|
|
32
|
+
# @param server_version [String]
|
|
30
33
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
31
34
|
# @return [Vellum::RunnerConfigRequest]
|
|
32
|
-
def initialize(container_image_name: OMIT, container_image_tag: OMIT, codegen_version: OMIT, sdk_version: OMIT, is_deployment_inlining_enabled: OMIT, additional_properties: nil)
|
|
35
|
+
def initialize(container_image_name: OMIT, container_image_tag: OMIT, codegen_version: OMIT, sdk_version: OMIT, is_deployment_inlining_enabled: OMIT, server_version: OMIT, additional_properties: nil)
|
|
33
36
|
@container_image_name = container_image_name if container_image_name != OMIT
|
|
34
37
|
@container_image_tag = container_image_tag if container_image_tag != OMIT
|
|
35
38
|
@codegen_version = codegen_version if codegen_version != OMIT
|
|
36
39
|
@sdk_version = sdk_version if sdk_version != OMIT
|
|
37
40
|
@is_deployment_inlining_enabled = is_deployment_inlining_enabled if is_deployment_inlining_enabled != OMIT
|
|
41
|
+
@server_version = server_version if server_version != OMIT
|
|
38
42
|
@additional_properties = additional_properties
|
|
39
|
-
@_field_set = { "container_image_name": container_image_name, "container_image_tag": container_image_tag, "codegen_version": codegen_version, "sdk_version": sdk_version, "is_deployment_inlining_enabled": is_deployment_inlining_enabled }.reject do | _k, v |
|
|
43
|
+
@_field_set = { "container_image_name": container_image_name, "container_image_tag": container_image_tag, "codegen_version": codegen_version, "sdk_version": sdk_version, "is_deployment_inlining_enabled": is_deployment_inlining_enabled, "server_version": server_version }.reject do | _k, v |
|
|
40
44
|
v == OMIT
|
|
41
45
|
end
|
|
42
46
|
end
|
|
@@ -52,12 +56,14 @@ end
|
|
|
52
56
|
codegen_version = parsed_json["codegen_version"]
|
|
53
57
|
sdk_version = parsed_json["sdk_version"]
|
|
54
58
|
is_deployment_inlining_enabled = parsed_json["is_deployment_inlining_enabled"]
|
|
59
|
+
server_version = parsed_json["server_version"]
|
|
55
60
|
new(
|
|
56
61
|
container_image_name: container_image_name,
|
|
57
62
|
container_image_tag: container_image_tag,
|
|
58
63
|
codegen_version: codegen_version,
|
|
59
64
|
sdk_version: sdk_version,
|
|
60
65
|
is_deployment_inlining_enabled: is_deployment_inlining_enabled,
|
|
66
|
+
server_version: server_version,
|
|
61
67
|
additional_properties: struct
|
|
62
68
|
)
|
|
63
69
|
end
|
|
@@ -79,6 +85,7 @@ end
|
|
|
79
85
|
obj.codegen_version&.is_a?(String) != false || raise("Passed value for field obj.codegen_version is not the expected type, validation failed.")
|
|
80
86
|
obj.sdk_version&.is_a?(String) != false || raise("Passed value for field obj.sdk_version is not the expected type, validation failed.")
|
|
81
87
|
obj.is_deployment_inlining_enabled&.is_a?(Boolean) != false || raise("Passed value for field obj.is_deployment_inlining_enabled is not the expected type, validation failed.")
|
|
88
|
+
obj.server_version&.is_a?(String) != false || raise("Passed value for field obj.server_version is not the expected type, validation failed.")
|
|
82
89
|
end
|
|
83
90
|
end
|
|
84
91
|
end
|
|
@@ -110,6 +110,7 @@ end
|
|
|
110
110
|
# @param dataset [Array<Hash>] List of dataset rows with inputs for scenarios.Request of type Array<Vellum::DatasetRowPushRequest>, as a Hash
|
|
111
111
|
# * :label (String)
|
|
112
112
|
# * :inputs (Hash{String => Object})
|
|
113
|
+
# * :workflow_trigger_id (String)
|
|
113
114
|
# @param dry_run [Boolean]
|
|
114
115
|
# @param strict [Boolean]
|
|
115
116
|
# @param request_options [Vellum::RequestOptions]
|
|
@@ -148,6 +149,7 @@ end
|
|
|
148
149
|
# * :codegen_version (String)
|
|
149
150
|
# * :sdk_version (String)
|
|
150
151
|
# * :is_deployment_inlining_enabled (Boolean)
|
|
152
|
+
# * :server_version (String)
|
|
151
153
|
# @param request_options [Vellum::RequestOptions]
|
|
152
154
|
# @return [Hash{String => Object}]
|
|
153
155
|
# @example
|
|
@@ -281,6 +283,7 @@ end
|
|
|
281
283
|
# @param dataset [Array<Hash>] List of dataset rows with inputs for scenarios.Request of type Array<Vellum::DatasetRowPushRequest>, as a Hash
|
|
282
284
|
# * :label (String)
|
|
283
285
|
# * :inputs (Hash{String => Object})
|
|
286
|
+
# * :workflow_trigger_id (String)
|
|
284
287
|
# @param dry_run [Boolean]
|
|
285
288
|
# @param strict [Boolean]
|
|
286
289
|
# @param request_options [Vellum::RequestOptions]
|
|
@@ -321,6 +324,7 @@ end
|
|
|
321
324
|
# * :codegen_version (String)
|
|
322
325
|
# * :sdk_version (String)
|
|
323
326
|
# * :is_deployment_inlining_enabled (Boolean)
|
|
327
|
+
# * :server_version (String)
|
|
324
328
|
# @param request_options [Vellum::RequestOptions]
|
|
325
329
|
# @return [Hash{String => Object}]
|
|
326
330
|
# @example
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vellum_ai
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.11.
|
|
4
|
+
version: 1.11.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vellum
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|