vellum_ai 1.10.0 → 1.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9f9e2dcce5573fa92a19a6d0befe9dca48d38b3a4629fa60634759ddfe316ab
4
- data.tar.gz: 03a51607e38a746210c475f06a8e7e2bf6e8a75d5ec9fc62dc1a2c4500cb9219
3
+ metadata.gz: 057ba74c23155e4b27b6a35b1237a0926891d3c8e4479cf6f5150cc1db7c1084
4
+ data.tar.gz: 7414cda52e90d72746d368628c782affd5e482c22e48bfc85d092a6827af32fe
5
5
  SHA512:
6
- metadata.gz: bad168f1784fed607654a4883b236353d4700a9f0fcd33f61b7686f06d0cbc320b035ecaeb811a06d6f8db55f6ded2f64b00a6c4b01c57941d00a6b85fceb73d
7
- data.tar.gz: 25e2f2bf49352d5eac22a48e836456d779d5e892fe1e4a2807893d2056897b655ba40e4f3c871e47e15d6e55f858c754aaf53d745f60b544a74653e08e946933
6
+ metadata.gz: dc492e6cd0995ea71fdc4d6175603f7fa1e4eda1e4a0b5ac1bc0534e006becb5e74ab9031606f0ebb1ea421509e4bdf810da43b0d90a6b58633f997b8e82003c
7
+ data.tar.gz: 88b6cb6cb965ffd3068c34a7c31fe0d4dbe827936df7a1389e88f4db7f46ae9af4d6b848d18febc6aa1bbee30d30dcbfdee8802397fbc90a80f5fd503d761148
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.10.0' }
59
+ headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.1' }
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.10.0' }
110
+ headers = { "X-Fern-Language": 'Ruby', "X-Fern-SDK-Name": 'vellum_ai', "X-Fern-SDK-Version": '1.10.1' }
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
@@ -32,6 +32,7 @@ module Vellum
32
32
  # * :default (Hash)
33
33
  # * :extensions (Hash)
34
34
  # * :color (String)
35
+ # * :description (String)
35
36
  # @param parameters [Hash] Request of type Vellum::PromptParameters, as a Hash
36
37
  # * :stop (Array<String>)
37
38
  # * :temperature (Float)
@@ -119,6 +120,7 @@ end
119
120
  # * :default (Hash)
120
121
  # * :extensions (Hash)
121
122
  # * :color (String)
123
+ # * :description (String)
122
124
  # @param parameters [Hash] Request of type Vellum::PromptParameters, as a Hash
123
125
  # * :stop (Array<String>)
124
126
  # * :temperature (Float)
@@ -75,6 +75,7 @@ module Vellum
75
75
  # * `COINBASE` - Coinbase
76
76
  # * `DISCORD` - Discord
77
77
  # * `DOCUSIGN` - DocuSign
78
+ # * `TRELLO` - Trello
78
79
  class IntegrationName
79
80
 
80
81
  SLACK = "SLACK"
@@ -151,6 +152,7 @@ module Vellum
151
152
  COINBASE = "COINBASE"
152
153
  DISCORD = "DISCORD"
153
154
  DOCUSIGN = "DOCUSIGN"
155
+ TRELLO = "TRELLO"
154
156
 
155
157
  end
156
158
  end
@@ -7,6 +7,8 @@ module Vellum
7
7
  class VellumVariableExtensions
8
8
  # @return [String]
9
9
  attr_reader :color
10
+ # @return [String]
11
+ attr_reader :description
10
12
  # @return [OpenStruct] Additional properties unmapped to the current class definition
11
13
  attr_reader :additional_properties
12
14
  # @return [Object]
@@ -16,12 +18,14 @@ module Vellum
16
18
  OMIT = Object.new
17
19
 
18
20
  # @param color [String]
21
+ # @param description [String]
19
22
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
20
23
  # @return [Vellum::VellumVariableExtensions]
21
- def initialize(color: OMIT, additional_properties: nil)
24
+ def initialize(color: OMIT, description: OMIT, additional_properties: nil)
22
25
  @color = color if color != OMIT
26
+ @description = description if description != OMIT
23
27
  @additional_properties = additional_properties
24
- @_field_set = { "color": color }.reject do | _k, v |
28
+ @_field_set = { "color": color, "description": description }.reject do | _k, v |
25
29
  v == OMIT
26
30
  end
27
31
  end
@@ -33,7 +37,12 @@ end
33
37
  struct = JSON.parse(json_object, object_class: OpenStruct)
34
38
  parsed_json = JSON.parse(json_object)
35
39
  color = parsed_json["color"]
36
- new(color: color, additional_properties: struct)
40
+ description = parsed_json["description"]
41
+ new(
42
+ color: color,
43
+ description: description,
44
+ additional_properties: struct
45
+ )
37
46
  end
38
47
  # Serialize an instance of VellumVariableExtensions to a JSON object
39
48
  #
@@ -49,6 +58,7 @@ end
49
58
  # @return [Void]
50
59
  def self.validate_raw(obj:)
51
60
  obj.color&.is_a?(String) != false || raise("Passed value for field obj.color is not the expected type, validation failed.")
61
+ obj.description&.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.")
52
62
  end
53
63
  end
54
64
  end
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.10.0
4
+ version: 1.10.1
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-08 00:00:00.000000000 Z
11
+ date: 2025-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday