openai_101 1.2.6 → 1.2.8

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: 8c9cc0ed59ef173b5be04af98b1da0147fb68134c548976e3236a2ebd37674cf
4
- data.tar.gz: 50d942c26b60b505e76bf9d8838d643a684952580ce8ece43f00d9988b8da758
3
+ metadata.gz: 3c80c19334fb3791ed3828ee4af328f6be617122c6acdb72ba4b6b77ccd0e5ad
4
+ data.tar.gz: 8d899803b0911e39892bdfe7aa70890eaa389b8f7be34e11b1232ed0f3a6c176
5
5
  SHA512:
6
- metadata.gz: 663c8c0831d5ba0a010cabd07874cfdf095296964a7f16d267f79e51f15dbd3206167dfe4aebd4b7a81a994e31b896feb8912d3c5b057a8bffddd921e56ec949
7
- data.tar.gz: fd25d0938a25d518c02e1b979dcafb2d73c79327f31d585546179d6c4a1795b46bb837e3afd20d1bca7e125b510ecf831f2ac73ed446ddade22edbb7b30a2402
6
+ metadata.gz: 18283bcfdee6a584f2cf4e3d4c2b32b362c3026f6c76495bf242833d7dab0342a6f549f48404ccd54cca0daa99278a48855ac17a5a2017c9d5dd3d7b6a6586d9
7
+ data.tar.gz: 65ab58581717a8e1a02bc5e6e7a2e8d791ac48853bd27b3d8fa2e834c1a6170e96a0970e87bff6049c8dd404d0c7f2b9eb6b3d309250102fac72fc8b94991c71
data/.rubocop.yml CHANGED
@@ -107,7 +107,8 @@ RSpec/NoExpectationExample:
107
107
  Enabled: false
108
108
  RSpec/SpecFilePathSuffix:
109
109
  Enabled: true
110
-
110
+ RSpec/MultipleMemoizedHelpers:
111
+ Enabled: false
111
112
  RSpec/NamedSubject:
112
113
  Exclude:
113
114
  - "**/spec/**/*"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [1.2.7](https://github.com/appydave/openai_101/compare/v1.2.6...v1.2.7) (2024-06-20)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * audio - add speach-to-text and text-to-speach usecases ([8750072](https://github.com/appydave/openai_101/commit/87500720de3b6bbd59a708c3d449424cb42b5f11))
7
+ * audio - update speach-to-text and text-to-speach usecases ([3f02a02](https://github.com/appydave/openai_101/commit/3f02a02848e62ccf8b5aa71e214622d4f1433c11))
8
+
9
+ ## [1.2.6](https://github.com/appydave/openai_101/compare/v1.2.5...v1.2.6) (2024-06-19)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * models - list, retrieve ([a7b3fb7](https://github.com/appydave/openai_101/commit/a7b3fb72b3cfb30803de7ba3ad60f46c58000bd3))
15
+ * models - list, retrieve ([58f6c6a](https://github.com/appydave/openai_101/commit/58f6c6a1fb0fcaf5db0587392f7a22224c1463e1))
16
+
1
17
  ## [1.2.5](https://github.com/appydave/openai_101/compare/v1.2.4...v1.2.5) (2024-06-19)
2
18
 
3
19
 
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Openai101
4
- VERSION = '1.2.6'
4
+ VERSION = '1.2.8'
5
5
  end
data/lib/openai_101.rb CHANGED
@@ -1,9 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'clipboard'
4
3
  require 'openai'
5
4
 
5
+ require 'base64'
6
+ require 'clipboard'
6
7
  require 'csv'
8
+ require 'damerau-levenshtein'
7
9
  require 'json'
8
10
  require 'table_print'
9
11
  require 'pry'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "openai_101",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "openai_101",
9
- "version": "1.2.6",
9
+ "version": "1.2.8",
10
10
  "devDependencies": {
11
11
  "@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
12
12
  "@semantic-release/changelog": "^6.0.3",
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openai_101",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
4
4
  "description": "OpenAI 101 working through the API endpoints",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openai_101
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: base64
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bigdecimal
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +80,20 @@ dependencies:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
82
  version: '3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: damerau-levenshtein
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: dotenv
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -157,6 +185,8 @@ files:
157
185
  - LICENSE.txt
158
186
  - README.md
159
187
  - Rakefile
188
+ - audio_speech-en-shimmer.mp3
189
+ - audio_speech-th-alloy.mp3
160
190
  - bin/console
161
191
  - bin/setup
162
192
  - config/openai-cost.json