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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfeb3903a2ddaf5a0639611b797662f1f04a4884792d60b81b65a590660b84e3
4
- data.tar.gz: c62e6fc90a1e5fcab6059e95abec5cd0bffa72c162c064147cc2f21aa6d49345
3
+ metadata.gz: 2aca7f16fb22be144397515fe46edcbe9a025ee218a170c4b6e1fa35bd31a4a7
4
+ data.tar.gz: ca7d9bcd622d0b3c1f38143c7eea18301be1aada510bc090d09f9d3bc962da07
5
5
  SHA512:
6
- metadata.gz: 6d93cf540037b54b3038ccae81f0cd6947b00895e562144aa1e55caff17f15226331a1aed1816821b704d161d3f2dd011fbaf86dd166bb986dd0a9a700eff56e
7
- data.tar.gz: aa29f3738ebfc161d11283f79b2c0c1840a245edbebdfb8d120a35e9fa4376777ff603d540c4d3639e387ba3ba26de85cc8327ad1f68f2b51867733d4b721673
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.0)
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.2.0)
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
- By default the executable is called `openai_pipe`. It is reccommended to alias this command to something shorter in .bashrc or equivalent, e.g.
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
- alias ai="openai_pipe"
159
+ export OPENAI_ACCESS_TOKEN=mytoken
158
160
  ```
159
161
 
160
- You will also need to have your OpenAI access token in ENV, so also in .bashrc or equivalent,
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
- export OPENAI_ACCESS_TOKEN=mytoken
164
+ alias ai="openai_pipe"
163
165
  ```
164
166
 
165
167
  ## Notes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OpenAIPipe
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2022-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: quick_openai