orbai 0.0.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 +7 -0
- data/.rspec +3 -0
- data/.standard.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +12 -0
- data/README.md +253 -0
- data/Rakefile +10 -0
- data/lib/orbai/dsl.rb +3 -0
- data/lib/orbai/http_client.rb +51 -0
- data/lib/orbai/openai_methods.rb +69 -0
- data/lib/orbai/simple_methods.rb +10 -0
- data/lib/orbai/version.rb +5 -0
- data/lib/orbai.rb +22 -0
- data/openapi.yaml +4616 -0
- data/orbai.gemspec +41 -0
- metadata +63 -0
data/orbai.gemspec
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/orbai/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "orbai"
|
7
|
+
spec.version = Orbai::VERSION
|
8
|
+
spec.authors = ["Tyler Cinnamon"]
|
9
|
+
spec.email = ["tyler at techlitafrica.org"]
|
10
|
+
|
11
|
+
spec.summary = "Orbai is an idiomatic Ruby DSL for OpenAI's powerful API"
|
12
|
+
spec.description = <<~DESC
|
13
|
+
Welcome to `orbai`, an idiomatic Ruby DSL for OpenAI's powerful API. With the
|
14
|
+
combination of Ruby's natural language processing strengths and OpenAI's
|
15
|
+
advanced capabilities, your applications are set to take a massive leap forward.
|
16
|
+
DESC
|
17
|
+
|
18
|
+
spec.homepage = "https://github.com/skotchpine/orbai"
|
19
|
+
spec.required_ruby_version = ">= 2.6.0"
|
20
|
+
|
21
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
22
|
+
spec.metadata["source_code_uri"] = spec.homepage
|
23
|
+
spec.metadata["changelog_uri"] = spec.homepage
|
24
|
+
|
25
|
+
# Specify which files should be added to the gem when it is released.
|
26
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
27
|
+
spec.files = Dir.chdir(__dir__) do
|
28
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
29
|
+
(File.expand_path(f) == __FILE__) || f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor])
|
30
|
+
end
|
31
|
+
end
|
32
|
+
spec.bindir = "exe"
|
33
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
34
|
+
spec.require_paths = ["lib"]
|
35
|
+
|
36
|
+
# Uncomment to register a new dependency of your gem
|
37
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
38
|
+
|
39
|
+
# For more information and examples about making a new gem, check out our
|
40
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
41
|
+
end
|
metadata
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: orbai
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tyler Cinnamon
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-10-22 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |
|
14
|
+
Welcome to `orbai`, an idiomatic Ruby DSL for OpenAI's powerful API. With the
|
15
|
+
combination of Ruby's natural language processing strengths and OpenAI's
|
16
|
+
advanced capabilities, your applications are set to take a massive leap forward.
|
17
|
+
email:
|
18
|
+
- tyler at techlitafrica.org
|
19
|
+
executables: []
|
20
|
+
extensions: []
|
21
|
+
extra_rdoc_files: []
|
22
|
+
files:
|
23
|
+
- ".rspec"
|
24
|
+
- ".standard.yml"
|
25
|
+
- CHANGELOG.md
|
26
|
+
- CODE_OF_CONDUCT.md
|
27
|
+
- Gemfile
|
28
|
+
- README.md
|
29
|
+
- Rakefile
|
30
|
+
- lib/orbai.rb
|
31
|
+
- lib/orbai/dsl.rb
|
32
|
+
- lib/orbai/http_client.rb
|
33
|
+
- lib/orbai/openai_methods.rb
|
34
|
+
- lib/orbai/simple_methods.rb
|
35
|
+
- lib/orbai/version.rb
|
36
|
+
- openapi.yaml
|
37
|
+
- orbai.gemspec
|
38
|
+
homepage: https://github.com/skotchpine/orbai
|
39
|
+
licenses: []
|
40
|
+
metadata:
|
41
|
+
homepage_uri: https://github.com/skotchpine/orbai
|
42
|
+
source_code_uri: https://github.com/skotchpine/orbai
|
43
|
+
changelog_uri: https://github.com/skotchpine/orbai
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.6.0
|
53
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '0'
|
58
|
+
requirements: []
|
59
|
+
rubygems_version: 3.3.26
|
60
|
+
signing_key:
|
61
|
+
specification_version: 4
|
62
|
+
summary: Orbai is an idiomatic Ruby DSL for OpenAI's powerful API
|
63
|
+
test_files: []
|