Module: SentimentAI
- Defined in:
- lib/sentiment_ai.rb,
lib/sentiment_ai/version.rb,
lib/sentiment_ai/core/gemini_driver.rb,
lib/sentiment_ai/core/openai_driver.rb,
lib/sentiment_ai/core/anthropic_driver.rb
Defined Under Namespace
Modules: Core
Classes: Base
Constant Summary
collapse
- VERSION =
'0.1.0'
Class Method Summary
collapse
Class Method Details
.adapter=(klass) ⇒ Object
14
15
16
|
# File 'lib/sentiment_ai.rb', line 14
def self.adapter=(klass)
@klass = klass.capitalize
end
|
.new(*args) ⇒ Object
18
19
20
|
# File 'lib/sentiment_ai.rb', line 18
def self.new(*args)
const_get(@klass).new(*args)
end
|