ask_chatgpt 0.2.0 → 0.2.1
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 +4 -0
- data/lib/ask_chatgpt/executor.rb +1 -1
- data/lib/ask_chatgpt/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66462915e1e106d09ff5990c0e892e02401c8a157306705bff4a6338bf775f1d
|
|
4
|
+
data.tar.gz: a747d8a310b2861ccd088a1ac27accde74acd2e4732c2f41938ef6536bcdbc76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 287029104e1b14dd1f2f9b36e8cf11e55082424ebda4f88a767bd29088faccbdbadf79d3314075e9f0868bebbe38801cce9202c108147617c644454584162115
|
|
7
|
+
data.tar.gz: c1bc943ae6ae4e6195a1e98dd53e82d3d72afbcbbf170e9d8590b92fc62b740e2a6ca30b9a67698a9113b04c575eb74ed6bd57b1162ba78cd19f918777af4259
|
data/README.md
CHANGED
|
@@ -158,6 +158,7 @@ or directly in console `gpt.debug!` (and finish `gpt.debug!(:off)`)
|
|
|
158
158
|
- print tokens usage? `.with_usage`
|
|
159
159
|
- support org_id? in the configs
|
|
160
160
|
- use `gpt` in the code of the main app (e.g. model/controller)
|
|
161
|
+
- remove dependency on `ruby-openai` and just do a `Net::HTTP` call
|
|
161
162
|
|
|
162
163
|
## Contributing
|
|
163
164
|
|
|
@@ -168,3 +169,6 @@ To start just clone this repo. Run bundle, and go to `cd test/dummy/`. Start `ra
|
|
|
168
169
|
## License
|
|
169
170
|
|
|
170
171
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
172
|
+
|
|
173
|
+
[<img src="https://github.com/igorkasyanchuk/rails_time_travel/blob/main/docs/more_gems.png?raw=true"
|
|
174
|
+
/>](https://www.railsjazz.com/?utm_source=github&utm_medium=bottom&utm_campaign=ask_chatgpt)
|
data/lib/ask_chatgpt/executor.rb
CHANGED
data/lib/ask_chatgpt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ask_chatgpt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Kasyanchuk
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2023-04-
|
|
12
|
+
date: 2023-04-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -67,6 +67,20 @@ dependencies:
|
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
69
|
version: '0'
|
|
70
|
+
- !ruby/object:Gem::Dependency
|
|
71
|
+
name: irb
|
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
|
73
|
+
requirements:
|
|
74
|
+
- - ">="
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: 1.4.3
|
|
77
|
+
type: :runtime
|
|
78
|
+
prerelease: false
|
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
80
|
+
requirements:
|
|
81
|
+
- - ">="
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: 1.4.3
|
|
70
84
|
- !ruby/object:Gem::Dependency
|
|
71
85
|
name: wrapped_print
|
|
72
86
|
requirement: !ruby/object:Gem::Requirement
|