ruby-openai-transitory-v2 6.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/config.yml +45 -0
- data/.devcontainer/Dockerfile +16 -0
- data/.devcontainer/devcontainer.json +36 -0
- data/.devcontainer/docker-compose.yml +19 -0
- data/.github/FUNDING.yml +13 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/dependabot.yml +15 -0
- data/.gitignore +74 -0
- data/.rspec +3 -0
- data/.rubocop.yml +31 -0
- data/CHANGELOG.md +398 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +88 -0
- data/LICENSE.txt +21 -0
- data/README.md +885 -0
- data/Rakefile +19 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/openai/assistants.rb +27 -0
- data/lib/openai/audio.rb +19 -0
- data/lib/openai/client.rb +95 -0
- data/lib/openai/compatibility.rb +10 -0
- data/lib/openai/files.rb +42 -0
- data/lib/openai/finetunes.rb +27 -0
- data/lib/openai/http.rb +127 -0
- data/lib/openai/http_headers.rb +36 -0
- data/lib/openai/images.rb +27 -0
- data/lib/openai/messages.rb +23 -0
- data/lib/openai/models.rb +15 -0
- data/lib/openai/run_steps.rb +15 -0
- data/lib/openai/runs.rb +32 -0
- data/lib/openai/threads.rb +23 -0
- data/lib/openai/version.rb +3 -0
- data/lib/openai.rb +88 -0
- data/lib/ruby/openai.rb +2 -0
- data/pull_request_template.md +5 -0
- data/ruby-openai.gemspec +32 -0
- metadata +137 -0
data/ruby-openai.gemspec
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require_relative "lib/openai/version"
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "ruby-openai-transitory-v2"
|
5
|
+
spec.version = OpenAI::VERSION
|
6
|
+
spec.authors = ["Alex"]
|
7
|
+
spec.email = ["alexrudall@users.noreply.github.com"]
|
8
|
+
|
9
|
+
spec.summary = "While alexrudall/ruby-openai is in v1, this gem is a temporary fork that will be removed once the original gem is updated."
|
10
|
+
spec.homepage = "https://github.com/alexrudall/ruby-openai"
|
11
|
+
spec.license = "MIT"
|
12
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
|
13
|
+
|
14
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
15
|
+
spec.metadata["source_code_uri"] = "https://github.com/alexrudall/ruby-openai"
|
16
|
+
spec.metadata["changelog_uri"] = "https://github.com/alexrudall/ruby-openai/blob/main/CHANGELOG.md"
|
17
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
18
|
+
spec.metadata["funding_uri"] = "https://github.com/sponsors/alexrudall"
|
19
|
+
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
22
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
23
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
24
|
+
end
|
25
|
+
spec.bindir = "exe"
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ["lib"]
|
28
|
+
|
29
|
+
spec.add_dependency "event_stream_parser", ">= 0.3.0", "< 2.0.0"
|
30
|
+
spec.add_dependency "faraday", ">= 1"
|
31
|
+
spec.add_dependency "faraday-multipart", ">= 1"
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-openai-transitory-v2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 6.5.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Alex
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: event_stream_parser
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.3.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.0.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.3.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 2.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: faraday
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: faraday-multipart
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '1'
|
61
|
+
description:
|
62
|
+
email:
|
63
|
+
- alexrudall@users.noreply.github.com
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- ".circleci/config.yml"
|
69
|
+
- ".devcontainer/Dockerfile"
|
70
|
+
- ".devcontainer/devcontainer.json"
|
71
|
+
- ".devcontainer/docker-compose.yml"
|
72
|
+
- ".github/FUNDING.yml"
|
73
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
74
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
75
|
+
- ".github/dependabot.yml"
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".rubocop.yml"
|
79
|
+
- CHANGELOG.md
|
80
|
+
- CODE_OF_CONDUCT.md
|
81
|
+
- CONTRIBUTING.md
|
82
|
+
- Gemfile
|
83
|
+
- Gemfile.lock
|
84
|
+
- LICENSE.txt
|
85
|
+
- README.md
|
86
|
+
- Rakefile
|
87
|
+
- bin/console
|
88
|
+
- bin/setup
|
89
|
+
- lib/openai.rb
|
90
|
+
- lib/openai/assistants.rb
|
91
|
+
- lib/openai/audio.rb
|
92
|
+
- lib/openai/client.rb
|
93
|
+
- lib/openai/compatibility.rb
|
94
|
+
- lib/openai/files.rb
|
95
|
+
- lib/openai/finetunes.rb
|
96
|
+
- lib/openai/http.rb
|
97
|
+
- lib/openai/http_headers.rb
|
98
|
+
- lib/openai/images.rb
|
99
|
+
- lib/openai/messages.rb
|
100
|
+
- lib/openai/models.rb
|
101
|
+
- lib/openai/run_steps.rb
|
102
|
+
- lib/openai/runs.rb
|
103
|
+
- lib/openai/threads.rb
|
104
|
+
- lib/openai/version.rb
|
105
|
+
- lib/ruby/openai.rb
|
106
|
+
- pull_request_template.md
|
107
|
+
- ruby-openai.gemspec
|
108
|
+
homepage: https://github.com/alexrudall/ruby-openai
|
109
|
+
licenses:
|
110
|
+
- MIT
|
111
|
+
metadata:
|
112
|
+
homepage_uri: https://github.com/alexrudall/ruby-openai
|
113
|
+
source_code_uri: https://github.com/alexrudall/ruby-openai
|
114
|
+
changelog_uri: https://github.com/alexrudall/ruby-openai/blob/main/CHANGELOG.md
|
115
|
+
rubygems_mfa_required: 'true'
|
116
|
+
funding_uri: https://github.com/sponsors/alexrudall
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 2.6.0
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
requirements: []
|
132
|
+
rubygems_version: 3.5.9
|
133
|
+
signing_key:
|
134
|
+
specification_version: 4
|
135
|
+
summary: While alexrudall/ruby-openai is in v1, this gem is a temporary fork that
|
136
|
+
will be removed once the original gem is updated.
|
137
|
+
test_files: []
|