foobara-open-ai-api 0.0.2 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9fb56c352fcdb6c13a866a5b1294bb7f837cc42e1ea4d65230fee5474b4e7402
4
- data.tar.gz: a9a630e6e039bbdc12fde03ba8d31f047db053fe507876333cb763848b2875d5
3
+ metadata.gz: '01929cb52546950d63f3b33dd0e29c1837e9c62e626cceab7758d98ad224dcf5'
4
+ data.tar.gz: 35ce3dd17ebf511c42eea46d274b3712132730a14dc1dd7ec421ec73a5265fc1
5
5
  SHA512:
6
- metadata.gz: 8441aeee23f1e8890d06ecef4fdc88a1549b5e7e3b9bea6026b47235756bb4df7cde0ccd6585ec5c67f776bf69fb8f751222a7293677ad8abbf5abc49a461a2f
7
- data.tar.gz: 4a43009e550bd7f84a005ff1c90ddad3394bf85244588567635410f3343e38e767bfcce1f9b7c9609292290060c43353ea0d52e7d723d2866df8bdcee6cad131
6
+ metadata.gz: 54398f4d933b4512990ccd54a9527b43d33b1a35702d81bfc2715757a21daceecacf6e49765aa79b696aa7772966b3909d210390d900e9e2fcdc368cda8b70eb
7
+ data.tar.gz: 7840b395e582389f5ce07d05d15955fa651ee2dfae660df40b0e63433cc33b7017e54c36dc8b7f0678ecf4c9270b6e10fc3415246b183810ec16a58351401a94
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.0.4] - 2025-02-16
2
+
3
+ - Rename GenerateCompletion to GenerateChatCompletion
4
+ - Bump Ruby to 3.4.2
5
+
6
+ ## [0.0.3] - 2025-01-07
7
+
8
+ - Bump Ruby to 3.4.1
9
+
1
10
  ## [0.0.2] - 2024-06-24
2
11
 
3
12
  - Add src/ to spec.require_paths and remove lib/
@@ -1,7 +1,7 @@
1
1
  module Foobara
2
2
  module Ai
3
3
  module OpenAiApi
4
- class GenerateCompletion < Foobara::Command
4
+ class GenerateChatCompletion < Foobara::Command
5
5
  URL = "https://api.openai.com/v1/chat/completions".freeze
6
6
 
7
7
  inputs do
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-open-ai-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-06-25 00:00:00.000000000 Z
10
+ date: 2025-02-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: foobara
@@ -24,7 +23,6 @@ dependencies:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
25
  version: '0'
27
- description:
28
26
  email:
29
27
  - azimux@gmail.com
30
28
  executables: []
@@ -38,7 +36,7 @@ files:
38
36
  - README.md
39
37
  - lib/foobara/open_ai_api.rb
40
38
  - src/foobara/ai/open_ai_api.rb
41
- - src/foobara/ai/open_ai_api/generate_completion.rb
39
+ - src/foobara/ai/open_ai_api/generate_chat_completion.rb
42
40
  - src/foobara/ai/open_ai_api/types/completion.rb
43
41
  homepage: https://github.com/foobara/open-ai-api
44
42
  licenses:
@@ -49,7 +47,6 @@ metadata:
49
47
  source_code_uri: https://github.com/foobara/open-ai-api
50
48
  changelog_uri: https://github.com/foobara/open-ai-api/blob/main/CHANGELOG.md
51
49
  rubygems_mfa_required: 'true'
52
- post_install_message:
53
50
  rdoc_options: []
54
51
  require_paths:
55
52
  - lib
@@ -58,15 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
55
  requirements:
59
56
  - - ">="
60
57
  - !ruby/object:Gem::Version
61
- version: 3.2.2
58
+ version: 3.4.0
62
59
  required_rubygems_version: !ruby/object:Gem::Requirement
63
60
  requirements:
64
61
  - - ">="
65
62
  - !ruby/object:Gem::Version
66
63
  version: '0'
67
64
  requirements: []
68
- rubygems_version: 3.4.10
69
- signing_key:
65
+ rubygems_version: 3.6.3
70
66
  specification_version: 4
71
67
  summary: Foobara commands and models for OpenAI's API
72
68
  test_files: []