Class: GenAI::Language
- Inherits:
-
Object
- Object
- GenAI::Language
- Extended by:
- Forwardable
- Defined in:
- lib/gen_ai/language.rb,
lib/gen_ai/language/base.rb,
lib/gen_ai/language/gemini.rb,
lib/gen_ai/language/open_ai.rb,
lib/gen_ai/language/anthropic.rb,
lib/gen_ai/language/google_palm.rb
Defined Under Namespace
Classes: Anthropic, Base, Gemini, GooglePalm, OpenAI
Instance Method Summary collapse
-
#initialize(provider, token, options: {}) ⇒ Language
constructor
A new instance of Language.
Constructor Details
#initialize(provider, token, options: {}) ⇒ Language
Returns a new instance of Language.
11 12 13 |
# File 'lib/gen_ai/language.rb', line 11 def initialize(provider, token, options: {}) build_llm(provider, token, ) end |