vellum_ai 0.3.4 → 0.3.5
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.rb +0 -6
- 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: 4ee17d9186810307880033c2f35644cc5b07a86a4358404a5cce267cf9672cb2
|
4
|
+
data.tar.gz: 7dfc01aa965c0caa345b5f102708c34a6cc179dbc2cfc7a0ada9fdd591f1712f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d63be55c63c3687b5a4cd7dbbd7428ad7b19950558ef248014842798acc3310bc7ab2915fecaa77818f3d12dfe1d8582079bb4220d8b3d1e1e98f219a58ed88
|
7
|
+
data.tar.gz: 1f27ef9862514bce8f9c679d428b67c80047ae5fc607a80fae72c11303638266fa12e6defc8d42ab3f4e33f388e5f5434a6b61c32400cc9938062ffd85b11da6
|
data/lib/requests.rb
CHANGED
@@ -20,7 +20,7 @@ module Vellum
|
|
20
20
|
@headers = {
|
21
21
|
"X-Fern-Language": "Ruby",
|
22
22
|
"X-Fern-SDK-Name": "Vellum",
|
23
|
-
"X-Fern-SDK-Version": "0.3.
|
23
|
+
"X-Fern-SDK-Version": "0.3.5",
|
24
24
|
"X_API_KEY": api_key.to_s
|
25
25
|
}
|
26
26
|
@conn = Faraday.new(headers: @headers) do |faraday|
|
@@ -46,7 +46,7 @@ module Vellum
|
|
46
46
|
@headers = {
|
47
47
|
"X-Fern-Language": "Ruby",
|
48
48
|
"X-Fern-SDK-Name": "Vellum",
|
49
|
-
"X-Fern-SDK-Version": "0.3.
|
49
|
+
"X-Fern-SDK-Version": "0.3.5",
|
50
50
|
"X_API_KEY": api_key.to_s
|
51
51
|
}
|
52
52
|
@conn = Faraday.new(headers: @headers) do |faraday|
|
data/lib/vellum_ai.rb
CHANGED
@@ -50,9 +50,6 @@ module Vellum
|
|
50
50
|
|
51
51
|
# Executes a deployed Prompt and returns the result.
|
52
52
|
#
|
53
|
-
# Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
54
|
-
# In the meantime, we recommend still using the `/generate` endpoint for prompts with function calling.
|
55
|
-
#
|
56
53
|
# @param inputs [Array<Hash>] The list of inputs defined in the Prompt's deployment with their corresponding values.Request of type Array<PromptDeploymentInputRequest>, as a Hash
|
57
54
|
# @param prompt_deployment_id [String] The ID of the Prompt Deployment. Must provide either this or prompt_deployment_name.
|
58
55
|
# @param prompt_deployment_name [String] The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
|
@@ -274,9 +271,6 @@ module Vellum
|
|
274
271
|
|
275
272
|
# Executes a deployed Prompt and returns the result.
|
276
273
|
#
|
277
|
-
# Note: This endpoint temporarily does not support prompts with function calling, support is coming soon.
|
278
|
-
# In the meantime, we recommend still using the `/generate` endpoint for prompts with function calling.
|
279
|
-
#
|
280
274
|
# @param inputs [Array<Hash>] The list of inputs defined in the Prompt's deployment with their corresponding values.Request of type Array<PromptDeploymentInputRequest>, as a Hash
|
281
275
|
# @param prompt_deployment_id [String] The ID of the Prompt Deployment. Must provide either this or prompt_deployment_name.
|
282
276
|
# @param prompt_deployment_name [String] The name of the Prompt Deployment. Must provide either this or prompt_deployment_id.
|
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: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vellum
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|