vellum_ai 0.3.4 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- 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: 182d24bd91fdd87ff3a318f7461005f46d29728410b1c2fc5db8304def338ff6
|
4
|
+
data.tar.gz: 291e636ee7663835359bec22c9e6cc34aba510b683e34c009bcccfdbae4fb617
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c88379aa69acc559f718f130fab218cd243dc93ba0dddc9b3b260ea152b8da8508b1c4fffdeec602738ddfc4a5828dbb186912b4f934bc9fe296bb2bd3abcfdc
|
7
|
+
data.tar.gz: 4caecedbcf0b68fffb1d1439bf8cbb444eefac11bedfb144f9fdb97cefbde163e3533b7654651528a7cee072a095ad83a635281b4ed5dbc1a470641f6141493b
|
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.6",
|
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.6",
|
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.6
|
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
|