openai_pipe 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -4
- data/lib/openai_pipe/version.rb +1 -1
- 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: 2aca7f16fb22be144397515fe46edcbe9a025ee218a170c4b6e1fa35bd31a4a7
|
4
|
+
data.tar.gz: ca7d9bcd622d0b3c1f38143c7eea18301be1aada510bc090d09f9d3bc962da07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad2df638c41b23a35a0542c506de559fc0a6eea9b7c1cf521e4e00ef93cffb46516addb7c7a511703884b4093d4971f9994f37113148dcdd2b55e2341b97ab97
|
7
|
+
data.tar.gz: eae5adf6414280f2947c09cabd5a576856bfda42f2410223a5a886ef123de30c84207fa3dc70f9b0064ed793c24430e5a9c7de0e098047b4d4b449d55b2def45
|
data/Gemfile.lock
CHANGED
@@ -26,7 +26,7 @@ GEM
|
|
26
26
|
parser (3.1.3.0)
|
27
27
|
ast (~> 2.4.1)
|
28
28
|
public_suffix (5.0.1)
|
29
|
-
quick_openai (0.1.
|
29
|
+
quick_openai (0.1.1)
|
30
30
|
down (~> 5)
|
31
31
|
ruby-openai (~> 2)
|
32
32
|
rainbow (3.1.1)
|
@@ -58,7 +58,7 @@ GEM
|
|
58
58
|
unicode-display_width (>= 1.4.0, < 3.0)
|
59
59
|
rubocop-ast (1.24.0)
|
60
60
|
parser (>= 3.1.1.0)
|
61
|
-
ruby-openai (2.
|
61
|
+
ruby-openai (2.3.0)
|
62
62
|
dotenv (>= 2.7.6, < 2.9.0)
|
63
63
|
httparty (>= 0.18.1, < 0.21.0)
|
64
64
|
ruby-progressbar (1.11.0)
|
data/README.md
CHANGED
@@ -152,14 +152,16 @@ Install the gem by executing:
|
|
152
152
|
|
153
153
|
## Setup
|
154
154
|
|
155
|
-
|
155
|
+
This library uses [quick_openai](https://github.com/Aesthetikx/quick_openai') which itself uses [ruby-openai](https://github.com/alexrudall/ruby-openai), so you may want to familiarise yourself with those projects first.
|
156
|
+
|
157
|
+
This library uses OpenAI GPT3 to generate responses, so you will need to have your access token available in ENV. In .bashrc or equivalent,
|
156
158
|
```bash
|
157
|
-
|
159
|
+
export OPENAI_ACCESS_TOKEN=mytoken
|
158
160
|
```
|
159
161
|
|
160
|
-
|
162
|
+
By default the executable is called `openai_pipe`. It is reccommended to alias this command to something shorter in .bashrc or equivalent, e.g.
|
161
163
|
```bash
|
162
|
-
|
164
|
+
alias ai="openai_pipe"
|
163
165
|
```
|
164
166
|
|
165
167
|
## Notes
|
data/lib/openai_pipe/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openai_pipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John DeSilva
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-12-
|
11
|
+
date: 2022-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: quick_openai
|