vellum_ai 1.11.7 → 1.11.8
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/workflow_result_event_output_data_array.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_chat_history.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_error.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_function_call.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_json.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_number.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_search_results.rb +3 -3
- data/lib/vellum_ai/types/workflow_result_event_output_data_string.rb +3 -3
- 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: a15dd554d78522d4dc0205b34f344d8030be92823d34422a484ee99037284c82
|
|
4
|
+
data.tar.gz: 12b49269a10430bb0819c6a71acb91e080e13d2db05e1c3558523586a1050e98
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1541e46c678c02c8f7f132f6e2eaeaa7be67e8899592668dd9fd1d361dccefeaa218f9bd89bf13f4c062311a82ece7b03f8714888e4cb4047df9c7e60f1aa3bb
|
|
7
|
+
data.tar.gz: 4d853bcf26d3adccf2461465ef05a038599455a1ca2fd199e247ff542fd5e9f044c19f58ef18dcc06ef07f303955f2727804b168684fd6de52b1a20fcc37b57a
|
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.8' }
|
|
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.8' }
|
|
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
|
|
@@ -40,11 +40,11 @@ module Vellum
|
|
|
40
40
|
# @param value [Array<Vellum::VellumValue>]
|
|
41
41
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
42
42
|
# @return [Vellum::WorkflowResultEventOutputDataArray]
|
|
43
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
43
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
44
44
|
@id = id if id != OMIT
|
|
45
45
|
@name = name
|
|
46
46
|
@state = state
|
|
47
|
-
@node_id = node_id
|
|
47
|
+
@node_id = node_id if node_id != OMIT
|
|
48
48
|
@delta = delta if delta != OMIT
|
|
49
49
|
@type = type
|
|
50
50
|
@value = value if value != OMIT
|
|
@@ -97,7 +97,7 @@ end
|
|
|
97
97
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
98
98
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
99
99
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
100
|
-
obj.node_id
|
|
100
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
101
101
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
102
102
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
103
103
|
obj.value&.is_a?(Array) != false || raise("Passed value for field obj.value is not the expected type, validation failed.")
|
|
@@ -40,11 +40,11 @@ module Vellum
|
|
|
40
40
|
# @param value [Array<Vellum::ChatMessage>]
|
|
41
41
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
42
42
|
# @return [Vellum::WorkflowResultEventOutputDataChatHistory]
|
|
43
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
43
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
44
44
|
@id = id if id != OMIT
|
|
45
45
|
@name = name
|
|
46
46
|
@state = state
|
|
47
|
-
@node_id = node_id
|
|
47
|
+
@node_id = node_id if node_id != OMIT
|
|
48
48
|
@delta = delta if delta != OMIT
|
|
49
49
|
@type = type
|
|
50
50
|
@value = value if value != OMIT
|
|
@@ -99,7 +99,7 @@ end
|
|
|
99
99
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
100
100
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
101
101
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
102
|
-
obj.node_id
|
|
102
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
103
103
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
104
104
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
105
105
|
obj.value&.is_a?(Array) != false || raise("Passed value for field obj.value is not the expected type, validation failed.")
|
|
@@ -40,11 +40,11 @@ module Vellum
|
|
|
40
40
|
# @param value [Vellum::VellumError]
|
|
41
41
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
42
42
|
# @return [Vellum::WorkflowResultEventOutputDataError]
|
|
43
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
43
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
44
44
|
@id = id if id != OMIT
|
|
45
45
|
@name = name
|
|
46
46
|
@state = state
|
|
47
|
-
@node_id = node_id
|
|
47
|
+
@node_id = node_id if node_id != OMIT
|
|
48
48
|
@delta = delta if delta != OMIT
|
|
49
49
|
@type = type
|
|
50
50
|
@value = value if value != OMIT
|
|
@@ -99,7 +99,7 @@ end
|
|
|
99
99
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
100
100
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
101
101
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
102
|
-
obj.node_id
|
|
102
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
103
103
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
104
104
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
105
105
|
obj.value.nil? || Vellum::VellumError.validate_raw(obj: obj.value)
|
|
@@ -40,11 +40,11 @@ module Vellum
|
|
|
40
40
|
# @param value [Vellum::FunctionCall]
|
|
41
41
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
42
42
|
# @return [Vellum::WorkflowResultEventOutputDataFunctionCall]
|
|
43
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
43
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
44
44
|
@id = id if id != OMIT
|
|
45
45
|
@name = name
|
|
46
46
|
@state = state
|
|
47
|
-
@node_id = node_id
|
|
47
|
+
@node_id = node_id if node_id != OMIT
|
|
48
48
|
@delta = delta if delta != OMIT
|
|
49
49
|
@type = type
|
|
50
50
|
@value = value if value != OMIT
|
|
@@ -101,7 +101,7 @@ end
|
|
|
101
101
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
102
102
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
103
103
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
104
|
-
obj.node_id
|
|
104
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
105
105
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
106
106
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
107
107
|
obj.value.nil? || Vellum::FunctionCall.validate_raw(obj: obj.value)
|
|
@@ -39,11 +39,11 @@ module Vellum
|
|
|
39
39
|
# @param value [Object]
|
|
40
40
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
41
41
|
# @return [Vellum::WorkflowResultEventOutputDataJson]
|
|
42
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
42
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value:, additional_properties: nil)
|
|
43
43
|
@id = id if id != OMIT
|
|
44
44
|
@name = name
|
|
45
45
|
@state = state
|
|
46
|
-
@node_id = node_id
|
|
46
|
+
@node_id = node_id if node_id != OMIT
|
|
47
47
|
@delta = delta if delta != OMIT
|
|
48
48
|
@type = type
|
|
49
49
|
@value = value
|
|
@@ -93,7 +93,7 @@ end
|
|
|
93
93
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
94
94
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
95
95
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
96
|
-
obj.node_id
|
|
96
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
97
97
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
98
98
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
99
99
|
obj.value.is_a?(Object) != false || raise("Passed value for field obj.value is not the expected type, validation failed.")
|
|
@@ -39,11 +39,11 @@ module Vellum
|
|
|
39
39
|
# @param value [Float]
|
|
40
40
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
41
41
|
# @return [Vellum::WorkflowResultEventOutputDataNumber]
|
|
42
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
42
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
43
43
|
@id = id if id != OMIT
|
|
44
44
|
@name = name
|
|
45
45
|
@state = state
|
|
46
|
-
@node_id = node_id
|
|
46
|
+
@node_id = node_id if node_id != OMIT
|
|
47
47
|
@delta = delta if delta != OMIT
|
|
48
48
|
@type = type
|
|
49
49
|
@value = value if value != OMIT
|
|
@@ -93,7 +93,7 @@ end
|
|
|
93
93
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
94
94
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
95
95
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
96
|
-
obj.node_id
|
|
96
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
97
97
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
98
98
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
99
99
|
obj.value&.is_a?(Float) != false || raise("Passed value for field obj.value is not the expected type, validation failed.")
|
|
@@ -40,11 +40,11 @@ module Vellum
|
|
|
40
40
|
# @param value [Array<Vellum::SearchResult>]
|
|
41
41
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
42
42
|
# @return [Vellum::WorkflowResultEventOutputDataSearchResults]
|
|
43
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
43
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
44
44
|
@id = id if id != OMIT
|
|
45
45
|
@name = name
|
|
46
46
|
@state = state
|
|
47
|
-
@node_id = node_id
|
|
47
|
+
@node_id = node_id if node_id != OMIT
|
|
48
48
|
@delta = delta if delta != OMIT
|
|
49
49
|
@type = type
|
|
50
50
|
@value = value if value != OMIT
|
|
@@ -99,7 +99,7 @@ end
|
|
|
99
99
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
100
100
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
101
101
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
102
|
-
obj.node_id
|
|
102
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
103
103
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
104
104
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
105
105
|
obj.value&.is_a?(Array) != false || raise("Passed value for field obj.value is not the expected type, validation failed.")
|
|
@@ -39,11 +39,11 @@ module Vellum
|
|
|
39
39
|
# @param value [String] The entire string value. Will be non-null for events of state FULFILLED.
|
|
40
40
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
|
41
41
|
# @return [Vellum::WorkflowResultEventOutputDataString]
|
|
42
|
-
def initialize(id: OMIT, name:, state:, node_id
|
|
42
|
+
def initialize(id: OMIT, name:, state:, node_id: OMIT, delta: OMIT, type:, value: OMIT, additional_properties: nil)
|
|
43
43
|
@id = id if id != OMIT
|
|
44
44
|
@name = name
|
|
45
45
|
@state = state
|
|
46
|
-
@node_id = node_id
|
|
46
|
+
@node_id = node_id if node_id != OMIT
|
|
47
47
|
@delta = delta if delta != OMIT
|
|
48
48
|
@type = type
|
|
49
49
|
@value = value if value != OMIT
|
|
@@ -93,7 +93,7 @@ end
|
|
|
93
93
|
obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.")
|
|
94
94
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
|
95
95
|
obj.state.is_a?(Vellum::WorkflowNodeResultEventState) != false || raise("Passed value for field obj.state is not the expected type, validation failed.")
|
|
96
|
-
obj.node_id
|
|
96
|
+
obj.node_id&.is_a?(String) != false || raise("Passed value for field obj.node_id is not the expected type, validation failed.")
|
|
97
97
|
obj.delta&.is_a?(String) != false || raise("Passed value for field obj.delta is not the expected type, validation failed.")
|
|
98
98
|
obj.type.is_a?(String) != false || raise("Passed value for field obj.type is not the expected type, validation failed.")
|
|
99
99
|
obj.value&.is_a?(String) != false || raise("Passed value for field obj.value is not the expected type, validation failed.")
|
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.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vellum
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|