Module: AI21
- Defined in:
- lib/ai21.rb,
lib/ai21/http.rb,
lib/ai21/client.rb,
lib/ai21/helper.rb,
lib/ai21/dataset.rb,
lib/ai21/version.rb,
lib/ai21/custom_model.rb
Defined Under Namespace
Modules: HTTP, Helper
Classes: Client, Configuration, ConfigurationError, CustomModel, Dataset, Error
Constant Summary
collapse
- VERSION =
"0.2.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
36
37
38
|
# File 'lib/ai21.rb', line 36
def configuration
@configuration ||= Configuration.new
end
|
Class Method Details
40
41
42
|
# File 'lib/ai21.rb', line 40
def configure
yield(configuration)
end
|