openai_ruby 0.4.1 → 0.4.2
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/README.md +1 -1
- data/lib/openai_ruby/client.rb +1 -1
- data/lib/openai_ruby/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 993cd595abab23a3adf953bc58dfc31915033462470b52ee73d91682c3413bdb
|
4
|
+
data.tar.gz: 34c1663c6d5ccfd01df64c8138ff8afeb832abdf4696de8c656e1406dbb0d4a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 55226355ab57831863809c0ee3412786625dc0237ec56719b50c7e2355ec1bdea4d305e79a50db382b78d36b75e6a94ffbc1297132ee727027f6454111e6d8a5
|
7
|
+
data.tar.gz: fd707c5a8cec4369ed673932bfe5e7ababca59f85d4a06aee7f180a9e0e28e3cfbb98fe2366335e091f40857fa1a568b789b2ad7cc29d81ebdf7cf500aeffa77
|
data/README.md
CHANGED
@@ -32,7 +32,7 @@ client = OpenAI::Client.new("your OpenAI key here")
|
|
32
32
|
Or you can pass a hash of options to customize the connection:
|
33
33
|
|
34
34
|
```ruby
|
35
|
-
client = OpenAI::Client.new("your OpenAI key here", { base_uri: "https://example.com
|
35
|
+
client = OpenAI::Client.new("your OpenAI key here", { base_uri: "https://example.com", request: { timeout: 20 } })
|
36
36
|
```
|
37
37
|
|
38
38
|
For more options check [here](https://lostisland.github.io/faraday/#/customization/connection-options)
|
data/lib/openai_ruby/client.rb
CHANGED
data/lib/openai_ruby/version.rb
CHANGED